eivo-rails-api 0.0.2 → 0.0.3

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: d8700f8ec72ea1b3ddddad5d2da659f13bd613a1
4
- data.tar.gz: eea18e182e0e9a5a9efc46799767fc35b848b266
3
+ metadata.gz: 6cf5286bf756614315d0ec238e8978617721f77c
4
+ data.tar.gz: 604629d23ea52bd9cbbf60eb3a4184fd86f1a5d2
5
5
  SHA512:
6
- metadata.gz: 2a78aed2c9562ff5b9a0243c0c0c4fb13cae40db40d50c5761e91ad8cbf46ea65511008373434c8622b066b536e0776a68da90c608d2b4a5c17f6637edcf818e
7
- data.tar.gz: 4012f337bd6a831071af43c228e4db62d3aa68541ce317470088fd3948cfd1f2300b2d83da920df92a620a83cc2f5812c60c73bb09902056476bdea834c4bed6
6
+ metadata.gz: d59d782213d6429eb699a92f002c10f3c888f22b0016c73416711d955ebf897f07ddd0cd35a27b538c34976e7f9729f982cddcbaada942a677f57c00fa22cc8f
7
+ data.tar.gz: e30eb83695e71a2dadc1dc440e0304be3ca59a686665b4b53b6e97c05302bfa683ea4c91ea41df53c8b7368085ab798008f3f54011e5f2a1e910bd70628f1b76
data/README.md CHANGED
@@ -37,6 +37,10 @@ sentry:
37
37
  dsn: ""
38
38
  ```
39
39
 
40
+ ### Warning
41
+
42
+ SSL / TLS must be managed by the web server (nginx), don't enable `force_ssl` option.
43
+
40
44
  ## License
41
45
 
42
46
  This project is released under the MIT license. See the LICENSE file for more info.
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'eivo-rails-api'
5
- spec.version = '0.0.2'
5
+ spec.version = '0.0.3'
6
6
  spec.authors = ['Jonathan VUKOVICH-TRIBOUHARET']
7
7
  spec.email = ['jonathan@eivo.co']
8
8
 
@@ -35,7 +35,7 @@ module EIVO
35
35
  config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
36
36
 
37
37
  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
38
- config.force_ssl = true
38
+ # config.force_ssl = true
39
39
 
40
40
  # Use the lowest log level to ensure availability of diagnostic information
41
41
  # when problems arise.
@@ -64,11 +64,13 @@ EOF
64
64
 
65
65
  header_production = <<-'EOF'
66
66
  #!/usr/bin/env bash
67
+ export RACK_ENV="production"
67
68
  export RAILS_ENV="production"
68
69
 
69
70
  EOF
70
71
  header_staging = <<-'EOF'
71
72
  #!/usr/bin/env bash
73
+ export RACK_ENV="staging"
72
74
  export RAILS_ENV="staging"
73
75
 
74
76
  EOF
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.0.2
4
+ version: 0.0.3
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: 2019-06-12 00:00:00.000000000 Z
11
+ date: 2019-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor