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 +4 -4
- data/lib/graphiql/rails.rb +9 -2
- data/lib/graphiql/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b50862f13188d294055c1a6ef44bcb6a6672083d
|
4
|
+
data.tar.gz: 1f3b4f5f00be1463587b856aecf2c3b763bb4f44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9115f479138aa5feb38e23d837cea4e3faa897f5db7533c5fa0a361dc4cd5dc9ec2b45cc9b50e6dcab28b92a1a86fd016d23d6d37f7e7306925aa41db2f92df4
|
7
|
+
data.tar.gz: 1f70ad2a5805509abc3e8b8950c7f8ac75a2b179860daba702ab23a4c66345984d76985f0c31a3c20405b7d7639123ace09278b96250fefa3ab342099e2a63f5
|
data/lib/graphiql/rails.rb
CHANGED
@@ -1,7 +1,14 @@
|
|
1
1
|
require "rails"
|
2
2
|
|
3
|
-
ActiveSupport::Inflector.
|
4
|
-
|
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"
|
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.
|
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-
|
11
|
+
date: 2016-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|