forked from prepor/subdomain_routes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
subdomain_routes.gemspec
85 lines (81 loc) · 2.9 KB
/
subdomain_routes.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# Generated by jeweler
# DO NOT EDIT THIS FILE
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{subdomain_routes}
s.version = "0.3.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Matthew Hollingworth"]
s.date = %q{2009-10-10}
s.description = %q{ SubdomainRoutes add subdomain conditions to the Rails routing system. Routes may be restricted to
one or many specified subdomains. An URL will be recognised only if the host subdomain matches the
subdomain specified in the route. Route generation is also enhanced, so that the subdomain of a
generated URL (or path) will be changed if the requested route has a different subdomain to that of
the current request. Model-based subdomain routes can also be defined.
}
s.email = %q{[email protected]}
s.extra_rdoc_files = [
"LICENSE",
"README.textile"
]
s.files = [
".document",
".gitignore",
"LICENSE",
"README.textile",
"Rakefile",
"VERSION.yml",
"history.txt",
"lib/subdomain_routes.rb",
"lib/subdomain_routes/assertions.rb",
"lib/subdomain_routes/config.rb",
"lib/subdomain_routes/mapper.rb",
"lib/subdomain_routes/request.rb",
"lib/subdomain_routes/resources.rb",
"lib/subdomain_routes/routes.rb",
"lib/subdomain_routes/split_host.rb",
"lib/subdomain_routes/url_writer.rb",
"lib/subdomain_routes/validations.rb",
"rails/init.rb",
"spec/assertions_spec.rb",
"spec/extraction_spec.rb",
"spec/mapping_spec.rb",
"spec/recognition_spec.rb",
"spec/resources_spec.rb",
"spec/routes_spec.rb",
"spec/spec_helper.rb",
"spec/test_unit_matcher.rb",
"spec/url_writing_spec.rb",
"spec/validations_spec.rb",
"subdomain_routes.gemspec"
]
s.homepage = %q{http://github.com/mholling/subdomain_routes}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.5}
s.summary = %q{A Rails library for incorporating subdomains into route generation and recognition.}
s.test_files = [
"spec/assertions_spec.rb",
"spec/extraction_spec.rb",
"spec/mapping_spec.rb",
"spec/recognition_spec.rb",
"spec/resources_spec.rb",
"spec/routes_spec.rb",
"spec/spec_helper.rb",
"spec/test_unit_matcher.rb",
"spec/url_writing_spec.rb",
"spec/validations_spec.rb"
]
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<actionpack>, [">= 2.2.1"])
else
s.add_dependency(%q<actionpack>, [">= 2.2.1"])
end
else
s.add_dependency(%q<actionpack>, [">= 2.2.1"])
end
end