rails_default_url_options 1.2.0 → 1.3.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.3.0'
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
def DefaultUrlOptions.configure(request = {})
|
|
@@ -130,6 +130,13 @@ end
|
|
|
130
130
|
|
|
131
131
|
|
|
132
132
|
if defined?(Rails)
|
|
133
|
+
## sane defaults
|
|
134
|
+
#
|
|
135
|
+
DefaultUrlOptions.configure(
|
|
136
|
+
:host => '0.0.0.0',
|
|
137
|
+
:port => 3000
|
|
138
|
+
)
|
|
139
|
+
|
|
133
140
|
##
|
|
134
141
|
#
|
|
135
142
|
def DefaultUrlOptions.install_before_filter!
|
|
@@ -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.3.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.3.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-02-
|
|
12
|
+
date: 2012-02-28 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
|