template-ruby 1.1.0 → 2.0.0

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: 2f150542cc0de3c2bc1d201355a605c95edd9b3c4c715951e81e77b11218c1d9
4
- data.tar.gz: 41334f085dde737ed4e4cd827dc60e6ad0f6823c51f2a5243f77696b406b98dc
3
+ metadata.gz: 6e1de5aacb6227032062253398346bdf048b54c60a8ca8c4a38e4ee9f6acb6f2
4
+ data.tar.gz: 132127967a371ccc8581aa68571337762874c34080fac445edc948800df1c2a5
5
5
  SHA512:
6
- metadata.gz: a847d9866df2dd5aa9be44fef4bfc244d1828678f76264f6e4b48fb32753705970e279d8967106f7635419aa59d7580be42dee210f88ed3936ea9ed9e6e3af1c
7
- data.tar.gz: 77a69956a521966f0ac4130f7a32eef88e0b6da989982d9f1a683b066d7233f0d1ec92e991c6fe510c02cfb5d7198a0cd2c4eecb694f4174e255ee7ff68c8f2a
6
+ metadata.gz: b55376fd43886d3e939d48c34e0f1406b2b471cffb287b0534e77287ad6140f40b49e2d1f1064053aa443c40a9a9876e6595ab8246e34b5df5e4e025eb135e1f
7
+ data.tar.gz: 464558243762247e67c7260f68587affd7349e8d53f3dd2bb9116a4dc4043552307b32c6aa6e8801fba541cba7d8a3a42ef0de5496816adccda2f217934e22ed
@@ -1,15 +1,15 @@
1
1
  ---
2
- version: 2
3
2
  updates:
4
- - directory: "/"
5
- package-ecosystem: github-actions
6
- schedule:
7
- interval: daily
8
- - directory: "/"
9
- package-ecosystem: npm
10
- schedule:
11
- interval: daily
12
- - directory: "/"
13
- package-ecosystem: bundler
14
- schedule:
15
- interval: daily
3
+ - directory: "/"
4
+ package-ecosystem: github-actions
5
+ schedule:
6
+ interval: daily
7
+ - directory: "/"
8
+ package-ecosystem: npm
9
+ schedule:
10
+ interval: daily
11
+ - directory: "/"
12
+ package-ecosystem: bundler
13
+ schedule:
14
+ interval: daily
15
+ version: 2
@@ -1,37 +1,38 @@
1
- name: CI
2
- on: push
1
+ ---
3
2
  jobs:
4
3
  bundler-audit:
5
4
  name: Bundler Audit
6
5
  runs-on: ubuntu-latest
7
6
  steps:
8
- - uses: actions/checkout@v4
9
- - uses: ruby/setup-ruby@v1
10
- with:
11
- bundler-cache: true
12
- - run: bin/bundler-audit check --update
7
+ - uses: actions/checkout@v4
8
+ - uses: ruby/setup-ruby@v1
9
+ with:
10
+ bundler-cache: true
11
+ - run: bin/bundler-audit check --update
12
+ npm-audit:
13
+ name: npm Audit
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - uses: actions/setup-node@v4
18
+ - run: npm audit
13
19
  rspec:
14
20
  name: Test
15
21
  runs-on: ubuntu-latest
16
22
  steps:
17
- - uses: actions/checkout@v4
18
- - uses: ruby/setup-ruby@v1
19
- with:
20
- bundler-cache: true
21
- - run: bin/test
23
+ - uses: actions/checkout@v4
24
+ - uses: ruby/setup-ruby@v1
25
+ with:
26
+ bundler-cache: true
27
+ - run: bin/test
22
28
  rubocop:
23
29
  name: Rubocop
24
30
  runs-on: ubuntu-latest
25
31
  steps:
