erb-processor 1.0.3 → 1.0.5

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: d564fa911190a48843687c365a06a749db7b48201c1d53ac6882ffbdc2779717
4
- data.tar.gz: '01849da33777cd2895c8bdceda8448d6dad0757fb9f08d37a294c1a7a898c395'
3
+ metadata.gz: 2e2f6e7c12bdcf80c77caedc468101bdde47756db42bf2cbb7ffc2e5aa1a72bc
4
+ data.tar.gz: '098db12ce50580f739d655c7c6d83b404d2d40fa86c68fc1ecf05a9246e457bf'
5
5
  SHA512:
6
- metadata.gz: d2c487e47c8956e660ecac2df7571a29a5bbe14832ff4911a08f81a48eccfc9cd6b41ba4a9d0428770b4b7e1dd232ef570116973dd711beed41f28cbee8031ee
7
- data.tar.gz: a0b7fe5c5d07f7782a1a59151a959e0b8832b8b36e0483a18cd110494505a853e47c870b1ec61e1ba3d85f3d9e19bb563082af5591ecb6588bbec145f1d95856
6
+ metadata.gz: 76cde84f3c825739d2d7f79dbe40b4787b58619e3c73bc2a18e86f23941ede58f573ac38d1bb9fe72db289674080f6858462e57bc07fd41df47181aa35c8068a
7
+ data.tar.gz: b54c10d6ee666949a5c006ca768ae9cb943b059f0b65a8a0eb949c590fd78be2b222d19e0e36a88f11ddb682e974d239f268cfc384462b95d3d909b49a3b8b39
data/.rubocop.yml CHANGED
@@ -1,22 +1,13 @@
1
- inherit_gem:
2
- panolint: panolint-rubocop.yml
3
-
4
1
  AllCops:
5
2
  NewCops: enable
6
- TargetRubyVersion: 2.6
7
- Exclude:
8
- - vendor/**/*
9
- <% `git status --ignored --porcelain`.lines.grep(/^!! /).each do |path| %>
10
- - <%= path.sub(/^!! /, '') %>
11
- <% end %>
12
-
13
- Style/StringLiterals:
14
- Enabled: true
15
- EnforcedStyle: double_quotes
16
3
 
17
- Style/StringLiteralsInInterpolation:
18
- Enabled: true
19
- EnforcedStyle: double_quotes
4
+ plugins:
5
+ - rubocop-performance
6
+ - rubocop-rails
7
+ - rubocop-rake
20
8
 
21
9
  Layout/LineLength:
22
10
  Max: 120
11
+
12
+ Style/StringLiterals:
13
+ EnforcedStyle: double_quotes
data/Gemfile CHANGED
@@ -23,10 +23,12 @@ gem "guard-rspec"
23
23
  gem "guard-rubocop"
24
24
  gem "guard-yard"
25
25
  gem "juwelier" # , '~> 2.1.0'
26
+ gem "rack"
26
27
  gem "rdoc" # , '~> 3.12'
27
28
  gem "rspec-core"
28
29
  gem "rspec-expectations"
29
30
  gem "rspec-given"
30
31
  gem "shoulda" # , '>= 0'
31
32
  gem "simplecov" # , '>= 0'
33
+ gem "syslog" unless Gem.win_platform?
32
34
  gem "wdm", ">= 0.1.0" if Gem.win_platform?
data/Gemfile.lock CHANGED
@@ -1,62 +1,76 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- erb-processor (1.0.3)
4
+ erb-processor (1.0.5)
5
5
  logging (~> 2.3)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (7.0.4.2)
11
- concurrent-ruby (~> 1.0, >= 1.0.2)
10
+ activesupport (8.0.2)
11
+ base64
12
+ benchmark (>= 0.3)
13
+ bigdecimal
14
+ concurrent-ruby (~> 1.0, >= 1.3.1)
15
+ connection_pool (>= 2.2.5)
16
+ drb
12
17
  i18n (>= 1.6, < 2)
18
+ logger (>= 1.4.2)
13
19
  minitest (>= 5.1)
14
- tzinfo (~> 2.0)
15
- addressable (2.8.1)
16
- public_suffix (>= 2.0.2, < 6.0)
17
- aruba (2.1.0)
20
+ securerandom (>= 0.3)
21
+ tzinfo (~> 2.0, >= 2.0.5)
22
+ uri (>= 0.13.1)
23
+ addressable (2.8.7)
24
+ public_suffix (>= 2.0.2, < 7.0)
25
+ aruba (2.3.1)
18
26
  bundler (>= 1.17, < 3.0)
