graphiql-rails 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/graphiql/rails/editors/show.html.erb +4 -2
- data/lib/graphiql/rails/version.rb +1 -1
- data/readme.md +4 -0
- 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: ca699522c0406b6f3262a849002742d7de064ea5
|
4
|
+
data.tar.gz: f296618616d3ae68224a51deb4cb1030f8fb55ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da78b12fe7d1ec8febc70e2615e5c68d0e99c5af68c41cd1c031edb03456d91a1257ab8a3dfa28cb519ec145234ffc0f5c96c3e9e32a0a9efcc721ec4f44a5ce
|
7
|
+
data.tar.gz: 13ed376bc1a9e81349d596e474c7ac30282bd09797f75be8dfacda67499c226a0a4b15b7aa40d7bc6fe50b82ae1b855695e17197445d2ee7b60e9d1717f46afd
|
@@ -6,7 +6,9 @@
|
|
6
6
|
<%= javascript_include_tag("graphiql/rails/application") %>
|
7
7
|
</head>
|
8
8
|
<body>
|
9
|
-
|
9
|
+
<div id="graphiql-container">
|
10
|
+
Loading...
|
11
|
+
</div>
|
10
12
|
<script>
|
11
13
|
var parameters = {
|
12
14
|
query: "<%= GraphiQL::Rails.config.initial_query.gsub(/\n/, "\\n") %>"
|
@@ -75,7 +77,7 @@
|
|
75
77
|
onEditVariables: onEditVariables
|
76
78
|
<% end %>
|
77
79
|
}),
|
78
|
-
document.
|
80
|
+
document.getElementById("graphiql-container")
|
79
81
|
);
|
80
82
|
</script>
|
81
83
|
</body>
|
data/readme.md
CHANGED
@@ -40,3 +40,7 @@ You can override `GraphiQL::Rails` configs in an initializer (eg, `config/initia
|
|
40
40
|
GraphiQL::Rails.config.query_params = false # if true, the GraphQL query string will be persisted the page's query params.
|
41
41
|
GraphiQL::Rails.config.initial_query = GraphiQL::Rails::WELCOME_MESSAGE # This string is presented to a new user
|
42
42
|
```
|
43
|
+
|
44
|
+
## To-do
|
45
|
+
|
46
|
+
- [ ] Automate the update process for GraphiQL assets
|
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.2
|
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-
|
11
|
+
date: 2016-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|