minimum_viable_product 0.0.37 → 0.0.38

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97e113b5e1a77df682b4c1f4795214f81194f005
4
- data.tar.gz: 01f2cd54fe6f06b69d5ecb4075606a37a6dc3a6e
3
+ metadata.gz: 3afb924beba5700d2f714ecd1adb7edeb5e5ed17
4
+ data.tar.gz: d172243f65e1c3dd8e33b8424904d0ce80ccc587
5
5
  SHA512:
6
- metadata.gz: 52d11b894ce856b930cc8035f87ed98fe814045e9cd82936c7bdb716c11c440c1502cfba8034629c0e9d62c9c5722c31e5e549c1d7b1eaff0c99597dba0a7879
7
- data.tar.gz: d86fd88acad7702852d0cd6cffe928af7ef8a225af2499580c40f7e7148a908d14794a2036f1697d508d8205006e5a19283a0e3b9efd604910a267409f16f11f
6
+ metadata.gz: 593aa20efcee47324584ab136c70efb8b7c08ab2fb0b0fec421fcbd5ad2ce63785262d2c9a2b2ce0a6965614ecc110e03856a6e0c1b50de1321ec7af89e6c009
7
+ data.tar.gz: eb815a42724f3500b2afff60121fe5fb067d9f90d4d6c79d9310bc2f47c9581f3f7367ac5c8f1292774c9548ad8441be6053483b4c5c2fb82a70c495ab1b2e84
@@ -1,12 +1,14 @@
1
- case ENV['FORCE_SSL']
2
- when /t|true|yes|y|on/
3
- Rails.application.config.middleware.use SslEnforcerOnlyProtocol, :https_port => ENV['HOST_PORT']
4
- end
1
+ # case ENV['FORCE_SSL']
2
+ # when /t|true|yes|y|on/
3
+ # Rails.application.config.middleware.use SslEnforcerOnlyProtocol, :https_port => ENV['HOST_PORT']
4
+ # end
5
+ #
6
+ # BEGIN {
7
+ # class SslEnforcerOnlyProtocol < Rack::SslEnforcer
8
+ # def current_scheme
9
+ # @request.scheme == 'https'
10
+ # end
11
+ # end
12
+ # }
5
13
 
6
- BEGIN {
7
- class SslEnforcerOnlyProtocol < Rack::SslEnforcer
8
- def current_scheme
9
- @request.scheme == 'https'
10
- end
11
- end
12
- }
14
+ Rails.application.config.force_ssl = ENV['FORCE_SSL'].to_b
@@ -1,3 +1,3 @@
1
1
  module MinimumViableProduct
2
- VERSION = "0.0.37"
2
+ VERSION = "0.0.38"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimum_viable_product
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.37
4
+ version: 0.0.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Hunter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-19 00:00:00.000000000 Z
11
+ date: 2016-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: analytics-ruby