19
- childprocess (>= 2.0, < 5.0)
20
27
  contracts (>= 0.16.0, < 0.18.0)
21
- cucumber (>= 4.0, < 9.0)
28
+ cucumber (>= 8.0, < 11.0)
22
29
  rspec-expectations (~> 3.4)
23
30
  thor (~> 1.0)
24
- ast (2.4.2)
31
+ ast (2.4.3)
32
+ base64 (0.3.0)
33
+ benchmark (0.4.1)
34
+ bigdecimal (3.2.2)
25
35
  brakeman (5.4.1)
26
- builder (3.2.4)
27
- childprocess (4.1.0)
36
+ builder (3.3.0)
28
37
  coderay (1.1.3)
29
- concurrent-ruby (1.2.2)
30
- contracts (0.17)
31
- cucumber (8.0.0)
32
- builder (~> 3.2, >= 3.2.4)
33
- cucumber-ci-environment (~> 9.0, >= 9.0.4)
34
- cucumber-core (~> 11.0, >= 11.0.0)
35
- cucumber-cucumber-expressions (~> 15.1, >= 15.1.1)
36
- cucumber-gherkin (~> 23.0, >= 23.0.1)
37
- cucumber-html-formatter (~> 19.1, >= 19.1.0)
38
- cucumber-messages (~> 18.0, >= 18.0.0)
39
- diff-lcs (~> 1.5, >= 1.5.0)
40
- mime-types (~> 3.4, >= 3.4.1)
41
- multi_test (~> 1.1, >= 1.1.0)
42
- sys-uname (~> 1.2, >= 1.2.2)
43
- cucumber-ci-environment (9.1.0)
44
- cucumber-core (11.0.0)
45
- cucumber-gherkin (~> 23.0, >= 23.0.1)
46
- cucumber-messages (~> 18.0, >= 18.0.0)
47
- cucumber-tag-expressions (~> 4.1, >= 4.1.0)
48
- cucumber-cucumber-expressions (15.2.0)
49
- cucumber-gherkin (23.0.1)
50
- cucumber-messages (~> 18.0, >= 18.0.0)
51
- cucumber-html-formatter (19.2.0)
52
- cucumber-messages (~> 18.0, >= 18.0.0)
53
- cucumber-messages (18.0.0)
54
- cucumber-tag-expressions (4.1.0)
38
+ concurrent-ruby (1.3.5)
39
+ connection_pool (2.5.3)
40
+ contracts (0.17.2)
41
+ cucumber (10.0.0)
42
+ base64 (~> 0.2)
43
+ builder (~> 3.2)
44
+ cucumber-ci-environment (> 9, < 11)
45
+ cucumber-core (> 15, < 17)
46
+ cucumber-cucumber-expressions (> 17, < 19)
47
+ cucumber-html-formatter (> 20.3, < 22)
48
+ diff-lcs (~> 1.5)
49
+ logger (~> 1.6)
50
+ mini_mime (~> 1.1)
51
+ multi_test (~> 1.1)
52
+ sys-uname (~> 1.3)
53
+ cucumber-ci-environment (10.0.1)
54
+ cucumber-core (15.1.0)
55
+ cucumber-gherkin (> 27, < 31)
56
+ cucumber-messages (> 26, < 29)
57
+ cucumber-tag-expressions (> 5, < 7)
58
+ cucumber-cucumber-expressions (18.0.1)
59
+ bigdecimal
60
+ cucumber-gherkin (30.0.4)
61
+ cucumber-messages (> 25, < 28)
62
+ cucumber-html-formatter (21.13.0)
63
+ cucumber-messages (> 19, < 28)
64
+ cucumber-messages (27.2.0)
65
+ cucumber-tag-expressions (6.1.2)
66
+ date (3.4.1)
55
67
  descendants_tracker (0.0.4)
56
68
  thread_safe (~> 0.3, >= 0.3.1)
57
- diff-lcs (1.5.0)
58
- docile (1.4.0)
59
- faraday (1.10.3)
69
+ diff-lcs (1.6.2)
70
+ docile (1.4.1)
71
+ drb (2.2.3)
72
+ erb (5.0.2)
73
+ faraday (1.10.4)
60
74
  faraday-em_http (~> 1.0)
61
75
  faraday-em_synchrony (~> 1.0)
62
76
  faraday-excon (~> 1.1)
@@ -69,21 +83,24 @@ GEM
69
83
  faraday-retry (~> 1.0)
