rails_javascript_helpers 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ module RailsJavaScriptHelpers
13
13
  k = key.is_a?(Symbol) ? key.to_s.camelize.sub(/^./, key.to_s[0,1].downcase) : format_type_to_js(key)
14
14
  "#{k}:#{format_type_to_js(value)}"
15
15
  }.join(',')}}"
16
- when Fixnum
16
+ when Numeric
17
17
  arg.to_s
18
18
  when TrueClass
19
19
  arg.to_s
@@ -13,5 +13,5 @@ module RailsJavaScriptHelpers
13
13
  end
14
14
  end
15
15
 
16
- VERSION = Version.new('1.4.0')
16
+ VERSION = Version.new('1.5.0')
17
17
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_javascript_helpers
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
- - 4
8
+ - 5
9
9
  - 0
10
- version: 1.4.0
10
+ version: 1.5.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Roberts
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-20 00:00:00 -07:00
18
+ date: 2011-12-08 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  requirements: []
76
76
 
77
77
  rubyforge_project:
78
- rubygems_version: 1.6.2
78
+ rubygems_version: 1.4.2
79
79
  signing_key:
80
80
  specification_version: 3
81
81
  summary: Javascript Helpers for Rails