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: 83c6f59eeb9497329d36939a320eb6aaf1c0f12f
4
- data.tar.gz: 8a9f1356111d079c839422be61f25d5ed3d08735
3
+ metadata.gz: 9544eab0a07ef610a71151cfc9090f503a11d089
4
+ data.tar.gz: 4b289ccb9ac854883d336cdb14e3d1b18350f7b4
5
5
  SHA512:
6
- metadata.gz: ccd2b2bc84ef5d7e82734ce9236153ed1ab570041a74a62c5b2d9511967a334f7aef159c1004ddccb8a1f501ef59a78570fc1d81886cd93cf7c59a104de414fc
7
- data.tar.gz: 23b73cddfa6cf529b53bbced8bb95be9efe779375f99fc067c9235cd29e782920a556413e57690e2bc99a35d70d4a40361f9206d7bb0bd0292c866bcde201752
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
@@ -1,3 +1,3 @@
1
1
  module MinimumViableProduct
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  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.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