graphql_rails 0.4.1 → 0.4.2

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
  SHA256:
3
- metadata.gz: 309517d73a351c64e7d68b46d53cc6dc5b1305c1f782115bd5e88cde0d54ee34
4
- data.tar.gz: 0fa2965c43db677ab4206eb383b23a995a1ee757d8857fd836d7f64f6524abf0
3
+ metadata.gz: 349d2e706f6e37ea205a07dff6da8ef90b0cfa7cb4de5e1307085a445ccb45d3
4
+ data.tar.gz: ae79e6ea80653f21b61ba563bbc9e2cbba97fd317f2cf9e3c09c87b0a223ce60
5
5
  SHA512:
6
- metadata.gz: f3769cec225cae791c8e71276f195a317f4a6bafcfb24d155896555aaa214380d54e62b573032c3b056e7da0b0133c8fb680e5055addc7c1df473d47b3a7073b
7
- data.tar.gz: d0dd5023a8e0130f8e2f40ed34f5ddc636498420fc312e88e606e53749f37fff70cae4a0b0cd18f3d80fa973ab62ebd598bd61108202bae0a365accf17107277
6
+ metadata.gz: e92b5d83d83fe272da215aaa00d0e228e2bd7d293dcdcf3d9d6a004c10bfd0fdf1b9cfa481e47a07af2091983da98fcafef501e4b328c4c8caafd6a9f91f65f3
7
+ data.tar.gz: 308a6b503baad6c87dbcac947e1115a63cdbbe379be19bd2ecb5d108239409ace03c9a20a5acdbe1736f3f58cf30fe5935b57a34c5c4a7f4a56ea76d156ce5b9
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- graphql_rails (0.4.1)
4
+ graphql_rails (0.4.2)
5
5
  activesupport (>= 4)
6
6
  graphql (~> 1)
7
7
 
@@ -31,7 +31,7 @@ GEM
31
31
  concurrent-ruby (1.0.5)
32
32
  diff-lcs (1.3)
33
33
  docile (1.3.0)
34
- graphql (1.8.4)
34
+ graphql (1.9.3)
35
35
  i18n (1.0.1)
36
36
  concurrent-ruby (~> 1.0)
37
37
  json (2.1.0)
@@ -105,4 +105,4 @@ DEPENDENCIES
105
105
  simplecov
106
106
 
107
107
  BUNDLED WITH
108
- 1.16.1
108
+ 1.16.2
data/README.md CHANGED
@@ -184,7 +184,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
184
184
 
185
185
  ## Contributing
186
186
 
187
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/graphql_rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
187
+ Bug reports and pull requests are welcome on GitHub at https://github.com/samesystem/graphql_rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
188
188
 
189
189
  ## License
190
190
 
@@ -192,4 +192,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
192
192
 
193
193
  ## Code of Conduct
194
194
 
195
- Everyone interacting in the GraphqlRails project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/graphql_rails/blob/master/CODE_OF_CONDUCT.md).
195
+ Everyone interacting in the GraphqlRails project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/samesystem/graphql_rails/blob/master/CODE_OF_CONDUCT.md).
@@ -82,11 +82,11 @@ module GraphqlRails
82
82
  end
83
83
 
84
84
  def inner_type_name
85
- unparsed_type.to_s.downcase.tr('[]!', '')
85
+ unparsed_type.to_s.tr('[]!', '')
86
86
  end
87
87
 
88
88
  def type_by_name
89
- TYPE_MAPPING.fetch(inner_type_name) do
89
+ TYPE_MAPPING.fetch(inner_type_name.downcase) do
90
90
  dynamicly_defined_type || raise(
91
91
  UnknownTypeError,
92
92
  "Type #{unparsed_type.inspect} is not supported. Supported scalar types are: #{TYPE_MAPPING.keys}." \
@@ -96,7 +96,7 @@ module GraphqlRails
96
96
  end
97
97
 
98
98
  def dynamicly_defined_type
99
- type_class = inner_type_name.capitalize.safe_constantize
99
+ type_class = inner_type_name.safe_constantize
100
100
  return unless type_class.respond_to?(:graphql)
101
101
 
102
102
  type_class.graphql.graphql_type
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GraphqlRails
4
- VERSION = '0.4.1'
4
+ VERSION = '0.4.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Povilas Jurčys
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-27 00:00:00.000000000 Z
11
+ date: 2019-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  version: '0'
173
173
  requirements: []
174
174
  rubyforge_project:
175
- rubygems_version: 2.7.6
175
+ rubygems_version: 2.7.7
176
176
  signing_key:
177
177
  specification_version: 4
178
178
  summary: GrapQL server and client for rails