erb-processor 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3387bba7ad542b2eb7850c76b97cb72e79fee6ab8143591daef381343a851f05
4
+ data.tar.gz: d5d6994f4f5572e68b39fe07294e8f36787cafafedc80b87d5ad107da2b2ff34
5
+ SHA512:
6
+ metadata.gz: ccc98c2fb16456b15602e0e25b3079b76957920779a625385f811ad35ede3b28b1ff7e86acf8041e695e8cedb0323b5f1c005b75d3ad5df3c57cd12817021305
7
+ data.tar.gz: 9ed0438096da927c4bbdccf22058fbfbe261b5b1fed37f3a4bce9ad3bad3270e51d6c969944abc9d9a1d4b034c8ba8d145d49cb985a9ddb9a2f3afc68a744ccf
checksums.yaml.gz.sig ADDED
Binary file
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,22 @@
1
+ inherit_gem:
2
+ panolint: panolint-rubocop.yml
3
+
4
+ AllCops:
5
+ 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
+
17
+ Style/StringLiteralsInInterpolation:
18
+ Enabled: true
19
+ EnforcedStyle: double_quotes
20
+
21
+ Layout/LineLength:
22
+ Max: 120
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2022-06-22
4
+
5
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at cbroult@yahoo.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in erb-processor.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "rspec", "~> 3.0"
11
+
12
+ gem "panolint"
13
+ gem "rubocop", "~> 1.21"
14
+ gem "rubocop-performance", require: false
15
+
16
+ gem "aruba" # , :git => 'https://github.com/cucumber/aruba.git' # 'https://github
17
+ gem "bundler"
18
+ gem "cucumber"
19
+ gem "guard"
20
+ gem "guard-bundler"
21
+ gem "guard-cucumber"
22
+ gem "guard-rspec"
23
+ gem "guard-rubocop"
24
+ gem "guard-yard"
25
+ gem "juwelier" # , '~> 2.1.0'
26
+ gem "rdoc" # , '~> 3.12'
27
+ gem "rspec-core"
28
+ gem "rspec-expectations"
29
+ gem "rspec-given"
30
+ gem "shoulda" # , '>= 0'
31
+ gem "simplecov" # , '>= 0'
32
+ gem "wdm", ">= 0.1.0" if Gem.win_platform?
data/Gemfile.lock ADDED
@@ -0,0 +1,297 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ erb-processor (1.0.0)
5
+ logging (~> 2.3)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activesupport (7.0.3)
11
+ concurrent-ruby (~> 1.0, >= 1.0.2)
12
+ i18n (>= 1.6, < 2)
13
+ minitest (>= 5.1)
14
+ tzinfo (~> 2.0)
15
+ addressable (2.8.0)
16
+ public_suffix (>= 2.0.2, < 5.0)
17
+ aruba (2.1.0)
18
+ bundler (>= 1.17, < 3.0)
19
+ childprocess (>= 2.0, < 5.0)
20
+ contracts (>= 0.16.0, < 0.18.0)
21
+ cucumber (>= 4.0, < 9.0)
22
+ rspec-expectations (~> 3.4)
23
+ thor (~> 1.0)
24
+ ast (2.4.2)
25
+ brakeman (5.2.3)
26
+ builder (3.2.4)
27
+ childprocess (4.1.0)
28
+ coderay (1.1.3)
29
+ concurrent-ruby (1.1.10)
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.0.4)
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)
55
+ descendants_tracker (0.0.4)
56
+ thread_safe (~> 0.3, >= 0.3.1)
57
+ diff-lcs (1.5.0)
58
+ docile (1.4.0)
59
+ faraday (1.10.0)
60
+ faraday-em_http (~> 1.0)
61
+ faraday-em_synchrony (~> 1.0)
62
+ faraday-excon (~> 1.1)
63
+ faraday-httpclient (~> 1.0)
64
+ faraday-multipart (~> 1.0)
65
+ faraday-net_http (~> 1.0)
66
+ faraday-net_http_persistent (~> 1.0)
67
+ faraday-patron (~> 1.0)
68
+ faraday-rack (~> 1.0)
69
+ faraday-retry (~> 1.0)
70
+ ruby2_keywords (>= 0.0.4)
71
+ faraday-em_http (1.0.0)
72
+ faraday-em_synchrony (1.0.0)
73
+ faraday-excon (1.1.0)
74
+ faraday-httpclient (1.0.1)
75
+ faraday-multipart (1.0.4)
76
+ multipart-post (~> 2)
77
+ faraday-net_http (1.0.1)
78
+ faraday-net_http_persistent (1.2.0)
79
+ faraday-patron (1.0.0)
80
+ faraday-rack (1.0.0)
81
+ faraday-retry (1.0.3)
82
+ ffi (1.15.5)
83
+ formatador (1.1.0)
84
+ git (1.11.0)
85
+ rchardet (~> 1.8)
86
+ github_api (0.19.0)
87
+ addressable (~> 2.4)
88
+ descendants_tracker (~> 0.0.4)
89
+ faraday (>= 0.8, < 2)
90
+ hashie (~> 3.5, >= 3.5.2)
91
+ oauth2 (~> 1.0)
92
+ given_core (3.8.2)
93
+ sorcerer (>= 0.3.7)
94
+ guard (2.18.0)
95
+ formatador (>= 0.2.4)
96
+ listen (>= 2.7, < 4.0)
97
+ lumberjack (>= 1.0.12, < 2.0)
98
+ nenv (~> 0.1)
99
+ notiffany (~> 0.0)
100
+ pry (>= 0.13.0)
101
+ shellany (~> 0.0)
102
+ thor (>= 0.18.1)
103
+ guard-bundler (3.0.0)
104
+ bundler (>= 2.1, < 3)
105
+ guard (~> 2.2)
106
+ guard-compat (~> 1.1)
107
+ guard-compat (1.2.1)
108
+ guard-cucumber (3.0.0)
109
+ cucumber (>= 3.1)
110
+ nenv (>= 0.1)
111
+ guard-rspec (4.7.3)
112
+ guard (~> 2.1)
113
+ guard-compat (~> 1.1)
114
+ rspec (>= 2.99.0, < 4.0)
115
+ guard-rubocop (1.5.0)
116
+ guard (~> 2.0)
117
+ rubocop (< 2.0)
118
+ guard-yard (2.2.1)
119
+ guard (>= 1.1.0)
120
+ yard (>= 0.7.0)
121
+ hashie (3.6.0)
122
+ highline (2.0.3)
123
+ i18n (1.10.0)
124
+ concurrent-ruby (~> 1.0)
125
+ juwelier (2.4.9)
126
+ builder
127
+ bundler
128
+ git
129
+ github_api
130
+ highline
131
+ kamelcase (~> 0)
132
+ nokogiri
133
+ psych
134
+ rake
135
+ rdoc
136
+ semver2
137
+ jwt (2.4.1)
138
+ kamelcase (0.0.2)
139
+ semver2 (~> 3)
140
+ listen (3.7.1)
141
+ rb-fsevent (~> 0.10, >= 0.10.3)
142
+ rb-inotify (~> 0.9, >= 0.9.10)
143
+ little-plugger (1.1.4)
144
+ logging (2.3.1)
145
+ little-plugger (~> 1.1)
146
+ multi_json (~> 1.14)
147
+ lumberjack (1.2.8)
148
+ method_source (1.0.0)
149
+ mime-types (3.4.1)
150
+ mime-types-data (~> 3.2015)
151
+ mime-types-data (3.2022.0105)
152
+ mini_portile2 (2.8.0)
153
+ minitest (5.16.1)
154
+ multi_json (1.15.0)
155
+ multi_test (1.1.0)
156
+ multi_xml (0.6.0)
157
+ multipart-post (2.2.3)
158
+ nenv (0.3.0)
159
+ nokogiri (1.13.6)
160
+ mini_portile2 (~> 2.8.0)
161
+ racc (~> 1.4)
162
+ nokogiri (1.13.6-x86_64-linux)
163
+ racc (~> 1.4)
164
+ notiffany (0.1.3)
165
+ nenv (~> 0.1)
166
+ shellany (~> 0.0)
167
+ oauth2 (1.4.9)
168
+ faraday (>= 0.17.3, < 3.0)
169
+ jwt (>= 1.0, < 3.0)
170
+ multi_json (~> 1.3)
171
+ multi_xml (~> 0.5)
172
+ rack (>= 1.2, < 3)
173
+ panolint (0.1.4)
174
+ brakeman (>= 4.8, < 6.0)
175
+ rubocop (>= 0.83, < 2.0)
176
+ rubocop-performance (~> 1.5)
177
+ rubocop-rails (~> 2.5)
178
+ rubocop-rake (~> 0.5)
179
+ rubocop-rspec (~> 2.0)
180
+ parallel (1.22.1)
181
+ parser (3.1.2.0)
182
+ ast (~> 2.4.1)
183
+ pry (0.14.1)
184
+ coderay (~> 1.1)
185
+ method_source (~> 1.0)
186
+ psych (4.0.4)
187
+ stringio
188
+ public_suffix (4.0.7)
189
+ racc (1.6.0)
190
+ rack (2.2.3.1)
191
+ rainbow (3.1.1)
192
+ rake (13.0.6)
193
+ rb-fsevent (0.11.1)
194
+ rb-inotify (0.10.1)
195
+ ffi (~> 1.0)
196
+ rchardet (1.8.0)
197
+ rdoc (6.4.0)
198
+ psych (>= 4.0.0)
199
+ regexp_parser (2.5.0)
200
+ rexml (3.2.5)
201
+ rspec (3.11.0)
202
+ rspec-core (~> 3.11.0)
203
+ rspec-expectations (~> 3.11.0)
204
+ rspec-mocks (~> 3.11.0)
205
+ rspec-core (3.11.0)
206
+ rspec-support (~> 3.11.0)
207
+ rspec-expectations (3.11.0)
208
+ diff-lcs (>= 1.2.0, < 2.0)
209
+ rspec-support (~> 3.11.0)
210
+ rspec-given (3.8.2)
211
+ given_core (= 3.8.2)
212
+ rspec (>= 2.14.0)
213
+ rspec-mocks (3.11.1)
214
+ diff-lcs (>= 1.2.0, < 2.0)
215
+ rspec-support (~> 3.11.0)
216
+ rspec-support (3.11.0)
217
+ rubocop (1.31.0)
218
+ parallel (~> 1.10)
219
+ parser (>= 3.1.0.0)
220
+ rainbow (>= 2.2.2, < 4.0)
221
+ regexp_parser (>= 1.8, < 3.0)
222
+ rexml (>= 3.2.5, < 4.0)
223
+ rubocop-ast (>= 1.18.0, < 2.0)
224
+ ruby-progressbar (~> 1.7)
225
+ unicode-display_width (>= 1.4.0, < 3.0)
226
+ rubocop-ast (1.18.0)
227
+ parser (>= 3.1.1.0)
228
+ rubocop-performance (1.14.2)
229
+ rubocop (>= 1.7.0, < 2.0)
230
+ rubocop-ast (>= 0.4.0)
231
+ rubocop-rails (2.15.1)
232
+ activesupport (>= 4.2.0)
233
+ rack (>= 1.1)
234
+ rubocop (>= 1.7.0, < 2.0)
235
+ rubocop-rake (0.6.0)
236
+ rubocop (~> 1.0)
237
+ rubocop-rspec (2.11.1)
238
+ rubocop (~> 1.19)
239
+ ruby-progressbar (1.11.0)
240
+ ruby2_keywords (0.0.5)
241
+ semver2 (3.4.2)
242
+ shellany (0.0.1)
243
+ shoulda (4.0.0)
244
+ shoulda-context (~> 2.0)
245
+ shoulda-matchers (~> 4.0)
246
+ shoulda-context (2.0.0)
247
+ shoulda-matchers (4.5.1)
248
+ activesupport (>= 4.2.0)
249
+ simplecov (0.21.2)
250
+ docile (~> 1.1)
251
+ simplecov-html (~> 0.11)
252
+ simplecov_json_formatter (~> 0.1)
253
+ simplecov-html (0.12.3)
254
+ simplecov_json_formatter (0.1.4)
255
+ sorcerer (2.0.1)
256
+ stringio (3.0.2)
257
+ sys-uname (1.2.2)
258
+ ffi (~> 1.1)
259
+ thor (1.2.1)
260
+ thread_safe (0.3.6)
261
+ tzinfo (2.0.4)
262
+ concurrent-ruby (~> 1.0)
263
+ unicode-display_width (2.2.0)
264
+ webrick (1.7.0)
265
+ yard (0.9.28)
266
+ webrick (~> 1.7.0)
267
+
268
+ PLATFORMS
269
+ x64-unknown
270
+ x86_64-linux
271
+
272
+ DEPENDENCIES
273
+ aruba
274
+ bundler
275
+ cucumber
276
+ erb-processor!
277
+ guard
278
+ guard-bundler
279
+ guard-cucumber
280
+ guard-rspec
281
+ guard-rubocop
282
+ guard-yard
283
+ juwelier
284
+ panolint
285
+ rake (~> 13.0)
286
+ rdoc
287
+ rspec (~> 3.0)
288
+ rspec-core
289
+ rspec-expectations
290
+ rspec-given
291
+ rubocop (~> 1.21)
292
+ rubocop-performance
293
+ shoulda
294
+ simplecov
295
+
296
+ BUNDLED WITH
297
+ 2.3.16
data/Guardfile ADDED
@@ -0,0 +1,73 @@
1
+ # frozen_string_literal: true
2
+
3
+ # A sample Guardfile
4
+ # More info at https://github.com/guard/guard#readme
5
+
6
+ ## Uncomment and set this to only include directories you want to watch
7
+ # directories %w(app lib config test spec features) \
8
+ # .select{|d| Dir.exist?(d) ? d : UI.warning("Directory #{d} does not exist")}
9
+
10
+ ## Note: if you are using the `directories` clause above and you are not
11
+ ## watching the project directory ('.'), then you will want to move
12
+ ## the Guardfile to a watched dir and symlink it back, e.g.
13
+ #
14
+ # $ mkdir config
15
+ # $ mv Guardfile config/
16
+ # $ ln -s config/Guardfile .
17
+ #
18
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
19
+
20
+ guard :bundler do
21
+ require "guard/bundler"
22
+ require "guard/bundler/verify"
23
+ helper = Guard::Bundler::Verify.new
24
+
25
+ files = ["Gemfile"]
26
+ files += Dir["*.gemspec"] if files.any? { |f| helper.uses_gemspec?(f) }
27
+
28
+ # Assume files are symlinked from somewhere
29
+ files.each { |file| watch(helper.real_path(file)) }
30
+ end
31
+
32
+ group :red_green_refactor, halt_on_fail: true do
33
+ guard :rspec, cmd: "bundle exec rspec" do
34
+ require "guard/rspec/dsl"
35
+ dsl = Guard::RSpec::Dsl.new(self)
36
+
37
+ # Feel free to open issues for suggestions and improvements
38
+
39
+ # RSpec files
40
+ rspec = dsl.rspec
41
+ watch(rspec.spec_helper) { rspec.spec_dir }
42
+ watch(rspec.spec_support) { rspec.spec_dir }
43
+ watch(rspec.spec_files)
44
+
45
+ # Ruby files
46
+ ruby = dsl.ruby
47
+ dsl.watch_spec_files_for(ruby.lib_files)
48
+ end
49
+
50
+ guard :rubocop, cli: ["--autocorrect"] do
51
+ watch(/.+\.rb$/)
52
+ watch(%r{(?:.+/)?\.rubocop(?:_todo)?\.yml$}) { |m| File.dirname(m[0]) }
53
+ end
54
+
55
+ cucumber_options = {
56
+ notification: false
57
+ }
58
+
59
+ guard "cucumber", cucumber_options do
60
+ watch(%r{^features/.+\.feature$})
61
+ watch(%r{^features/support/.+$}) { "features" }
62
+
63
+ watch(%r{^features/step_definitions/(.+)_steps\.rb$}) do |m|
64
+ Dir[File.join("**/#{m[1]}.feature")][0] || "features"
65
+ end
66
+ end
67
+ end
68
+
69
+ guard "yard" do
70
+ watch(%r{app/.+\.rb})
71
+ watch(%r{lib/.+\.rb})
72
+ watch(%r{ext/.+\.c})
73
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Christophe Broult
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,57 @@
1
+ # ERB::Processor
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)
4
+
5
+ Allows for the processing of all `.erb` files in a directory tree.
6
+
7
+ All `.erb` files in the specified directory tree are going to be
8
+ evaluated and the corresponding files without the `.erb` extension are
9
+ going to be written.
10
+
11
+
12
+ ## Installation
13
+
14
+ $ gem install erb-processor
15
+
16
+ ## Usage
17
+
18
+ $ erb-processor path/directory/tree/to/process
19
+
20
+ or
21
+
22
+ $ cd path/directory/tree/to/process
23
+ $ erb-processor .
24
+
25
+ The list of options is available with:
26
+
27
+ $ erb-processor --help
28
+
29
+ ### Expected Behavior
30
+
31
+ See the `features/*.feature` files for the expected behavior.
32
+
33
+ ### ERB Template File Content
34
+
35
+ The processed file can automatically include a warning that invites
36
+ the editing of the template by using the following in the template:
37
+ ```ruby
38
+ <%= erb_processor.commented_processed_header %>
39
+ ```
40
+
41
+ ## Development
42
+
43
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
44
+
45
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
46
+
47
+ ## Contributing
48
+
49
+ Bug reports and pull requests are welcome on GitHub at https://github.com/cbroult/erb-processor. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/cbroult/erb-processor/blob/master/CODE_OF_CONDUCT.md).
50
+
51
+ ## License
52
+
53
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
54
+
55
+ ## Code of Conduct
56
+
57
+ Everyone interacting in the ERB::Processor project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/cbroult/erb-processor/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new do |t|
11
+ t.options = ["--autocorrect"]
12
+ end
13
+
14
+ require "rubygems"
15
+ require "cucumber"
16
+ require "cucumber/rake/task"
17
+
18
+ # if false
19
+ # Cucumber::Rake::Task.new(:cucumber) do |t|
20
+ # t.cucumber_opts = ["--format pretty"] # Any valid command line option can go here.
21
+ # end
22
+ # end
23
+
24
+ # Cucumber::Rake::Task.new if false
25
+
26
+ # rubocop:disable Rails/RakeEnvironment
27
+ task :cucumber do
28
+ system "bundle exec cucumber"
29
+ end
30
+ # rubocop:enable Rails/RakeEnvironment
31
+
32
+ task default: %i[spec rubocop cucumber]
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "erb/processor"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require "irb"
15
+ IRB.start(__FILE__)
data/bin/erb-processor ADDED
@@ -0,0 +1,33 @@
1
+ #! /usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ library_path = File.join(File.dirname(__FILE__), "..", "lib")
5
+
6
+ $LOAD_PATH.unshift(library_path) unless $LOAD_PATH.include?(library_path)
7
+
8
+ require "optparse"
9
+ require "erb/processor"
10
+
11
+ ERB::Processor::LoggingSetup.instance.run(:warn)
12
+
13
+ LOG_LEVELS = %i[fatal error warn info debug].freeze
14
+
15
+ OptionParser.new do |opts|
16
+ opts.on("--log-level LEVEL", LOG_LEVELS,
17
+ "Set console logging level (#{LOG_LEVELS.join(", ")})") do |level|
18
+ ERB::Processor::LoggingSetup.instance.console_appender.level = level
19
+ end
20
+
21
+ opts.on("-h", "--help", "Prints this help") do
22
+ puts opts
23
+ exit 0
24
+ end
25
+
26
+ opts.parse!(ARGV)
27
+ end
28
+
29
+ ERB::Processor::ForDirectoryTree.
30
+ new(ARGV.shift).
31
+ run
32
+
33
+ exit 0
@@ -0,0 +1,6 @@
1
+ @echo off
2
+
3
+ set RUBY_SCRIPT_PATH=%~dpn0
4
+ shift
5
+ ruby %RUBY_SCRIPT_PATH% %*
6
+
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,26 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIEbDCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQsFADA+MRAwDgYDVQQDDAdjYnJv
3
+ dWx0MRUwEwYKCZImiZPyLGQBGRYFeWFob28xEzARBgoJkiaJk/IsZAEZFgNjb20w
4
+ HhcNMjIwNjI3MTY1NDM5WhcNMjMwNjI3MTY1NDM5WjA+MRAwDgYDVQQDDAdjYnJv
5
+ dWx0MRUwEwYKCZImiZPyLGQBGRYFeWFob28xEzARBgoJkiaJk/IsZAEZFgNjb20w
6
+ ggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC0yHsJ3ifqB+TFpM/0xtam
7
+ tV34cGQitxVmfkMM2g5cGxIQJd+rq4f13tpTyMCdt30dPb1nCuJW92pFfa5ZmSoZ
8
+ 4W/XkSWvBvdWA0PXOIE9nqmZ+CV8EXIa77PjW3ERj0DkAfJ5JGIzFc3w8FfbAXXA
9
+ o9WGr+vXS5j31XtQRYxURqOEUw3gqsC82u6/k+f4ZBFOrw+wgySbTm0eBu/+CADH
10
+ I1MqY+NbmgMqXKZ8w5Ypr4MLQQ4c3QT+hLrY5f5Rqv99FZkLaswVVhx3fpmtgNIS
11
+ vXwwnv6AYT7K1pLfY7ABQXj61/BEpoHadVhRhhLgWZ9IubjHH/kfUb7tr8DgCzAN
12
+ Z/+tZcGWGeCn/ja79fAjukJz9WM/LJ5tuRzv+8UwR3IyvLrJU7e1Ci0GhNRe7GWl
13
+ bas0t5gebHP1zfZD0A/NmXSJD2fzaVXPWLdGWEulIKkeIrmGwh3H5J6VQnOVJ3ie
14
+ z7xqAQ9xAUHc8Vj4eb8cZyanKzf4xgGUe9PqYCI3bOMCAwEAAaN1MHMwCQYDVR0T
15
+ BAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFPE4XJjjJHKyJaQbLhuEn4Q8pXIT
16
+ MBwGA1UdEQQVMBOBEWNicm91bHRAeWFob28uY29tMBwGA1UdEgQVMBOBEWNicm91
17
+ bHRAeWFob28uY29tMA0GCSqGSIb3DQEBCwUAA4IBgQBNYB/Hdgslbtps6wsC5Jig
18
+ kaGl1OzugYZ2x0Qm+mnF8ruTFErDZEXQg0HBc1h9k35xdQyJbN7x42B8qBeGaqc5
19
+ ZM9nAQ3aoehone2iGBQA2c8QaWUtiXmYIE0zIcA07p0HELInZ79QBBPAUDXEcMOV
20
+ HttXCdVQhNQAU8MxSsz0SPHSlpgZt7oCFwO0EicqDJU6vJxBThF0J+TD+df0RrMN
21
+ +Nn8vW2q1m++izC+8+e5+T/XkvIymCDGgk7K5pNrWKQGEBEOn/WDS7rrv6uFB9JS
22
+ BIINjKL7VlLuYRJOJViYfmf8eaHNtAHtiR2qF6gNQQotJdgZEQmoCexmbZCycGjc
23
+ 3olxjyMj5WtRL2r2HsD/+7WsvOY04ZMLmsBwfCUTEOaoWmPjv/DcnAcgPGf/5N/H
24
+ icZ1vxt+NK3RuIWZ5bFPeXbeGLKMYpKlW2anAcO4F7IeeTLbKatwpxe+170wR6O8
25
+ i3DoPNNyV0h4OYrLy338if4Rgh0lapMNra2xGqA8bWs=
26
+ -----END CERTIFICATE-----
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/erb/processor/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "erb-processor"
7
+ spec.version = ERB::Processor::VERSION
8
+ spec.authors = ["Christophe Broult"]
9
+ spec.email = ["cbroult@yahoo.com"]
10
+
11
+ spec.summary = "Process all .erb files in a directory tree."
12
+ spec.description = <<~END_OF_DESCRIPTION
13
+ All .erb files in the specified directory tree are going to be evaluated.
14
+ The corresponding non.erb files are going to be written by removing the .erb extension.
15
+ See the features/*.feature files for the expected behavior.
16
+ END_OF_DESCRIPTION
17
+ spec.homepage = "https://github.com/cbroult/erb-processor"
18
+ spec.license = "MIT"
19
+ spec.required_ruby_version = ">= 2.6.0"
20
+
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 $0 =~ /gem\z/
24
+
25
+ spec.metadata["homepage_uri"] = spec.homepage
26
+ spec.metadata["source_code_uri"] = spec.homepage
27
+ spec.metadata["changelog_uri"] = File.join(spec.homepage, "Changelog")
28
+
29
+ # Specify which files should be added to the gem when it is released.
30
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
31
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
32
+ `git ls-files -z`.split("\x0").reject do |f|
33
+ (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
34
+ end
35
+ end
36
+ spec.bindir = "bin"
37
+ spec.executables = spec.files.grep(%r{\Abin/}) { |f| File.basename(f) }.reject { |f| f.match(/console|setup/) }
38
+ spec.require_paths = ["lib"]
39
+
40
+ # Uncomment to register a new dependency of your gem
41
+ spec.add_dependency "logging", "~> 2.3"
42
+
43
+ # For more information and examples about making a new gem, check out our
44
+ # guide at: https://bundler.io/guides/creating_gem.html
45
+ spec.metadata["rubygems_mfa_required"] = "true"
46
+ end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "find"
4
+ require_relative "for_single_file"
5
+
6
+ class ERB
7
+ module Processor
8
+ # Orchestrate the processing of all .erb templates in tree structure
9
+ class ForDirectoryTree
10
+ attr_reader :paths
11
+
12
+ def initialize(paths)
13
+ @paths = paths
14
+ end
15
+
16
+ def run
17
+ Find.find(*paths) do |path|
18
+ next unless ForSingleFile.template_file?(path)
19
+
20
+ ForSingleFile.new(path).run
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "erb"
4
+ require "find"
5
+ require_relative "language_commenter"
6
+
7
+ class ERB
8
+ module Processor
9
+ # Processes a single file template
10
+ class ForSingleFile
11
+ ERB_TEMPLATE_REGEX = /.erb$/i.freeze
12
+
13
+ def self.template_file?(path)
14
+ ERB_TEMPLATE_REGEX.match?(path)
15
+ end
16
+
17
+ attr_reader :logger, :template_path
18
+
19
+ def initialize(template_path)
20
+ @logger = Logging.logger[self]
21
+ @template_path = template_path
22
+ end
23
+
24
+ FOR_WRITING = "w+"
25
+ def run
26
+ logger.info { "Processing #{template_path}..." }
27
+ File.open(processed_path, FOR_WRITING) do |output|
28
+ output.print processed_content
29
+ end
30
+ logger.info { "Wrote #{processed_path}" }
31
+ end
32
+
33
+ def processed_path
34
+ template_path.sub(ERB_TEMPLATE_REGEX, "")
35
+ end
36
+
37
+ def processed_content
38
+ erb_processor = self
39
+
40
+ ERB.new(template_content, trim_mode: "<>-").result binding
41
+ rescue StandardError => e
42
+ raise e.class, "\n#{template_path}:0: #{e}", e.backtrace
43
+ end
44
+
45
+ def commented_processed_header
46
+ LanguageCommenter.new(processed_path, processed_header).commented_text
47
+ end
48
+
49
+ def processed_header
50
+ <<~PROCESSED_HEADER
51
+
52
+ WARNING: DO NOT EDIT directly
53
+
54
+ HOWTO Modify this file
55
+ 1. Edit the file #{template_path}
56
+ 2. $ erb-processor .
57
+
58
+ PROCESSED_HEADER
59
+ end
60
+
61
+ def template_content
62
+ File.read(template_path)
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,57 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "find"
4
+ require_relative "for_single_file"
5
+
6
+ class ERB
7
+ module Processor
8
+ # Convert text to a comment depending on the target language
9
+ class LanguageCommenter
10
+ def self.comment_for(target_file_path, text_to_comment); end
11
+
12
+ attr_reader :target_file_path, :text_to_comment
13
+
14
+ def initialize(target_file_path, text_to_comment)
15
+ @target_file_path = target_file_path
16
+ @text_to_comment = text_to_comment
17
+ end
18
+
19
+ SPACE = " "
20
+ NEWLINE = "\n"
21
+ NO_COMMENT_MARKER = [nil, nil].freeze
22
+ CSTYLE_COMMENT = ["/*", "*/"].freeze
23
+ LANGUAGE_COMMENTS =
24
+ {
25
+ c: CSTYLE_COMMENT,
26
+ cpp: CSTYLE_COMMENT,
27
+ java: CSTYLE_COMMENT,
28
+ js: CSTYLE_COMMENT,
29
+ py: ["#", nil],
30
+ rb: ["=begin", "=end"],
31
+ html: ["<!--", "-->"],
32
+ feature: ["#", nil]
33
+ }.freeze
34
+
35
+ def commented_text
36
+ comment_start, comment_end = *LANGUAGE_COMMENTS.fetch(processed_language) { NO_COMMENT_MARKER }
37
+
38
+ return text_to_comment unless comment_start
39
+
40
+ if comment_end
41
+ [comment_start, NEWLINE, text_to_comment, comment_end, NEWLINE].join
42
+ else
43
+ text_to_comment.lines.collect { |line| [comment_start, line].join(SPACE) }.join
44
+ end
45
+ end
46
+
47
+ FILE_EXTENSION_REGEX = /\.([^.]+)$/.freeze
48
+ def processed_language
49
+ if target_file_path =~ FILE_EXTENSION_REGEX
50
+ Regexp.last_match(1).intern
51
+ else
52
+ :unknown
53
+ end
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "logging"
4
+ require "singleton"
5
+
6
+ class ERB
7
+ module Processor
8
+ # Configure the logging framework according the process needs
9
+ class LoggingSetup
10
+ include Singleton
11
+
12
+ def run(console_log_level)
13
+ configure_appenders(console_log_level)
14
+ end
15
+
16
+ def configure_appenders(console_log_level)
17
+ Logging.logger.root.level = :info
18
+
19
+ # similarly, the root appender will be used by all loggers
20
+ file_appender = Logging.appenders.file("erb-processor.log")
21
+ file_appender.level = :info
22
+
23
+ console_appender.level = console_log_level
24
+
25
+ Logging.logger.root.appenders = [file_appender, console_appender]
26
+ end
27
+
28
+ def console_appender
29
+ @console_appender ||= Logging.appenders.stdout
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ class ERB
4
+ module Processor
5
+ VERSION = "1.0.1"
6
+ end
7
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "processor/logging_setup"
4
+
5
+ require_relative "processor/version"
6
+ require_relative "processor/for_directory_tree"
7
+
8
+ class ERB
9
+ module Processor
10
+ class Error < StandardError; end
11
+ # Your code goes here...
12
+ end
13
+ end
@@ -0,0 +1,6 @@
1
+ class ERB
2
+ module Processor
3
+ VERSION: String
4
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
5
+ end
6
+ end
data.tar.gz.sig ADDED
Binary file
metadata ADDED
@@ -0,0 +1,117 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: erb-processor
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Christophe Broult
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIEbDCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQsFADA+MRAwDgYDVQQDDAdjYnJv
14
+ dWx0MRUwEwYKCZImiZPyLGQBGRYFeWFob28xEzARBgoJkiaJk/IsZAEZFgNjb20w
15
+ HhcNMjIwNjI3MTY1NDM5WhcNMjMwNjI3MTY1NDM5WjA+MRAwDgYDVQQDDAdjYnJv
16
+ dWx0MRUwEwYKCZImiZPyLGQBGRYFeWFob28xEzARBgoJkiaJk/IsZAEZFgNjb20w
17
+ ggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC0yHsJ3ifqB+TFpM/0xtam
18
+ tV34cGQitxVmfkMM2g5cGxIQJd+rq4f13tpTyMCdt30dPb1nCuJW92pFfa5ZmSoZ
19
+ 4W/XkSWvBvdWA0PXOIE9nqmZ+CV8EXIa77PjW3ERj0DkAfJ5JGIzFc3w8FfbAXXA
20
+ o9WGr+vXS5j31XtQRYxURqOEUw3gqsC82u6/k+f4ZBFOrw+wgySbTm0eBu/+CADH
21
+ I1MqY+NbmgMqXKZ8w5Ypr4MLQQ4c3QT+hLrY5f5Rqv99FZkLaswVVhx3fpmtgNIS
22
+ vXwwnv6AYT7K1pLfY7ABQXj61/BEpoHadVhRhhLgWZ9IubjHH/kfUb7tr8DgCzAN
23
+ Z/+tZcGWGeCn/ja79fAjukJz9WM/LJ5tuRzv+8UwR3IyvLrJU7e1Ci0GhNRe7GWl
24
+ bas0t5gebHP1zfZD0A/NmXSJD2fzaVXPWLdGWEulIKkeIrmGwh3H5J6VQnOVJ3ie
25
+ z7xqAQ9xAUHc8Vj4eb8cZyanKzf4xgGUe9PqYCI3bOMCAwEAAaN1MHMwCQYDVR0T
26
+ BAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFPE4XJjjJHKyJaQbLhuEn4Q8pXIT
27
+ MBwGA1UdEQQVMBOBEWNicm91bHRAeWFob28uY29tMBwGA1UdEgQVMBOBEWNicm91
28
+ bHRAeWFob28uY29tMA0GCSqGSIb3DQEBCwUAA4IBgQBNYB/Hdgslbtps6wsC5Jig
29
+ kaGl1OzugYZ2x0Qm+mnF8ruTFErDZEXQg0HBc1h9k35xdQyJbN7x42B8qBeGaqc5
30
+ ZM9nAQ3aoehone2iGBQA2c8QaWUtiXmYIE0zIcA07p0HELInZ79QBBPAUDXEcMOV
31
+ HttXCdVQhNQAU8MxSsz0SPHSlpgZt7oCFwO0EicqDJU6vJxBThF0J+TD+df0RrMN
32
+ +Nn8vW2q1m++izC+8+e5+T/XkvIymCDGgk7K5pNrWKQGEBEOn/WDS7rrv6uFB9JS
33
+ BIINjKL7VlLuYRJOJViYfmf8eaHNtAHtiR2qF6gNQQotJdgZEQmoCexmbZCycGjc
34
+ 3olxjyMj5WtRL2r2HsD/+7WsvOY04ZMLmsBwfCUTEOaoWmPjv/DcnAcgPGf/5N/H
35
+ icZ1vxt+NK3RuIWZ5bFPeXbeGLKMYpKlW2anAcO4F7IeeTLbKatwpxe+170wR6O8
36
+ i3DoPNNyV0h4OYrLy338if4Rgh0lapMNra2xGqA8bWs=
37
+ -----END CERTIFICATE-----
38
+ date: 2022-06-28 00:00:00.000000000 Z
39
+ dependencies:
40
+ - !ruby/object:Gem::Dependency
41
+ name: logging
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '2.3'
47
+ type: :runtime
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '2.3'
54
+ description: |
55
+ All .erb files in the specified directory tree are going to be evaluated.
56
+ The corresponding non.erb files are going to be written by removing the .erb extension.
57
+ See the features/*.feature files for the expected behavior.
58
+ email:
59
+ - cbroult@yahoo.com
60
+ executables:
61
+ - erb-processor
62
+ - erb-processor.cmd
63
+ extensions: []
64
+ extra_rdoc_files: []
65
+ files:
66
+ - ".rspec"
67
+ - ".rubocop.yml"
68
+ - CHANGELOG.md
69
+ - CODE_OF_CONDUCT.md
70
+ - Gemfile
71
+ - Gemfile.lock
72
+ - Guardfile
73
+ - LICENSE.txt
74
+ - README.md
75
+ - Rakefile
76
+ - bin/console
77
+ - bin/erb-processor
78
+ - bin/erb-processor.cmd
79
+ - bin/setup
80
+ - certs/cbroult.gem-public_cert.pem
81
+ - erb-processor.gemspec
82
+ - lib/erb/processor.rb
83
+ - lib/erb/processor/for_directory_tree.rb
84
+ - lib/erb/processor/for_single_file.rb
85
+ - lib/erb/processor/language_commenter.rb
86
+ - lib/erb/processor/logging_setup.rb
87
+ - lib/erb/processor/version.rb
88
+ - sig/erb/processor.rbs
89
+ homepage: https://github.com/cbroult/erb-processor
90
+ licenses:
91
+ - MIT
92
+ metadata:
93
+ allowed_push_host: https://rubygems.org
94
+ homepage_uri: https://github.com/cbroult/erb-processor
95
+ source_code_uri: https://github.com/cbroult/erb-processor
96
+ changelog_uri: https://github.com/cbroult/erb-processor/Changelog
97
+ rubygems_mfa_required: 'true'
98
+ post_install_message:
99
+ rdoc_options: []
100
+ require_paths:
101
+ - lib
102
+ required_ruby_version: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: 2.6.0
107
+ required_rubygems_version: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ requirements: []
113
+ rubygems_version: 3.3.16
114
+ signing_key:
115
+ specification_version: 4
116
+ summary: Process all .erb files in a directory tree.
117
+ test_files: []
metadata.gz.sig ADDED
Binary file