jsonapi-authorization 3.0.1 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f4f022931d8f0d2fac8b07f3eb24cc4d4769201ebdf75852a410d957ec7075e
4
- data.tar.gz: eb467198ed058edd0e3d8ebcc7ba968b880a6db23c6493e3620df8936d58c0f1
3
+ metadata.gz: eca7bc758c4afda473090e94e6774b61bb708807817abb5961ca597a404605d6
4
+ data.tar.gz: 610d8c4508699047d991cf18c17a31dfd59938a5b63f9a8df741c16e28030c3c
5
5
  SHA512:
6
- metadata.gz: 2a2ba3ebb1131224e71f80812e78d5b2cef813d3369f4d7179967dd10a28dd83e546935ed79e1f79ebdeaf522c81b38a181ac7523d6b71acbda2b8e8ecacc6a4
7
- data.tar.gz: e9afd3ba287bfcc9ef1ad8e67eb23ca79f9b0bab3b87a61c8984aa74516c2d194361a12410978ec04bd7995b0a463ea2ad304ab31612aced9ddfcf75b40a5b99
6
+ metadata.gz: 8a36bbf5c7685f976dab29924e6b736548c62058e965ae12287f747897fb2933dd9dbe842135d93ad03994ab6e3899ec6feeea57041944dff034b381c57fa8a4
7
+ data.tar.gz: cf13d084a0618608cb3f2af6bd9d43ba03c73bf217f33dd4ba12b7bfa10544d23d2d7bab51aab858460127d69758ac10f6ce890df4361188d25d9ddb62005066
data/.gitignore CHANGED
@@ -11,3 +11,4 @@
11
11
  *.orig
12
12
  .ruby-version