26
- - uses: actions/checkout@v4
27
- - uses: ruby/setup-ruby@v1
28
- with:
29
- bundler-cache: true
30
- - run: bin/rubocop
31
- npm-audit:
32
- name: npm Audit
33
- runs-on: ubuntu-latest
34
- steps:
35
- - uses: actions/checkout@v4
36
- - uses: actions/setup-node@v4
37
- - run: npm audit
32
+ - uses: actions/checkout@v4
33
+ - uses: ruby/setup-ruby@v1
34
+ with:
35
+ bundler-cache: true
36
+ - run: bin/rubocop
37
+ name: CI
38
+ 'on': push
data/.node-version CHANGED
@@ -1 +1 @@
1
- 22.5.1
1
+ 26.3.1
data/.npm-version ADDED
@@ -0,0 +1 @@
1
+ 11.17.0
data/.rubocop.yml CHANGED
@@ -1,19 +1,25 @@
1
1
  ---
2
2
  AllCops:
3
3
  Exclude:
4
- - "*/node_modules/**/*"
5
- - "*/vendor/**/*"
6
- - node_modules/**/*
7
- - vendor/**/*
4
+ - "**/node_modules/**/*"
5
+ - "**/vendor/**/*"
6
+ - "**/db/schema.rb"
8
7
  NewCops: enable
8
+ TargetRubyVersion: 4.0
9
9
  Layout/ClosingHeredocIndentation:
10
10
  Enabled: false
11
+ Layout/ElseAlignment:
12
+ Enabled: false
13
+ Layout/EndAlignment:
14
+ Enabled: false
11
15
  Layout/FirstArgumentIndentation:
12
16
  Enabled: false
13
17
  Layout/HashAlignment:
14
18
  Enabled: false
15
19
  Layout/HeredocIndentation:
16
20
  Enabled: false
21
+ Layout/IndentationWidth:
22
+ Enabled: false
17
23
  Layout/LineEndStringConcatenationIndentation:
18
24
  Enabled: false
19
25
  Layout/LineLength:
@@ -22,12 +28,20 @@ Layout/MultilineMethodCallIndentation:
22
28
  Enabled: false
23
29
  Layout/MultilineOperationIndentation:
24
30
  Enabled: false
31
+ Layout/SpaceAroundKeyword:
32
+ Enabled: false
33
+ Layout/SpaceInsideHashLiteralBraces:
34
+ Enabled: false
35
+ Lint/ConstantDefinitionInBlock:
36
+ Enabled: false
25
37
  Lint/EmptyClass:
26
38
  Enabled: false
27
39
  Lint/MissingSuper:
28
40
  Enabled: false
29
41
  Lint/PercentStringArray:
30
42
  Enabled: false
43
+ Lint/SafeNavigationChain:
44
+ Enabled: false
31
45
  Lint/ShadowingOuterLocalVariable:
32
46
  Enabled: false
33
47
  Lint/SuppressedException:
@@ -42,6 +56,8 @@ Metrics/BlockLength:
42
56
  Enabled: false
43
57
  Metrics/ClassLength:
44
58
  Enabled: false
59
+ Metrics/CollectionLiteralLength:
60
+ Enabled: false
45
61
  Metrics/CyclomaticComplexity:
46
62
  Enabled: false
47
63
  Metrics/MethodLength:
@@ -56,8 +72,12 @@ Naming/FileName:
56
72
  Enabled: false
57
73
  Naming/MethodParameterName:
58
74
  Enabled: false
75
+ Naming/PredicateMethod:
76
+ Enabled: false
59
77
  Naming/VariableNumber:
60
78
  Enabled: false
79
+ Performance/Sum:
80
+ Enabled: false
61
81
  Performance/UnfreezeString:
62
82
  Enabled: false
63
83
  RSpec/AnyInstance:
@@ -76,6 +96,8 @@ RSpec/NoExpectationExample:
76
96
  Enabled: false
77
97
  RSpec/PendingWithoutReason:
78
98
  Enabled: false
99
+ Rails/BulkChangeTable:
100
+ Enabled: false
79
101
  Rails/Delegate:
80
102
  Enabled: false
