istox 0.1.154.1 → 0.1.154.2

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: 9bd9cd2319c3fda346a661d47562fe8c6357051aa172654df919c2336f67a6ae
4
- data.tar.gz: e90f9d4f8739c446474d2a03d5efd7885b7260d8a5bc26660cf4017598f417dd
3
+ metadata.gz: dc27873608ff702f609c372920ae7fe0f887c32f7379113c2e22dd0cd1e27d70
4
+ data.tar.gz: 9517caed4f791e620781f726fdd4f1952c9b06949d03a681857d185408e757a1
5
5
  SHA512:
6
- metadata.gz: 866707f425bdc2587934be4f966ee6fc3a686d0db4bd87da43efc4074d731c802f558bb359a828554737df35e0f3290af03bc9493dfa462cb79529680a870860
7
- data.tar.gz: 396d597129324b58645a5f6fb23b69411d1639b44aedfa949459e7d100e47c4d72e911151b7f78a9a1d080bb6c511f317e0e803c6b24e70fe5b3ae93161cbed7
6
+ metadata.gz: 71fe3e68f49caa983c607952552314abc2b40437a4d6b3f4a51fc82135502ae97d5f289db292b1cff2f25761058d9da6f57cf1bf03222ac2ecaf97d949475a1d
7
+ data.tar.gz: c564f7093ca3484d6285cf4c77cd98569b5b99f44c27713a127c4e1c4995f37f807ef8d0d8acf2799b06c951bbc05a0625a90d519e5d20ce7c72fa2a4fc21df6
@@ -6,7 +6,7 @@ module Istox
6
6
  return @logger if @logger.present?
7
7
 
8
8
  @logger = ::Ougai::Logger.new(STDOUT)
9
- @logger.formatter = ::Ougai::Formatters::Readable.new unless !defined?(Rails) || Rails.env.production?
9
+ @logger.formatter = ::Ougai::Formatters::Readable.new unless ENV.fetch('RAILS_ENV','development') == 'production'|| (defined?(Rails) && Rails.env.production?)
10
10
 
11
11
  @logger
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module Istox
2
- VERSION = '0.1.154.1'.freeze
2
+ VERSION = '0.1.154.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: istox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.154.1
4
+ version: 0.1.154.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siong Leng
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-10 00:00:00.000000000 Z
11
+ date: 2020-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: amazing_print