log_toolbox 1.3.5 → 1.3.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/CHANGELOG.md +21 -1
- data/Gemfile +6 -0
- data/Gemfile.lock +132 -114
- data/bitbucket-pipelines.yml +5 -6
- data/lib/log_toolbox/log_util.rb +6 -2
- data/lib/log_toolbox/lograge_config.rb +9 -9
- data/lib/log_toolbox/version.rb +1 -1
- data/log_toolbox.gemspec +2 -14
- metadata +6 -133
- data/.travis.yml +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f27fcc65c41352401e136d50daca044e1500198ecbd667b4e618c42c85dc974c
|
4
|
+
data.tar.gz: bdbf9b6185925f4d1ff51d0619fd8bca51d4d4dfb9e572a46548e134424cf4f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2593731240abb8e825b3cd5f8416514bcab8e97234a78075c47dc1742550f18babbaf633d42a6cbe48c6c31ffa415736ad44d8c2842923aa2204421544e1953e
|
7
|
+
data.tar.gz: fdf7bee94293f3e4e4f9ad8bc9ed42f3dd71c124e9b9652f10f1a929f063b6c0af97536f0f8a87c9359c70d1fd2c16dc48a12ba157c25de95e7a0f71297bcf64
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,27 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
-
## [
|
7
|
+
## [1.3.9] - 2021-01-15
|
8
|
+
### CHANGED
|
9
|
+
- Update gems
|
10
|
+
- Update gemspec
|
11
|
+
- Update pipeline
|
12
|
+
- Simplify some tests
|
13
|
+
|
14
|
+
### FIXED
|
15
|
+
- Fixed service_name custom option.
|
16
|
+
|
17
|
+
## [1.3.8] - 2020-12-10
|
18
|
+
### FIXED
|
19
|
+
- Fixed LogStash configs
|
20
|
+
|
21
|
+
## [1.3.7] - 2020-12-08
|
22
|
+
### Added
|
23
|
+
- Configure log output stdout to development and test environment
|
24
|
+
|
25
|
+
## [1.3.6] - 2020-12-08
|
26
|
+
### FIXED
|
27
|
+
- Added buffer_max_items and buffer_max_interval into LogStash config
|
8
28
|
|
9
29
|
## [1.3.5] - 2020-12-04
|
10
30
|
### FIXED
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,72 +1,86 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
log_toolbox (1.3.
|
4
|
+
log_toolbox (1.3.10)
|
5
5
|
lograge (>= 0.11.1)
|
6
6
|
logstash-event (>= 1.2.02)
|
7
7
|
logstash-logger (>= 0.26.1)
|
8
|
-
rails (>=
|
9
|
-
rspec (>= 3.0.0)
|
10
|
-
rspec-rails
|
8
|
+
rails (>= 5.0)
|
11
9
|
|
12
10
|
GEM
|
13
11
|
remote: https://rubygems.org/
|
14
12
|
specs:
|
15
|
-
actioncable (
|
16
|
-
actionpack (=
|
13
|
+
actioncable (6.1.1)
|
14
|
+
actionpack (= 6.1.1)
|
15
|
+
activesupport (= 6.1.1)
|
17
16
|
nio4r (~> 2.0)
|
18
17
|
websocket-driver (>= 0.6.1)
|
19
|
-
|
20
|
-
actionpack (=
|
21
|
-
|
22
|
-
|
18
|
+
actionmailbox (6.1.1)
|
19
|
+
actionpack (= 6.1.1)
|
20
|
+
activejob (= 6.1.1)
|
21
|
+
activerecord (= 6.1.1)
|
22
|
+
activestorage (= 6.1.1)
|
23
|
+
activesupport (= 6.1.1)
|
24
|
+
mail (>= 2.7.1)
|
25
|
+
actionmailer (6.1.1)
|
26
|
+
actionpack (= 6.1.1)
|
27
|
+
actionview (= 6.1.1)
|
28
|
+
activejob (= 6.1.1)
|
29
|
+
activesupport (= 6.1.1)
|
23
30
|
mail (~> 2.5, >= 2.5.4)
|
24
31
|
rails-dom-testing (~> 2.0)
|
25
|
-
actionpack (
|
26
|
-
actionview (=
|
27
|
-
activesupport (=
|
28
|
-
rack (~> 2.0)
|
32
|
+
actionpack (6.1.1)
|
33
|
+
actionview (= 6.1.1)
|
34
|
+
activesupport (= 6.1.1)
|
35
|
+
rack (~> 2.0, >= 2.0.9)
|
29
36
|
rack-test (>= 0.6.3)
|
30
37
|
rails-dom-testing (~> 2.0)
|
31
|
-
rails-html-sanitizer (~> 1.0, >= 1.0
|
32
|
-
|
33
|
-
|
38
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
39
|
+
actiontext (6.1.1)
|
40
|
+
actionpack (= 6.1.1)
|
41
|
+
activerecord (= 6.1.1)
|
42
|
+
activestorage (= 6.1.1)
|
43
|
+
activesupport (= 6.1.1)
|
44
|
+
nokogiri (>= 1.8.5)
|
45
|
+
actionview (6.1.1)
|
46
|
+
activesupport (= 6.1.1)
|
34
47
|
builder (~> 3.1)
|
35
48
|
erubi (~> 1.4)
|
36
49
|
rails-dom-testing (~> 2.0)
|
37
|
-
rails-html-sanitizer (~> 1.
|
38
|
-
activejob (
|
39
|
-
activesupport (=
|
50
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
51
|
+
activejob (6.1.1)
|
52
|
+
activesupport (= 6.1.1)
|
40
53
|
globalid (>= 0.3.6)
|
41
|
-
activemodel (
|
42
|
-
activesupport (=
|
43
|
-
activerecord (
|
44
|
-
activemodel (=
|
45
|
-
activesupport (=
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
activerecord (=
|
54
|
+
activemodel (6.1.1)
|
55
|
+
activesupport (= 6.1.1)
|
56
|
+
activerecord (6.1.1)
|
57
|
+
activemodel (= 6.1.1)
|
58
|
+
activesupport (= 6.1.1)
|
59
|
+
activestorage (6.1.1)
|
60
|
+
actionpack (= 6.1.1)
|
61
|
+
activejob (= 6.1.1)
|
62
|
+
activerecord (= 6.1.1)
|
63
|
+
activesupport (= 6.1.1)
|
50
64
|
marcel (~> 0.3.1)
|
51
|
-
|
65
|
+
mimemagic (~> 0.3.2)
|
66
|
+
activesupport (6.1.1)
|
52
67
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
53
|
-
i18n (>=
|
54
|
-
minitest (
|
55
|
-
tzinfo (~>
|
56
|
-
|
57
|
-
ast (2.4.
|
58
|
-
builder (3.2.
|
59
|
-
byebug (11.
|
60
|
-
coderay (1.1.
|
61
|
-
concurrent-ruby (1.1.
|
62
|
-
crass (1.0.
|
63
|
-
diff-lcs (1.
|
64
|
-
erubi (1.
|
68
|
+
i18n (>= 1.6, < 2)
|
69
|
+
minitest (>= 5.1)
|
70
|
+
tzinfo (~> 2.0)
|
71
|
+
zeitwerk (~> 2.3)
|
72
|
+
ast (2.4.2)
|
73
|
+
builder (3.2.4)
|
74
|
+
byebug (11.1.3)
|
75
|
+
coderay (1.1.3)
|
76
|
+
concurrent-ruby (1.1.8)
|
77
|
+
crass (1.0.6)
|
78
|
+
diff-lcs (1.4.4)
|
79
|
+
erubi (1.10.0)
|
65
80
|
globalid (0.4.2)
|
66
81
|
activesupport (>= 4.2.0)
|
67
|
-
i18n (1.
|
82
|
+
i18n (1.8.7)
|
68
83
|
concurrent-ruby (~> 1.0)
|
69
|
-
jaro_winkler (1.5.2)
|
70
84
|
lograge (0.11.2)
|
71
85
|
actionpack (>= 4)
|
72
86
|
activesupport (>= 4)
|
@@ -75,92 +89,98 @@ GEM
|
|
75
89
|
logstash-event (1.2.02)
|
76
90
|
logstash-logger (0.26.1)
|
77
91
|
logstash-event (~> 1.2)
|
78
|
-
loofah (2.
|
92
|
+
loofah (2.9.0)
|
79
93
|
crass (~> 1.0.2)
|
80
94
|
nokogiri (>= 1.5.9)
|
81
95
|
mail (2.7.1)
|
82
96
|
mini_mime (>= 0.1.1)
|
83
97
|
marcel (0.3.3)
|
84
98
|
mimemagic (~> 0.3.2)
|
85
|
-
method_source (0.
|
99
|
+
method_source (1.0.0)
|
86
100
|
mimemagic (0.3.5)
|
87
101
|
mini_mime (1.0.2)
|
88
|
-
mini_portile2 (2.
|
89
|
-
minitest (5.
|
102
|
+
mini_portile2 (2.5.0)
|
103
|
+
minitest (5.14.3)
|
90
104
|
nio4r (2.5.4)
|
91
|
-
nokogiri (1.
|
92
|
-
mini_portile2 (~> 2.
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
105
|
+
nokogiri (1.11.1)
|
106
|
+
mini_portile2 (~> 2.5.0)
|
107
|
+
racc (~> 1.4)
|
108
|
+
parallel (1.20.1)
|
109
|
+
parser (3.0.0.0)
|
110
|
+
ast (~> 2.4.1)
|
111
|
+
pry (0.13.1)
|
112
|
+
coderay (~> 1.1)
|
113
|
+
method_source (~> 1.0)
|
114
|
+
pry-byebug (3.9.0)
|
100
115
|
byebug (~> 11.0)
|
101
|
-
pry (~> 0.
|
102
|
-
|
116
|
+
pry (~> 0.13.0)
|
117
|
+
racc (1.5.2)
|
118
|
+
rack (2.2.3)
|
103
119
|
rack-test (1.1.0)
|
104
120
|
rack (>= 1.0, < 3)
|
105
|
-
rails (
|
106
|
-
actioncable (=
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
121
|
+
rails (6.1.1)
|
122
|
+
actioncable (= 6.1.1)
|
123
|
+
actionmailbox (= 6.1.1)
|
124
|
+
actionmailer (= 6.1.1)
|
125
|
+
actionpack (= 6.1.1)
|
126
|
+
actiontext (= 6.1.1)
|
127
|
+
actionview (= 6.1.1)
|
128
|
+
activejob (= 6.1.1)
|
129
|
+
activemodel (= 6.1.1)
|
130
|
+
activerecord (= 6.1.1)
|
131
|
+
activestorage (= 6.1.1)
|
132
|
+
activesupport (= 6.1.1)
|
133
|
+
bundler (>= 1.15.0)
|
134
|
+
railties (= 6.1.1)
|
117
135
|
sprockets-rails (>= 2.0.0)
|
118
136
|
rails-dom-testing (2.0.3)
|
119
137
|
activesupport (>= 4.2.0)
|
120
138
|
nokogiri (>= 1.6)
|
121
|
-
rails-html-sanitizer (1.0
|
122
|
-
loofah (~> 2.
|
123
|
-
railties (
|
124
|
-
actionpack (=
|
125
|
-
activesupport (=
|
139
|
+
rails-html-sanitizer (1.3.0)
|
140
|
+
loofah (~> 2.3)
|
141
|
+
railties (6.1.1)
|
142
|
+
actionpack (= 6.1.1)
|
143
|
+
activesupport (= 6.1.1)
|
126
144
|
method_source
|
127
145
|
rake (>= 0.8.7)
|
128
|
-
thor (
|
146
|
+
thor (~> 1.0)
|
129
147
|
rainbow (3.0.0)
|
130
|
-
rake (
|
148
|
+
rake (13.0.3)
|
149
|
+
regexp_parser (2.0.3)
|
131
150
|
request_store (1.5.0)
|
132
151
|
rack (>= 1.4)
|
133
|
-
|
134
|
-
|
135
|
-
rspec-
|
136
|
-
|
137
|
-
rspec-core (3.8.2)
|
138
|
-
rspec-support (~> 3.8.0)
|
139
|
-
rspec-expectations (3.8.4)
|
152
|
+
rexml (3.2.4)
|
153
|
+
rspec-core (3.10.1)
|
154
|
+
rspec-support (~> 3.10.0)
|
155
|
+
rspec-expectations (3.10.1)
|
140
156
|
diff-lcs (>= 1.2.0, < 2.0)
|
141
|
-
rspec-support (~> 3.
|
142
|
-
rspec-mocks (3.
|
157
|
+
rspec-support (~> 3.10.0)
|
158
|
+
rspec-mocks (3.10.2)
|
143
159
|
diff-lcs (>= 1.2.0, < 2.0)
|
144
|
-
rspec-support (~> 3.
|
145
|
-
rspec-rails (
|
146
|
-
actionpack (>=
|
147
|
-
activesupport (>=
|
148
|
-
railties (>=
|
149
|
-
rspec-core (~> 3.
|
150
|
-
rspec-expectations (~> 3.
|
151
|
-
rspec-mocks (~> 3.
|
152
|
-
rspec-support (~> 3.
|
153
|
-
rspec-support (3.
|
154
|
-
rubocop (
|
155
|
-
jaro_winkler (~> 1.5.1)
|
160
|
+
rspec-support (~> 3.10.0)
|
161
|
+
rspec-rails (4.0.2)
|
162
|
+
actionpack (>= 4.2)
|
163
|
+
activesupport (>= 4.2)
|
164
|
+
railties (>= 4.2)
|
165
|
+
rspec-core (~> 3.10)
|
166
|
+
rspec-expectations (~> 3.10)
|
167
|
+
rspec-mocks (~> 3.10)
|
168
|
+
rspec-support (~> 3.10)
|
169
|
+
rspec-support (3.10.2)
|
170
|
+
rubocop (1.9.0)
|
156
171
|
parallel (~> 1.10)
|
157
|
-
parser (>=
|
172
|
+
parser (>= 3.0.0.0)
|
158
173
|
rainbow (>= 2.2.2, < 4.0)
|
174
|
+
regexp_parser (>= 1.8, < 3.0)
|
175
|
+
rexml
|
176
|
+
rubocop-ast (>= 1.2.0, < 2.0)
|
159
177
|
ruby-progressbar (~> 1.7)
|
160
|
-
unicode-display_width (>= 1.4.0, <
|
161
|
-
|
162
|
-
|
163
|
-
|
178
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
179
|
+
rubocop-ast (1.4.1)
|
180
|
+
parser (>= 2.7.1.5)
|
181
|
+
ruby-progressbar (1.11.0)
|
182
|
+
shoulda-matchers (4.5.1)
|
183
|
+
activesupport (>= 4.2.0)
|
164
184
|
sprockets (4.0.2)
|
165
185
|
concurrent-ruby (~> 1.0)
|
166
186
|
rack (> 1, < 3)
|
@@ -168,29 +188,27 @@ GEM
|
|
168
188
|
actionpack (>= 4.0)
|
169
189
|
activesupport (>= 4.0)
|
170
190
|
sprockets (>= 3.0.0)
|
171
|
-
sqlite3 (1.4.
|
172
|
-
thor (
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
unicode-display_width (1.6.0)
|
191
|
+
sqlite3 (1.4.2)
|
192
|
+
thor (1.1.0)
|
193
|
+
tzinfo (2.0.4)
|
194
|
+
concurrent-ruby (~> 1.0)
|
195
|
+
unicode-display_width (2.0.0)
|
177
196
|
websocket-driver (0.7.3)
|
178
197
|
websocket-extensions (>= 0.1.0)
|
179
198
|
websocket-extensions (0.1.5)
|
199
|
+
zeitwerk (2.4.2)
|
180
200
|
|
181
201
|
PLATFORMS
|
182
202
|
ruby
|
183
203
|
|
184
204
|
DEPENDENCIES
|
185
|
-
bundler
|
186
205
|
log_toolbox!
|
187
|
-
pry
|
188
206
|
pry-byebug
|
189
207
|
rake
|
190
208
|
rspec-rails
|
191
209
|
rubocop
|
192
|
-
shoulda-matchers
|
210
|
+
shoulda-matchers
|
193
211
|
sqlite3
|
194
212
|
|
195
213
|
BUNDLED WITH
|
196
|
-
2.
|
214
|
+
2.2.3
|
data/bitbucket-pipelines.yml
CHANGED
@@ -1,15 +1,14 @@
|
|
1
|
-
image: ruby:2.
|
1
|
+
image: ruby:2.5.8
|
2
2
|
|
3
3
|
pipelines:
|
4
4
|
default:
|
5
5
|
- step:
|
6
6
|
script:
|
7
|
-
-
|
8
|
-
- gem
|
7
|
+
- wget -O .rubocop.yml $RUBOCOP_CONFIG_URL
|
8
|
+
- gem install bundler -v $(cat Gemfile.lock | awk '/BUNDLED WITH/{ getline;print; }')
|
9
9
|
- bundle install
|
10
|
-
-
|
11
|
-
-
|
12
|
-
- rubocop .
|
10
|
+
- rspec .
|
11
|
+
- rubocop -p .
|
13
12
|
|
14
13
|
branches:
|
15
14
|
master:
|
data/lib/log_toolbox/log_util.rb
CHANGED
@@ -3,11 +3,15 @@
|
|
3
3
|
module LogToolbox
|
4
4
|
class LogUtil
|
5
5
|
def self.system_version
|
6
|
-
|
6
|
+
Rails.root.join('.version').read.strip
|
7
7
|
end
|
8
8
|
|
9
9
|
def self.system_service_name
|
10
|
-
|
10
|
+
app_module.deconstantize.underscore
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.app_module
|
14
|
+
Rails.app_class.name
|
11
15
|
end
|
12
16
|
end
|
13
17
|
end
|
@@ -10,14 +10,14 @@ module LogToolbox
|
|
10
10
|
LOGSTASH_URL = ENV['LOGSTASH_URL']
|
11
11
|
LOGSTASH_PORT = ENV['LOGSTASH_PORT']
|
12
12
|
LOGSTASH_PROTOCOL = ENV.fetch('LOGSTASH_PROTOCOL', 'udp')
|
13
|
-
LOGSTASH_BUFFER_MAX_ITEMS = ENV
|
14
|
-
LOGSTASH_BUFFER_MAX_INTERVAL = ENV
|
13
|
+
LOGSTASH_BUFFER_MAX_ITEMS = ENV.fetch('LOGSTASH_BUFFER_MAX_ITEMS', 50).to_i
|
14
|
+
LOGSTASH_BUFFER_MAX_INTERVAL = ENV.fetch('LOGSTASH_BUFFER_MAX_INTERVAL', 5).to_i
|
15
15
|
|
16
16
|
def self.configure
|
17
17
|
Rails.application.configure do
|
18
18
|
log_config = LogToolbox::LogrageConfig.new(config)
|
19
19
|
log_config.configure_log_format
|
20
|
-
if ENV['RAILS_ENV']
|
20
|
+
if %w[development test].include?(ENV['RAILS_ENV'])
|
21
21
|
log_config.configure_log_output_stdout
|
22
22
|
else
|
23
23
|
log_config.configure_log_output_logstash
|
@@ -30,11 +30,11 @@ module LogToolbox
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def configure_log_output_logstash
|
33
|
-
config.
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
33
|
+
config.logstash.type = LOGSTASH_PROTOCOL
|
34
|
+
config.logstash.host = LOGSTASH_URL
|
35
|
+
config.logstash.port = LOGSTASH_PORT
|
36
|
+
config.logstash.buffer_max_items = LOGSTASH_BUFFER_MAX_ITEMS
|
37
|
+
config.logstash.buffer_max_interval = LOGSTASH_BUFFER_MAX_INTERVAL
|
38
38
|
end
|
39
39
|
|
40
40
|
def configure_log_output_stdout
|
@@ -56,7 +56,7 @@ module LogToolbox
|
|
56
56
|
event_at: event.payload[:event_at],
|
57
57
|
parameters: event.payload[:params].to_json,
|
58
58
|
level: 'INFO',
|
59
|
-
service_name: event.payload[:service_name],
|
59
|
+
service_name: event.payload[:service_name] || LogUtil.system_service_name,
|
60
60
|
version: event.payload[:version],
|
61
61
|
origin_ipv4: event.payload[:origin_ipv4],
|
62
62
|
destination_ipv4: event.payload[:destination_ipv4],
|
data/lib/log_toolbox/version.rb
CHANGED
data/log_toolbox.gemspec
CHANGED
@@ -4,14 +4,13 @@ lib = File.expand_path('lib', __dir__)
|
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
5
|
require 'log_toolbox/version'
|
6
6
|
|
7
|
-
# rubocop:disable Metrics/BlockLength
|
8
7
|
Gem::Specification.new do |spec|
|
9
8
|
spec.name = 'log_toolbox'
|
10
9
|
spec.version = LogToolbox::VERSION
|
11
10
|
spec.authors = ['Caio Almeida']
|
12
11
|
spec.email = ['cbalmeida@guide.com.br']
|
13
12
|
|
14
|
-
spec.required_ruby_version = '
|
13
|
+
spec.required_ruby_version = '~> 2.5.0'
|
15
14
|
spec.summary = 'Guide default gem for ruby application logging'
|
16
15
|
spec.homepage = 'http://bitbucket.org/guideinvestimentos/log_toolbox'
|
17
16
|
spec.license = 'Guide'
|
@@ -26,16 +25,5 @@ Gem::Specification.new do |spec|
|
|
26
25
|
spec.add_dependency 'lograge', '>= 0.11.1'
|
27
26
|
spec.add_dependency 'logstash-event', '>= 1.2.02'
|
28
27
|
spec.add_dependency 'logstash-logger', '>= 0.26.1'
|
29
|
-
spec.add_dependency 'rails',
|
30
|
-
spec.add_dependency 'rspec', '>= 3.0.0'
|
31
|
-
spec.add_dependency 'rspec-rails'
|
32
|
-
|
33
|
-
spec.add_development_dependency 'bundler'
|
34
|
-
spec.add_development_dependency 'pry'
|
35
|
-
spec.add_development_dependency 'pry-byebug'
|
36
|
-
spec.add_development_dependency 'rake'
|
37
|
-
spec.add_development_dependency 'rspec-rails'
|
38
|
-
spec.add_development_dependency 'rubocop'
|
39
|
-
spec.add_development_dependency 'shoulda-matchers', '~> 3.1'
|
28
|
+
spec.add_dependency 'rails', '>= 5.0'
|
40
29
|
end
|
41
|
-
# rubocop:enable Metrics/BlockLength
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: log_toolbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caio Almeida
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lograge
|
@@ -58,140 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '5.0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rspec
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 3.0.0
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 3.0.0
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rspec-rails
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: bundler
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: pry
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: pry-byebug
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: rake
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: rspec-rails
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - ">="
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - ">="
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: rubocop
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - ">="
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0'
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - ">="
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '0'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: shoulda-matchers
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - "~>"
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '3.1'
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - "~>"
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '3.1'
|
68
|
+
version: '5.0'
|
195
69
|
description:
|
196
70
|
email:
|
197
71
|
- cbalmeida@guide.com.br
|
@@ -201,7 +75,6 @@ extra_rdoc_files: []
|
|
201
75
|
files:
|
202
76
|
- ".gitignore"
|
203
77
|
- ".rspec"
|
204
|
-
- ".travis.yml"
|
205
78
|
- CHANGELOG.md
|
206
79
|
- Gemfile
|
207
80
|
- Gemfile.lock
|
@@ -232,9 +105,9 @@ require_paths:
|
|
232
105
|
- lib
|
233
106
|
required_ruby_version: !ruby/object:Gem::Requirement
|
234
107
|
requirements:
|
235
|
-
- - "
|
108
|
+
- - "~>"
|
236
109
|
- !ruby/object:Gem::Version
|
237
|
-
version: 2.
|
110
|
+
version: 2.5.0
|
238
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
112
|
requirements:
|
240
113
|
- - ">="
|