redbreast 1.0.2 → 1.0.3
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 -1
- 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: 4e655bee32f96732f77f8b5f88d0bb1fdade6fd1c142758aafc6b17afb771457
|
4
|
+
data.tar.gz: 82ecee365aa0bc210b45dca522bfd868468950d38babfe1abb3f787125746f49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 327a93d2fe2ecc30185cbda0d1b8bbc4a9a17f0e7a99f5fed9547d050e438d9881fb9d4aee2cf4ed99456333f4fafd9984bbe78b86567ade1ac570b9e1d0807b
|
7
|
+
data.tar.gz: ea2cdc2572af400207fc6e9f12804cf66858ea1a90dac2abc748686f76a456b67fecbc2a9e7929f4baa5c936c3191d723d32f286c3c2227860ae39d1faa8cfaa
|
@@ -23,6 +23,7 @@ module Redbreast
|
|
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" : ''
|
26
27
|
arr.each do |enum_name|
|
27
28
|
names_new = []
|
28
29
|
names_new_enum = []
|
@@ -44,7 +45,7 @@ module Redbreast
|
|
44
45
|
|
45
46
|
text += "\n" + spacing + '}' + "\n"
|
46
47
|
end
|
47
|
-
text
|
48
|
+
text + vars
|
48
49
|
end
|
49
50
|
|
50
51
|
def generate_extension(extended_class, app_name)
|
data/lib/redbreast/version.rb
CHANGED