eivo-rails-api 0.1.7 → 0.1.8
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 +4 -4
- data/README.md +0 -4
- data/eivo-rails-api.gemspec +1 -1
- data/lib/eivo-rails-api/environments/production.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b151f1685a6a822253bd5699d7ebe9b8256d5de227880653506d1295891844e8
|
4
|
+
data.tar.gz: 71ac79134f50734c98718bc703d50975c2c13ec41c6889afded36602eafa1cab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
data/eivo-rails-api.gemspec
CHANGED
@@ -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
|
-
|
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.
|
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-
|
11
|
+
date: 2020-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|