erb-processor 1.0.1 → 1.0.2
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/Gemfile.lock +1 -1
- data/README.md +23 -0
- data/erb-processor.gemspec +2 -2
- data/lib/erb/processor/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0fc9bdc317a919fc02c80b39ac74db8689c90ee7196f0284bc65edd29fcc4c18
|
|
4
|
+
data.tar.gz: 07c90820a0934107f635016e43706d0c81a5813df85bd817700c343c823dddd6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ed29b3f7a6ccc07a8308c5b2d1d4fc1728c0fc32296b99de3a7b4cf7b3ef67fb19820396adb41f4f52d79256255ddbd342a9fdfa195ad51e3a8ed158841ea714
|
|
7
|
+
data.tar.gz: 9ba16900e680f45b10db210d31e724cf5d454c584c786d0f04a1257d2fa317d251d3009c9664b886eb444b582008f3b21e3c8ebf83e4482baeeaabc1f63ed44f
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -38,6 +38,29 @@ the editing of the template by using the following in the template:
|
|
|
38
38
|
<%= erb_processor.commented_processed_header %>
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
+
### A Template Example
|
|
42
|
+
|
|
43
|
+
Here is a template example for some Java code:
|
|
44
|
+
|
|
45
|
+
```java
|
|
46
|
+
<%= erb_processor.commented_processed_header %>
|
|
47
|
+
|
|
48
|
+
<% SCENARIOS_PENDING_AUTOMATION = 4 -%>
|
|
49
|
+
|
|
50
|
+
public class PendingTestAutomation {
|
|
51
|
+
|
|
52
|
+
<% SCENARIOS_PENDING_AUTOMATION.times do |i|
|
|
53
|
+
scenario_id = i + 1
|
|
54
|
+
-%>
|
|
55
|
+
@Test(enabled=false)
|
|
56
|
+
@Description("Test <%= scenario_id %>/<%= SCENARIOS_PENDING_AUTOMATION %> that is pending automation")
|
|
57
|
+
public void toBeSkipped_<%= scenario_id %>_of_<%= SCENARIOS_PENDING_AUTOMATION %>(){}
|
|
58
|
+
|
|
59
|
+
<% end -%>
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
|
|
41
64
|
## Development
|
|
42
65
|
|
|
43
66
|
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.
|
data/erb-processor.gemspec
CHANGED
|
@@ -19,8 +19,8 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
spec.required_ruby_version = ">= 2.6.0"
|
|
20
20
|
|
|
21
21
|
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
|
22
|
-
spec.cert_chain = [
|
|
23
|
-
spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $
|
|
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
24
|
|
|
25
25
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
26
26
|
spec.metadata["source_code_uri"] = spec.homepage
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|