graphql-guard 1.2.0 → 1.2.1

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: 5b48e82ed231f10a52a828e2ff8d37ff7852da0d4292ec2b9679b54b2fd31543
4
- data.tar.gz: b804211c38f522e74fe048040d6e86e49f396a18311e0ebb1d8b1d78f3c34c4a
3
+ metadata.gz: 1a2e7401f8ee86471223205990a0fa396e1bb4f734e6982a1f48230ee3b98212
4
+ data.tar.gz: dad0f0a6a5e218a6e0cd6cb9b6f79092c756230a5c596cd3c60948344eb5261b
5
5
  SHA512:
6
- metadata.gz: ce83f0ce8ad73fe4bc31b50efef3b862c1e92fc4b53619932efd59070a49f09cff02088de27ab24327a03ff8eed07e58485223835e03037d91d0eca62e3e61f7
7
- data.tar.gz: 6c2f05231bfba7feaa27adae6e46ee7651d250c38477347773bce38f2699cd7feef35b1e8e5d0324a61a3e62702b2b1a99eb4bf8274afbc9e2c0ecd0f23e98d8
6
+ metadata.gz: 62666a144b953c0be6dc27cc5e4efebd5493c558a64ae00c764eb814c0b59c679a03972ba612442669843cd5c0dc230fa7f9d8bed056ccad41091e56a1211693
7
+ data.tar.gz: 5bf860d514e91b26c663437a8b682e16258fcc3165896ef675bc89a3f6ae0c126256c361cfa704627167d865fd39782a6538ed9f14abd667f560f7daca4879b6
@@ -1,13 +1,23 @@
1
1
  sudo: false
2
2
  language: ruby
3
- rvm:
4
- - 2.3.4
5
- env:
6
- - CI=true
7
3
  before_install: gem install bundler -v 1.15.2
8
4
  matrix:
9
5
  include:
10
6
  - gemfile: graphql-1.7.gemfile
11
- env: GRAPHQL_RUBY_VERSION=1_7
7
+ env: GRAPHQL_RUBY_VERSION=1_7 CI=true
8
+ rvm: 2.3.4
12
9
  - gemfile: graphql-1.8.gemfile
13
- env: GRAPHQL_RUBY_VERSION=1_8
10
+ env: GRAPHQL_RUBY_VERSION=1_8 CI=true
11
+ rvm: 2.3.4
12
+ - gemfile: graphql-1.7.gemfile
13
+ env: GRAPHQL_RUBY_VERSION=1_7 CI=true
14
+ rvm: 2.4.3
15
+ - gemfile: graphql-1.8.gemfile
16
+ env: GRAPHQL_RUBY_VERSION=1_8 CI=true
17
+ rvm: 2.4.3
18
+ - gemfile: graphql-1.7.gemfile
19
+ env: GRAPHQL_RUBY_VERSION=1_7 CI=true
20
+ rvm: 2.5.1
21
+ - gemfile: graphql-1.8.gemfile
22
+ env: GRAPHQL_RUBY_VERSION=1_8 CI=true
23
+ rvm: 2.5.1
@@ -12,6 +12,10 @@ that you can set version constraints properly.
12
12
 
13
13
  * WIP
14
14
 
15
+ #### [v1.2.1](https://github.com/exAspArk/graphql-guard/compare/v1.2.0...v1.2.1) – 2018-10-18
16
+
17
+ * `Fixed`: compatibility with Ruby 2.5 and `graphql` gem version 1.7. [#21](https://github.com/exAspArk/graphql-guard/pull/21)
18
+
15
19
  #### [v1.2.0](https://github.com/exAspArk/graphql-guard/compare/v1.1.0...v1.2.0) – 2018-06-29
16
20
 
17
21
  * `Added`: support for `graphql` gem version 1.8. [#17](https://github.com/exAspArk/graphql-guard/pull/17)
@@ -75,7 +75,7 @@ if GraphQL::ObjectType.respond_to?(:accepts_definitions) # GraphQL-Ruby version
75
75
  GraphQL::Field.accepts_definitions(mask: GraphQL::Define.assign_metadata_key(:mask))
76
76
  end
77
77
 
78
- if GraphQL::Schema::Object.respond_to?(:accepts_definition) # GraphQL-Ruby version >= 1.8
78
+ if Object.const_defined?('GraphQL::Schema::Object') && GraphQL::Schema::Object.respond_to?(:accepts_definition) # GraphQL-Ruby version >= 1.8
79
79
  GraphQL::Schema::Object.accepts_definition(:guard)
80
80
  GraphQL::Schema::Field.accepts_definition(:guard)
81
81
  GraphQL::Schema::Field.accepts_definition(:mask)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module GraphQL
4
4
  class Guard
5
- VERSION = "1.2.0"
5
+ VERSION = "1.2.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-guard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - exAspArk
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-29 00:00:00.000000000 Z
11
+ date: 2018-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql