ibrain-core 0.3.3 → 0.3.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: cdd2900870960f51ee9c9624ca4bf0e7d559ee292b695efd880fe11a7f0fc0bf
4
- data.tar.gz: 9cdc61fafdfe8d61bf5751553f417b040695a76c27116812ebeaf262880ef323
3
+ metadata.gz: 665c2ec28fc37ab2da3d0fb56089e8b8fa6d39661b7805352d7b27b0f0cc6de8
4
+ data.tar.gz: 5231970877ffc8a2a90392ddb24ef97d1d8fb8cea1bb0d0c661484f0d48fd985
5
5
  SHA512:
6
- metadata.gz: b8189a8d833bd50db18abfcd2ed807b5c0a59ec9329e92fe6d5fdc2f490777d002bc6befe36bf659fc68887976069adfa84d8217a87e1259aea3eec4b8633b4f
7
- data.tar.gz: c93b51ea486b814e7a3ce5baf59f3478e632ca104b3e7772b30e2910db4e76acb79f28ac7213167cd22952accda98ce89a7a7d4db173c68e03591443ffd79cc6
6
+ metadata.gz: 3564404b544087d6571f633ecfa87e33955f0c595d1ba02281651a61e5b864b866f3da0fbd93ab2726678a40ed1c3e3137603074145c4f6b488e6dc1869fb1e4
7
+ data.tar.gz: ddf16cf4cb1013f63dbfe9c20e9dc8f9d83de4c60a07965ad2d4f7fbe1a70c186306dd65d11efd911294adeb1673d26bc91165168b0dff6bcddc083f6fe43a56
@@ -32,7 +32,7 @@ module Ibrain
32
32
  create_dir('app/repositories') unless Dir.exist?('app/repositories')
33
33
 
34
34
  template "object.erb", "#{options[:directory]}/types/objects/#{type_file_name}.rb"
35
- template "input.erb", "#{options[:directory]}/types/input/#{input_file_name}.rb"
35
+ template "input.erb", "#{options[:directory]}/types/attributes/#{input_file_name}.rb"
36
36
  template "repository.erb", "app/repositories/#{type_name}_repository.rb"
37
37
  end
38
38
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  <% module_namespacing_when_supported do -%>
4
4
  module Types
5
- module Input
5
+ module Attributes
6
6
  class <%= input_ruby_name.split('::')[-1] %> < Ibrain::Types::BaseInputObject
7
7
  description '<%= input_ruby_name.split('::')[-1] %>'
8
8
 
@@ -11,7 +11,7 @@ module Mutations
11
11
 
12
12
  # TODO: define arguments
13
13
  # argument :name, String, required: true
14
- # argument :<%= model_name.underscore %>, Types::Input::<%= model_name %>Input, required: true
14
+ # argument :<%= model_name.underscore %>, Types::Attributes::<%= model_name %>Input, required: true
15
15
 
16
16
  # TODO: define resolve method
17
17
  def resolve(args)
@@ -1,14 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ibrain
4
- VERSION = "0.3.3"
4
+ VERSION = "0.3.4"
5
5
 
6
6
  def self.ibrain_version
7
7
  VERSION
8
8
  end
9
9
 
10
10
  def self.previous_ibrain_minor_version
11
- '0.3.2-rc.4'
11
+ '0.3.3-rc.2'
12
12
  end
13
13
 
14
14
  def self.ibrain_gem_version
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ibrain-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tai Nguyen Van
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-24 00:00:00.000000000 Z
11
+ date: 2022-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord-session_store