mbleigh-subdomain-fu 0.3.0 → 0.4.0
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.
- data/Rakefile +1 -0
- data/VERSION.yml +1 -1
- data/lib/subdomain_fu/url_rewriter.rb +1 -1
- metadata +8 -10
data/Rakefile
CHANGED
|
@@ -14,6 +14,7 @@ begin
|
|
|
14
14
|
require 'jeweler'
|
|
15
15
|
Jeweler::Tasks.new do |gemspec|
|
|
16
16
|
gemspec.name = "subdomain-fu"
|
|
17
|
+
gemspec.rubyforge_project = 'subdomain-fu'
|
|
17
18
|
gemspec.summary = "SubdomainFu is a Rails plugin that provides subdomain routing and URL writing helpers."
|
|
18
19
|
gemspec.email = "michael@intridea.com"
|
|
19
20
|
gemspec.homepage = "http://github.com/mbleigh/subdomain-fu"
|
data/VERSION.yml
CHANGED
|
@@ -19,7 +19,7 @@ module ActionController
|
|
|
19
19
|
if SubdomainFu.needs_rewrite?(options[:subdomain], (options[:host] || @request.host_with_port)) || options[:only_path] == false
|
|
20
20
|
options[:only_path] = false if SubdomainFu.override_only_path?
|
|
21
21
|
options[:host] = SubdomainFu.rewrite_host_for_subdomains(options.delete(:subdomain), options[:host] || @request.host_with_port)
|
|
22
|
-
puts "options[:host]: #{options[:host].inspect}"
|
|
22
|
+
# puts "options[:host]: #{options[:host].inspect}"
|
|
23
23
|
else
|
|
24
24
|
options.delete(:subdomain)
|
|
25
25
|
end
|
metadata
CHANGED
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mbleigh-subdomain-fu
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Bleigh
|
|
8
|
-
- Peter Boling
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
11
|
|
|
13
|
-
date: 2009-08-
|
|
12
|
+
date: 2009-08-31 00:00:00 -07:00
|
|
14
13
|
default_executable:
|
|
15
14
|
dependencies: []
|
|
16
15
|
|
|
17
16
|
description: SubdomainFu is a Rails plugin to provide all of the basic functionality necessary to handle multiple subdomain applications (such as Basecamp-esque subdomain accounts and more).
|
|
18
|
-
email: michael@intridea.com
|
|
17
|
+
email: michael@intridea.com
|
|
19
18
|
executables: []
|
|
20
19
|
|
|
21
20
|
extensions: []
|
|
22
21
|
|
|
23
|
-
extra_rdoc_files:
|
|
24
|
-
|
|
22
|
+
extra_rdoc_files:
|
|
23
|
+
- README.rdoc
|
|
25
24
|
files:
|
|
26
25
|
- CHANGELOG
|
|
27
26
|
- MIT-LICENSE
|
|
@@ -36,9 +35,8 @@ files:
|
|
|
36
35
|
- spec/spec_helper.rb
|
|
37
36
|
- spec/subdomain_fu_spec.rb
|
|
38
37
|
- spec/url_rewriter_spec.rb
|
|
39
|
-
has_rdoc:
|
|
38
|
+
has_rdoc: false
|
|
40
39
|
homepage: http://github.com/mbleigh/subdomain-fu
|
|
41
|
-
licenses:
|
|
42
40
|
post_install_message:
|
|
43
41
|
rdoc_options:
|
|
44
42
|
- --charset=UTF-8
|
|
@@ -58,8 +56,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
58
56
|
version:
|
|
59
57
|
requirements: []
|
|
60
58
|
|
|
61
|
-
rubyforge_project:
|
|
62
|
-
rubygems_version: 1.
|
|
59
|
+
rubyforge_project: subdomain-fu
|
|
60
|
+
rubygems_version: 1.2.0
|
|
63
61
|
signing_key:
|
|
64
62
|
specification_version: 3
|
|
65
63
|
summary: SubdomainFu is a Rails plugin that provides subdomain routing and URL writing helpers.
|