rack-canonical-host 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6bc6bda17ed0ec22ca85d722327dd5d1bcd53d3
4
- data.tar.gz: d1b695e4c981811aec5d8885c0e59a1e6e7e2a3f
3
+ metadata.gz: 8a6f24e954b7680ed4e2571398bc6d2012deaf38
4
+ data.tar.gz: 224fd0063568a627b4f37bf0ca6dc33d579645ba
5
5
  SHA512:
6
- metadata.gz: b3d53af79ae673e177030f52176c93d7ba6e44aaf8c85bdbfa36f54404daa10fa7fc30ccac7ef7684562f8ced86e01e5b2d4a1c05f9e6ed83b88d60934ae714f
7
- data.tar.gz: b1a74f4130768e4112aec5dcb1eb2bb07a16358eef146517e12af84370098582ac036621a2a529b1c2208cb185960ac7e7cd4d574c72f3c957cbeebb3e5a33c5
6
+ metadata.gz: 981074ba73744daeff5a3e7e3256e42ed19cfdb56759ff8e133390ab353804886e9b3fce6bc5268934daa41275b6d1d38ec1c7c8e048e0d4017ce38df3539cb3
7
+ data.tar.gz: 6c191906b97d467c729b055abbf9ffade959d35f32071566d0796500f431fa790f9d59c03a5f1427e374ebd3b0e0c385ac749e661314e1007a52fcc982c3ab0b
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1 (2016-03-28)
4
+
5
+ * Relax Rack dependency to allow for Rack 2 ([Tyler Ewing][zoso10])
6
+
3
7
  ## 0.2.0 (2016-03-28)
4
8
 
5
9
  * Normalize redirect URL to avoid XSS vulnerability ([Thomas Maurer][tma])
@@ -62,3 +66,4 @@
62
66
  [rubymaverick]: http://github.com/ericallam
63
67
  [tma]: http://github.com/tma
64
68
  [tylerhunt]: http://github.com/tylerhunt
69
+ [zoso10]: http://github.com/zoso10
data/README.md CHANGED
@@ -109,6 +109,7 @@ use Rack::CanonicalHost, 'example.ru', if: /.*\.example\.ru/
109
109
  Thanks to the following people who have contributed patches or helpful
110
110
  suggestions:
111
111
 
112
+ * [Tyler Ewing](https://github.com/zoso10)
112
113
  * [Thomas Maurer](https://github.com/tma)
113
114
  * [Jeff Carbonella](https://github.com/jcarbo)
114
115
  * [Joost Schuur](https://github.com/jellybob)
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  class CanonicalHost
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
5
5
  end
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
8
8
  gem.author = 'Tyler Hunt'
9
9
 
10
10
  gem.add_dependency 'addressable', '> 0', '< 3'
11
- gem.add_dependency 'rack', '~> 1.0'
11
+ gem.add_dependency 'rack', ['>= 1.0.0', '< 3']
12
12
  gem.add_development_dependency 'rake'
13
13
  gem.add_development_dependency 'rspec', '~> 3.0'
14
14
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-canonical-host
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Hunt
@@ -34,16 +34,22 @@ dependencies:
34
34
  name: rack
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '1.0'
39
+ version: 1.0.0
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '3'
40
43
  type: :runtime
41
44
  prerelease: false
42
45
  version_requirements: !ruby/object:Gem::Requirement
43
46
  requirements:
44
- - - "~>"
47
+ - - ">="
45
48
  - !ruby/object:Gem::Version
46
- version: '1.0'
49
+ version: 1.0.0
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '3'
47
53
  - !ruby/object:Gem::Dependency
48
54
  name: rake
49
55
  requirement: !ruby/object:Gem::Requirement