81
103
  Rails/DynamicFindBy:
@@ -90,6 +112,8 @@ Rails/Presence:
90
112
  Enabled: false
91
113
  Rails/Present:
92
114
  Enabled: false
115
+ Rails/SkipsModelValidations:
116
+ Enabled: false
93
117
  Rails/ThreeStateBooleanColumn:
94
118
  Enabled: false
95
119
  Rails/TimeZone:
@@ -106,19 +130,23 @@ Style/EmptyMethod:
106
130
  Enabled: false
107
131
  Style/IfUnlessModifier:
108
132
  Enabled: false
133
+ Style/Lambda:
134
+ Enabled: false
109
135
  Style/MultilineBlockChain:
110
136
  Enabled: false
137
+ Style/NestedTernaryOperator:
138
+ Enabled: false
111
139
  Style/QuotedSymbols:
112
140
  Enabled: false
113
141
  Style/StringLiterals:
114
142
  Enabled: false
115
143
  Style/StringLiteralsInInterpolation:
116
144
  Enabled: false
117
- require:
118
- - rubocop-factory_bot
119
- - rubocop-performance
120
- - rubocop-rails
121
- - rubocop-rake
122
- - rubocop-rspec
123
- - rubocop-rspec_rails
124
- - rubocop-capybara
145
+ plugins:
146
+ - rubocop-factory_bot
147
+ - rubocop-performance
148
+ - rubocop-rails
149
+ - rubocop-rake
150
+ - rubocop-rspec
151
+ - rubocop-capybara
152
+ - rubocop-rspec_rails
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.4
1
+ 4.0.5
data/.tool-versions CHANGED
@@ -1,3 +1,2 @@
1
- ruby 3.3.4
2
- yarn 1.22.22
3
- nodejs 22.5.1
1
+ ruby 4.0.5
2
+ nodejs 26.3.1
data/Gemfile CHANGED
@@ -4,18 +4,16 @@ source "https://rubygems.org"
4
4
 
5
5
  gemspec
6
6
 
7
- ruby "3.3.4"
8
-
9
- gem "rspec"
10
- gem "ruby-prof"
7
+ ruby "4.0.5"
11
8
 
12
9
  gem "bundler-audit"
13
-
10
+ gem "dorian"
11
+ gem "rspec"
12
+ gem "rubocop-capybara"
14
13
  gem "rubocop-factory_bot"
15
14
  gem "rubocop-performance"
16
15
  gem "rubocop-rails"
17
16
  gem "rubocop-rake"
18
17
  gem "rubocop-rspec"
19
18
  gem "rubocop-rspec_rails"
20
-
21
- gem "rubocop-capybara"
19
+ gem "ruby-prof"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- template-ruby (1.1.0)
4
+ template-ruby (2.0.0)
5
5
  code-ruby
6
6
  dorian-arguments
7
7
  language-ruby
@@ -10,121 +10,250 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (7.2.1)
13
+ activesupport (8.1.3)
14
14
  base64
15
15
  bigdecimal
16
16
  concurrent-ruby (~> 1.0, >= 1.3.1)
17
17
  connection_pool (>= 2.2.5)
18
18
  drb
19
19
  i18n (>= 1.6, < 2)
20
+ json
20
21
  logger (>= 1.4.2)
21
22
  minitest (>= 5.1)
22
23
  securerandom (>= 0.3)
23
24
  tzinfo (~> 2.0, >= 2.0.5)
24
- ast (2.4.2)
25
- base64 (0.2.0)
26
- bigdecimal (3.1.8)
27
- bundler-audit (0.9.2)
28
- bundler (>= 1.2.0, < 3)
25
+ uri (>= 0.13.1)
26
+ addressable (2.9.0)
27
+ public_suffix (>= 2.0.2, < 8.0)
28
+ ast (2.4.3)
29
+ base64 (0.3.0)
30
+ bigdecimal (4.1.2)
31
+ bundler-audit (0.9.3)
32
+ bundler (>= 1.2.0)
29
33
  thor (~> 1.0)
