rails_default_url_options 1.0.0 → 1.1.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.
|
@@ -31,7 +31,7 @@ unless defined?(DefaultUrlOptions)
|
|
|
31
31
|
DefaultUrlOptions = defined?(HashWithIndifferentAccess) ? HashWithIndifferentAccess.new : Hash.new
|
|
32
32
|
|
|
33
33
|
def DefaultUrlOptions.version
|
|
34
|
-
'1.
|
|
34
|
+
'1.1.0'
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
def DefaultUrlOptions.configure(request = {})
|
|
@@ -105,7 +105,7 @@ unless defined?(DefaultUrlOptions)
|
|
|
105
105
|
self[:host] = host.to_s.gsub(/^www\./, '')
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
-
keys.each{|key| delete(key)
|
|
108
|
+
keys.each{|key| delete(key) if self[key].nil?}
|
|
109
109
|
|
|
110
110
|
self
|
|
111
111
|
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification::new do |spec|
|
|
5
5
|
spec.name = "rails_default_url_options"
|
|
6
|
-
spec.version = "1.
|
|
6
|
+
spec.version = "1.1.0"
|
|
7
7
|
spec.platform = Gem::Platform::RUBY
|
|
8
8
|
spec.summary = "rails_default_url_options"
|
|
9
9
|
spec.description = "description: rails_default_url_options kicks the ass"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_default_url_options
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-02-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: ! 'description: rails_default_url_options kicks the ass'
|
|
15
15
|
email: ara.t.howard@gmail.com
|