erb-processor 1.0.3 → 1.0.4

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: 8fcdd9119a0cde002e43656a6582e0f832ec2793cb5097670085ea62558598a6
4
+ data.tar.gz: 0e0c656c56233370347342212d5ba51b9e036e11e144b0814a4419ccab5af7cf
5
5
  SHA512:
6
- metadata.gz: d2c487e47c8956e660ecac2df7571a29a5bbe14832ff4911a08f81a48eccfc9cd6b41ba4a9d0428770b4b7e1dd232ef570116973dd711beed41f28cbee8031ee
7
- data.tar.gz: a0b7fe5c5d07f7782a1a59151a959e0b8832b8b36e0483a18cd110494505a853e47c870b1ec61e1ba3d85f3d9e19bb563082af5591ecb6588bbec145f1d95856
6
+ metadata.gz: a6c44dd2895c2fad97cfc263e6672650778d525c88adf6f16076c2d37ff84cd1e30ef88be14db986afda8e954147d57be1874ff659201ec9cf77d06eab7e08d2
7
+ data.tar.gz: 898632e47d507144da4dc8405ae00f66a21cdd6569f5a0d7a75cef13a5a1c48fd727c1c3e399bfef2b599329f085986cdf4f0e3609d2e08791fab2d50848c4d0
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.4)
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.0)
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, < 10.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 (9.2.1)
42
+ builder (~> 3.2)
43
+ cucumber-ci-environment (> 9, < 11)
44
+ cucumber-core (> 13, < 14)
45
+ cucumber-cucumber-expressions (~> 17.0)
46
+ cucumber-gherkin (> 24, < 28)
47
+ cucumber-html-formatter (> 20.3, < 22)
48
+ cucumber-messages (> 19, < 25)
49
+ diff-lcs (~> 1.5)
50
+ mini_mime (~> 1.1)
51
+ multi_test (~> 1.1)
52
+ sys-uname (~> 1.2)
53
+ cucumber-ci-environment (10.0.1)
54
+ cucumber-core (13.0.3)
55
+ cucumber-gherkin (>= 27, < 28)
56
+ cucumber-messages (>= 20, < 23)
57
+ cucumber-tag-expressions (> 5, < 7)
58
+ cucumber-cucumber-expressions (17.1.0)
59
+ bigdecimal
60
+ cucumber-gherkin (27.0.0)
61
+ cucumber-messages (>= 19.1.4, < 23)
62
+ cucumber-html-formatter (21.10.1)
63
+ cucumber-messages (> 19, < 28)
64
+ cucumber-messages (22.0.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.1)
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)
@@ -72,18 +86,21 @@ GEM
72
86
  faraday-em_synchrony (1.0.0)
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.0)
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)
96
+ ffi (1.17.2)
97
+ ffi (1.17.2-x86_64-linux-gnu)
83
98
  formatador (1.1.0)
84
- git (1.16.0)
99
+ git (3.1.0)
100
+ activesupport (>= 5.0)
85
101
  addressable (~> 2.8)
86
- rchardet (~> 1.8)
102
+ process_executer (~> 1.3)
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.0)
147
+ json (2.12.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.1)
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)
174
+ lumberjack (1.2.10)
175
+ method_source (1.1.0)
176
+ mini_mime (1.1.5)
177
+ mini_portile2 (2.8.9)
178
+ minitest (5.25.5)
156
179
  multi_json (1.15.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.8)
186
+ mini_portile2 (~> 2.8.2)
163
187
  racc (~> 1.4)
164
- nokogiri (1.14.2-x86_64-linux)
188
+ nokogiri (1.18.8-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.1)
175
200
  panolint (0.1.6)
176
201
  brakeman (>= 4.8, < 6.0)
177
202
  rubocop (>= 0.83, < 2.0)
@@ -179,71 +204,92 @@ 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.8.0)
184
209
  ast (~> 2.4.1)
185
- pry (0.14.2)
210
+ racc
211
+ prism (1.4.0)
212
+ process_executer (1.3.0)
213
+ pry (0.15.2)
186
214
  coderay (~> 1.1)
187
215
  method_source (~> 1.0)
188
- psych (5.1.0)
216
+ psych (5.2.6)
217
+ date
189
218
  stringio
190
- public_suffix (5.0.1)
191
- racc (1.6.2)
192
- rack (3.0.4.2)
219
+ public_suffix (6.0.2)
220
+ racc (1.8.1)
221
+ rack (3.1.16)
193
222
  rainbow (3.1.1)
194
- rake (13.0.6)
223
+ rake (13.3.0)
195
224
  rb-fsevent (0.11.2)
196
- rb-inotify (0.10.1)
225
+ rb-inotify (0.11.1)
197
226
  ffi (~> 1.0)
198
- rchardet (1.8.0)
199
- rdoc (6.5.0)
227
+ rchardet (1.9.0)
228
+ rdoc (6.14.0)
229
+ erb
200
230
  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)
