rack-canonical-host 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +1 -0
- data/lib/rack/canonical_host/version.rb +1 -1
- data/rack-canonical-host.gemspec +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a6f24e954b7680ed4e2571398bc6d2012deaf38
|
4
|
+
data.tar.gz: 224fd0063568a627b4f37bf0ca6dc33d579645ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 981074ba73744daeff5a3e7e3256e42ed19cfdb56759ff8e133390ab353804886e9b3fce6bc5268934daa41275b6d1d38ec1c7c8e048e0d4017ce38df3539cb3
|
7
|
+
data.tar.gz: 6c191906b97d467c729b055abbf9ffade959d35f32071566d0796500f431fa790f9d59c03a5f1427e374ebd3b0e0c385ac749e661314e1007a52fcc982c3ab0b
|
data/CHANGELOG.md
CHANGED
@@ -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)
|
data/rack-canonical-host.gemspec
CHANGED
@@ -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', '
|
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.
|
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:
|
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:
|
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
|