Skip to content

Commit

Permalink
chore: Appraisals
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryBochkarev committed Jul 17, 2017
1 parent b50533c commit df32bb7
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.config
.yardoc
Gemfile.lock
gemfiles
InstalledFiles
_yardoc
coverage
Expand Down
23 changes: 23 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
appraise 'rails3.2' do
gem 'rails', '~> 3.2.0'
gem 'test_after_commit', '~> 0.4.0'
gem 'strong_parameters'
end

appraise 'rails4.0' do
gem 'rails', '~> 4.0.13'
gem "protected_attributes"
gem 'rails-observers', '0.1.2'
end

appraise 'rails4.1' do
gem 'rails', '~> 4.1.16'
gem "protected_attributes"
gem 'rails-observers', '0.1.2'
end

appraise 'rails4.2' do
gem 'rails', '~> 4.2.9'
gem "protected_attributes"
gem 'rails-observers', '0.1.2'
end
10 changes: 8 additions & 2 deletions dip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,21 @@ interaction:
service: app
command: bundle

appraisal:
service: app
command: bundle exec appraisal

rspec:
service: app
command: bundle exec rspec
command: bundle exec appraisal bundle exec rspec

clean:
service: app
command: rm -f Gemfile.lock
command: rm -f Gemfile.lock gemfiles/*.gemfile.*

provision:
- docker volume create --name bundler_data
- dip bundle config --local https://gems.railsc.ru/ ${APRESS_GEMS_CREDENTIALS}
- dip clean
- dip bundle install
- dip appraisal install
5 changes: 1 addition & 4 deletions lib/resque/integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@

require 'resque'

require 'active_support/core_ext/kernel/reporting'
require 'active_support/core_ext/module/aliasing'
require 'active_support/core_ext/module/attribute_accessors'
require 'active_support/core_ext/module/concerning'
require 'active_support/all'

require 'multi_json'

Expand Down
1 change: 1 addition & 0 deletions resque-integration.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Gem::Specification.new do |gem|
gem.add_development_dependency 'bundler'
gem.add_development_dependency 'rspec', '~> 2.14'
gem.add_development_dependency 'simplecov'
gem.add_development_dependency 'appraisal', '>= 1.0.2'
gem.add_development_dependency 'combustion', '>= 0.5.5'
gem.add_development_dependency 'mock_redis'
gem.add_development_dependency 'timecop'
Expand Down

0 comments on commit df32bb7

Please sign in to comment.