gon 5.0.3 → 5.0.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of gon might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/gon.rb +1 -1
- data/lib/gon/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c821696b6d4a8ba7c715ac87e8fc7e34e7696fa
|
4
|
+
data.tar.gz: 0cd052df88b75160786d86929a13d62947c5b10f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf0d8b204ab3c103289c89338f7b98534f2c8da68fb18af90ebd9c69497afef02bddedca4865fdccea8cc32395f4464b41d475d37941143e76257285f8ab2e91
|
7
|
+
data.tar.gz: ba5a6cd137050b52b066261e756ff6176ba1285d393a0d1291a33e464e1928576897131ce8e9a1fdb29afb09c772aa22c0be7b821f57646dd36eced63fb13785
|
data/CHANGELOG.md
CHANGED
data/lib/gon.rb
CHANGED
@@ -25,7 +25,7 @@ class Gon
|
|
25
25
|
if public_method_name?(method)
|
26
26
|
raise 'You can\'t use Gon public methods for storing data'
|
27
27
|
end
|
28
|
-
|
28
|
+
if self == Gon && !current_gon
|
29
29
|
raise 'Assign request-specific gon variables only through `gon` helper, not through Gon constant'
|
30
30
|
end
|
31
31
|
|
data/lib/gon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gazay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|