rack-canonical-host 0.0.1 → 0.0.2
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.
- metadata +36 -18
- data/.document +0 -5
- data/.gitignore +0 -5
- data/Rakefile +0 -34
- data/VERSION +0 -1
metadata
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rack-canonical-host
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
prerelease: false
|
|
5
|
+
segments:
|
|
6
|
+
- 0
|
|
7
|
+
- 0
|
|
8
|
+
- 2
|
|
9
|
+
version: 0.0.2
|
|
5
10
|
platform: ruby
|
|
6
11
|
authors:
|
|
7
12
|
- Tyler Hunt
|
|
@@ -9,52 +14,65 @@ autorequire:
|
|
|
9
14
|
bindir: bin
|
|
10
15
|
cert_chain: []
|
|
11
16
|
|
|
12
|
-
date:
|
|
17
|
+
date: 2010-11-18 00:00:00 -05:00
|
|
13
18
|
default_executable:
|
|
14
|
-
dependencies:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
19
|
+
dependencies:
|
|
20
|
+
- !ruby/object:Gem::Dependency
|
|
21
|
+
name: rack
|
|
22
|
+
prerelease: false
|
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
24
|
+
none: false
|
|
25
|
+
requirements:
|
|
26
|
+
- - ">="
|
|
27
|
+
- !ruby/object:Gem::Version
|
|
28
|
+
segments:
|
|
29
|
+
- 1
|
|
30
|
+
- 0
|
|
31
|
+
- 0
|
|
32
|
+
version: 1.0.0
|
|
33
|
+
type: :runtime
|
|
34
|
+
version_requirements: *id001
|
|
35
|
+
description:
|
|
36
|
+
email:
|
|
18
37
|
executables: []
|
|
19
38
|
|
|
20
39
|
extensions: []
|
|
21
40
|
|
|
22
|
-
extra_rdoc_files:
|
|
23
|
-
|
|
24
|
-
- README.rdoc
|
|
41
|
+
extra_rdoc_files: []
|
|
42
|
+
|
|
25
43
|
files:
|
|
26
|
-
- .document
|
|
27
|
-
- .gitignore
|
|
28
44
|
- LICENSE
|
|
29
45
|
- README.rdoc
|
|
30
|
-
- Rakefile
|
|
31
|
-
- VERSION
|
|
32
46
|
- lib/rack-canonical-host.rb
|
|
33
47
|
has_rdoc: true
|
|
34
48
|
homepage: http://github.com/tylerhunt/rack-canonical-host
|
|
35
49
|
licenses: []
|
|
36
50
|
|
|
37
51
|
post_install_message:
|
|
38
|
-
rdoc_options:
|
|
39
|
-
|
|
52
|
+
rdoc_options: []
|
|
53
|
+
|
|
40
54
|
require_paths:
|
|
41
55
|
- lib
|
|
42
56
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
57
|
+
none: false
|
|
43
58
|
requirements:
|
|
44
59
|
- - ">="
|
|
45
60
|
- !ruby/object:Gem::Version
|
|
61
|
+
segments:
|
|
62
|
+
- 0
|
|
46
63
|
version: "0"
|
|
47
|
-
version:
|
|
48
64
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
|
+
none: false
|
|
49
66
|
requirements:
|
|
50
67
|
- - ">="
|
|
51
68
|
- !ruby/object:Gem::Version
|
|
69
|
+
segments:
|
|
70
|
+
- 0
|
|
52
71
|
version: "0"
|
|
53
|
-
version:
|
|
54
72
|
requirements: []
|
|
55
73
|
|
|
56
74
|
rubyforge_project:
|
|
57
|
-
rubygems_version: 1.3.
|
|
75
|
+
rubygems_version: 1.3.7
|
|
58
76
|
signing_key:
|
|
59
77
|
specification_version: 3
|
|
60
78
|
summary: Rack middleware for defining a canonical host name.
|
data/.document
DELETED
data/Rakefile
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
require 'rubygems'
|
|
2
|
-
require 'rake'
|
|
3
|
-
require 'rake/rdoctask'
|
|
4
|
-
|
|
5
|
-
begin
|
|
6
|
-
require 'jeweler'
|
|
7
|
-
|
|
8
|
-
Jeweler::Tasks.new do |gem|
|
|
9
|
-
gem.name = 'rack-canonical-host'
|
|
10
|
-
gem.summary = %Q{Rack middleware for defining a canonical host name.}
|
|
11
|
-
gem.description = %Q{Rack middleware for defining a canonical host name. It will redirect all requests to non-canonical hosts to the canonical host.}
|
|
12
|
-
gem.email = 'tyler@tylerhunt.com'
|
|
13
|
-
gem.homepage = 'http://github.com/tylerhunt/rack-canonical-host'
|
|
14
|
-
gem.authors = ['Tyler Hunt']
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
Jeweler::GemcutterTasks.new
|
|
18
|
-
rescue LoadError
|
|
19
|
-
puts 'Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler'
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
Rake::RDocTask.new do |rdoc|
|
|
23
|
-
if File.exist?('VERSION')
|
|
24
|
-
version = File.read('VERSION')
|
|
25
|
-
else
|
|
26
|
-
version = ''
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
rdoc.rdoc_dir = 'rdoc'
|
|
30
|
-
rdoc.title = "rack-canonical-host #{version}"
|
|
31
|
-
rdoc.rdoc_files.include('README*')
|
|
32
|
-
rdoc.rdoc_files.include('LICENSE')
|
|
33
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
34
|
-
end
|
data/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.0.1
|