redbreast 1.2.0 → 1.2.3

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: 9840f88046197446fc6c9eb46afd5abe82c66fb1f48aee16827fbc00541992ef
4
- data.tar.gz: 2dd93e1ea1cce94ff8202a472a4fff651a778cdd3e802dd9cd1a641dbabc1fdd
3
+ metadata.gz: 68f6acf09ee632dd54e78b2a728ec3d4b155918354f566610bfcb8ebe8e92c28
4
+ data.tar.gz: 1a322fa3e7fe6ae863b71cf8668e4393e95f071b4091c126f766dc2e08febe14
5
5
  SHA512:
6
- metadata.gz: 0e1622222467886c0c4e84519e0bad43ac4f82c6c8efc3d0aca75e5141d422ac9e5167227f377162b714081a7f11b102d60aaa665222a7a89d43af14146b0ed5
7
- data.tar.gz: bdb375e6d106a93874da0ed1b3567ed43386ff68c51c76be1575ed40e3355068816bff4584cb2d4bd16b699e3aa3a1d0d07bc42ae9e84d4a10b8d99621616010
6
+ metadata.gz: 9267bdb2cc6758ff394ea515bff44ad11db9f497a658857ae446cb29e8e7c2b790c2ec5337fb0b673bfb50e9ec225db091e0f26faebab6ffe5157e405ee68b2c
7
+ data.tar.gz: e88425bd3bb65f68f9f9ea4ee413048b3807839a25f0ff7b49f0ef5bd43bc8fa71aac2d72bd9a8a8fe0eaf112b9fb2925bdd807d1c78ce1156a65cb279a1330d
@@ -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
@@ -50,7 +50,7 @@ module Redbreast
50
50
  end
51
51
 
52
52
  def generate_extension(extended_class, app_name)
53
- text = 'extension ' + extended_class + " {\n"
53
+ text = 'public extension ' + extended_class + " {\n"
54
54
 
55
55
  return text if app_name.nil? || app_name.empty?
56
56
 
@@ -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
@@ -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: 'static var %s: Color { Color("%s", bundle: %s) }', bundle: bundle) %>
16
+ <%= generate_file_swift(names: asset_names, variable: 'public static var %s: Color { Color("%s", bundle: %s) }', 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('UIImage', app_name) %>
17
- <%= generate_file_swift(names: asset_names, variable: 'static var %s: UIImage { return UIImage(named: "%s", in: %s, compatibleWith: nil)! }', bundle: bundle) %>
17
+ <%= generate_file_swift(names: asset_names, variable: 'public static var %s: UIImage { return UIImage(named: "%s", in: %s, compatibleWith: nil)! }', bundle: bundle) %>
18
18
  }
19
19
  TEMPLATE
20
20
  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.0'
2
+ VERSION = '1.2.3'
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.0
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maroje
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-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
@@ -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.0.6
201
+ rubygems_version: 3.1.2
202
202
  signing_key:
203
203
  specification_version: 4
204
204
  summary: A CLI for safe and strongly typed resources