redbreast 1.2.1 → 1.2.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: '08211f43d2d63e1357a2b75e016ddd0d0998f3399309ffc1164a9604b2376185'
4
- data.tar.gz: 3ff926cfb618faa177a063a7347a98e38fe37a248f6115e7a427583d70862d72
3
+ metadata.gz: 6aca71fbf8dac645718a3761e8ea63d558da0408e164f3b76719c71033a998b0
4
+ data.tar.gz: 259911278e8748361af3ca309e0b737725b059f5ea2d325b129f1ad28d039942
5
5
  SHA512:
6
- metadata.gz: 1c21dd2541a7775af6fe830050e1e4a494908f1e93b96e6eb9f900331de0156a1ca620cb770e6e9010b7fa3247436d7cb196fa53710b52241834a035b33b3f13
7
- data.tar.gz: 2ac81fb3c47b9dbb2d285b0efb7259f97268b5756b03b85f39df6f55950e19295f298c158c05f857cf9235b23dd46503cd063afc07c32578f5d5e95ef25b255b
6
+ metadata.gz: 55b2b2c6be72a7c22caa55a307ae1b1f4cb2baf13912fccc3c66d781503938a7ea36a90402d8cf9737cf1a7ebd9fbb653088bb56bbec46a7837ce1da497bee3b
7
+ data.tar.gz: '078a5708d06c491efd4c75afcdf80c1fc3026ec5365fa1ed0955a49afb974ce32e909cc1b20d14996f7aecc39b7f8ef7c8d649779d5706096cd4fdd79a9001d3'
@@ -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
@@ -54,7 +54,7 @@ module Redbreast
54
54
 
55
55
  return text if app_name.nil? || app_name.empty?
56
56
 
57
- text + SPACER + "enum " + app_name + " {}\n}\n\npublic extension " + extended_class + '.' + app_name + " {"
57
+ text + SPACER + "enum " + app_name + " {}\n}\n\nextension " + extended_class + '.' + app_name + " {"
58
58
  end
59
59
 
60
60
  def create_swift_test_cases(names:, declaration:, app_name:)
@@ -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: 'static var %s: UIColor { return UIColor(named: "%s", in: %s, compatibleWith: nil)! }', bundle: bundle) %>
16
+ <%= generate_file_swift(names: asset_names, variable: 'public static var %s: UIColor { return UIColor(named: "%s", in: %s, compatibleWith: nil)! }', bundle: bundle) %>
17
17
  }
18
18
  TEMPLATE
19
19
  end
@@ -14,7 +14,7 @@ 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: 'static var %s: Image { Image("%s", bundle: %s) }', bundle: bundle) %>
17
+ <%= generate_file_swift(names: asset_names, variable: 'public static var %s: Image { Image("%s", bundle: %s) }', bundle: bundle) %>
18
18
  }
19
19
  TEMPLATE
20
20
  end
@@ -1,3 +1,3 @@
1
1
  module Redbreast
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
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.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maroje
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-11 00:00:00.000000000 Z
11
+ date: 2022-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler