template-ruby 1.1.2 → 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: c0da0a2d800fe1644ebdd96c1efba802f8d144bcc25c86feec00ad6c2af8cccc
4
- data.tar.gz: 907c5556b45b39649b0b11902ba1acecc1ea6d9990bc0b5502bd7f482f1cb21f
3
+ metadata.gz: 6e1de5aacb6227032062253398346bdf048b54c60a8ca8c4a38e4ee9f6acb6f2
4
+ data.tar.gz: 132127967a371ccc8581aa68571337762874c34080fac445edc948800df1c2a5
5
5
  SHA512:
6
- metadata.gz: eb785a3c3228ef2ad261c40ffdfafcbc94f77d1a3ce31b97487e8c99b75132335f24eed8e90fd2b8019185b8ecc8e5c8ba76a851ecb17db4d703001f970f87f1
7
- data.tar.gz: 565fbfee90bf052bbc7bb3aaead5d73c70e7aee417f5b3a35690faff4559491c1c3ed1d2aa8e69e842e90e578be1c239753d8ae63850af25d87112be02734af2
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,6 +130,8 @@ 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
111
137
  Style/NestedTernaryOperator:
@@ -116,11 +142,11 @@ Style/StringLiterals:
116
142
  Enabled: false
117
143
  Style/StringLiteralsInInterpolation:
118
144
  Enabled: false
119
- require:
120
- - rubocop-factory_bot
121
- - rubocop-performance
122
- - rubocop-rails
123
- - rubocop-rake
124
- - rubocop-rspec
125
- - rubocop-rspec_rails
126
- - 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.5
1
+ 4.0.5
data/.tool-versions CHANGED
@@ -1,3 +1,2 @@
1
- ruby 3.3.5
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.5"
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.2)
4
+ template-ruby (2.0.0)
5
5
  code-ruby
6
6
  dorian-arguments
7
7
  language-ruby
@@ -10,117 +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.1.1)
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.2.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.1)
55
- minitest (5.25.1)
56
- parallel (1.26.3)
57
- parser (3.3.5.0)
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
- rspec (3.13.0)
157
+ rchardet (1.10.2)
158
+ regexp_parser (2.12.0)
159
+ rspec (3.13.2)
65
160
  rspec-core (~> 3.13.0)
66
161
  rspec-expectations (~> 3.13.0)
67
162
  rspec-mocks (~> 3.13.0)
68
- rspec-core (3.13.1)
163
+ rspec-core (3.13.6)
69
164
  rspec-support (~> 3.13.0)
70
- rspec-expectations (3.13.2)
165
+ rspec-expectations (3.13.5)
71
166
  diff-lcs (>= 1.2.0, < 2.0)
72
167
  rspec-support (~> 3.13.0)
73
- rspec-mocks (3.13.1)
168
+ rspec-mocks (3.13.8)
74
169
  diff-lcs (>= 1.2.0, < 2.0)
75
170
  rspec-support (~> 3.13.0)
76
- rspec-support (3.13.1)
77
- rubocop (1.66.1)
171
+ rspec-support (3.13.7)
172
+ rubocop (1.88.0)
78
173
  json (~> 2.3)
79
- language_server-protocol (>= 3.17.0)
80
- parallel (~> 1.10)
174
+ language_server-protocol (~> 3.17.0.2)
175
+ lint_roller (~> 1.1.0)
176
+ parallel (>= 1.10)
81
177
  parser (>= 3.3.0.2)
82
178
  rainbow (>= 2.2.2, < 4.0)
83
- regexp_parser (>= 2.4, < 3.0)
84
- rubocop-ast (>= 1.32.2, < 2.0)
179
+ regexp_parser (>= 2.9.3, < 3.0)
180
+ rubocop-ast (>= 1.49.0, < 2.0)
85
181
  ruby-progressbar (~> 1.7)
86
- unicode-display_width (>= 2.4.0, < 3.0)
87
- rubocop-ast (1.32.3)
88
- parser (>= 3.3.1.0)
89
- rubocop-capybara (2.21.0)
90
- rubocop (~> 1.41)
91
- rubocop-factory_bot (2.26.1)
92
- rubocop (~> 1.61)
93
- rubocop-performance (1.21.1)
94
- rubocop (>= 1.48.1, < 2.0)
95
- rubocop-ast (>= 1.31.1, < 2.0)
96
- 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)
97
197
  activesupport (>= 4.2.0)
198
+ lint_roller (~> 1.1)
98
199
  rack (>= 1.1)
99
- rubocop (>= 1.52.0, < 2.0)
100
- rubocop-ast (>= 1.31.1, < 2.0)
101
- rubocop-rake (0.6.0)
102
- rubocop (~> 1.0)
103
- rubocop-rspec (3.0.4)
104
- rubocop (~> 1.61)
105
- rubocop-rspec_rails (2.30.0)
106
- rubocop (~> 1.61)
107
- rubocop-rspec (~> 3, >= 3.0.1)
108
- 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
109
216
  ruby-progressbar (1.13.0)
110
- securerandom (0.3.1)
111
- 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)
112
235
  tzinfo (2.0.6)
113
236
  concurrent-ruby (~> 1.0)
114
- unicode-display_width (2.5.0)
115
- zeitwerk (2.6.18)
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)
116
246
 
117
247
  PLATFORMS
118
248
  arm64-darwin-22
119
249
  arm64-darwin-23
250
+ arm64-darwin-24
251
+ arm64-darwin-25
120
252
  x86_64-linux
121
253
 
122
254
  DEPENDENCIES
123
255
  bundler-audit
256
+ dorian
124
257
  rspec
125
258
  rubocop-capybara
126
259
  rubocop-factory_bot
@@ -133,7 +266,7 @@ DEPENDENCIES
133
266
  template-ruby!
134
267
 
135
268
  RUBY VERSION
136
- ruby 3.3.5p100
269
+ ruby 4.0.5
137
270
 
138
271
  BUNDLED WITH
139
- 2.5.18
272
+ 4.0.15
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.2
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.0"
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.2
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-09-05 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,7 +115,6 @@ 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
@@ -122,15 +122,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - ">="
124
124
  - !ruby/object:Gem::Version
125
- version: 3.3.0
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.16
133
- signing_key:
132
+ rubygems_version: 4.0.15
134
133
  specification_version: 4
135
134
  summary: templating language
136
135
  test_files: []