Skip to content

Commit

Permalink
Upped rubocop and test-unit
Browse files Browse the repository at this point in the history
  • Loading branch information
seppaleinen committed Jan 18, 2016
1 parent aebafc9 commit 7597bb1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/code.rb
Expand Up @@ -20,7 +20,7 @@ def input
# Returns nothing
def for_loop
[1..100].each do |i|
puts "#{i}"
puts i.to_s
end
end

Expand All @@ -29,9 +29,9 @@ def for_loop
# +str+:: Name to put in elseif
# Returns nothing
def if_elsif(str)
if "#{str}" == 'David'
if str.to_s == 'David'
print "Hej #{str}"
elsif "#{str}" == 'Jackie'
elsif str.to_s == 'Jackie'
print 'Du aer fan mys'
else
print "Halla #{str}"
Expand Down
4 changes: 2 additions & 2 deletions rubyProject.gemspec
Expand Up @@ -31,6 +31,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'codeclimate-test-reporter', '0.4.8'
spec.add_development_dependency 'coveralls', '0.8.10'
spec.add_development_dependency 'rspec', '3.4.0'
spec.add_development_dependency 'test-unit', '3.1.5'
spec.add_development_dependency 'rubocop', '~> 0.35.1'
spec.add_development_dependency 'test-unit', '3.1.7'
spec.add_development_dependency 'rubocop', '~> 0.36.0'
end

0 comments on commit 7597bb1

Please sign in to comment.