redbreast 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redbreast/template_generators/colors/swift_colors_template_generator.rb +1 -1
- data/lib/redbreast/template_generators/colors/swiftui_colors_template_generator.rb +1 -1
- data/lib/redbreast/template_generators/images/swift_images_template_generator.rb +2 -2
- data/lib/redbreast/template_generators/images/swiftui_images_template_generator.rb +2 -2
- 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: 345104526de4e2d5a6b0d8bf70a2afb23ddc42b3305f05c31045aec5f661435b
|
4
|
+
data.tar.gz: 0b711b3ebe9df7d1f27edc471d895d71b9766d6d3b3f7ad13fbb3abee108acd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a35c633ac705ddf2afaffcb15d91ae6649def315e84c7e71e29a82a21783d952cddec01ea603e7b57f787ee1a7fcba5ae4b3e8bd9d13c33f26fcddbb3fa897b
|
7
|
+
data.tar.gz: 8c3a3d5ea38141551eff53ce852c9262f51a295c5ec96379c2d3800a504a293db07d7bb6308e36782f75faf2c92adee4dcc85bd3017c774dc1e2b8c74351bbad
|
@@ -13,7 +13,7 @@ module Redbreast
|
|
13
13
|
// THIS FILE IS AUTOGENERATED, DO NOT EDIT BY HAND
|
14
14
|
// swiftlint:disable file_length type_body_length line_length superfluous_disable_command
|
15
15
|
<%= generate_extension('UIColor', app_name) %>
|
16
|
-
<%= generate_file_swift(names: asset_names, variable: '
|
16
|
+
<%= generate_file_swift(names: asset_names, variable: 'static var %s: UIColor { return UIColor(named: "%s", in: %s, compatibleWith: nil)! }', bundle: bundle) %>
|
17
17
|
}
|
18
18
|
TEMPLATE
|
19
19
|
end
|
@@ -13,7 +13,7 @@ module Redbreast
|
|
13
13
|
// THIS FILE IS AUTOGENERATED, DO NOT EDIT BY HAND
|
14
14
|
// swiftlint:disable file_length type_body_length line_length superfluous_disable_command
|
15
15
|
<%= generate_extension('Color', app_name) %>
|
16
|
-
<%= generate_file_swift(names: asset_names, variable: '
|
16
|
+
<%= generate_file_swift(names: asset_names, variable: 'static var %s: Color { Color("%s", bundle: %s) }', bundle: bundle) %>
|
17
17
|
}
|
18
18
|
TEMPLATE
|
19
19
|
end
|
@@ -14,11 +14,11 @@ module Redbreast
|
|
14
14
|
// THIS FILE IS AUTOGENERATED, DO NOT EDIT BY HAND
|
15
15
|
// swiftlint:disable file_length type_body_length line_length superfluous_disable_command
|
16
16
|
<%= generate_extension('UIImage', app_name) %>
|
17
|
-
<%= generate_file_swift(names: asset_names, variable: '
|
17
|
+
<%= generate_file_swift(names: asset_names, variable: 'static var %s: UIImage { return UIImage(named: "%s", in: %s, compatibleWith: nil)! }', bundle: bundle) %>
|
18
18
|
}
|
19
19
|
TEMPLATE
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
23
23
|
end
|
24
|
-
end
|
24
|
+
end
|
@@ -14,11 +14,11 @@ module Redbreast
|
|
14
14
|
// THIS FILE IS AUTOGENERATED, DO NOT EDIT BY HAND
|
15
15
|
// swiftlint:disable file_length type_body_length line_length superfluous_disable_command
|
16
16
|
<%= generate_extension('Image', app_name) %>
|
17
|
-
<%= generate_file_swift(names: asset_names, variable: '
|
17
|
+
<%= generate_file_swift(names: asset_names, variable: 'static var %s: Image { Image("%s", bundle: %s) }', bundle: bundle) %>
|
18
18
|
}
|
19
19
|
TEMPLATE
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
23
23
|
end
|
24
|
-
end
|
24
|
+
end
|
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.2.
|
4
|
+
version: 1.2.4
|
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
|
+
date: 2022-09-14 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.2.3
|
202
202
|
signing_key:
|
203
203
|
specification_version: 4
|
204
204
|
summary: A CLI for safe and strongly typed resources
|