jsonapi-authorization 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47495edb7695129cd3ddd577ce547db63df70b4f
4
- data.tar.gz: 68f2686dfa2143ec831816e39b02a1c2170ec3a0
3
+ metadata.gz: a9a2f5c4761f47b27ac197df013897413d951e18
4
+ data.tar.gz: 0dc90fa1572711799e1ef4e6624bda62e2a2f49a
5
5
  SHA512:
6
- metadata.gz: 79314420e9e62352436beca771f31823a9fc2bfb72122deada6a4bac09941ee4593b9f468747392ddfbe0169a6737f1d7b93a3b17c486000fcf223ca8faf1f19
7
- data.tar.gz: 87389fd2aa637d0233666f747fab5c8aaded2371594d09915879d70d6d6e0120327b9a2cf3bd00bea35d17036cb34705aeeea7a7338f98024a9fecb8f5d2fcc5
6
+ metadata.gz: 836fef2f355f572781077c8e3900c5cd7be5fcf8daad691cf7da7a8b11279ebf333d1e0d16ed4d0799fb9706ccfec4e6db2331bac655cc764a344916f42b2d3d
7
+ data.tar.gz: 2412d303cce1a7c8ad4030ba1b564c7988d5622631f44151fa92553990f75537db1ca814a87caa1a5239a2d9fe8437ddc7c191a3c71c31fdf68ddc1ad19f9339
data/.travis.yml CHANGED
@@ -2,10 +2,18 @@ language: ruby
2
2
  cache: bundler
3
3
  sudo: false
4
4
  env:
5
- - "RAILS_VERSION=4.1.0"
6
- - "RAILS_VERSION=4.2.0"
5
+ - JSONAPI_RESOURCES_VERSION=0.7.0 RAILS_VERSION=4.1.0
6
+ - JSONAPI_RESOURCES_VERSION=0.7.0 RAILS_VERSION=4.2.0
7
+ - JSONAPI_RESOURCES_VERSION=0.7.1.beta1 RAILS_VERSION=4.1.0
8
+ - JSONAPI_RESOURCES_VERSION=0.7.1.beta1 RAILS_VERSION=4.2.0
9
+ - JSONAPI_RESOURCES_VERSION=master RAILS_VERSION=4.2.0
10
+ - JSONAPI_RESOURCES_VERSION=master RAILS_VERSION=4.1.0
7
11
  rvm:
8
12
  - 2.1.2
9
13
  before_install: gem install bundler -v 1.11.2
10
14
  notifications:
11
15
  email: false
16
+ matrix:
17
+ allow_failures:
18
+ - env: JSONAPI_RESOURCES_VERSION=master RAILS_VERSION=4.2.0
19
+ - env: JSONAPI_RESOURCES_VERSION=master RAILS_VERSION=4.1.0
data/Gemfile CHANGED
@@ -4,14 +4,24 @@ gemspec
4
4
 
5
5
  gem 'sqlite3', '1.3.10'
6
6
 
7
- version = ENV['RAILS_VERSION'] || 'default'
7
+ rails_version = ENV['RAILS_VERSION'] || 'default'
8
+ jsonapi_resources_version = ENV['JSONAPI_RESOURCES_VERSION'] || 'default'
8
9
 
9
- case version
10
+ case rails_version
10
11
  when 'master'
11
12
  gem 'rails', git: 'https://github.com/rails/rails.git'
12
13
  gem 'arel', git: 'https://github.com/rails/arel.git'
13
14
  when 'default'
14
15
  gem 'rails', '>= 4.2'
15
16
  else
16
- gem 'rails', "~> #{version}"
17
+ gem 'rails', "~> #{rails_version}"
18
+ end
19
+
20
+ case jsonapi_resources_version
21
+ when 'master'
22
+ gem 'jsonapi-resources', git: 'https://github.com/cerebris/jsonapi-resources.git'
23
+ when 'default'
24
+ gem 'jsonapi-resources', '0.7.0'
25
+ else
26
+ gem 'jsonapi-resources', jsonapi_resources_version
17
27
  end
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_dependency "jsonapi-resources", "0.7.0"
20
+ spec.add_dependency "jsonapi-resources", "~> 0.7.0"
21
21
  spec.add_dependency "pundit", "~> 1.0"
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.11"
@@ -1,5 +1,5 @@
1
1
  module JSONAPI
2
2
  module Authorization
3
- VERSION = "0.6.0".freeze
3
+ VERSION = "0.6.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonapi-authorization
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vesa Laakso
@@ -9,20 +9,20 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-03-08 00:00:00.000000000 Z
12
+ date: 2016-04-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jsonapi-resources
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '='
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
20
  version: 0.7.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '='
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: 0.7.0
28
28
  - !ruby/object:Gem::Dependency