eivo-rails-api 0.1.7 → 0.1.8

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
  SHA256:
3
- metadata.gz: 68cf7500268c801629af5a8c10222713fab22d99520b5179ec646a57bf64bddc
4
- data.tar.gz: 8aa67940587d8d536f35f430d064070f14aabd66a67eac9233d29c5e07184d3c
3
+ metadata.gz: b151f1685a6a822253bd5699d7ebe9b8256d5de227880653506d1295891844e8
4
+ data.tar.gz: 71ac79134f50734c98718bc703d50975c2c13ec41c6889afded36602eafa1cab
5
5
  SHA512:
6
- metadata.gz: 2446b288dfb42d01ddb5f16d07ce53cafa13aaae22129980b03620e26a4d443f20b453096badf308e129dc99f4023f628a072cde779b3536e0130ff9e3382fb8
7
- data.tar.gz: 8bf0c5947b598f629eb5a1d6089d6d516f9ab2ed4f31b0e9f52a0175fc8c351663f0a7a715979f7b1a7aed08a4659e179cc33db1516483be207bbed3082a59ad
6
+ metadata.gz: f4b091e17499e668869ee5f49d57c9f91a4140253717e13430d66e34716d236fe8c509cb169b8f6fb2d89ee9cc74bf866db32463974202e3eb779bde49ae52f0
7
+ data.tar.gz: 5e6babfd72c89b41d7058405ce30c8dcbbaa40fb692aa314430265fd9ec6bb50a1599232a0d318b889ef8dd54d100b85b28eb4ef1c2d2d013940707cec22efb1
data/README.md CHANGED
@@ -37,10 +37,6 @@ sentry:
37
37
  dsn: ""
38
38
  ```
39
39
 
40
- ### Warning
41
-
42
- `force_ssl` option is not enabled, for performance reasons SSL / TLS should be managed by the web server (nginx, Apache).
43
-
44
40
  ## License
45
41
 
46
42
  This project is released under the MIT license. See the LICENSE file for more info.
@@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'eivo-rails-api'
7
- spec.version = '0.1.7'
7
+ spec.version = '0.1.8'
8
8
  spec.authors = ['Jonathan VUKOVICH-TRIBOUHARET']
9
9
  spec.email = ['jonathan@eivo.co']
10
10
 
@@ -34,7 +34,8 @@ module EIVO
34
34
  config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
35
35
 
36
36
  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
37
- # config.force_ssl = true
37
+ config.force_ssl = true
38
+ config.ssl_options = { redirect: { exclude: -> request { request.path == '/status' } } }
38
39
 
39
40
  # Use the lowest log level to ensure availability of diagnostic information
40
41
  # when problems arise.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eivo-rails-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan VUKOVICH-TRIBOUHARET
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-01 00:00:00.000000000 Z
11
+ date: 2020-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor