sun-sword 0.0.3 → 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: e4c9ef673af8d51240f8c706d4c18ca8286721cf860d3effca58aafcb3042a38
4
- data.tar.gz: 57afc60235b6dd6a2bdd15906d039ad865cee125447290786af3385ceed0551e
3
+ metadata.gz: 5b414900e8daf53df2781f85514ad0b2ff9bd876b59bab1414f954acf9920b83
4
+ data.tar.gz: f3adc01b9e3aa64c3c07d9aa9c843282eb978d0bd2a84542acefc94012cafd06
5
5
  SHA512:
6
- metadata.gz: ce22f06920d4dec14553da3a111e2d51040d4c8ac7a0c00a0faca90b2b80b03ef0926d5b74af43cca035eb955e74a390daf9cdfc5411870363161308828513d7
7
- data.tar.gz: 7d026ad20c3fcf0e9b8c4d16ed226a2487efa837d0df7a52fe496b061b5094a3babcf79578dd5c1e288efb8019fb099f5c4751a2bd33a171d09ff49885ccf4ab
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.3'
4
+ VERSION = '0.0.5'
5
5
  public_constant :VERSION
6
6
  end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sun-sword
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
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
- - !ruby/object:Gem::Dependency
14
- name: rider-kick
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 0.0.5
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 0.0.5
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: bundler
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -159,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
145
  - !ruby/object:Gem::Version
160
146
  version: '0'
161
147
  requirements: []
162
- rubygems_version: 3.5.22
148
+ rubygems_version: 3.5.23
163
149
  signing_key:
164
150
  specification_version: 4
165
151
  summary: Sun Sword is a Generator for Clean Architecture