sun-sword 0.0.4 → 0.0.5

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: e41591cff3bcf32886a1c7669fe7b20885592bae80c86c356a15328b4e74e24c
4
- data.tar.gz: 39413beceebc80ff6358eb27065f87920f1c3dff062112daf17f1fa19ce3bbb8
3
+ metadata.gz: 5b414900e8daf53df2781f85514ad0b2ff9bd876b59bab1414f954acf9920b83
4
+ data.tar.gz: f3adc01b9e3aa64c3c07d9aa9c843282eb978d0bd2a84542acefc94012cafd06
5
5
  SHA512:
6
- metadata.gz: 4216e337a604db0e6ed6bf6afacdac6902282ef87330613f0e3160d5fe0c627eef44c7446c8369179b34c8dc740b245897376f3e71ce97af21d758d2b4b5302e
7
- data.tar.gz: 24139caa5c427558d494c33c215b7e1933bc1d69f37629e05bbb9e3b962a46cdacf2616790f2e30be07cf3a09fe61043cda9576d2cdaa9c465dcdb00650e8d2f
6
+ metadata.gz: 5ef80ec8a386908e924568e666fc8616754d4fd5fc0df9a335996a0dcb8d69970d9698efe1366a61ce3c082b2921bacf70cfa75a229bb7fff745caa1eed6197e
7
+ data.tar.gz: 30cc226b312508adb9fc7fa2a04cdce9432170038bb2661d9042b78c301bc03a600ce56220e6f90d47423edaac6ac615a8b58fbc7c6cfee411b77a2d2067a4d0
@@ -50,9 +50,9 @@ module SunSword
50
50
  end
51
51
 
52
52
  def setup_migration
53
- template 'db/migrate/20241117042039_devise_create_auths.rb', File.join('db/migrate/20241117042039_devise_create_auths.rb')
54
- template 'db/migrate/20241117043154_create_models_accounts.rb', File.join('db/migrate/20241117043154_create_models_accounts.rb')
55
- template 'db/migrate/20241117044142_create_models_users.rb', File.join('db/migrate/20241117044142_create_models_users.rb')
53
+ template 'db/migrate/20241117042039_devise_create_auths.rb', File.join("db/migrate/#{Time.now.strftime('%Y%m%d%H%M')}11_devise_create_auths.rb")
54
+ template 'db/migrate/20241117043154_create_models_accounts.rb', File.join("db/migrate/#{Time.now.strftime('%Y%m%d%H%M')}22_create_models_accounts.rb")
55
+ template 'db/migrate/20241117044142_create_models_users.rb', File.join("db/migrate/#{Time.now.strftime('%Y%m%d%H%M')}33_create_models_users.rb")
56
56
 
57
57
  template 'db/seeds.rb', File.join('db/seeds.rb')
58
58
  end
@@ -1,5 +1,4 @@
1
1
  class Models::User < ApplicationRecord
2
2
  belongs_to :account, class_name: 'Models::Account', foreign_key: 'account_id'
3
-
4
- enum role: { owner: 'owner', contact: 'contact' }
3
+ enum :role, { owner: 'owner', contact: 'contact' }
5
4
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SunSword
4
- VERSION = '0.0.4'
4
+ VERSION = '0.0.5'
5
5
  public_constant :VERSION
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sun-sword
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - kotarominami
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-22 00:00:00.000000000 Z
11
+ date: 2024-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  requirements: []
148
- rubygems_version: 3.5.22
148
+ rubygems_version: 3.5.23
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: Sun Sword is a Generator for Clean Architecture