30
- code-ruby (1.0.0)
31
- activesupport
32
- bigdecimal
33
- did-you-mean
34
- dorian-arguments
35
- json
36
- language-ruby
37
- zeitwerk
38
- concurrent-ruby (1.3.4)
39
- connection_pool (2.4.1)
34
+ cmdparse (3.0.7)
35
+ code-ruby (4.0.3)
36
+ activesupport (>= 8.1, < 9)
37
+ base64 (>= 0.3, < 1)
38
+ bigdecimal (>= 4.0, < 5)
39
+ did-you-mean (>= 0.1, < 1)
40
+ dorian-arguments (>= 1.2, < 2)
41
+ icalendar (>= 2.12, < 3)
42
+ json (>= 2.19, < 3)
43
+ language-ruby (>= 1.2, < 2)
44
+ mail (>= 2.9, < 3)
45
+ net-http (>= 0.9, < 1)
46
+ net-smtp (>= 0.5, < 1)
47
+ nokogiri (>= 1.19, < 2)
48
+ uri (>= 1.1, < 2)
49
+ zeitwerk (>= 2.7, < 3)
50
+ concurrent-ruby (1.3.7)
51
+ connection_pool (3.0.2)
52
+ csv (3.3.5)
53
+ date (3.5.1)
40
54
  did-you-mean (0.1.1)
41
55
  levenshtein (>= 0.2.0)
42
- diff-lcs (1.5.1)
43
- dorian-arguments (1.1.1)
44
- bigdecimal
45
- drb (2.2.1)
46
- i18n (1.14.5)
56
+ diff-lcs (1.6.2)
57
+ dorian (2.6.8)
58
+ csv
59
+ dorian-arguments
60
+ dorian-eval
61
+ dorian-progress
62
+ dorian-to_struct
63
+ git
64
+ hexapdf
65
+ json
66
+ mini_racer
67
+ ostruct
68
+ parallel
69
+ syntax_tree
70
+ syntax_tree-haml
71
+ syntax_tree-xml
72
+ terminal-table
73
+ w_syntax_tree-erb
74
+ yaml
75
+ dorian-arguments (1.2.3)
76
+ bigdecimal (>= 3.1, < 5)
77
+ dorian-eval (1.5.1)
78
+ yaml (>= 0.3, < 1)
79
+ dorian-progress (1.1.3)
80
+ ruby-progressbar (>= 1.13, < 2)
81
+ dorian-to_struct (2.0.3)
82
+ drb (2.2.3)
83
+ geom2d (0.4.1)
84
+ git (4.3.2)
85
+ activesupport (>= 5.0)
86
+ addressable (~> 2.8)
87
+ process_executer (~> 4.0)
88
+ rchardet (~> 1.9)
89
+ haml (7.2.0)
90
+ temple (>= 0.8.2)
91
+ thor
92
+ tilt
93
+ hexapdf (1.9.1)
94
+ cmdparse (~> 3.0, >= 3.0.3)
95
+ geom2d (~> 0.4, >= 0.4.1)
96
+ openssl (>= 2.2.1)
97
+ strscan (>= 3.1.2)
98
+ i18n (1.15.2)
47
99
  concurrent-ruby (~> 1.0)
48
- json (2.7.2)
49
- language-ruby (1.0.1)
100
+ icalendar (2.12.3)
101
+ base64
102
+ ice_cube (~> 0.16)
103
+ logger
104
+ ostruct
105
+ ice_cube (0.17.0)
106
+ json (2.20.0)
107
+ language-ruby (1.2.0)
50
108
  dorian-arguments
51
109
  zeitwerk
52
- language_server-protocol (3.17.0.3)
110
+ language_server-protocol (3.17.0.5)
53
111
  levenshtein (0.2.2)
