redbreast 1.2.5 → 1.3.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7a8875e2b36cd094a3d8dc5c74c7c1acf9d29de22c1d1efcbd9b545dfd469a8
|
4
|
+
data.tar.gz: 67e244c0e183fc8d03d8edf45dc271a2f7e8dc40fd1efe7a732779ff618d83c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a01ac2f7e449861ce5697bf5f79a69a801d5e02b87804a7d88f704b10f3412da8636e8d0a7b06c7939759fbe37552a7bac3f5569b88dc6d94db7d9daab75d64
|
7
|
+
data.tar.gz: c4fa84840d2fce0395367b503971327cdab83c2e997d8a7a28d0c48c26d246074072e395411a90476ff3268f2d943406d1672c39c69bee2153005f9c550d1a8c
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.1.0
|
@@ -22,7 +22,7 @@ module Redbreast
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def write(output_source_path, template, file_name)
|
25
|
-
file = ERB.new(template,
|
25
|
+
file = ERB.new(template, trim_mode: '-').result(binding)
|
26
26
|
File.write(File.join(output_source_path, file_name), file)
|
27
27
|
end
|
28
28
|
|
@@ -11,7 +11,7 @@ module Redbreast
|
|
11
11
|
directory = File.dirname(output_source_path)
|
12
12
|
FileUtils.mkdir_p directory unless File.exist? directory
|
13
13
|
|
14
|
-
file = ERB.new(template_generator.template,
|
14
|
+
file = ERB.new(template_generator.template, trim_mode: '-').result(binding)
|
15
15
|
File.write(output_source_path, file)
|
16
16
|
end
|
17
17
|
|
@@ -11,7 +11,7 @@ module Redbreast
|
|
11
11
|
directory = File.dirname(output_source_path)
|
12
12
|
FileUtils.mkdir_p directory unless File.exist? directory
|
13
13
|
|
14
|
-
file = ERB.new(template_generator.template,
|
14
|
+
file = ERB.new(template_generator.template, trim_mode: '-').result(binding)
|
15
15
|
File.write(output_source_path, file)
|
16
16
|
end
|
17
17
|
|
data/lib/redbreast/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redbreast
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maroje
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
198
|
- !ruby/object:Gem::Version
|
199
199
|
version: '0'
|
200
200
|
requirements: []
|
201
|
-
rubygems_version: 3.
|
201
|
+
rubygems_version: 3.3.3
|
202
202
|
signing_key:
|
203
203
|
specification_version: 4
|
204
204
|
summary: A CLI for safe and strongly typed resources
|