zuora_connect 1.4.10 → 1.4.11

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: 9ca4fb6f7069ee5f2e8f50f1533d82ec34dfaebb
4
- data.tar.gz: e28cee704c14817e36098c3de7dc0263577fa442
3
+ metadata.gz: 3f4b1475bae7eb44de5741f17f74c4e7ffa1518f
4
+ data.tar.gz: 499f9fc70af6c8ef8297fc0e1e6f2cb9964d172f
5
5
  SHA512:
6
- metadata.gz: 003c4ed3b50922af062dffb118c8bab2d0ddc4c8123e85b651a042be739445d42c33461e7bd014ac55b198d1ac7d659a205f8a8b1f8f976ef0dc46f3db35ed8b
7
- data.tar.gz: 3f0d45d18c3523c1a49ce27c57ad4aeee7bf0c3f952a08ed544ca339a449cab1a54de9ff60616dc7bfe47cf18db1df6088cf7f843018ba3eb736f2b62ba6a213
6
+ metadata.gz: ca9fd830b7e30a0572e59f280490ef3f8863e2071fcc3b4a43c770794c058d657c7c7018a10f2167a9950a9165624d4618041d37eacdb5ebaa70124227acaf83
7
+ data.tar.gz: 2ce517635d4ca784e7bc38b8e5c174f02640ec0c407e34f4ba9886264fabba559a3aad7fb7b52064d6b47fcc476be115ced3ac3e5959b7970ea914ea0c2cde6c
@@ -2,14 +2,16 @@ module ZuoraConnect
2
2
  class Railtie < Rails::Railtie
3
3
  config.before_initialize do
4
4
  version = Rails.version
5
- if version >= "5.0.0"
6
- ::Rails.configuration.public_file_server.enabled = true
7
- elsif version >= "4.2.0"
8
- ::Rails.configuration.serve_static_files = true
9
- else
10
- ::Rails.configuration.serve_static_assets = true
5
+ if Rails.env != 'development'
6
+ if version >= "5.0.0"
7
+ ::Rails.configuration.public_file_server.enabled = true
8
+ elsif version >= "4.2.0"
9
+ ::Rails.configuration.serve_static_files = true
10
+ else
11
+ ::Rails.configuration.serve_static_assets = true
12
+ end
13
+ ::Rails.configuration.action_dispatch.x_sendfile_header = nil
11
14
  end
12
- ::Rails.configuration.action_dispatch.x_sendfile_header = nil
13
15
  end
14
16
 
15
17
  initializer(:rails_stdout_logging, before: :initialize_logger) do
@@ -1,3 +1,3 @@
1
1
  module ZuoraConnect
2
- VERSION = "1.4.10"
2
+ VERSION = "1.4.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.10
4
+ version: 1.4.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team