54
- logger (1.6.0)
55
- minitest (5.25.1)
56
- parallel (1.26.3)
57
- parser (3.3.4.2)
112
+ libv8-node (24.12.0.1-arm64-darwin)
113
+ libv8-node (24.12.0.1-x86_64-linux)
114
+ lint_roller (1.1.0)
115
+ logger (1.7.0)
116
+ mail (2.9.0)
117
+ logger
118
+ mini_mime (>= 0.1.1)
119
+ net-imap
120
+ net-pop
121
+ net-smtp
122
+ mini_mime (1.1.5)
123
+ mini_racer (0.21.4)
124
+ libv8-node (~> 24.12.0.1)
125
+ minitest (6.0.6)
126
+ drb (~> 2.0)
127
+ prism (~> 1.5)
128
+ net-http (0.9.1)
129
+ uri (>= 0.11.1)
130
+ net-imap (0.6.4.1)
131
+ date
132
+ net-protocol
133
+ net-pop (0.1.2)
134
+ net-protocol
135
+ net-protocol (0.2.2)
136
+ timeout
137
+ net-smtp (0.5.1)
138
+ net-protocol
139
+ nokogiri (1.19.4-arm64-darwin)
140
+ racc (~> 1.4)
141
+ nokogiri (1.19.4-x86_64-linux-gnu)
142
+ racc (~> 1.4)
143
+ openssl (4.0.2)
144
+ ostruct (0.6.3)
145
+ parallel (2.1.0)
146
+ parser (3.3.11.1)
58
147
  ast (~> 2.4.1)
59
148
  racc
149
+ prettier_print (1.2.1)
150
+ prism (1.9.0)
151
+ process_executer (4.0.4)
152
+ track_open_instances (~> 0.1)
153
+ public_suffix (7.0.5)
60
154
  racc (1.8.1)
61
- rack (3.1.7)
155
+ rack (3.2.6)
62
156
  rainbow (3.1.1)
63
- regexp_parser (2.9.2)
64
- rexml (3.3.6)
65
- strscan
66
- rspec (3.13.0)
157
+ rchardet (1.10.2)
158
+ regexp_parser (2.12.0)
159
+ rspec (3.13.2)
67
160
  rspec-core (~> 3.13.0)
68
161
  rspec-expectations (~> 3.13.0)
69
162
  rspec-mocks (~> 3.13.0)
70
- rspec-core (3.13.0)
163
+ rspec-core (3.13.6)
71
164
  rspec-support (~> 3.13.0)
72
- rspec-expectations (3.13.2)
165
+ rspec-expectations (3.13.5)
73
166
  diff-lcs (>= 1.2.0, < 2.0)
74
167
  rspec-support (~> 3.13.0)
75
- rspec-mocks (3.13.1)
168
+ rspec-mocks (3.13.8)
76
169
  diff-lcs (>= 1.2.0, < 2.0)
77
170
  rspec-support (~> 3.13.0)
78
- rspec-support (3.13.1)
79
- rubocop (1.65.1)
171
+ rspec-support (3.13.7)
172
+ rubocop (1.88.0)
80
173
  json (~> 2.3)
81
- language_server-protocol (>= 3.17.0)
82
- parallel (~> 1.10)
174
+ language_server-protocol (~> 3.17.0.2)
175
+ lint_roller (~> 1.1.0)
176
+ parallel (>= 1.10)
83
177
  parser (>= 3.3.0.2)
84
178
  rainbow (>= 2.2.2, < 4.0)
85
- regexp_parser (>= 2.4, < 3.0)
86
- rexml (>= 3.2.5, < 4.0)
87
- rubocop-ast (>= 1.31.1, < 2.0)
179
+ regexp_parser (>= 2.9.3, < 3.0)
180
+ rubocop-ast (>= 1.49.0, < 2.0)
88
181
  ruby-progressbar (~> 1.7)
