rack-cache 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack/cache/key.rb +1 -1
- 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: 5b362a8d1a083164b460b2b6b02c2f8b4d6e5ff6
|
4
|
+
data.tar.gz: bafe3e19182d804665595bf7e08456cf6c1d390a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85cf8ff84523a991068679016c81100f681dfeb17df159ba5cc0f2a0d63097dd1045e5de7d457faf91c62dcad6d4f1fdb616020bd1de4c6b31463e4fd8d57c88
|
7
|
+
data.tar.gz: 433e8a34a0c78241a6e4dc32bd404bb8b7e4323318a2929688d129d06276b3b1f5d01ae44b1e2ad388b6101e9123ef1d377483ac84446f97ed0356ccd923a85b
|
data/lib/rack/cache/key.rb
CHANGED
@@ -43,7 +43,7 @@ module Rack::Cache
|
|
43
43
|
return nil if @request.query_string.nil?
|
44
44
|
|
45
45
|
@request.query_string.split(/[&;] */n).
|
46
|
-
map { |p|
|
46
|
+
map { |p| p.split('=', 2).map{ |s| unescape(s) } }.
|
47
47
|
sort.
|
48
48
|
map { |k,v| "#{escape(k)}=#{escape(v)}" }.
|
49
49
|
join('&')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Tomayko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
160
|
version: '0'
|
161
161
|
requirements: []
|
162
162
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.
|
163
|
+
rubygems_version: 2.4.5.1
|
164
164
|
signing_key:
|
165
165
|
specification_version: 4
|
166
166
|
summary: HTTP Caching for Rack
|