graphql_scaffold_fan 0.2.6 → 0.2.7

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: 132d797967560ca9aff1ca078a4ad7fe8d0febc255baebde4e6a5202c078b659
4
- data.tar.gz: 8effbef5b823d3e242c8820128cbc66c096adbee8e710a448ddbedf714980c08
3
+ metadata.gz: eed7880738bc1e560999cacc4cc80284a4a353eff9ce4db9e804248b6fecc82a
4
+ data.tar.gz: ebf38352c1e52f9bba28a8814280b64d7ee7dd5a961397da44cce847950861d4
5
5
  SHA512:
6
- metadata.gz: f65c5dba53e8772e766221bdd284b5306c58239a18913b1b3d5fb170b1dc41f3a8e8322acfbbd3712012d5bc9908fb52171e76165c034516be69e48f4fd97cd2
7
- data.tar.gz: c690eade0d07e8aec469266b284b45a59ba31b77bd7775686a2a01711d88377988b72e8c8e56ff9ff79efc04db1ab4291c720cfa0658e48f8fd64d749a526c46
6
+ metadata.gz: 37f6663b95a871a0df9ede7b467f9e03eadf789dde0f9ba17aa699dab91f58d9f6abc6b46acc4c13b566451a3a797993fcb7f9a6d1c3163ba7325ee59fc6f7a5
7
+ data.tar.gz: 67473a3eb62b1099bfe3f656811a52ba3ca786acd3f9e317726d1a81c2ee072ed6590aa95639e9c73a59ee25de7ef035888f76fab6b88ee7d3559bf607d3914b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- graphql_scaffold_fan (0.2.6)
4
+ graphql_scaffold_fan (0.2.7)
5
5
  graphql
6
6
  graphql_playground-rails
7
7
 
@@ -22,7 +22,7 @@ module GraphqlScaffold
22
22
  generator_dir_path = admin_mutation_dir_path + ("/#{@module_name.underscore}" if @module_name.present?).to_s
23
23
  @generator_path = generator_dir_path + "/#{file_name}s"
24
24
 
25
- admin_mutation_test_dir_path = 'spec/graphql/mutations/admin'
25
+ admin_mutation_test_dir_path = 'spec/requests/mutations/admin'
26
26
  generator_test_dir_path = admin_mutation_test_dir_path + (if @module_name.present?
27
27
  "/#{@module_name.underscore}"
28
28
  end).to_s
@@ -67,7 +67,7 @@ module GraphqlScaffold
67
67
  end
68
68
 
69
69
  def create_test_file
70
- test_dir_path = 'spec/requests/queries'
70
+ test_dir_path = 'spec/requests/queries/admin'
71
71
  test_file_path = test_dir_path + "/#{file_name}_spec.rb"
72
72
  FileUtils.mkdir_p(test_dir_path) unless File.exist?(test_dir_path)
73
73
  template 'query_test.haml', test_file_path
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GraphqlScaffoldFan
4
- VERSION = '0.2.6'
4
+ VERSION = '0.2.7'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql_scaffold_fan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fan Zhang