spring_onion 1.0.4 → 1.0.5

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: 325954f6357509048bdbf57ac733617bdc0762d07e3e220daf15dbe38148b793
4
- data.tar.gz: 3883f9e7ea4a760efb8db2533fb75dc4750b7d4f0721e6528b33cc3d3c847684
3
+ metadata.gz: 639bf7cf4782c01ed75b4446250720807264d91e37584e19c5a4e82596c6735a
4
+ data.tar.gz: '0812c1365e66ea9f674fc5a8e32d3960ed9e84ebed6f95f24f3d1137ed56a19e'
5
5
  SHA512:
6
- metadata.gz: 7e94c491d1621b82f0956c63d72460e035f47d7bf71cf034516ef2f0be3757098de511d12ca703e70583eeb4757b8ad59d5327787ea64ad6d4bf3d0f1fa39cf0
7
- data.tar.gz: 820a0b5d10b006fbb42a31490dd64425b99c6d9ba81faa9808877c0ac874a8f2c3318db5277b80fecb9baf4afdc9bd3573f3029d6a08bea1f5df5c160e0522ca
6
+ metadata.gz: 948099cba36db08f3fc566fbe712600de78c6a85f5231ac91b84135daf477454496a5d1406b9cfe083021409112970461b7011b010c6bff4835d9a1df44647e5
7
+ data.tar.gz: f1b93d8b03884f85bfdb284c3a4af28713b65165654be8928595886085f7645f482fb2befd3e5cb11182864f61dce9e4b34f07862b43209907d6035bc9269fed
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- spring_onion (1.0.4)
4
+ spring_onion (1.0.5)
5
5
  activerecord
6
6
  coderay
7
7
  mysql2
@@ -67,7 +67,7 @@ module SpringOnion
67
67
 
68
68
  @trace_len = 3
69
69
  @json_pretty = (/\A(1|true)\z/i =~ ENV['SPRING_ONION_JSON_PRETTY'])
70
- @color = /\A(1|true)\z/i =~ ENV.fetch('SPRING_ONION_COLOR', $stdout.tty?.to_s)
70
+ @color = /\A(1|true)\z/i =~ ENV.fetch('SPRING_ONION_COLOR', @logger.instance_variable_get(:@logdev)&.dev&.tty?&.to_s)
71
71
 
72
72
  class << self
73
73
  attr_accessor :enabled,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SpringOnion
4
- VERSION = '1.0.4'
4
+ VERSION = '1.0.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spring_onion
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - winebarrel