startback 0.18.2 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/startback/audit/tracer.rb +0 -1
- data/lib/startback/support/log_formatter.rb +2 -2
- data/lib/startback/version.rb +2 -2
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d8442d4dcacbab7c562a5656fce452ecb45907458cba4dd88e617ec56007dfd
|
4
|
+
data.tar.gz: c01bfdc67f1dc66cf6e0e4173495b5102623b5a5dce5e9023d616432ecbe042f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02a69c56aa4ca38c959e5879de04045576fa992e281b398a71e08478919ff7a97f6d85e083259d540e4e555d095158c131867d7466ef923eabc8a3924b4d2cb2
|
7
|
+
data.tar.gz: b9aadd2aaf265655d398e112775384da9f52c8a058830cffcbf93f69f2cd13312710fbef91e64c9c5ac20d1f502195627022b405616dd30092ced479d9d117b1
|
@@ -8,7 +8,7 @@ module Startback
|
|
8
8
|
|
9
9
|
def initialize(options = {})
|
10
10
|
@options = DEFAULT_OPTIONS.merge(options)
|
11
|
-
@options[:pretty_print]
|
11
|
+
@options[:pretty_print] = auto_pretty_print unless @options.has_key?(:pretty_print)
|
12
12
|
end
|
13
13
|
|
14
14
|
def pretty_print?
|
@@ -49,7 +49,7 @@ module Startback
|
|
49
49
|
private
|
50
50
|
|
51
51
|
def auto_pretty_print
|
52
|
-
ENV['RACK_ENV']
|
52
|
+
ENV['RACK_ENV'] == 'development'
|
53
53
|
end
|
54
54
|
|
55
55
|
end # class LogFormatter
|
data/lib/startback/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: startback
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bernard Lambeau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -56,20 +56,20 @@ dependencies:
|
|
56
56
|
requirements:
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: 0.
|
59
|
+
version: 0.24.0
|
60
60
|
- - "<"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '0.
|
62
|
+
version: '0.25'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.
|
69
|
+
version: 0.24.0
|
70
70
|
- - "<"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '0.
|
72
|
+
version: '0.25'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: rake
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,20 +130,20 @@ dependencies:
|
|
130
130
|
requirements:
|
131
131
|
- - ">="
|
132
132
|
- !ruby/object:Gem::Version
|
133
|
-
version: '0.
|
133
|
+
version: '0.12'
|
134
134
|
- - "<"
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version: '0.
|
136
|
+
version: '0.13'
|
137
137
|
type: :runtime
|
138
138
|
prerelease: false
|
139
139
|
version_requirements: !ruby/object:Gem::Requirement
|
140
140
|
requirements:
|
141
141
|
- - ">="
|
142
142
|
- !ruby/object:Gem::Version
|
143
|
-
version: '0.
|
143
|
+
version: '0.12'
|
144
144
|
- - "<"
|
145
145
|
- !ruby/object:Gem::Version
|
146
|
-
version: '0.
|
146
|
+
version: '0.13'
|
147
147
|
- !ruby/object:Gem::Dependency
|
148
148
|
name: path
|
149
149
|
requirement: !ruby/object:Gem::Requirement
|