js_cookie_rails 2.1.4 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/js_cookie_rails/version.rb +1 -1
- data/vendor/assets/javascripts/js.cookie.js +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bbaa113f6db055acd0df4c69fc7aa5bd213d525
|
4
|
+
data.tar.gz: 42772557cb771a0fbbafcdad2d09564f130adbc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf5c1c6ea6c29972e5f06335817ca3dfe16fbc35c2fa505ef34e2c608ab77a59a3b99c12129f8c8df435ea62a88f15e20e8ee9df81ffcdfb3f898027114b16df
|
7
|
+
data.tar.gz: 57c8d2d77a6bd34b128003ab0ac1ca030a204fd3f74b285d62974417807aa0e1edcad284128118f788060d085641df9d9ff3c6761e2fca98f5d44a12fc781bc8
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* JavaScript Cookie v2.
|
2
|
+
* JavaScript Cookie v2.2.0
|
3
3
|
* https://github.com/js-cookie/js-cookie
|
4
4
|
*
|
5
5
|
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
|
@@ -109,7 +109,7 @@
|
|
109
109
|
var parts = cookies[i].split('=');
|
110
110
|
var cookie = parts.slice(1).join('=');
|
111
111
|
|
112
|
-
if (cookie.charAt(0) === '"') {
|
112
|
+
if (!this.json && cookie.charAt(0) === '"') {
|
113
113
|
cookie = cookie.slice(1, -1);
|
114
114
|
}
|
115
115
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: js_cookie_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alessandro Lepore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
96
|
rubyforge_project:
|
97
|
-
rubygems_version: 2.5.
|
97
|
+
rubygems_version: 2.5.2
|
98
98
|
signing_key:
|
99
99
|
specification_version: 4
|
100
100
|
summary: Adds js-cookie to the Rails asset pipeline.
|