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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4b62f10ce88ff8a2f158ca1bc5a14c662310f3a42043c04b98fe2642307b74b
4
- data.tar.gz: 74678f4d3d904df21d921cfd337de12a672c41aa10479ddb7ebd1f22a28e1449
3
+ metadata.gz: bd16366de26333651bededf94e3b522ddc3f23e3beb39fb885292cc39afca52a
4
+ data.tar.gz: 30bb023a7cf18328365147f83b405406fadcbff4d7e498032e621f5db24b5f90
5
5
  SHA512:
6
- metadata.gz: dc9df1b39863ff2abd172c3b73c762c4fc445267a264494778cf69bb2104480fdbba94849cc9845fd6acbf6113a7f154b399f46444706c0b394224963b7a90e3
7
- data.tar.gz: f4b3f2ea7641ad63e1a05923ad7060e21fcbf1013f85f12fa3dec3eb27a63544a47f2c8f233b5dc967b1f3bfab157cbb4d52a3b18ccd936584264ec85be64bc7
6
+ metadata.gz: 21b1cf73b2627efbb3f89b25c839b826d59f2c930842f86e3be8c8b0209d80e2792d5483247586f2c66aac88a70023a0d25d3026294583224322a637da01aefd
7
+ data.tar.gz: 0f18d48487e041e3568e5e95c3da2a0a5612a04a7d2be2f082cefae6be80173018bb60937c00b81772777ac004fb96338b436cde95cca376d83f661232112fef
data/.DS_Store CHANGED
Binary file
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- graphql_scaffold_fan (0.2.3)
4
+ graphql_scaffold_fan (0.2.4)
5
5
  graphql
6
6
  graphql_playground-rails
7
7
 
@@ -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 + "/#{@top_folder_name.underscore}_admin_schema.rb"
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 #{@top_folder_name}_admin_schema.rb already exists"
25
+ p "File #{file_name}_admin_schema.rb already exists"
27
26
  else
28
27
  template 'admin_schema.haml', file_path
29
28
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GraphqlScaffoldFan
4
- VERSION = '0.2.3'
4
+ VERSION = '0.2.4'
5
5
  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.3
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-18 00:00:00.000000000 Z
11
+ date: 2022-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql