Skip to content

Commit

Permalink
Enforce no support for JR v0.10.0 yet in gemspec (#127)
Browse files Browse the repository at this point in the history
* Enforce no support for JR v0.10.0 yet in gemspec

* Ignore .bundle folder generated by Appraisal

* Update Appraisals semver constraints for jsonapi-resources
  • Loading branch information
valscion authored Oct 2, 2019
1 parent 1993244 commit 97e8ea9
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
*.orig
.ruby-version
/gemfiles/*.gemfile.lock
/gemfiles/.bundle/
16 changes: 8 additions & 8 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
appraise 'rails-4-2 pundit-1' do
gem 'rails', '4.2.0'
gem 'jsonapi-resources', '~> 0.9'
gem 'jsonapi-resources', '~> 0.9.0'
gem 'pundit', '~> 1.0'
end

appraise 'rails-5-0 pundit-1' do
gem 'rails', '5.0.0'
gem 'jsonapi-resources', '~> 0.9'
gem 'jsonapi-resources', '~> 0.9.0'
gem 'pundit', '~> 1.0'
end

appraise 'rails-5-1 pundit-1' do
gem "rails", "5.1.0"
gem 'jsonapi-resources', '~> 0.9'
gem 'jsonapi-resources', '~> 0.9.0'
gem 'pundit', '~> 1.0'
end

appraise 'rails-5-2 pundit-1' do
gem 'rails', '5.2.0'
gem 'jsonapi-resources', '~> 0.9'
gem 'jsonapi-resources', '~> 0.9.0'
gem 'pundit', '~> 1.0'
end

appraise 'rails-4-2 pundit-2' do
gem 'rails', '4.2.0'
gem 'jsonapi-resources', '~> 0.9'
gem 'jsonapi-resources', '~> 0.9.0'
gem 'pundit', '~> 2.0'
end

appraise 'rails-5-0 pundit-2' do
gem 'rails', '5.0.0'
gem 'jsonapi-resources', '~> 0.9'
gem 'jsonapi-resources', '~> 0.9.0'
gem 'pundit', '~> 2.0'
end

appraise 'rails-5-1 pundit-2' do
gem 'rails', '5.1.0'
gem 'jsonapi-resources', '~> 0.9'
gem 'jsonapi-resources', '~> 0.9.0'
gem 'pundit', '~> 2.0'
end

appraise 'rails-5-2 pundit-2' do
gem 'rails', '5.2.0'
gem 'jsonapi-resources', '~> 0.9'
gem 'jsonapi-resources', '~> 0.9.0'
gem 'pundit', '~> 2.0'
end
2 changes: 1 addition & 1 deletion gemfiles/rails_4_2_pundit_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source "https://rubygems.org"

gem "rails", "4.2.0"
gem "jsonapi-resources", "~> 0.9"
gem "jsonapi-resources", "~> 0.9.0"
gem "pundit", "~> 1.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/rails_4_2_pundit_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source "https://rubygems.org"

gem "rails", "4.2.0"
gem "jsonapi-resources", "~> 0.9"
gem "jsonapi-resources", "~> 0.9.0"
gem "pundit", "~> 2.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/rails_5_0_pundit_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source "https://rubygems.org"

gem "rails", "5.0.0"
gem "jsonapi-resources", "~> 0.9"
gem "jsonapi-resources", "~> 0.9.0"
gem "pundit", "~> 1.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/rails_5_0_pundit_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source "https://rubygems.org"

gem "rails", "5.0.0"
gem "jsonapi-resources", "~> 0.9"
gem "jsonapi-resources", "~> 0.9.0"
gem "pundit", "~> 2.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/rails_5_1_pundit_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source "https://rubygems.org"

gem "rails", "5.1.0"
gem "jsonapi-resources", "~> 0.9"
gem "jsonapi-resources", "~> 0.9.0"
gem "pundit", "~> 1.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/rails_5_1_pundit_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source "https://rubygems.org"

gem "rails", "5.1.0"
gem "jsonapi-resources", "~> 0.9"
gem "jsonapi-resources", "~> 0.9.0"
gem "pundit", "~> 2.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/rails_5_2_pundit_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source "https://rubygems.org"

gem "rails", "5.2.0"
gem "jsonapi-resources", "~> 0.9"
gem "jsonapi-resources", "~> 0.9.0"
gem "pundit", "~> 1.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/rails_5_2_pundit_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source "https://rubygems.org"

gem "rails", "5.2.0"
gem "jsonapi-resources", "~> 0.9"
gem "jsonapi-resources", "~> 0.9.0"
gem "pundit", "~> 2.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion jsonapi-authorization.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.require_paths = ["lib"]

spec.add_dependency "jsonapi-resources", "~> 0.9"
spec.add_dependency "jsonapi-resources", "~> 0.9.0"
spec.add_dependency "pundit", ">= 1.0.0", "< 3.0.0"

spec.add_development_dependency "appraisal"
Expand Down

0 comments on commit 97e8ea9

Please sign in to comment.