Skip to content

Commit 0fb45ce

Browse files
committed
rubocop require ruby >= 2.0
1 parent 674b137 commit 0fb45ce

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ test_script:
8585
echo "################################################################################"
8686
$env:Path = "$rubypath;" + $path
8787
ruby --version
88+
bundle package --all
8889
bundle install --local -j4
8990
bundle exec rspec
9091
if ($LASTEXITCODE -gt 0) {

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ matrix:
4949
- env: RAILS_VERSION='~> 4.0' CODECLIMATE=1
5050
rvm: '2'
5151
- env: RUBOCOP=true
52-
rvm: default
52+
rvm: '2'
5353
allow_failures:
5454
- rvm: jruby-19mode
5555
addons:

image_optim.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
2323

2424
s.add_development_dependency 'image_optim_pack', '~> 0.2', '>= 0.2.2'
2525
s.add_development_dependency 'rspec', '~> 3.0'
26-
if RUBY_VERSION >= '1.9.3'
26+
if RUBY_VERSION >= '2.0'
2727
s.add_development_dependency 'rubocop', '~> 0.37'
2828
end
2929
end

0 commit comments

Comments
 (0)