89
- unicode-display_width (>= 2.4.0, < 3.0)
90
- rubocop-ast (1.32.1)
91
- parser (>= 3.3.1.0)
92
- rubocop-capybara (2.21.0)
93
- rubocop (~> 1.41)
94
- rubocop-factory_bot (2.26.1)
95
- rubocop (~> 1.61)
96
- rubocop-performance (1.21.1)
97
- rubocop (>= 1.48.1, < 2.0)
98
- rubocop-ast (>= 1.31.1, < 2.0)
99
- rubocop-rails (2.26.0)
182
+ unicode-display_width (>= 2.4.0, < 4.0)
183
+ rubocop-ast (1.49.1)
184
+ parser (>= 3.3.7.2)
185
+ prism (~> 1.7)
186
+ rubocop-capybara (3.0.0)
187
+ lint_roller (~> 1.1)
188
+ rubocop (~> 1.81)
189
+ rubocop-factory_bot (2.28.0)
190
+ lint_roller (~> 1.1)
191
+ rubocop (~> 1.72, >= 1.72.1)
192
+ rubocop-performance (1.26.1)
193
+ lint_roller (~> 1.1)
194
+ rubocop (>= 1.75.0, < 2.0)
195
+ rubocop-ast (>= 1.47.1, < 2.0)
196
+ rubocop-rails (2.35.5)
100
197
  activesupport (>= 4.2.0)
198
+ lint_roller (~> 1.1)
101
199
  rack (>= 1.1)
102
- rubocop (>= 1.52.0, < 2.0)
103
- rubocop-ast (>= 1.31.1, < 2.0)
104
- rubocop-rake (0.6.0)
105
- rubocop (~> 1.0)
106
- rubocop-rspec (3.0.4)
107
- rubocop (~> 1.61)
108
- rubocop-rspec_rails (2.30.0)
109
- rubocop (~> 1.61)
110
- rubocop-rspec (~> 3, >= 3.0.1)
111
- ruby-prof (1.7.0)
200
+ rubocop (>= 1.75.0, < 2.0)
201
+ rubocop-ast (>= 1.44.0, < 2.0)
202
+ rubocop-rake (0.7.1)
203
+ lint_roller (~> 1.1)
204
+ rubocop (>= 1.72.1)
205
+ rubocop-rspec (3.10.2)
206
+ lint_roller (~> 1.1)
207
+ regexp_parser (>= 2.0)
208
+ rubocop (~> 1.86, >= 1.86.2)
209
+ rubocop-rspec_rails (2.32.0)
210
+ lint_roller (~> 1.1)
211
+ rubocop (~> 1.72, >= 1.72.1)
212
+ rubocop-rspec (~> 3.5)
213
+ ruby-prof (2.0.5)
214
+ base64
215
+ ostruct
112
216
  ruby-progressbar (1.13.0)
113
- securerandom (0.3.1)
114
- strscan (3.1.0)
115
- thor (1.3.2)
217
+ securerandom (0.4.1)
218
+ strscan (3.1.8)
219
+ syntax_tree (6.3.0)
220
+ prettier_print (>= 1.2.0)
221
+ syntax_tree-haml (4.0.3)
222
+ haml (>= 5.2)
223
+ prettier_print (>= 1.2.1)
224
+ syntax_tree (>= 6.0.0)
225
+ syntax_tree-xml (0.1.0)
226
+ prettier_print
227
+ syntax_tree (>= 2.0.1)
228
+ temple (0.10.4)
229
+ terminal-table (4.0.0)
230
+ unicode-display_width (>= 1.1.1, < 4)
231
+ thor (1.5.0)
232
+ tilt (2.7.0)
233
+ timeout (0.6.1)
234
+ track_open_instances (0.1.15)
116
235
  tzinfo (2.0.6)
117
236
  concurrent-ruby (~> 1.0)
118
- unicode-display_width (2.5.0)
119
- zeitwerk (2.6.17)
237
+ unicode-display_width (3.2.0)
238
+ unicode-emoji (~> 4.1)
239
+ unicode-emoji (4.2.0)
240
+ uri (1.1.1)
241
+ w_syntax_tree-erb (0.12.0)
242
+ prettier_print (~> 1.2, >= 1.2.0)
243
+ syntax_tree (~> 6.1, >= 6.1.1)
244
+ yaml (0.4.0)
245
+ zeitwerk (2.8.2)
120
246
 
