rack-link_headers 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/.travis.yml +1 -0
- data/lib/rack/link_headers/helper.rb +2 -2
- data/lib/rack/link_headers/version.rb +1 -1
- metadata +9 -9
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -17,8 +17,8 @@ module Rack
|
|
17
17
|
links << {:url => url.to_s, :params => params}
|
18
18
|
|
19
19
|
self["Link"] = links.to_a.map do |link|
|
20
|
-
"<#{link[:url]}>" + link[:params].
|
21
|
-
"; #{k}=\"#{
|
20
|
+
"<#{link[:url]}>" + link[:params].keys.sort.map do |k|
|
21
|
+
"; #{k}=\"#{link[:params][k]}\""
|
22
22
|
end.join
|
23
23
|
end.join(', ')
|
24
24
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-link_headers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,14 +9,14 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-03-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '0'
|
30
30
|
description: Easy Link header management for rack responses.
|
@@ -54,24 +54,24 @@ require_paths:
|
|
54
54
|
required_ruby_version: !ruby/object:Gem::Requirement
|
55
55
|
none: false
|
56
56
|
requirements:
|
57
|
-
- -
|
57
|
+
- - '>='
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '0'
|
60
60
|
segments:
|
61
61
|
- 0
|
62
|
-
hash: -
|
62
|
+
hash: -2236047267705005964
|
63
63
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
64
|
none: false
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
segments:
|
70
70
|
- 0
|
71
|
-
hash: -
|
71
|
+
hash: -2236047267705005964
|
72
72
|
requirements: []
|
73
73
|
rubyforge_project:
|
74
|
-
rubygems_version: 1.8.
|
74
|
+
rubygems_version: 1.8.25
|
75
75
|
signing_key:
|
76
76
|
specification_version: 3
|
77
77
|
summary: Easy Link header management for rack responses.
|