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 CHANGED
@@ -4,6 +4,9 @@
4
4
  .config
5
5
  .yardoc
6
6
  .rbx
7
+ .idea
8
+ .rvmrc
9
+ .rbx
7
10
  Gemfile.lock
8
11
  InstalledFiles
9
12
  _yardoc
data/.travis.yml CHANGED
@@ -1,5 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 2.0.0
3
4
  - 1.9.3
4
5
  - 1.8.7
5
6
  env:
@@ -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].to_a.map do |k, v|
21
- "; #{k}=\"#{v}\""
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
@@ -3,7 +3,7 @@ module Rack
3
3
  module VERSION
4
4
  MAJOR = 2
5
5
  MINOR = 2
6
- PATCH = 0
6
+ PATCH = 1
7
7
  STAGE = nil
8
8
 
9
9
  def self.to_s
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.0
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-01-18 00:00:00.000000000 Z
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: -3911852956380959271
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: -3911852956380959271
71
+ hash: -2236047267705005964
72
72
  requirements: []
73
73
  rubyforge_project:
74
- rubygems_version: 1.8.24
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.