231
+ regexp_parser (2.10.0)
232
+ reline (0.6.1)
233
+ io-console (~> 0.5)
234
+ rspec (3.13.1)
235
+ rspec-core (~> 3.13.0)
236
+ rspec-expectations (~> 3.13.0)
237
+ rspec-mocks (~> 3.13.0)
238
+ rspec-core (3.13.4)
239
+ rspec-support (~> 3.13.0)
240
+ rspec-expectations (3.13.5)
210
241
  diff-lcs (>= 1.2.0, < 2.0)
211
- rspec-support (~> 3.12.0)
242
+ rspec-support (~> 3.13.0)
212
243
  rspec-given (3.8.2)
213
244
  given_core (= 3.8.2)
214
245
  rspec (>= 2.14.0)
215
- rspec-mocks (3.12.3)
246
+ rspec-mocks (3.13.5)
216
247
  diff-lcs (>= 1.2.0, < 2.0)
217
- rspec-support (~> 3.12.0)
218
- rspec-support (3.12.0)
219
- rubocop (1.47.0)
248
+ rspec-support (~> 3.13.0)
249
+ rspec-support (3.13.4)
250
+ rubocop (1.76.1)
220
251
  json (~> 2.3)
252
+ language_server-protocol (~> 3.17.0.2)
253
+ lint_roller (~> 1.1.0)
221
254
  parallel (~> 1.10)
222
- parser (>= 3.2.0.0)
255
+ parser (>= 3.3.0.2)
223
256
  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)
257
+ regexp_parser (>= 2.9.3, < 3.0)
258
+ rubocop-ast (>= 1.45.0, < 2.0)
227
259
  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)
260
+ unicode-display_width (>= 2.4.0, < 4.0)
261
+ rubocop-ast (1.45.1)
262
+ parser (>= 3.3.7.2)
263
+ prism (~> 1.4)
264
+ rubocop-capybara (2.22.1)
265
+ lint_roller (~> 1.1)
266
+ rubocop (~> 1.72, >= 1.72.1)
267
+ rubocop-factory_bot (2.27.1)
268
+ lint_roller (~> 1.1)
269
+ rubocop (~> 1.72, >= 1.72.1)
270
+ rubocop-performance (1.25.0)
271
+ lint_roller (~> 1.1)
272
+ rubocop (>= 1.75.0, < 2.0)
273
+ rubocop-ast (>= 1.38.0, < 2.0)
274
+ rubocop-rails (2.32.0)
237
275
  activesupport (>= 4.2.0)
276
+ lint_roller (~> 1.1)
238
277
  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)
278
+ rubocop (>= 1.75.0, < 2.0)
279
+ rubocop-ast (>= 1.44.0, < 2.0)
280
+ rubocop-rake (0.7.1)
281
+ lint_roller (~> 1.1)
282
+ rubocop (>= 1.72.1)
283
+ rubocop-rspec (2.31.0)
284
+ rubocop (~> 1.40)
244
285
  rubocop-capybara (~> 2.17)
286
+ rubocop-factory_bot (~> 2.22)
287
+ rubocop-rspec_rails (~> 2.28)
288
+ rubocop-rspec_rails (2.29.1)
289
+ rubocop (~> 1.61)
245
290
  ruby-progressbar (1.13.0)
246
291
  ruby2_keywords (0.0.5)
292
+ securerandom (0.4.1)
247
293
  semver2 (3.4.2)
248
294
  shellany (0.0.1)
249
295
  shoulda (4.0.0)
@@ -256,20 +302,23 @@ GEM
256
302
  docile (~> 1.1)
257
303
  simplecov-html (~> 0.11)
258
304
  simplecov_json_formatter (~> 0.1)
259
- simplecov-html (0.12.3)
305
+ simplecov-html (0.13.1)
260
306
  simplecov_json_formatter (0.1.4)
261
307
  sorcerer (2.0.1)
262
- stringio (3.0.5)
263
- sys-uname (1.2.2)
308
+ stringio (3.1.7)
309
+ sys-uname (1.3.1)
264
310
  ffi (~> 1.1)
265
- thor (1.2.1)
311
+ syslog (0.3.0)
312
+ logger
313
+ thor (1.3.2)
266
314
  thread_safe (0.3.6)
267
315
  tzinfo (2.0.6)
268
316
  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)
317
+ unicode-display_width (3.1.4)
318
+ unicode-emoji (~> 4.0, >= 4.0.4)
319
+ unicode-emoji (4.0.4)
320
+ uri (1.0.3)
321
+ yard (0.9.37)
273
322
 
274
323
  PLATFORMS
275
324
  x64-unknown
@@ -288,6 +337,7 @@ DEPENDENCIES
288
337
  guard-yard
289
338
  juwelier
290
339
  panolint
340
+ rack
291
341
  rake (~> 13.0)
292
342
  rdoc
293
343
  rspec (~> 3.0)
@@ -298,6 +348,7 @@ DEPENDENCIES
298
348
  rubocop-performance
299
349
  shoulda
300
350
  simplecov
351
+ syslog
301
352
 
302
353
  BUNDLED WITH
303
- 2.4.6
354
+ 2.6.9
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,6 +24,7 @@ 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
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.4"
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.4
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+Qh2RCfnM2hTc2HwRNGP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veYhyuUO38qpM
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.6.9
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+MRAwDgYDVQQDDAdjY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7VO
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