redbreast 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redbreast/serializers/swift_serializer.rb +2 -3
- data/lib/redbreast/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a61b421737d7f28ab41362cb78ad00e3fd2246588e6346938dbe3589c82320e7
|
4
|
+
data.tar.gz: ca241430323a6822e1b1943e67ebf1dddec6ea663e26fde0cd3d792d97f30f17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cdb3304c7d176836430c1ec41826071a8544f171b0f9004f87a5a11da2bb7a817e79cfc28ca4662a44f5084b85bdf83f491a831a930b94b80e009610bcc1f0a
|
7
|
+
data.tar.gz: a3257f6b265ed44b1f1a7fe12326002838e3f25c063001051c2b550ff716898621491157e4948855706f52fe748ff5ded3560db968e4fa40b1c986ce9815c5f3
|
@@ -20,10 +20,9 @@ module Redbreast
|
|
20
20
|
text = ''
|
21
21
|
arr = []
|
22
22
|
|
23
|
-
|
23
|
+
vars, arr = generate_variables(names: names, spacing: spacing, indentation: indentation, variable: variable, bundle: bundle, text: text, array: arr)
|
24
24
|
|
25
25
|
arr = arr.uniq
|
26
|
-
text += indentation.empty? && text.empty? ? "\n" : ''
|
27
26
|
arr.each do |enum_name|
|
28
27
|
names_new = []
|
29
28
|
names_new_enum = []
|
@@ -45,7 +44,7 @@ module Redbreast
|
|
45
44
|
|
46
45
|
text += "\n" + spacing + '}' + "\n"
|
47
46
|
end
|
48
|
-
text
|
47
|
+
text = vars
|
49
48
|
end
|
50
49
|
|
51
50
|
def generate_extension(extended_class, app_name)
|
data/lib/redbreast/version.rb
CHANGED