sugar 0.0.36 → 0.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.36
1
+ 0.0.37
@@ -35,9 +35,8 @@ module Sugar
35
35
  end
36
36
  result << javascript_include_tag(static_includes) unless static_includes.empty?
37
37
  unless initializers.empty?
38
- initializers = initializers.inject('') do |pack, initializer|
39
- pack << "try {#{initializer}} catch(e) {}"
40
- pack
38
+ initializers = initializers.collect do |initializer|
39
+ "try {#{initializer}} catch(e) {}"
41
40
  end.join("\n")
42
41
  result << javascript_tag(initializers)
43
42
  end
data/sugar.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sugar}
8
- s.version = "0.0.36"
8
+ s.version = "0.0.37"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Alexander Semyonov"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sugar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.36
4
+ version: 0.0.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Semyonov