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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c6b20739657e839f5499756143b085a3a6ad2d7e51434a69913db6e7e8f40da
4
- data.tar.gz: 7c8ec026f73a66c9d5bf0bddb3f9322c8a46c357f610ad12d74e24a10a4dce87
3
+ metadata.gz: a61b421737d7f28ab41362cb78ad00e3fd2246588e6346938dbe3589c82320e7
4
+ data.tar.gz: ca241430323a6822e1b1943e67ebf1dddec6ea663e26fde0cd3d792d97f30f17
5
5
  SHA512:
6
- metadata.gz: f16f4697903ad22a3d19ca11369c6d6c87c37f1efcad9345ebdf7fb026b9af22fe6f86ab78ec7e0ed9712e4a724d7814a042d989c7fb41c8d10c7532b66a166c
7
- data.tar.gz: 555c9491c3e15c22db3ed93c2669e3709c6edca7e83c0d66d697711287958268bf80742034620b20830e765c3b5cbd401f0699481ec574ac3f21e899b77de525
6
+ metadata.gz: 5cdb3304c7d176836430c1ec41826071a8544f171b0f9004f87a5a11da2bb7a817e79cfc28ca4662a44f5084b85bdf83f491a831a930b94b80e009610bcc1f0a
7
+ data.tar.gz: a3257f6b265ed44b1f1a7fe12326002838e3f25c063001051c2b550ff716898621491157e4948855706f52fe748ff5ded3560db968e4fa40b1c986ce9815c5f3
@@ -20,10 +20,9 @@ module Redbreast
20
20
  text = ''
21
21
  arr = []
22
22
 
23
- text, arr = generate_variables(names: names, spacing: spacing, indentation: indentation, variable: variable, bundle: bundle, text: text, array: arr)
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)
@@ -1,3 +1,3 @@
1
1
  module Redbreast
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
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.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maroje