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: d6ad3a4048013b2fe1674cd37e6d09798f7c444c3dbfe8b9e691031dd04a7984
4
- data.tar.gz: b44b7e7d2512d10cdb3c26e349002cfa23410d5eb4ab1b7735352025a74cd630
3
+ metadata.gz: f7a8875e2b36cd094a3d8dc5c74c7c1acf9d29de22c1d1efcbd9b545dfd469a8
4
+ data.tar.gz: 67e244c0e183fc8d03d8edf45dc271a2f7e8dc40fd1efe7a732779ff618d83c3
5
5
  SHA512:
6
- metadata.gz: 7c4753e2751f51aff773b9b7021bdc1cf7573367d98d4bcad7b3c02494f3e826e442dabddb6a57609ee411f3f79c36ab56766a6dd9ca27858b0869f25defde31
7
- data.tar.gz: 164652399895ff936501f536a2fc089202efd0dbe35e1093d28d4a7a1f98a6d737233abeb3915e95dfc848c64740b57eda23dad0a918c28911da2d9d6a450bb9
6
+ metadata.gz: 3a01ac2f7e449861ce5697bf5f79a69a801d5e02b87804a7d88f704b10f3412da8636e8d0a7b06c7939759fbe37552a7bac3f5569b88dc6d94db7d9daab75d64
7
+ data.tar.gz: c4fa84840d2fce0395367b503971327cdab83c2e997d8a7a28d0c48c26d246074072e395411a90476ff3268f2d943406d1672c39c69bee2153005f9c550d1a8c
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.0
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, nil, '-').result(binding)
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, nil, '-').result(binding)
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, nil, '-').result(binding)
14
+ file = ERB.new(template_generator.template, trim_mode: '-').result(binding)
15
15
  File.write(output_source_path, file)
16
16
  end
17
17
 
@@ -1,3 +1,3 @@
1
1
  module Redbreast
2
- VERSION = '1.2.5'
2
+ VERSION = '1.3.0'
3
3
  end
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.2.5
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: 2022-11-17 00:00:00.000000000 Z
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.2.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