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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a61b421737d7f28ab41362cb78ad00e3fd2246588e6346938dbe3589c82320e7
4
- data.tar.gz: ca241430323a6822e1b1943e67ebf1dddec6ea663e26fde0cd3d792d97f30f17
3
+ metadata.gz: 4e655bee32f96732f77f8b5f88d0bb1fdade6fd1c142758aafc6b17afb771457
4
+ data.tar.gz: 82ecee365aa0bc210b45dca522bfd868468950d38babfe1abb3f787125746f49
5
5
  SHA512:
6
- metadata.gz: 5cdb3304c7d176836430c1ec41826071a8544f171b0f9004f87a5a11da2bb7a817e79cfc28ca4662a44f5084b85bdf83f491a831a930b94b80e009610bcc1f0a
7
- data.tar.gz: a3257f6b265ed44b1f1a7fe12326002838e3f25c063001051c2b550ff716898621491157e4948855706f52fe748ff5ded3560db968e4fa40b1c986ce9815c5f3
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 = vars
48
+ text + vars
48
49
  end
49
50
 
50
51
  def generate_extension(extended_class, app_name)
@@ -1,3 +1,3 @@
1
1
  module Redbreast
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redbreast
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maroje