graphql_scaffold_fan 0.2.3 → 0.2.4
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 +4 -4
- data/.DS_Store +0 -0
- data/Gemfile.lock +1 -1
- data/lib/generators/graphql_scaffold/init_generator.rb +2 -3
- data/lib/graphql_scaffold_fan/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd16366de26333651bededf94e3b522ddc3f23e3beb39fb885292cc39afca52a
|
|
4
|
+
data.tar.gz: 30bb023a7cf18328365147f83b405406fadcbff4d7e498032e621f5db24b5f90
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 21b1cf73b2627efbb3f89b25c839b826d59f2c930842f86e3be8c8b0209d80e2792d5483247586f2c66aac88a70023a0d25d3026294583224322a637da01aefd
|
|
7
|
+
data.tar.gz: 0f18d48487e041e3568e5e95c3da2a0a5612a04a7d2be2f082cefae6be80173018bb60937c00b81772777ac004fb96338b436cde95cca376d83f661232112fef
|
data/.DS_Store
CHANGED
|
Binary file
|
data/Gemfile.lock
CHANGED
|
@@ -17,13 +17,12 @@ module GraphqlScaffold
|
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def create_admin_schema_file
|
|
20
|
-
@top_folder_name = File.basename(Dir.getwd)
|
|
21
20
|
dir_path = 'app/graphql'
|
|
22
|
-
file_path = dir_path + "/#{
|
|
21
|
+
file_path = dir_path + "/#{file_name.underscore}_admin_schema.rb"
|
|
23
22
|
FileUtils.mkdir_p(dir_path) unless File.exist?(dir_path)
|
|
24
23
|
|
|
25
24
|
if File.exist?(file_path)
|
|
26
|
-
p "File #{
|
|
25
|
+
p "File #{file_name}_admin_schema.rb already exists"
|
|
27
26
|
else
|
|
28
27
|
template 'admin_schema.haml', file_path
|
|
29
28
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: graphql_scaffold_fan
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fan Zhang
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-07-
|
|
11
|
+
date: 2022-07-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: graphql
|