70
84
  ruby2_keywords (>= 0.0.4)
71
85
  faraday-em_http (1.0.0)
72
- faraday-em_synchrony (1.0.0)
86
+ faraday-em_synchrony (1.0.1)
73
87
  faraday-excon (1.1.0)
74
88
  faraday-httpclient (1.0.1)
75
- faraday-multipart (1.0.4)
76
- multipart-post (~> 2)
77
- faraday-net_http (1.0.1)
89
+ faraday-multipart (1.1.1)
90
+ multipart-post (~> 2.0)
91
+ faraday-net_http (1.0.2)
78
92
  faraday-net_http_persistent (1.2.0)
79
93
  faraday-patron (1.0.0)
80
94
  faraday-rack (1.0.0)
81
95
  faraday-retry (1.0.3)
82
- ffi (1.15.5)
83
- formatador (1.1.0)
84
- git (1.16.0)
96
+ ffi (1.17.2)
97
+ ffi (1.17.2-x86_64-linux-gnu)
98
+ formatador (1.1.1)
99
+ git (4.0.4)
100
+ activesupport (>= 5.0)
85
101
  addressable (~> 2.8)
86
- rchardet (~> 1.8)
102
+ process_executer (~> 4.0)
103
+ rchardet (~> 1.9)
87
104
  github_api (0.19.0)
88
105
  addressable (~> 2.4)
89
106
  descendants_tracker (~> 0.0.4)
@@ -92,12 +109,14 @@ GEM
92
109
  oauth2 (~> 1.0)
93
110
  given_core (3.8.2)
94
111
  sorcerer (>= 0.3.7)
95
- guard (2.18.0)
112
+ guard (2.19.1)
96
113
  formatador (>= 0.2.4)
97
114
  listen (>= 2.7, < 4.0)
115
+ logger (~> 1.6)
98
116
  lumberjack (>= 1.0.12, < 2.0)
99
117
  nenv (~> 0.1)
100
118
  notiffany (~> 0.0)
119
+ ostruct (~> 0.6)
101
120
  pry (>= 0.13.0)
102
121
  shellany (~> 0.0)
103
122
  thor (>= 0.18.1)
@@ -120,10 +139,12 @@ GEM
120
139
  guard (>= 1.1.0)
121
140
  yard (>= 0.7.0)
122
141
  hashie (3.6.0)
123
- highline (2.1.0)
124
- i18n (1.12.0)
142
+ highline (3.1.2)
143
+ reline
144
+ i18n (1.14.7)
125
145
  concurrent-ruby (~> 1.0)
126
- json (2.6.3)
146
+ io-console (0.8.1)
147
+ json (2.13.2)
127
148
  juwelier (2.4.9)
128
149
  builder
129
150
  bundler
@@ -136,32 +157,35 @@ GEM
136
157
  rake
137
158
  rdoc
138
159
  semver2
139
- jwt (2.7.0)
160
+ jwt (2.10.2)
161
+ base64
140
162
  kamelcase (0.0.2)
141
163
  semver2 (~> 3)
142
- listen (3.8.0)
164
+ language_server-protocol (3.17.0.5)
165
+ lint_roller (1.1.0)
166
+ listen (3.9.0)
143
167
  rb-fsevent (~> 0.10, >= 0.10.3)
144
168
  rb-inotify (~> 0.9, >= 0.9.10)
145
169
  little-plugger (1.1.4)
146
- logging (2.3.1)
170
+ logger (1.7.0)
171
+ logging (2.4.0)
147
172
  little-plugger (~> 1.1)
148
173
  multi_json (~> 1.14)
149
- lumberjack (1.2.8)
150
- method_source (1.0.0)
151
- mime-types (3.4.1)
152
- mime-types-data (~> 3.2015)
153
- mime-types-data (3.2023.0218.1)
154
- mini_portile2 (2.8.1)
155
- minitest (5.18.0)
156
- multi_json (1.15.0)
174
+ lumberjack (1.3.3)
175
+ method_source (1.1.0)
176
+ mini_mime (1.1.5)
177
+ mini_portile2 (2.8.9)
178
+ minitest (5.25.5)
179
+ multi_json (1.17.0)
157
180
  multi_test (1.1.0)
158
- multi_xml (0.6.0)
159
- multipart-post (2.3.0)
181
+ multi_xml (0.7.2)
182
+ bigdecimal (~> 3.1)
183
+ multipart-post (2.4.1)
160
184
  nenv (0.3.0)
