erb-processor 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3387bba7ad542b2eb7850c76b97cb72e79fee6ab8143591daef381343a851f05
4
- data.tar.gz: d5d6994f4f5572e68b39fe07294e8f36787cafafedc80b87d5ad107da2b2ff34
3
+ metadata.gz: 0fc9bdc317a919fc02c80b39ac74db8689c90ee7196f0284bc65edd29fcc4c18
4
+ data.tar.gz: 07c90820a0934107f635016e43706d0c81a5813df85bd817700c343c823dddd6
5
5
  SHA512:
6
- metadata.gz: ccc98c2fb16456b15602e0e25b3079b76957920779a625385f811ad35ede3b28b1ff7e86acf8041e695e8cedb0323b5f1c005b75d3ad5df3c57cd12817021305
7
- data.tar.gz: 9ed0438096da927c4bbdccf22058fbfbe261b5b1fed37f3a4bce9ad3bad3270e51d6c969944abc9d9a1d4b034c8ba8d145d49cb985a9ddb9a2f3afc68a744ccf
6
+ metadata.gz: ed29b3f7a6ccc07a8308c5b2d1d4fc1728c0fc32296b99de3a7b4cf7b3ef67fb19820396adb41f4f52d79256255ddbd342a9fdfa195ad51e3a8ed158841ea714
7
+ data.tar.gz: 9ba16900e680f45b10db210d31e724cf5d454c584c786d0f04a1257d2fa317d251d3009c9664b886eb444b582008f3b21e3c8ebf83e4482baeeaabc1f63ed44f
checksums.yaml.gz.sig CHANGED
Binary file
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- erb-processor (1.0.0)
4
+ erb-processor (1.0.2)
5
5
  logging (~> 2.3)
6
6
 
7
7
  GEM
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.
@@ -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 = ['certs/cbroult.gem-public_cert.pem']
23
- spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  class ERB
4
4
  module Processor
5
- VERSION = "1.0.1"
5
+ VERSION = "1.0.2"
6
6
  end
7
7
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erb-processor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christophe Broult
metadata.gz.sig CHANGED
Binary file