redbreast 1.2.5 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/lib/redbreast/serializers/objc_serializer.rb +1 -1
- data/lib/redbreast/serializers/swift_serializer.rb +1 -1
- data/lib/redbreast/serializers/swiftui_serializer.rb +2 -2
- data/lib/redbreast/template_generators/images/swiftui_images_template_generator.rb +1 -1
- data/lib/redbreast/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7ce16fccb9741bca97a4f08ef76c0bb64ce67686aa48edbe8a7a426aca2951c
|
4
|
+
data.tar.gz: 4ee49fe8fa9a16e0f6a8c1631b59fc8bd3b23d1bad9de3e706949777d8648104
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7db01230335e6eca956d71cdebc2611d7af0855fe4183b472dcfd45c08263c1e65b3b0c074cd8df12d1d0997620d570503e5ad9527a0fcb401f21c3663480fb7
|
7
|
+
data.tar.gz: 4779524e2b16d31b3d056334d2233a0bb70fd0c65863dd8769f049da8d40973bf76f20c18105289bee8b53a326d1751cc0479ace42ded5c9fb1a8b1bf775c91b
|
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
|
|
@@ -30,7 +30,7 @@ module Redbreast
|
|
30
30
|
names_new_enum = []
|
31
31
|
new_enum_name = enum_name
|
32
32
|
|
33
|
-
text += "\n" + spacing + 'enum ' + upper_camel_case(enum_name) + ' {'
|
33
|
+
text += "\n" + spacing + 'public enum ' + upper_camel_case(enum_name) + ' {'
|
34
34
|
names_new, names_new_enum = separate_variables_from_folders(names: names, enum_name: enum_name, new_enum_name: new_enum_name, names_new_enum: names_new_enum, names_new: names_new)
|
35
35
|
|
36
36
|
if !names_new_enum.empty? && new_enum_name == enum_name
|
@@ -12,7 +12,7 @@ module Redbreast
|
|
12
12
|
import SwiftUI
|
13
13
|
|
14
14
|
// THIS FILE IS AUTOGENERATED, DO NOT EDIT BY HAND
|
15
|
-
// swiftlint:disable file_length type_body_length line_length
|
15
|
+
// swiftlint:disable file_length type_body_length line_length superfluous_disable_command extension_access_modifier
|
16
16
|
<%= generate_extension('Image', app_name) %>
|
17
17
|
<%= generate_file_swift(names: asset_names, variable: 'public static var %s: Image { Image("%s", bundle: %s) }', bundle: bundle) %>
|
18
18
|
}
|
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.1
|
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-07-21 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
|