161
- nokogiri (1.14.2)
162
- mini_portile2 (~> 2.8.0)
185
+ nokogiri (1.18.9)
186
+ mini_portile2 (~> 2.8.2)
163
187
  racc (~> 1.4)
164
- nokogiri (1.14.2-x86_64-linux)
188
+ nokogiri (1.18.9-x86_64-linux-gnu)
165
189
  racc (~> 1.4)
166
190
  notiffany (0.1.3)
167
191
  nenv (~> 0.1)
@@ -172,6 +196,7 @@ GEM
172
196
  multi_json (~> 1.3)
173
197
  multi_xml (~> 0.5)
174
198
  rack (>= 1.2, < 4)
199
+ ostruct (0.6.3)
175
200
  panolint (0.1.6)
176
201
  brakeman (>= 4.8, < 6.0)
177
202
  rubocop (>= 0.83, < 2.0)
@@ -179,71 +204,93 @@ GEM
179
204
  rubocop-rails (~> 2.5)
180
205
  rubocop-rake (~> 0.5)
181
206
  rubocop-rspec (~> 2.0)
182
- parallel (1.22.1)
183
- parser (3.2.1.0)
207
+ parallel (1.27.0)
208
+ parser (3.3.9.0)
184
209
  ast (~> 2.4.1)
185
- pry (0.14.2)
210
+ racc
211
+ prism (1.4.0)
212
+ process_executer (4.0.0)
213
+ track_open_instances (~> 0.1)
214
+ pry (0.15.2)
186
215
  coderay (~> 1.1)
187
216
  method_source (~> 1.0)
188
- psych (5.1.0)
217
+ psych (5.2.6)
218
+ date
189
219
  stringio
190
- public_suffix (5.0.1)
191
- racc (1.6.2)
192
- rack (3.0.4.2)
220
+ public_suffix (6.0.2)
221
+ racc (1.8.1)
222
+ rack (3.2.0)
193
223
  rainbow (3.1.1)
194
- rake (13.0.6)
224
+ rake (13.3.0)
195
225
  rb-fsevent (0.11.2)
196
- rb-inotify (0.10.1)
226
+ rb-inotify (0.11.1)
197
227
  ffi (~> 1.0)
198
- rchardet (1.8.0)
199
- rdoc (6.5.0)
228
+ rchardet (1.9.0)
229
+ rdoc (6.14.2)
230
+ erb
200
231
  psych (>= 4.0.0)
201
- regexp_parser (2.7.0)
202
- rexml (3.2.5)
203
- rspec (3.12.0)
204
- rspec-core (~> 3.12.0)
205
- rspec-expectations (~> 3.12.0)
206
- rspec-mocks (~> 3.12.0)
207
- rspec-core (3.12.1)
208
- rspec-support (~> 3.12.0)
209
- rspec-expectations (3.12.2)
232
+ regexp_parser (2.10.0)
233
+ reline (0.6.2)
234
+ io-console (~> 0.5)
235
+ rspec (3.13.1)
236
+ rspec-core (~> 3.13.0)
237
+ rspec-expectations (~> 3.13.0)
238
+ rspec-mocks (~> 3.13.0)
239
+ rspec-core (3.13.5)
240
+ rspec-support (~> 3.13.0)
241
+ rspec-expectations (3.13.5)
210
242
  diff-lcs (>= 1.2.0, < 2.0)
211
- rspec-support (~> 3.12.0)
243
+ rspec-support (~> 3.13.0)
212
244
  rspec-given (3.8.2)
213
245
  given_core (= 3.8.2)
214
246
  rspec (>= 2.14.0)
215
- rspec-mocks (3.12.3)
247
+ rspec-mocks (3.13.5)
216
248
  diff-lcs (>= 1.2.0, < 2.0)
217
- rspec-support (~> 3.12.0)
218
- rspec-support (3.12.0)
219
- rubocop (1.47.0)
249
+ rspec-support (~> 3.13.0)
250
+ rspec-support (3.13.4)
251
+ rubocop (1.79.1)
220
252
  json (~> 2.3)
253
+ language_server-protocol (~> 3.17.0.2)
254
+ lint_roller (~> 1.1.0)
221
255
  parallel (~> 1.10)
222
- parser (>= 3.2.0.0)
256
+ parser (>= 3.3.0.2)
223
257
  rainbow (>= 2.2.2, < 4.0)
