Христина обнови решението на 12.01.2017 22:23 (преди почти 9 години)
+REPOSITORY = 'https://github.com/hrist-todorova/ruby-retrospective-2016'
+
+# Двадесет неща, които научих.
+#
+#
Към профила на Христина Тодорова
From https://github.com/fmi/ruby-retrospective-2016
* branch master -> FETCH_HEAD
HEAD is now at a22cf37 Set rubocop version to 0.46.0 to fix obsolete cop errors
Cloning into 'submission'...
HEAD is now at 1ace80a Copy of the original solution from the ruby team.
From /tmp/ruby-retrospective-2016/checker
* branch master -> FETCH_HEAD
* [new branch] master -> upstream/master
Changes URL:
https://github.com/hrist-todorova/ruby-retrospective-2016/compare/1f710b00c26...1ace80ab159
'tasks/1/solution.rb' -> '/tmp/ruby-retrospective-2016/checker/tasks/1/solution.rb'
'tasks/2/solution.rb' -> '/tmp/ruby-retrospective-2016/checker/tasks/2/solution.rb'
'tasks/3/solution.rb' -> '/tmp/ruby-retrospective-2016/checker/tasks/3/solution.rb'
'tasks/4/solution.rb' -> '/tmp/ruby-retrospective-2016/checker/tasks/4/solution.rb'
'tasks/5/solution.rb' -> '/tmp/ruby-retrospective-2016/checker/tasks/5/solution.rb'
Inspecting 1 file
.
1 file inspected, no offenses detected
.................
Finished in 0.00464 seconds
17 examples, 0 failures
Inspecting 1 file
.
1 file inspected, no offenses detected
...............
Finished in 0.0072 seconds
15 examples, 0 failures
Inspecting 1 file
.
1 file inspected, no offenses detected
...............
Finished in 0.00563 seconds
15 examples, 0 failures
Inspecting 1 file
C
Offenses:
solution.rb:36:81: C: Line is too long. [85/80]
it 'raises error when the argument has other symbols than points and digits' do
^^^^^
1 file inspected, 1 offense detected
F
Failures:
1) ruby-retrospective-2016 covers the minimum requirements
Failure/Error: system(command) or raise "Command failed for #{@solutions_repo}: #{command}"
RuntimeError:
Command failed for https://github.com/hrist-todorova/ruby-retrospective-2016: bundle exec rake check_all
# /tmp/d20170211-11010-1gsz847/spec.rb:82:in `execute'
# /tmp/d20170211-11010-1gsz847/spec.rb:75:in `block (3 levels) in solutions_pass_all_checks'
# /tmp/d20170211-11010-1gsz847/spec.rb:74:in `chdir'
# /tmp/d20170211-11010-1gsz847/spec.rb:74:in `block (2 levels) in solutions_pass_all_checks'
# /tmp/d20170211-11010-1gsz847/spec.rb:40:in `chdir'
# /tmp/d20170211-11010-1gsz847/spec.rb:40:in `block in solutions_pass_all_checks'
# /tmp/d20170211-11010-1gsz847/spec.rb:39:in `solutions_pass_all_checks'
# /tmp/d20170211-11010-1gsz847/spec.rb:19:in `ok?'
# /tmp/d20170211-11010-1gsz847/spec.rb:101:in `<top (required)>'
Finished in 0.00085 seconds
1 example, 1 failure
Failed examples:
rspec /tmp/d20170211-11010-1gsz847/spec.rb:107 # ruby-retrospective-2016 covers the minimum requirements