121
247
  PLATFORMS
122
248
  arm64-darwin-22
123
249
  arm64-darwin-23
250
+ arm64-darwin-24
251
+ arm64-darwin-25
124
252
  x86_64-linux
125
253
 
126
254
  DEPENDENCIES
127
255
  bundler-audit
256
+ dorian
128
257
  rspec
129
258
  rubocop-capybara
130
259
  rubocop-factory_bot
@@ -137,7 +266,7 @@ DEPENDENCIES
137
266
  template-ruby!
138
267
 
139
268
  RUBY VERSION
140
- ruby 3.3.4p94
269
+ ruby 4.0.5
141
270
 
142
271
  BUNDLED WITH
143
- 2.5.18
272
+ 4.0.15
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 2.0.0
data/bin/dorian ADDED
@@ -0,0 +1,31 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'dorian' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ bundle_binstub = File.expand_path("bundle", __dir__)
14
+
15
+ if File.file?(bundle_binstub)
16
+ if File.read(bundle_binstub, 300).include?(
17
+ "This file was generated by Bundler"
18
+ )
19
+ load(bundle_binstub)
20
+ else
21
+ abort(
22
+ "Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
23
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again."
24
+ )
25
+ end
26
+ end
27
+
28
+ require "rubygems"
29
+ require "bundler/setup"
30
+
31
+ load Gem.bin_path("dorian", "dorian")
data/package-lock.json CHANGED
@@ -6,8 +6,8 @@
6
6
  "": {
7
7
  "license": "MIT",
8
8
  "engines": {
9
- "node": "22.5.1",
10
- "npm": "10.8.2"
9
+ "node": "26.3.1",
10
+ "npm": "11.17.0"
11
11
  }
12
12
  }
13
13
  }
data/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "license": "MIT",
3
3
  "engines": {
4
- "node": "22.5.1",
5
- "npm": "10.8.2"
4
+ "node": "26.3.1",
5
+ "npm": "11.17.0"
6
6
  }
7
7
  }
@@ -17,5 +17,5 @@ Gem::Specification.new do |s|
17
17
  s.add_dependency "language-ruby"
18
18
  s.add_dependency "zeitwerk"
19
19
  s.metadata["rubygems_mfa_required"] = "true"
20
- s.required_ruby_version = "3.3.4"
20
+ s.required_ruby_version = ">= 4.0"
21
21
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: template-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dorian Marié
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-08-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: code-ruby
@@ -77,6 +76,7 @@ files:
77
76
  - ".github/workflows/ci.yml"
78
77
  - ".gitignore"
79
78
  - ".node-version"
79
+ - ".npm-version"
80
80
  - ".prettierignore"
81
81
  - ".rspec"
82
82
  - ".rubocop.yml"
@@ -90,6 +90,7 @@ files:
90
90
  - bin/bundle
91
91
  - bin/bundle-audit
92
92
  - bin/bundler-audit
93
+ - bin/dorian
93
94
  - bin/rspec
94
95
  - bin/rubocop
95
96
  - bin/template
@@ -114,23 +115,21 @@ licenses:
114
115
  - MIT
115
116
  metadata:
116
117
  rubygems_mfa_required: 'true'
117
- post_install_message:
118
118
  rdoc_options: []
119
119
  require_paths:
120
120
  - lib
121
121
  required_ruby_version: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - '='
123
+ - - ">="
124
124
  - !ruby/object:Gem::Version
125
- version: 3.3.4
125
+ version: '4.0'
126
126
  required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - ">="
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
131
  requirements: []
132
- rubygems_version: 3.5.11
133
- signing_key:
132
+ rubygems_version: 4.0.15
134
133
  specification_version: 4
135
134
  summary: templating language
136
135
  test_files: []