graphql_scaffold_fan 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/lib/generators/graphql_scaffold/init_generator.rb +1 -1
- data/lib/graphql_scaffold_fan/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fd748283918d5930f5362003773250fee8431e809120a3cbef546662110b404
|
4
|
+
data.tar.gz: 533cc9e4867e83c327da5b3121d9a111f289670a185a0ef8cb5352aa3ceb63e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfdaa2f0554c2e30367137be386784fa4d1eba0853a07855d0af62346843eaa950fa0a65dd5bb26d833fd472c1bc28e535f450bcc655483a143c55f9adeed13b
|
7
|
+
data.tar.gz: f3dbf2b6fcb54f85e0bf259398b99aee011fc60c045bb361ab60c36beee701c5c8a79f83c36979140807bd697335eacdfc2a65d5a43bb1ac992ad01a0358fe7d
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
graphql_scaffold_fan (0.2.
|
4
|
+
graphql_scaffold_fan (0.2.5)
|
5
5
|
graphql
|
6
6
|
graphql_playground-rails
|
7
7
|
|
@@ -73,7 +73,7 @@ GEM
|
|
73
73
|
erubi (1.10.0)
|
74
74
|
globalid (1.0.0)
|
75
75
|
activesupport (>= 5.0)
|
76
|
-
graphql (2.0.
|
76
|
+
graphql (2.0.12)
|
77
77
|
graphql_playground-rails (2.1.0)
|
78
78
|
rails (>= 5.1.0)
|
79
79
|
i18n (1.12.0)
|
@@ -88,7 +88,7 @@ GEM
|
|
88
88
|
mini_mime (1.1.2)
|
89
89
|
minitest (5.16.2)
|
90
90
|
nio4r (2.5.8)
|
91
|
-
nokogiri (1.13.
|
91
|
+
nokogiri (1.13.8-x86_64-darwin)
|
92
92
|
racc (~> 1.4)
|
93
93
|
racc (1.6.0)
|
94
94
|
rack (2.2.4)
|
@@ -129,7 +129,7 @@ GEM
|
|
129
129
|
activesupport (>= 5.2)
|
130
130
|
sprockets (>= 3.0.0)
|
131
131
|
thor (1.2.1)
|
132
|
-
tzinfo (2.0.
|
132
|
+
tzinfo (2.0.5)
|
133
133
|
concurrent-ruby (~> 1.0)
|
134
134
|
websocket-driver (0.7.5)
|
135
135
|
websocket-extensions (>= 0.1.0)
|
@@ -49,7 +49,7 @@ module GraphqlScaffold
|
|
49
49
|
if File.exist?(route_file_path)
|
50
50
|
file = File.open(route_file_path)
|
51
51
|
file_data = file.read
|
52
|
-
new_file_data = file_data.insert(-6, "\n mount GraphqlPlayground::Rails::Engine, at: '/graphiql_admin', graphql_path: 'api/admin/graphql', as: :admin_graphiql\n post 'api/admin/graphql', to: '
|
52
|
+
new_file_data = file_data.insert(-6, "\n mount GraphqlPlayground::Rails::Engine, at: '/graphiql_admin', graphql_path: 'api/admin/graphql', as: :admin_graphiql\n post 'api/admin/graphql', to: 'admin_graphql#execute'")
|
53
53
|
File.write(file, new_file_data)
|
54
54
|
p 'Write to routes.rb successfully'
|
55
55
|
else
|