gon 1.1.2 → 1.1.3
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/README.md +2 -2
- data/lib/gon.rb +1 -1
- data/lib/gon/version.rb +1 -1
- metadata +7 -7
data/README.md
CHANGED
|
@@ -84,13 +84,13 @@ alert(customNamespace.yourHash)
|
|
|
84
84
|
Puts this line into `Gemfile` then run `$ bundle`:
|
|
85
85
|
|
|
86
86
|
``` ruby
|
|
87
|
-
gem 'gon', '1.1.
|
|
87
|
+
gem 'gon', '1.1.3'
|
|
88
88
|
```
|
|
89
89
|
|
|
90
90
|
Or if you are old-school Rails 2 developer put this into `config/environment.rb` and run `$ rake gems:install`:
|
|
91
91
|
|
|
92
92
|
``` ruby
|
|
93
|
-
config.gem 'gon', :version => '1.1.
|
|
93
|
+
config.gem 'gon', :version => '1.1.3'
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
Or manually install gon gem: `$ gem install gon`
|
data/lib/gon.rb
CHANGED
|
@@ -25,7 +25,7 @@ module Gon
|
|
|
25
25
|
@request_env[:gon] ||= {}
|
|
26
26
|
|
|
27
27
|
if ( m.to_s =~ /=$/ )
|
|
28
|
-
if self.public_methods.include? m[0..-2].to_sym
|
|
28
|
+
if self.public_methods.include? m.to_s[0..-2].to_sym
|
|
29
29
|
raise "You can't use Gon public methods for storing data"
|
|
30
30
|
end
|
|
31
31
|
set_variable(m.to_s.delete('='), args[0])
|
data/lib/gon/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gon
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2011-
|
|
12
|
+
date: 2011-11-07 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: actionpack
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &2156527520 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,10 +21,10 @@ dependencies:
|
|
|
21
21
|
version: 2.3.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *2156527520
|
|
25
25
|
- !ruby/object:Gem::Dependency
|
|
26
26
|
name: rspec
|
|
27
|
-
requirement: &
|
|
27
|
+
requirement: &2156527100 !ruby/object:Gem::Requirement
|
|
28
28
|
none: false
|
|
29
29
|
requirements:
|
|
30
30
|
- - ! '>='
|
|
@@ -32,7 +32,7 @@ dependencies:
|
|
|
32
32
|
version: '0'
|
|
33
33
|
type: :development
|
|
34
34
|
prerelease: false
|
|
35
|
-
version_requirements: *
|
|
35
|
+
version_requirements: *2156527100
|
|
36
36
|
description: If you need to send some data to your js files and you don't want to
|
|
37
37
|
do this with long way trough views and parsing - use this force!
|
|
38
38
|
email:
|
|
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
70
70
|
version: '0'
|
|
71
71
|
requirements: []
|
|
72
72
|
rubyforge_project: gon
|
|
73
|
-
rubygems_version: 1.8.
|
|
73
|
+
rubygems_version: 1.8.6
|
|
74
74
|
signing_key:
|
|
75
75
|
specification_version: 3
|
|
76
76
|
summary: Get your Rails variables in your JS
|