ruby_graphiql_explorer 1.0.1 → 1.0.2

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: 3f7d2d0e2dd198f6264b5b8a9534f690cf4ee2caf66f6b3979c03396bc3ca06d
4
- data.tar.gz: fe304a985c9aca320796bcb8ea23c465e6ff751e5d61e300e2abe8d41fd683c1
3
+ metadata.gz: 34de555cce8e46b44dadeff5675c05313b0fba514945b8974013f5f546aac7d6
4
+ data.tar.gz: b43bea718125eacc2607613b9c8d21285aa1eb702ef001ffc7c581492159dab2
5
5
  SHA512:
6
- metadata.gz: 394e7b6dae01f1d2b1fbabe8a70f1e36555661e81b5027b6b175106e7c7124385ba4c02fed4e3aa4ee4d69ecc88b5ac984e608a170cbca4d2515444ab209325a
7
- data.tar.gz: 33b91a45ba38b298edcc854c3196881de34788b7ff86915eeec9643c4a439b8ff21d477816f5e4a1439ccf641b1c2df99a337fc3f4c1767ed6e6b7de65ffab3e
6
+ metadata.gz: 811b996338925b556e76540da26b2c7c5b4307426d0f08a79d2e920d596a18d7630456d604c5af0f28995660901cffd8e0a2eab69ae749d617487333444938c3
7
+ data.tar.gz: 569532903e7e372cc7ef31e8a2ca5f1044c0d4795b3ff791f519f2a9f5ec2eaec84bd185d53ad523bbe7e9ba2011f6bbd5e37643f4669588dbe8e837adf14757
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_graphiql_explorer (1.0.1)
4
+ ruby_graphiql_explorer (1.0.2)
5
5
  rack-app
6
6
  rack-app-front_end
7
7
 
@@ -21,11 +21,11 @@
21
21
 
22
22
  <script>
23
23
  const graphQLFetcher = (graphQLParams) =>
24
- fetch('<%= ENV.fetch('GRAPHQL_API_URL', 'http://localhost:3000/graphql') %>', {
24
+ fetch('<%= ENV.fetch('GRAPHQL_API_URL', '/graphql') %>', {
25
25
  method: 'post',
26
26
  headers: {
27
27
  'Content-Type': 'application/json',
28
- Authorization: '<%= ENV.fetch('GRAPHQL_API_KEY', '') %>'
28
+ Authorization: 'Bearer <%= ENV.fetch('GRAPHQL_API_KEY', '') %>'
29
29
  },
30
30
  body: JSON.stringify(graphQLParams)
31
31
  })
@@ -1,3 +1,3 @@
1
1
  module RubyGraphiqlExplorer
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_graphiql_explorer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gaurav Tiwari
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-02 00:00:00.000000000 Z
11
+ date: 2020-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack-app
@@ -93,7 +93,7 @@ metadata:
93
93
  homepage_uri: https://github.com/gauravtiwari/ruby_graphiql_explorer
94
94
  source_code_uri: https://github.com/gauravtiwari/ruby_graphiql_explorer
95
95
  changelog_uri: https://github.com/gauravtiwari/ruby_graphiql_explorer
96
- post_install_message:
96
+ post_install_message:
97
97
  rdoc_options: []
98
98
  require_paths:
99
99
  - lib
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  version: '0'
110
110
  requirements: []
111
111
  rubygems_version: 3.0.3
112
- signing_key:
112
+ signing_key:
113
113
  specification_version: 4
114
114
  summary: Minimal mountable API graphiql explorer
115
115
  test_files: []