graphql_scaffold_fan 0.0.3 → 0.1.0

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: 8af2cbcd7af17b150c39bac5ca03d7ca8641442bc7b14cdad5f1f27c56372eb4
4
- data.tar.gz: 8d5b24b65839d5a006e394e1c8923b18664a3b4f577acbbccff9dfd20afa080d
3
+ metadata.gz: 0604eb534978fb57d5669631859f3e609fef0c40e877a548f62077c0c85f0803
4
+ data.tar.gz: 2e401e70fb043d3475b98de930ed7b0ce6adf73252790dd5ecf04d08faad43d7
5
5
  SHA512:
6
- metadata.gz: 805b643515818f9c3639f31d7db0d52974f19026bb82d54830cd69f44183ac44f95ace20d0bb7778b755faa6b128825257e180b58cc4445dfac622f9776b1258
7
- data.tar.gz: 170c72bed0fe4499cd81614c8a879550fe6ac0baee0f3dbe8fcc815a6b6b65dab4bf2224f5485fbc1a6283ce02a0aba3ebe6c97d87cb83bb13fb9967e83a3019
6
+ metadata.gz: 19cd576ef5d776d42af0442900395e288049c7501b01065ca442acf565a6fec41c866b990effde7025c18e0b176cfb1b23d8c0adf03c89475b5c2bd35c8df700
7
+ data.tar.gz: 3f0aab3f49f8edcb9c14656a7528f1fca2348bb635b4bc237a52d99fd384facb247cbb26106f96123933ff449ff41226a53c43d66ad25c882dbb62e63738230c
data/.DS_Store CHANGED
Binary file
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # DemoGem
1
+ # GraphqlScaffoldFan
2
2
 
3
3
  Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/graphql_scaffold_fan`. To experiment with that code, run `bin/console` for an interactive prompt.
4
4
 
@@ -32,4 +32,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
32
 
33
33
  ## Contributing
34
34
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/demo_gem.
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/graphql_scaffold_fan.
data/bin/console CHANGED
File without changes
data/bin/setup CHANGED
File without changes
@@ -1,8 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path("../lib", __FILE__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require "graphql_scaffold_fan/version"
3
+ require_relative "lib/graphql_scaffold_fan/version"
6
4
 
7
5
  Gem::Specification.new do |spec|
8
6
  spec.name = "graphql_scaffold_fan"
@@ -28,4 +26,4 @@ Gem::Specification.new do |spec|
28
26
 
29
27
  # For more information and examples about making a new gem, checkout our
30
28
  # guide at: https://bundler.io/guides/creating_gem.html
31
- end
29
+ end
@@ -1,6 +1,6 @@
1
1
  require 'rails/generators/base'
2
- module Generators
3
- module Graphqlscaffold
2
+ module GraphqlScaffold
3
+ module Generators
4
4
  class MutationGenerator < Rails::Generators::NamedBase
5
5
  source_root File.expand_path('../templates', __dir__)
6
6
 
@@ -1,6 +1,6 @@
1
1
  require 'rails/generators/base'
2
- module Generators
3
- module Graphqlscaffold
2
+ module GraphqlScaffold
3
+ module Generators
4
4
  class TypeGenerator < Rails::Generators::NamedBase
5
5
  source_root File.expand_path('../templates', __dir__)
6
6
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GraphqlScaffoldFan
4
- VERSION = "0.0.3"
4
+ VERSION = "0.1.0"
5
5
  end
@@ -2,9 +2,7 @@
2
2
 
3
3
  require_relative "graphql_scaffold_fan/version"
4
4
 
5
- module GraphqlScaffoldFan
6
-
7
-
5
+ module GraphqlScaffold
8
6
  class Error < StandardError; end
9
7
  # Your code goes here...
10
8
  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.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fan Zhang
@@ -26,8 +26,8 @@ files:
26
26
  - bin/console
27
27
  - bin/setup
28
28
  - graphql_scaffold_fan.gemspec
29
- - lib/generators/graphqlscaffold/mutation_generator.rb
30
- - lib/generators/graphqlscaffold/type_generator.rb
29
+ - lib/generators/graphql_scaffold/mutation_generator.rb
30
+ - lib/generators/graphql_scaffold/type_generator.rb
31
31
  - lib/generators/templates/admin_filter.haml
32
32
  - lib/generators/templates/base_object.haml
33
33
  - lib/generators/templates/mutation_create.haml