224
- regexp_parser (>= 1.8, < 3.0)
225
- rexml (>= 3.2.5, < 4.0)
226
- rubocop-ast (>= 1.26.0, < 2.0)
258
+ regexp_parser (>= 2.9.3, < 3.0)
259
+ rubocop-ast (>= 1.46.0, < 2.0)
227
260
  ruby-progressbar (~> 1.7)
228
- unicode-display_width (>= 2.4.0, < 3.0)
229
- rubocop-ast (1.27.0)
230
- parser (>= 3.2.1.0)
231
- rubocop-capybara (2.17.1)
232
- rubocop (~> 1.41)
233
- rubocop-performance (1.16.0)
234
- rubocop (>= 1.7.0, < 2.0)
235
- rubocop-ast (>= 0.4.0)
236
- rubocop-rails (2.18.0)
261
+ unicode-display_width (>= 2.4.0, < 4.0)
262
+ rubocop-ast (1.46.0)
263
+ parser (>= 3.3.7.2)
264
+ prism (~> 1.4)
265
+ rubocop-capybara (2.22.1)
266
+ lint_roller (~> 1.1)
267
+ rubocop (~> 1.72, >= 1.72.1)
268
+ rubocop-factory_bot (2.27.1)
269
+ lint_roller (~> 1.1)
270
+ rubocop (~> 1.72, >= 1.72.1)
271
+ rubocop-performance (1.25.0)
272
+ lint_roller (~> 1.1)
273
+ rubocop (>= 1.75.0, < 2.0)
274
+ rubocop-ast (>= 1.38.0, < 2.0)
275
+ rubocop-rails (2.32.0)
237
276
  activesupport (>= 4.2.0)
277
+ lint_roller (~> 1.1)
238
278
  rack (>= 1.1)
239
- rubocop (>= 1.33.0, < 2.0)
240
- rubocop-rake (0.6.0)
241
- rubocop (~> 1.0)
242
- rubocop-rspec (2.18.1)
243
- rubocop (~> 1.33)
279
+ rubocop (>= 1.75.0, < 2.0)
280
+ rubocop-ast (>= 1.44.0, < 2.0)
281
+ rubocop-rake (0.7.1)
282
+ lint_roller (~> 1.1)
283
+ rubocop (>= 1.72.1)
284
+ rubocop-rspec (2.31.0)
285
+ rubocop (~> 1.40)
244
286
  rubocop-capybara (~> 2.17)
287
+ rubocop-factory_bot (~> 2.22)
288
+ rubocop-rspec_rails (~> 2.28)
289
+ rubocop-rspec_rails (2.29.1)
290
+ rubocop (~> 1.61)
245
291
  ruby-progressbar (1.13.0)
246
292
  ruby2_keywords (0.0.5)
293
+ securerandom (0.4.1)
247
294
  semver2 (3.4.2)
248
295
  shellany (0.0.1)
249
296
  shoulda (4.0.0)
@@ -256,20 +303,24 @@ GEM
256
303
  docile (~> 1.1)
257
304
  simplecov-html (~> 0.11)
258
305
  simplecov_json_formatter (~> 0.1)
259
- simplecov-html (0.12.3)
306
+ simplecov-html (0.13.2)
260
307
  simplecov_json_formatter (0.1.4)
261
308
  sorcerer (2.0.1)
262
- stringio (3.0.5)
263
- sys-uname (1.2.2)
309
+ stringio (3.1.7)
310
+ sys-uname (1.3.1)
264
311
  ffi (~> 1.1)
265
- thor (1.2.1)
312
+ syslog (0.3.0)
313
+ logger
314
+ thor (1.4.0)
266
315
  thread_safe (0.3.6)
316
+ track_open_instances (0.1.15)
267
317
  tzinfo (2.0.6)
268
318
  concurrent-ruby (~> 1.0)
269
- unicode-display_width (2.4.2)
270
- webrick (1.7.0)
271
- yard (0.9.28)
272
- webrick (~> 1.7.0)
319
+ unicode-display_width (3.1.4)
320
+ unicode-emoji (~> 4.0, >= 4.0.4)
321
+ unicode-emoji (4.0.4)
322
+ uri (1.0.3)
323
+ yard (0.9.37)
273
324
 
274
325
  PLATFORMS
275
326
  x64-unknown
@@ -288,6 +339,7 @@ DEPENDENCIES
288
339
  guard-yard
289
340
  juwelier
290
341
  panolint
342
+ rack
291
343
  rake (~> 13.0)
292
344
  rdoc
293
345
  rspec (~> 3.0)
@@ -298,6 +350,7 @@ DEPENDENCIES
298
350
  rubocop-performance