13
13
  /gemfiles/*.gemfile.lock
14
+ /gemfiles/.bundle/
data/Appraisals CHANGED
@@ -1,47 +1,47 @@
1
1
  appraise 'rails-4-2 pundit-1' do
2
2
  gem 'rails', '4.2.0'
3
- gem 'jsonapi-resources', '~> 0.9'
3
+ gem 'jsonapi-resources', '~> 0.9.0'
4
4
  gem 'pundit', '~> 1.0'
5
5
  end
6
6
 
7
7
  appraise 'rails-5-0 pundit-1' do
8
8
  gem 'rails', '5.0.0'
9
- gem 'jsonapi-resources', '~> 0.9'
9
+ gem 'jsonapi-resources', '~> 0.9.0'
10
10
  gem 'pundit', '~> 1.0'
11
11
  end
12
12
 
13
13
  appraise 'rails-5-1 pundit-1' do
14
14
  gem "rails", "5.1.0"
15
- gem 'jsonapi-resources', '~> 0.9'
15
+ gem 'jsonapi-resources', '~> 0.9.0'
16
16
  gem 'pundit', '~> 1.0'
17
17
  end
18
18
 
19
19
  appraise 'rails-5-2 pundit-1' do
20
20
  gem 'rails', '5.2.0'
21
- gem 'jsonapi-resources', '~> 0.9'
21
+ gem 'jsonapi-resources', '~> 0.9.0'
22
22
  gem 'pundit', '~> 1.0'
23
23
  end
24
24
 
25
25
  appraise 'rails-4-2 pundit-2' do
26
26
  gem 'rails', '4.2.0'
27
- gem 'jsonapi-resources', '~> 0.9'
27
+ gem 'jsonapi-resources', '~> 0.9.0'
28
28
  gem 'pundit', '~> 2.0'
29
29
  end
30
30
 
31
31
  appraise 'rails-5-0 pundit-2' do
32
32
  gem 'rails', '5.0.0'
33
- gem 'jsonapi-resources', '~> 0.9'
33
+ gem 'jsonapi-resources', '~> 0.9.0'
34
34
  gem 'pundit', '~> 2.0'
35
35
  end
36
36
 
37
37
  appraise 'rails-5-1 pundit-2' do
38
38
  gem 'rails', '5.1.0'
39
- gem 'jsonapi-resources', '~> 0.9'
39
+ gem 'jsonapi-resources', '~> 0.9.0'
40
40
  gem 'pundit', '~> 2.0'
41
41
  end
42
42
 
43
43
  appraise 'rails-5-2 pundit-2' do
44
44
  gem 'rails', '5.2.0'
45
- gem 'jsonapi-resources', '~> 0.9'
45
+ gem 'jsonapi-resources', '~> 0.9.0'
46
46
  gem 'pundit', '~> 2.0'
47
47
  end
data/README.md CHANGED
@@ -33,8 +33,6 @@ This gem should work out-of-the box for simple cases. The default authorizer mig
33
33
 
34
34
  **If you are modifying relationships**, you should read the [relationship authorization documentation](docs/relationship-authorization.md).
35
35
 
36
- The API is subject to change between minor version bumps until we reach v1.0.0.
37
-
38
36
  ## Installation
39
37
 
40
38
  Add this line to your application's Gemfile:
@@ -56,6 +54,7 @@ Or install it yourself as:
56
54
  * `v0.6.x` supports JR `v0.7.x`
57
55
  * `v0.8.x` supports JR `v0.8.x`
58
56
  * Later releases support JR `v0.9.x`
57
+ * **JR `v0.10.x` is NOT SUPPORTED.** See https://github.com/venuu/jsonapi-authorization/issues/64 for more details and to offer help.
59
58
 
60
59
  We aim to support the same Ruby and Ruby on Rails versions as `jsonapi-resources` does. If that's not the case, please [open an issue][issues].
61
60
 
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "4.2.0"
6
- gem "jsonapi-resources", "~> 0.9"
6
+ gem "jsonapi-resources", "~> 0.9.0"
7
7
  gem "pundit", "~> 1.0"
8
8
 
9
9
  gemspec path: "../"
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "4.2.0"
6
- gem "jsonapi-resources", "~> 0.9"
6
+ gem "jsonapi-resources", "~> 0.9.0"
7
7
  gem "pundit", "~> 2.0"
8
8
 
9
9
  gemspec path: "../"
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "5.0.0"
6
- gem "jsonapi-resources", "~> 0.9"
6
+ gem "jsonapi-resources", "~> 0.9.0"
7
7
  gem "pundit", "~> 1.0"
8
8
 
9
9
  gemspec path: "../"
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "5.0.0"
6
- gem "jsonapi-resources", "~> 0.9"
6
+ gem "jsonapi-resources", "~> 0.9.0"
7
7
  gem "pundit", "~> 2.0"
8
8
 
9
9
  gemspec path: "../"
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "5.1.0"
6
- gem "jsonapi-resources", "~> 0.9"
6
+ gem "jsonapi-resources", "~> 0.9.0"
7
7
  gem "pundit", "~> 1.0"
8
8
 
9
9
  gemspec path: "../"
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "5.1.0"
6
- gem "jsonapi-resources", "~> 0.9"
6
+ gem "jsonapi-resources", "~> 0.9.0"
7
7
  gem "pundit", "~> 2.0"
8
8
 
9
9
  gemspec path: "../"
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "5.2.0"
6
- gem "jsonapi-resources", "~> 0.9"
6
+ gem "jsonapi-resources", "~> 0.9.0"
7
7
  gem "pundit", "~> 1.0"
8
8
 
9
9
  gemspec path: "../"
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "5.2.0"
6
- gem "jsonapi-resources", "~> 0.9"
6
+ gem "jsonapi-resources", "~> 0.9.0"
7
7
  gem "pundit", "~> 2.0"
8
8
 
9
9
  gemspec path: "../"
@@ -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.9"
20
+ spec.add_dependency "jsonapi-resources", "~> 0.9.0"
21
21
  spec.add_dependency "pundit", ">= 1.0.0", "< 3.0.0"
22
22
 
23
23
  spec.add_development_dependency "appraisal"
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module JSONAPI
3
3
  module Authorization
4
- VERSION = "3.0.1".freeze
4
+ VERSION = "3.0.2".freeze
5
5
  end
6
6
  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: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vesa Laakso
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-03-29 00:00:00.000000000 Z
12
+ date: 2019-10-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jsonapi-resources
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '0.9'
20
+ version: 0.9.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
- version: '0.9'
27
+ version: 0.9.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: pundit
30
30
  requirement: !ruby/object:Gem::Requirement