sun-sword 0.0.10 → 0.0.11
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 +4 -4
- data/Gemfile +12 -0
- data/Gemfile.lock +193 -0
- data/README.md +40 -3
- data/lib/generators/sun_sword/scaffold_generator.rb +35 -17
- data/lib/sun_sword/version.rb +1 -1
- metadata +108 -14
- data/.rspec +0 -3
- data/.rubocop.yml +0 -1146
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d07154e1285345a247e59933071b6c40906ed2e4fa3c61f95274cec3bbacebfe
|
4
|
+
data.tar.gz: 95b7cee97b1bb5b4505e5cbe39e4f756ca5b9f65eab6b560df067f74645e75df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47fb75a4bd69a876903071cf4521d9332f3ac727ff7a839eefd81a939d5576768396786bc5d9176118bc63e90c5a7137063aa059b52640f17fef80c199d5535e
|
7
|
+
data.tar.gz: b1129c75fe08c8d8aaeb75f774dc828273653c648a6facb1e59b7899cc5b4e8e78898dbf58e475e44779fff6e29b9bc6e555e730ba7c04b01fd2897bf4a6b382
|
data/Gemfile
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source 'https://rubygems.org'
|
4
|
+
|
5
|
+
# Specify your gem's dependencies in sun-sword.gemspec
|
6
|
+
gemspec
|
7
|
+
|
8
|
+
group :development, :test do
|
9
|
+
gem 'byebug'
|
10
|
+
gem 'rubocop-performance'
|
11
|
+
gem 'rubocop-rails-omakase', require: false
|
12
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,193 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
sun-sword (0.0.11)
|
5
|
+
activesupport (>= 7.1, < 8.1)
|
6
|
+
railties (>= 7.1, < 8.1)
|
7
|
+
thor (>= 1.2, < 2.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
actionpack (8.0.2.1)
|
13
|
+
actionview (= 8.0.2.1)
|
14
|
+
activesupport (= 8.0.2.1)
|
15
|
+
nokogiri (>= 1.8.5)
|
16
|
+
rack (>= 2.2.4)
|
17
|
+
rack-session (>= 1.0.1)
|
18
|
+
rack-test (>= 0.6.3)
|
19
|
+
rails-dom-testing (~> 2.2)
|
20
|
+
rails-html-sanitizer (~> 1.6)
|
21
|
+
useragent (~> 0.16)
|
22
|
+
actionview (8.0.2.1)
|
23
|
+
activesupport (= 8.0.2.1)
|
24
|
+
builder (~> 3.1)
|
25
|
+
erubi (~> 1.11)
|
26
|
+
rails-dom-testing (~> 2.2)
|
27
|
+
rails-html-sanitizer (~> 1.6)
|
28
|
+
activesupport (8.0.2.1)
|
29
|
+
base64
|
30
|
+
benchmark (>= 0.3)
|
31
|
+
bigdecimal
|
32
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
33
|
+
connection_pool (>= 2.2.5)
|
34
|
+
drb
|
35
|
+
i18n (>= 1.6, < 2)
|
36
|
+
logger (>= 1.4.2)
|
37
|
+
minitest (>= 5.1)
|
38
|
+
securerandom (>= 0.3)
|
39
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
40
|
+
uri (>= 0.13.1)
|
41
|
+
appraisal (2.5.0)
|
42
|
+
bundler
|
43
|
+
rake
|
44
|
+
thor (>= 0.14.0)
|
45
|
+
ast (2.4.2)
|
46
|
+
base64 (0.3.0)
|
47
|
+
benchmark (0.4.1)
|
48
|
+
bigdecimal (3.2.3)
|
49
|
+
builder (3.3.0)
|
50
|
+
byebug (11.1.3)
|
51
|
+
concurrent-ruby (1.3.5)
|
52
|
+
connection_pool (2.5.4)
|
53
|
+
crass (1.0.6)
|
54
|
+
date (3.4.1)
|
55
|
+
diff-lcs (1.5.1)
|
56
|
+
drb (2.2.3)
|
57
|
+
erb (5.0.2)
|
58
|
+
erubi (1.13.1)
|
59
|
+
i18n (1.14.7)
|
60
|
+
concurrent-ruby (~> 1.0)
|
61
|
+
io-console (0.8.1)
|
62
|
+
irb (1.15.2)
|
63
|
+
pp (>= 0.6.0)
|
64
|
+
rdoc (>= 4.0.0)
|
65
|
+
reline (>= 0.4.2)
|
66
|
+
json (2.13.2)
|
67
|
+
language_server-protocol (3.17.0.5)
|
68
|
+
lint_roller (1.1.0)
|
69
|
+
logger (1.7.0)
|
70
|
+
loofah (2.24.1)
|
71
|
+
crass (~> 1.0.2)
|
72
|
+
nokogiri (>= 1.12.0)
|
73
|
+
mini_portile2 (2.8.9)
|
74
|
+
minitest (5.25.5)
|
75
|
+
nokogiri (1.18.10)
|
76
|
+
mini_portile2 (~> 2.8.2)
|
77
|
+
racc (~> 1.4)
|
78
|
+
nokogiri (1.18.10-arm64-darwin)
|
79
|
+
racc (~> 1.4)
|
80
|
+
parallel (1.27.0)
|
81
|
+
parser (3.3.9.0)
|
82
|
+
ast (~> 2.4.1)
|
83
|
+
racc
|
84
|
+
pp (0.6.2)
|
85
|
+
prettyprint
|
86
|
+
prettyprint (0.2.0)
|
87
|
+
prism (1.5.0)
|
88
|
+
psych (5.2.6)
|
89
|
+
date
|
90
|
+
stringio
|
91
|
+
racc (1.8.1)
|
92
|
+
rack (3.2.1)
|
93
|
+
rack-session (2.1.1)
|
94
|
+
base64 (>= 0.1.0)
|
95
|
+
rack (>= 3.0.0)
|
96
|
+
rack-test (2.2.0)
|
97
|
+
rack (>= 1.3)
|
98
|
+
rackup (2.2.1)
|
99
|
+
rack (>= 3)
|
100
|
+
rails-dom-testing (2.3.0)
|
101
|
+
activesupport (>= 5.0.0)
|
102
|
+
minitest
|
103
|
+
nokogiri (>= 1.6)
|
104
|
+
rails-html-sanitizer (1.6.2)
|
105
|
+
loofah (~> 2.21)
|
106
|
+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
107
|
+
railties (8.0.2.1)
|
108
|
+
actionpack (= 8.0.2.1)
|
109
|
+
activesupport (= 8.0.2.1)
|
110
|
+
irb (~> 1.13)
|
111
|
+
rackup (>= 1.0.0)
|
112
|
+
rake (>= 12.2)
|
113
|
+
thor (~> 1.0, >= 1.2.2)
|
114
|
+
zeitwerk (~> 2.6)
|
115
|
+
rainbow (3.1.1)
|
116
|
+
rake (13.2.1)
|
117
|
+
rdoc (6.14.2)
|
118
|
+
erb
|
119
|
+
psych (>= 4.0.0)
|
120
|
+
regexp_parser (2.11.2)
|
121
|
+
reline (0.6.2)
|
122
|
+
io-console (~> 0.5)
|
123
|
+
rspec (3.13.0)
|
124
|
+
rspec-core (~> 3.13.0)
|
125
|
+
rspec-expectations (~> 3.13.0)
|
126
|
+
rspec-mocks (~> 3.13.0)
|
127
|
+
rspec-core (3.13.2)
|
128
|
+
rspec-support (~> 3.13.0)
|
129
|
+
rspec-expectations (3.13.3)
|
130
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
131
|
+
rspec-support (~> 3.13.0)
|
132
|
+
rspec-mocks (3.13.2)
|
133
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
134
|
+
rspec-support (~> 3.13.0)
|
135
|
+
rspec-support (3.13.1)
|
136
|
+
rubocop (1.80.2)
|
137
|
+
json (~> 2.3)
|
138
|
+
language_server-protocol (~> 3.17.0.2)
|
139
|
+
lint_roller (~> 1.1.0)
|
140
|
+
parallel (~> 1.10)
|
141
|
+
parser (>= 3.3.0.2)
|
142
|
+
rainbow (>= 2.2.2, < 4.0)
|
143
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
144
|
+
rubocop-ast (>= 1.46.0, < 2.0)
|
145
|
+
ruby-progressbar (~> 1.7)
|
146
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
147
|
+
rubocop-ast (1.46.0)
|
148
|
+
parser (>= 3.3.7.2)
|
149
|
+
prism (~> 1.4)
|
150
|
+
rubocop-performance (1.26.0)
|
151
|
+
lint_roller (~> 1.1)
|
152
|
+
rubocop (>= 1.75.0, < 2.0)
|
153
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
154
|
+
rubocop-rails (2.33.3)
|
155
|
+
activesupport (>= 4.2.0)
|
156
|
+
lint_roller (~> 1.1)
|
157
|
+
rack (>= 1.1)
|
158
|
+
rubocop (>= 1.75.0, < 2.0)
|
159
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
160
|
+
rubocop-rails-omakase (1.1.0)
|
161
|
+
rubocop (>= 1.72)
|
162
|
+
rubocop-performance (>= 1.24)
|
163
|
+
rubocop-rails (>= 2.30)
|
164
|
+
ruby-progressbar (1.13.0)
|
165
|
+
securerandom (0.4.1)
|
166
|
+
stringio (3.1.7)
|
167
|
+
thor (1.4.0)
|
168
|
+
tzinfo (2.0.6)
|
169
|
+
concurrent-ruby (~> 1.0)
|
170
|
+
unicode-display_width (3.2.0)
|
171
|
+
unicode-emoji (~> 4.1)
|
172
|
+
unicode-emoji (4.1.0)
|
173
|
+
uri (1.0.3)
|
174
|
+
useragent (0.16.11)
|
175
|
+
zeitwerk (2.7.3)
|
176
|
+
|
177
|
+
PLATFORMS
|
178
|
+
arm64-darwin-23
|
179
|
+
ruby
|
180
|
+
|
181
|
+
DEPENDENCIES
|
182
|
+
appraisal (~> 2.5)
|
183
|
+
bundler (~> 2.4)
|
184
|
+
byebug
|
185
|
+
rake (~> 13.0)
|
186
|
+
rspec (~> 3.12)
|
187
|
+
rubocop (~> 1.65)
|
188
|
+
rubocop-performance
|
189
|
+
rubocop-rails-omakase
|
190
|
+
sun-sword!
|
191
|
+
|
192
|
+
BUNDLED WITH
|
193
|
+
2.5.18
|
data/README.md
CHANGED
@@ -1,8 +1,20 @@
|
|
1
1
|
# SunSword
|
2
|
+
Rails generators for a **modern frontend stack**: Vite, Tailwind (v4), Hotwire (Turbo + Stimulus), plus view scaffolds aligned with your domain.
|
3
|
+
|
2
4
|
This gem provides helper interfaces and classes to assist in the construction of application with
|
3
5
|
Clean Architecture, as described in [Robert Martin's seminal book](https://www.amazon.com/gp/product/0134494164).
|
4
6
|
|
7
|
+
---
|
8
|
+
## ✨ Features
|
9
|
+
|
10
|
+
- **One-shot frontend setup**
|
11
|
+
Installs and wires **Vite**, **Tailwind v4**, **Turbo**, **Stimulus**, HMR, and sensible defaults.
|
12
|
+
- **Scaffolded views & components**
|
13
|
+
Opinionated but flexible ERB views, partials, and Stimulus controllers.
|
14
|
+
- **Clean integration with Rails 8 + Vite Ruby**
|
15
|
+
Ships `vite.config.ts`, `config/vite.json`, `Procfile.dev`, `bin/watch`, and entrypoints.
|
5
16
|
|
17
|
+
---
|
6
18
|
## Installation
|
7
19
|
|
8
20
|
Add this line to your application's Gemfile:
|
@@ -18,6 +30,7 @@ And then execute:
|
|
18
30
|
$ rails generate sun_sword:frontend
|
19
31
|
$ rubocop -A
|
20
32
|
```
|
33
|
+
---
|
21
34
|
## Usage
|
22
35
|
```bash
|
23
36
|
Description:
|
@@ -31,13 +44,28 @@ Example:
|
|
31
44
|
To Generate scaffold:
|
32
45
|
bin/rails generate sun_sword:scaffold Models::Contact actor:user
|
33
46
|
```
|
34
|
-
|
47
|
+
---
|
48
|
+
## Generated structure
|
49
|
+
```text
|
50
|
+
app/
|
51
|
+
frontend/
|
52
|
+
entrypoints/
|
53
|
+
application.js
|
54
|
+
stimulus.js
|
55
|
+
pages/
|
56
|
+
web.js
|
57
|
+
stimulus.js
|
58
|
+
stylesheets/
|
59
|
+
application.css # Tailwind v4 style (@import, @plugin, @source)
|
60
|
+
assets/
|
61
|
+
```
|
62
|
+
---
|
35
63
|
## Philosophy
|
36
64
|
|
37
65
|
The intention of this gem is to help you build applications that are built from the use case down,
|
38
66
|
and decisions about I/O can be deferred until the last possible moment.
|
39
67
|
|
40
|
-
|
68
|
+
### Clean Architecture
|
41
69
|
This structure provides helper interfaces and classes to assist in the construction of application with Clean Architecture, as described in Robert Martin's seminal book.
|
42
70
|
|
43
71
|
```
|
@@ -54,7 +82,7 @@ This structure provides helper interfaces and classes to assist in the construct
|
|
54
82
|
- use_cases (Just Usecase)
|
55
83
|
- utils (Class Reusable)
|
56
84
|
```
|
57
|
-
|
85
|
+
### Screaming architecture - use cases as an organisational principle
|
58
86
|
Uncle Bob suggests that your source code organisation should allow developers to easily find a listing of all use cases your application provides. Here's an example of how this might look in a this application.
|
59
87
|
```
|
60
88
|
- app
|
@@ -82,4 +110,13 @@ Note that the use case name contains:
|
|
82
110
|
# admin_fetch_info.rb [specific usecase]
|
83
111
|
# fetch_info.rb [generic usecase] every role can access it
|
84
112
|
```
|
113
|
+
---
|
114
|
+
## Contributing
|
115
|
+
|
116
|
+
- Fork & bundle install
|
117
|
+
- ```bin/rails generate sun_sword:frontend --setup``` in a throwaway app to test changes
|
118
|
+
- Add/adjust generator tests where possible
|
119
|
+
- ```bundle exec rspec```
|
120
|
+
- Open a PR 🎉
|
85
121
|
|
122
|
+
See CONTRIBUTING.md for more.
|
@@ -201,21 +201,25 @@ module SunSword
|
|
201
201
|
end
|
202
202
|
|
203
203
|
def create_link_file
|
204
|
-
|
204
|
+
partial_path = File.join('app/views/components/menu', "_link_to_#{@scope_path}.html.erb")
|
205
|
+
template 'views/components/menu/link.html.erb.tt', partial_path unless File.exist?(partial_path)
|
206
|
+
|
207
|
+
sidebar = 'app/views/components/layouts/_sidebar.html.erb'
|
208
|
+
marker = " <%# generate_link %>\n"
|
205
209
|
link_to = " <li><%= render 'components/menu/#{"link_to_#{@scope_path}"}' %></li>\n"
|
206
|
-
inject_into_file
|
210
|
+
inject_into_file(sidebar, link_to, before: marker) unless File.read(sidebar).include?(link_to)
|
211
|
+
|
207
212
|
routes_file = 'config/routes.rb'
|
208
|
-
if !namespace_exists? && @route_scope_path.present?
|
209
|
-
scope_code = <<-RUBY
|
210
|
-
namespace :#{@route_scope_path} do
|
211
|
-
end
|
212
|
-
RUBY
|
213
|
-
insert_into_file routes_file, scope_code, after: "Rails.application.routes.draw do\n"
|
214
|
-
end
|
215
213
|
if @route_scope_path.present?
|
216
|
-
|
214
|
+
unless namespace_exists?
|
215
|
+
scope_code = " namespace :#{@route_scope_path} do\n end\n"
|
216
|
+
insert_into_file routes_file, scope_code, after: "Rails.application.routes.draw do\n" unless File.read(routes_file).include?(scope_code)
|
217
|
+
end
|
218
|
+
resource_line = " resources :#{@scope_path}\n"
|
219
|
+
inject_into_file routes_file, resource_line, after: "namespace :#{@route_scope_path} do\n" unless File.read(routes_file).include?(resource_line)
|
217
220
|
else
|
218
|
-
|
221
|
+
resource_line = " resources :#{@scope_path}\n"
|
222
|
+
inject_into_file routes_file, resource_line, after: "Rails.application.routes.draw do\n" unless File.read(routes_file).include?(resource_line)
|
219
223
|
end
|
220
224
|
end
|
221
225
|
|
@@ -225,15 +229,29 @@ module SunSword
|
|
225
229
|
end
|
226
230
|
|
227
231
|
def strong_params
|
228
|
-
|
229
|
-
@controllers
|
230
|
-
|
231
|
-
|
232
|
+
# pakai controllers.form_fields kalau ada, kalau tidak jatuh ke kolom model (contract_fields)
|
233
|
+
raw_fields = @controllers&.form_fields || contract_fields
|
234
|
+
|
235
|
+
# normalisasi jadi pasangan [name, type]
|
236
|
+
pairs = raw_fields.map do |f|
|
237
|
+
if f.respond_to?(:name)
|
238
|
+
[f.name.to_s, f.type.to_s]
|
232
239
|
else
|
233
|
-
|
240
|
+
column_type = @model_class.columns_hash[f.to_s]&.type.to_s
|
241
|
+
[f.to_s, column_type.presence || 'string']
|
234
242
|
end
|
235
243
|
end
|
236
|
-
|
244
|
+
|
245
|
+
permitted = pairs.map do |name, type|
|
246
|
+
case type
|
247
|
+
when 'files' then "{ #{name}: [] }" # multiple
|
248
|
+
when 'json', 'jsonb', 'hash' then "{ #{name}: {} }"
|
249
|
+
when 'array' then "{ #{name}: [] }"
|
250
|
+
else ":#{name}"
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
254
|
+
permitted.join(', ')
|
237
255
|
end
|
238
256
|
end
|
239
257
|
end
|
data/lib/sun_sword/version.rb
CHANGED
metadata
CHANGED
@@ -1,66 +1,156 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sun-sword
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Kotaro Minami
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: activesupport
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - ">="
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '7.1'
|
19
|
+
- - "<"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '8.1'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '7.1'
|
29
|
+
- - "<"
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: '8.1'
|
32
|
+
- !ruby/object:Gem::Dependency
|
33
|
+
name: railties
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - ">="
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '7.1'
|
39
|
+
- - "<"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '8.1'
|
42
|
+
type: :runtime
|
43
|
+
prerelease: false
|
44
|
+
version_requirements: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '7.1'
|
49
|
+
- - "<"
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: '8.1'
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
name: thor
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '1.2'
|
59
|
+
- - "<"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.2'
|
69
|
+
- - "<"
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '2.0'
|
72
|
+
- !ruby/object:Gem::Dependency
|
73
|
+
name: appraisal
|
74
|
+
requirement: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - "~>"
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '2.5'
|
79
|
+
type: :development
|
80
|
+
prerelease: false
|
81
|
+
version_requirements: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - "~>"
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '2.5'
|
12
86
|
- !ruby/object:Gem::Dependency
|
13
87
|
name: bundler
|
14
88
|
requirement: !ruby/object:Gem::Requirement
|
15
89
|
requirements:
|
16
90
|
- - "~>"
|
17
91
|
- !ruby/object:Gem::Version
|
18
|
-
version: 2.
|
92
|
+
version: '2.4'
|
19
93
|
type: :development
|
20
94
|
prerelease: false
|
21
95
|
version_requirements: !ruby/object:Gem::Requirement
|
22
96
|
requirements:
|
23
97
|
- - "~>"
|
24
98
|
- !ruby/object:Gem::Version
|
25
|
-
version: 2.
|
99
|
+
version: '2.4'
|
26
100
|
- !ruby/object:Gem::Dependency
|
27
101
|
name: rake
|
28
102
|
requirement: !ruby/object:Gem::Requirement
|
29
103
|
requirements:
|
30
104
|
- - "~>"
|
31
105
|
- !ruby/object:Gem::Version
|
32
|
-
version: 13.
|
106
|
+
version: '13.0'
|
33
107
|
type: :development
|
34
108
|
prerelease: false
|
35
109
|
version_requirements: !ruby/object:Gem::Requirement
|
36
110
|
requirements:
|
37
111
|
- - "~>"
|
38
112
|
- !ruby/object:Gem::Version
|
39
|
-
version: 13.
|
113
|
+
version: '13.0'
|
40
114
|
- !ruby/object:Gem::Dependency
|
41
115
|
name: rspec
|
42
116
|
requirement: !ruby/object:Gem::Requirement
|
43
117
|
requirements:
|
44
118
|
- - "~>"
|
45
119
|
- !ruby/object:Gem::Version
|
46
|
-
version: 3.
|
120
|
+
version: '3.12'
|
121
|
+
type: :development
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - "~>"
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '3.12'
|
128
|
+
- !ruby/object:Gem::Dependency
|
129
|
+
name: rubocop
|
130
|
+
requirement: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - "~>"
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '1.65'
|
47
135
|
type: :development
|
48
136
|
prerelease: false
|
49
137
|
version_requirements: !ruby/object:Gem::Requirement
|
50
138
|
requirements:
|
51
139
|
- - "~>"
|
52
140
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
54
|
-
description:
|
141
|
+
version: '1.65'
|
142
|
+
description: SunSword men-setup frontend (Vite/Stimulus/Tailwind) dan men-generate
|
143
|
+
struktur Clean Architecture untuk Rails 7.1/7.2/8 dengan generator yang idempotent,
|
144
|
+
reversible, dan minim gesekan.
|
55
145
|
email:
|
56
146
|
- kotaroisme@gmail.com
|
57
147
|
executables: []
|
58
148
|
extensions: []
|
59
149
|
extra_rdoc_files: []
|
60
150
|
files:
|
61
|
-
- ".rspec"
|
62
|
-
- ".rubocop.yml"
|
63
151
|
- CHANGELOG.md
|
152
|
+
- Gemfile
|
153
|
+
- Gemfile.lock
|
64
154
|
- LICENSE.txt
|
65
155
|
- README.md
|
66
156
|
- Rakefile
|
@@ -120,7 +210,11 @@ homepage: https://github.com/kotaroisme/sun-sword
|
|
120
210
|
licenses:
|
121
211
|
- MIT
|
122
212
|
metadata:
|
123
|
-
|
213
|
+
rubygems_mfa_required: 'true'
|
214
|
+
homepage_uri: https://github.com/kotaroisme/sun-sword
|
215
|
+
changelog_uri: https://github.com/kotaroisme/sun-sword/blob/main/CHANGELOG.md
|
216
|
+
bug_tracker_uri: https://github.com/kotaroisme/sun-sword/issues
|
217
|
+
documentation_uri: https://github.com/kotaroisme/sun-sword#readme
|
124
218
|
rdoc_options: []
|
125
219
|
require_paths:
|
126
220
|
- lib
|
@@ -128,7 +222,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
128
222
|
requirements:
|
129
223
|
- - ">="
|
130
224
|
- !ruby/object:Gem::Version
|
131
|
-
version: 3.
|
225
|
+
version: '3.2'
|
132
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
227
|
requirements:
|
134
228
|
- - ">="
|
@@ -137,5 +231,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
231
|
requirements: []
|
138
232
|
rubygems_version: 3.7.2
|
139
233
|
specification_version: 4
|
140
|
-
summary:
|
234
|
+
summary: 'Rails generators: Vite + Tailwind + Hotwire + Clean Architecture scaffolds'
|
141
235
|
test_files: []
|
data/.rspec
DELETED