299
351
  shoulda
300
352
  simplecov
353
+ syslog
301
354
 
302
355
  BUNDLED WITH
303
- 2.4.6
356
+ 2.7.1
data/Guardfile CHANGED
@@ -47,7 +47,7 @@ group :red_green_refactor, halt_on_fail: true do
47
47
  dsl.watch_spec_files_for(ruby.lib_files)
48
48
  end
49
49
 
50
- guard :rubocop, cli: ["--autocorrect"] do
50
+ guard :rubocop, cli: ["--format", "clang", "--autocorrect"] do
51
51
  watch(/.+\.rb$/)
52
52
  watch(%r{(?:.+/)?\.rubocop(?:_todo)?\.yml$}) { |m| File.dirname(m[0]) }
53
53
  end
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # ERB::Processor
2
2
 
3
- [![Test cucumber](https://github.com/cbroult/erb-processor/actions/workflows/main.yml/badge.svg)](https://github.com/cucumber/cucumber-ruby/actions/workflows/cucumber-ruby.yml)
3
+ [![Test er-processor](https://github.com/cbroult/erb-processor/actions/workflows/main.yml/badge.svg)](https://github.com/cbroult/erb-processor/actions/workflows/main.yml)
4
+ [![Dependabot Updates](https://github.com/cbroult/erb-processor/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/cbroult/erb-processor/actions/workflows/dependabot/dependabot-updates)
4
5
 
5
6
  Allows for the processing of all `.erb` files in a directory tree.
6
7
 
data/Rakefile CHANGED
@@ -24,9 +24,17 @@ require "cucumber/rake/task"
24
24
  # Cucumber::Rake::Task.new if false
25
25
 
26
26
  # rubocop:disable Rails/RakeEnvironment
27
+ desc "Run cucumber"
27
28
  task :cucumber do
28
29
  system "bundle exec cucumber"
29
30
  end
30
31
  # rubocop:enable Rails/RakeEnvironment
31
32
 
32
33
  task default: %i[spec rubocop cucumber]
34
+
35
+ task :upgrade do
36
+ sh "gem update --system"
37
+ sh "gem update"
38
+ sh "bundle update --bundler"
39
+ sh "bundle update"
40
+ end
data/cucumber.yml ADDED
@@ -0,0 +1 @@
1
+ default: --publish-quiet
@@ -16,14 +16,10 @@ Gem::Specification.new do |spec|
16
16
  END_OF_DESCRIPTION
17
17
  spec.homepage = "https://github.com/cbroult/erb-processor"
18
18
  spec.license = "MIT"
19
- spec.required_ruby_version = ">= 2.6.0"
19
+ spec.required_ruby_version = ">= 3.4.2"
20
20
 
21
21
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
22
- spec.cert_chain = ["certs/cbroult.gem-public_cert.pem"]
23
- spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $PROGRAM_NAME.end_with?("gem")
24
-
25
22
  spec.metadata["homepage_uri"] = spec.homepage
26
- spec.metadata["source_code_uri"] = spec.homepage
27
23
  spec.metadata["changelog_uri"] = File.join(spec.homepage, "Changelog")
28
24
 
29
25
  # Specify which files should be added to the gem when it is released.
@@ -8,7 +8,7 @@ class ERB
8
8
  module Processor
9
9
  # Processes a single file template
10
10
  class ForSingleFile
11
- ERB_TEMPLATE_REGEX = /.erb$/i.freeze
11
+ ERB_TEMPLATE_REGEX = /.erb$/i
12
12
 
13
13
  def self.template_file?(path)
14
14
  ERB_TEMPLATE_REGEX.match?(path)
@@ -44,7 +44,7 @@ class ERB
44
44
  end
45
45
  end
46
46
 
47
- FILE_EXTENSION_REGEX = /\.([^.]+)$/.freeze
47
+ FILE_EXTENSION_REGEX = /\.([^.]+)$/
48
48
  def processed_language
49
49
  if target_file_path =~ FILE_EXTENSION_REGEX
50
50
  Regexp.last_match(1).intern
@@ -2,6 +2,6 @@
2
2
 
3
3
  class ERB
4
4
  module Processor
5
- VERSION = "1.0.3"
5
+ VERSION = "1.0.5"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,41 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erb-processor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christophe Broult
8
- autorequire:
9
8
  bindir: bin
10
- cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIEbDCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQsFADA+MRAwDgYDVQQDDAdjYnJv
14
- dWx0MRUwEwYKCZImiZPyLGQBGRYFeWFob28xEzARBgoJkiaJk/IsZAEZFgNjb20w
15
- HhcNMjMwMzA1MTE1NTIzWhcNMjQwMzA0MTE1NTIzWjA+MRAwDgYDVQQDDAdjYnJv
16
- dWx0MRUwEwYKCZImiZPyLGQBGRYFeWFob28xEzARBgoJkiaJk/IsZAEZFgNjb20w
17
- ggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCjycNdTiWV1izlGhQSyLUJ
18
- Cnbqbk6FduaWh2GnXThDYW61iLKN1y+Qh2RCfnM2hTc2HwRNGP5VugmYP2oSwKhY
19
- SxPht8QhHic74clh991qr7mISXpVrYxzxEszi6NDCsRx/692p4YMLy+ODtKmy6sZ
20
- jdA7Awt/DpyIZphOi3vugUbRLNllItriWh2N/zcwZdQ10MWZdUh34IICnrdJxxMg
21
- Wo6pjatOO4IuV12nEP+3l2Um9w2hV/SiRBS67hGm3sQf6nY3nikrOVdJSX2IBe/o
22
- sgVpUCDerIKwNntOE01CsnN3O9aKEmVNXaP/UFu7GQX9AgUQbl2Kjh3X+InsJKRO
23
- hoQ/k96GKEc7/CRI8VM1v3s1UXuUyki6U0EoxV63jdSoC6KL2846Ears7HNNcan7
24
- CoIpSUx2YStkftjbK3BVX0zzSO3kBB3cAr0ZGaoFSFL1IDP4d/eW3+u7mhXhyblQ
25
- m/5cA92QTYxxAqx8udtUV8CcG9aod9HK++VBh0qe658CAwEAAaN1MHMwCQYDVR0T
26
- BAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFCD2pDtV1W/DvPaf24b+Io4ljDgs
27
- MBwGA1UdEQQVMBOBEWNicm91bHRAeWFob28uY29tMBwGA1UdEgQVMBOBEWNicm91
28
- bHRAeWFob28uY29tMA0GCSqGSIb3DQEBCwUAA4IBgQA15IWAj7u/NBZkmIrg03gy
29
- o3XM9uf50XSFL9zPO/7RxPXx3uD7ETrqkyP3uw7PB6uIeZQLBNLmWTMgO5vZE7VO
30
- HQan2gBLzbD+93Jwp2gJSn070Z/d9hOYTJm4QYZCr+WEszc8xt+3noZtCIa4g0KE
31
- lqBRQVULR6wngKsPX3cLK4YQUY6SLB3Q+LNHe8oRtbQz+0w6lLOms85VJvYzfPjc
32
- O5wDaCV0Tymhx+5qqwQiDzXfY2SgmmqoB4/jj2DDnR52YBZTk8WuH7If8VlGjeSm
33
- 76J+1ezxXMyv+xX51LtxPuZvABjI7fqLhKnsA0jKG63bjawK4rF1yxNlPLuxuf6G
34
- DP1jXPFwUKTYPNJYu7iwZiGS4nIXwOSbsZsMxVSNBVth1mBhOHyveYhyuUO38qpM
35
- XezsWxJ/qdFg7Ajnkvd9JqsEjNqAu2uTiCX13vABurEXEkvPbRz5QBR3Y8JyFgbQ
36
- 5moa9tmFa53IfH0DJcXv6QaRA312wZ3LaQQu0T6Wpro=
37
- -----END CERTIFICATE-----
38
- date: 2023-03-05 00:00:00.000000000 Z
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
39
11
  dependencies:
40
12
  - !ruby/object:Gem::Dependency
41
13
  name: logging
@@ -75,7 +47,7 @@ files:
75
47
  - bin/console
76
48
  - bin/erb-processor
77
49
  - bin/setup
78
- - certs/cbroult.gem-public_cert.pem
50
+ - cucumber.yml
79
51
  - erb-processor.gemspec
80
52
  - lib/erb/processor.rb
81
53
  - lib/erb/processor/for_directory_tree.rb
@@ -90,10 +62,8 @@ licenses:
90
62
  metadata:
91
63
  allowed_push_host: https://rubygems.org
92
64
  homepage_uri: https://github.com/cbroult/erb-processor
93
- source_code_uri: https://github.com/cbroult/erb-processor
94
65
  changelog_uri: https://github.com/cbroult/erb-processor/Changelog
95
66
  rubygems_mfa_required: 'true'
96
- post_install_message:
97
67
  rdoc_options: []
98
68
  require_paths:
99
69
  - lib
@@ -101,15 +71,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
101
71
  requirements:
102
72
  - - ">="
103
73
  - !ruby/object:Gem::Version
104
- version: 2.6.0
74
+ version: 3.4.2
105
75
  required_rubygems_version: !ruby/object:Gem::Requirement
106
76
  requirements:
107
77
  - - ">="
108
78
  - !ruby/object:Gem::Version
109
79
  version: '0'
110
80
  requirements: []
111
- rubygems_version: 3.4.6
112
- signing_key:
81
+ rubygems_version: 3.7.1
113
82
  specification_version: 4
114
83
  summary: Process all .erb files in a directory tree.
115
84
  test_files: []
checksums.yaml.gz.sig DELETED
Binary file
@@ -1,26 +0,0 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIEbDCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQsFADA+MRAwDgYDVQQDDAdjYnJv
3
- dWx0MRUwEwYKCZImiZPyLGQBGRYFeWFob28xEzARBgoJkiaJk/IsZAEZFgNjb20w
4
- HhcNMjMwMzA1MTE1NTIzWhcNMjQwMzA0MTE1NTIzWjA+MRAwDgYDVQQDDAdjYnJv
5
- dWx0MRUwEwYKCZImiZPyLGQBGRYFeWFob28xEzARBgoJkiaJk/IsZAEZFgNjb20w
6
- ggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCjycNdTiWV1izlGhQSyLUJ
7
- Cnbqbk6FduaWh2GnXThDYW61iLKN1y+Qh2RCfnM2hTc2HwRNGP5VugmYP2oSwKhY
8
- SxPht8QhHic74clh991qr7mISXpVrYxzxEszi6NDCsRx/692p4YMLy+ODtKmy6sZ
9
- jdA7Awt/DpyIZphOi3vugUbRLNllItriWh2N/zcwZdQ10MWZdUh34IICnrdJxxMg
10
- Wo6pjatOO4IuV12nEP+3l2Um9w2hV/SiRBS67hGm3sQf6nY3nikrOVdJSX2IBe/o
11
- sgVpUCDerIKwNntOE01CsnN3O9aKEmVNXaP/UFu7GQX9AgUQbl2Kjh3X+InsJKRO
12
- hoQ/k96GKEc7/CRI8VM1v3s1UXuUyki6U0EoxV63jdSoC6KL2846Ears7HNNcan7
13
- CoIpSUx2YStkftjbK3BVX0zzSO3kBB3cAr0ZGaoFSFL1IDP4d/eW3+u7mhXhyblQ
14
- m/5cA92QTYxxAqx8udtUV8CcG9aod9HK++VBh0qe658CAwEAAaN1MHMwCQYDVR0T
15
- BAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFCD2pDtV1W/DvPaf24b+Io4ljDgs
16
- MBwGA1UdEQQVMBOBEWNicm91bHRAeWFob28uY29tMBwGA1UdEgQVMBOBEWNicm91
17
- bHRAeWFob28uY29tMA0GCSqGSIb3DQEBCwUAA4IBgQA15IWAj7u/NBZkmIrg03gy
18
- o3XM9uf50XSFL9zPO/7RxPXx3uD7ETrqkyP3uw7PB6uIeZQLBNLmWTMgO5vZE7VO
19
- HQan2gBLzbD+93Jwp2gJSn070Z/d9hOYTJm4QYZCr+WEszc8xt+3noZtCIa4g0KE
20
- lqBRQVULR6wngKsPX3cLK4YQUY6SLB3Q+LNHe8oRtbQz+0w6lLOms85VJvYzfPjc
21
- O5wDaCV0Tymhx+5qqwQiDzXfY2SgmmqoB4/jj2DDnR52YBZTk8WuH7If8VlGjeSm
22
- 76J+1ezxXMyv+xX51LtxPuZvABjI7fqLhKnsA0jKG63bjawK4rF1yxNlPLuxuf6G
23
- DP1jXPFwUKTYPNJYu7iwZiGS4nIXwOSbsZsMxVSNBVth1mBhOHyveYhyuUO38qpM
24
- XezsWxJ/qdFg7Ajnkvd9JqsEjNqAu2uTiCX13vABurEXEkvPbRz5QBR3Y8JyFgbQ
25
- 5moa9tmFa53IfH0DJcXv6QaRA312wZ3LaQQu0T6Wpro=
26
- -----END CERTIFICATE-----
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
Binary file