ibrain-core 0.3.2.pre.rc.4 → 0.3.3.pre.rc.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 252b28b6eeabf6964e6c7f05005cfa4f6a4a95e4de1c57bbfa6aa48ce611b8d5
4
- data.tar.gz: 78d8bb9abcc995ba030dd41a9e78953e6f1c565b46faee2d9f35f6dadcc9c110
3
+ metadata.gz: f6dd0441b3e9f4a63ec87f027869ae2975db19b5150c11cd3d390b5e53b9358a
4
+ data.tar.gz: 250b661758ef00be05798528bfeba94a1fd3b37dc19bb552c6464a0f0265e331
5
5
  SHA512:
6
- metadata.gz: e0d3b0387ec8bf25addffa1f3db712c53c9006f845fb09b6c9cc9747e138c6fa40771e8592a54951bda27243f9567396749622cc16fb845f056264f739b697ec
7
- data.tar.gz: c3b3d713acf2f918a62555123b963ada19d9699b12d21eb9adc7240883416a3e5e5ff606c506255665f941dc1d72c995c6abfcf627385844e525bb1fcee33b4b
6
+ metadata.gz: 499358fd50d21ab37a421d20b15138591cf814ebc487c656f3cc0a6ff09125a037e5cb8d632d7915053ba4b78ab9d8fe89592b5b9ec696dabeaf1f51fb39254a
7
+ data.tar.gz: c19f3ff61aa703f214747ccb970c0541d0c545291ec1cc4d0409cccc88f94f0269aff885ad2425536b4b5b08f7eb65611cf968a263ddbc59a29f44e6154fd2bd
@@ -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,6 +1,6 @@
1
1
  default: &default
2
2
  adapter: <%= ENV.fetch("DATABASE_ADAPTER") { 'postgresql' } %>
3
- encoding: utf8mb4
3
+ encoding: <%= ENV.fetch("DATABASE_ENCODING") { 'utf8mb4' } %>
4
4
  pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
5
5
  host: <%= ENV.fetch('DATABASE_HOSTNAME') { 'localhost' }%>
6
6
  username: <%= ENV.fetch('DATABASE_USERNAME') { 'ibrain' }%>
@@ -1,14 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ibrain
4
- VERSION = "0.3.2-rc.4"
4
+ VERSION = "0.3.3-rc.2"
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.3'
11
+ '0.3.3-rc.1'
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.2.pre.rc.4
4
+ version: 0.3.3.pre.rc.2
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