graphiql-rails 1.0.0 → 1.0.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: 6c98067668a2afb106d3ff8b0542047815b875db
4
- data.tar.gz: f4bf78e91824d3d6bd1497c0f03a2373824cc748
3
+ metadata.gz: b50862f13188d294055c1a6ef44bcb6a6672083d
4
+ data.tar.gz: 1f3b4f5f00be1463587b856aecf2c3b763bb4f44
5
5
  SHA512:
6
- metadata.gz: e0b6f6756ff26fb6c0c61e3bc445844b2e0c4770088a92f0dda29cec3bca49c63e6c86691880222190fd1447636912d659df2a9fbfc22abe002a958d8e56467d
7
- data.tar.gz: 1a631700617c1569a37e33c7c12654744f2778e7a03d5a09116496b304393ebc2ba749c5c95ff9d5d8ec87d945d4295728ab15c6e5c84e50adf10d03b1b23ff2
6
+ metadata.gz: 9115f479138aa5feb38e23d837cea4e3faa897f5db7533c5fa0a361dc4cd5dc9ec2b45cc9b50e6dcab28b92a1a86fd016d23d6d37f7e7306925aa41db2f92df4
7
+ data.tar.gz: 1f70ad2a5805509abc3e8b8950c7f8ac75a2b179860daba702ab23a4c66345984d76985f0c31a3c20405b7d7639123ace09278b96250fefa3ab342099e2a63f5
@@ -1,7 +1,14 @@
1
1
  require "rails"
2
2
 
3
- ActiveSupport::Inflector.inflections(:en) do |inflect|
4
- inflect.acronym("GraphiQL")
3
+ if ActiveSupport::Inflector.method(:inflections).arity == 0
4
+ # Rails 3 does not take a language in inflections.
5
+ ActiveSupport::Inflector.inflections do |inflect|
6
+ inflect.acronym("GraphiQL")
7
+ end
8
+ else
9
+ ActiveSupport::Inflector.inflections(:en) do |inflect|
10
+ inflect.acronym("GraphiQL")
11
+ end
5
12
  end
6
13
 
7
14
  require "graphiql/rails/engine"
@@ -1,5 +1,5 @@
1
1
  module GraphiQL
2
2
  module Rails
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphiql-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Mosolgo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-04 00:00:00.000000000 Z
11
+ date: 2016-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails