minimum_viable_product 0.1.1 → 0.1.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9544eab0a07ef610a71151cfc9090f503a11d089
|
|
4
|
+
data.tar.gz: 4b289ccb9ac854883d336cdb14e3d1b18350f7b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6c1cb792fbcb3b28a5fbf74d19a21d87b7bddcbd8cf067d27e12f857ea1634bfb3ecac606af7c36d36812d7b060b4106223fd98ea649d3364c5a7be4afffcc41
|
|
7
|
+
data.tar.gz: 7b76ed47513e5cc1385c7cb8501ac2495fad26d0742adcac60f12c52854b1867c180ee77b804342c1735294755c6d84ff53d994abe2d35a5e8dbc1d200fc2388
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
_options = {}
|
|
2
|
+
_options[:protocol] = ENV['HOST_PROTOCOL'] || (ENV['FORCE_SSL'].to_b ? "https" : "http")
|
|
3
|
+
_options[:host] = ENV['HOST_DOMAIN']
|
|
4
|
+
_options[:port] = ENV['HOST_PORT']
|
|
5
|
+
|
|
6
|
+
Rails.application.routes.default_url_options = _options
|
|
7
|
+
MVP::Engine.routes.default_url_options = _options
|
|
@@ -26,12 +26,5 @@ module MinimumViableProduct
|
|
|
26
26
|
isolate_namespace MinimumViableProduct
|
|
27
27
|
config.autoload_paths << "#{Rails.root}/app"
|
|
28
28
|
config.autoload_paths << "#{Rails.root}/lib"
|
|
29
|
-
|
|
30
|
-
_options = {}
|
|
31
|
-
_options[:protocol] = ENV['HOST_PROTOCOL'] || (ENV['FORCE_SSL'].to_b ? "https" : "http")
|
|
32
|
-
_options[:host] = ENV['HOST_DOMAIN']
|
|
33
|
-
_options[:port] = ENV['HOST_PORT']
|
|
34
|
-
|
|
35
|
-
routes.default_url_options = _options
|
|
36
29
|
end
|
|
37
30
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: minimum_viable_product
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ian Hunter
|
|
@@ -475,6 +475,7 @@ files:
|
|
|
475
475
|
- config/initializers/iteration.rb
|
|
476
476
|
- config/initializers/project.rb
|
|
477
477
|
- config/initializers/rollbar.rb
|
|
478
|
+
- config/initializers/routing.rb
|
|
478
479
|
- config/initializers/segment.rb
|
|
479
480
|
- config/initializers/simple_form.rb
|
|
480
481
|
- config/initializers/simple_form_bootstrap.rb
|