log_toolbox 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ab0c74326566d3f63c41afe1b88201488141290e
4
+ data.tar.gz: e0808c1c4b47e113380cf9e2625d074e6ed10012
5
+ SHA512:
6
+ metadata.gz: a27847e65bc3f4a509c83d9f53bfbbe9c7dc68009f9ac0b9b9cf415d5cadb2e6ea08fb2ef965c8ac11d5d56c7ed327cb1f486376485c1ddbf778d58e383b3119
7
+ data.tar.gz: ea248ffec06a96789ace5d7918b4be20d3b103b210bb09ccc0659cd4fa7a0ecacc5d724b98986277da99c363ce5b95735ff3de9092b3f1ee44985638da3060de
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.5.0
7
+ before_install: gem install bundler -v 2.0.1
@@ -0,0 +1,8 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
+ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Released] - 2019-05-21
8
+
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in log_toolbox.gemspec
4
+ gemspec
@@ -0,0 +1,126 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ log_toolbox (1.0.0)
5
+ actionpack (>= 4.0.0)
6
+ activesupport (>= 4.0.0)
7
+ lograge (>= 0.11.1)
8
+ logstash-event (>= 1.2.02)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ actionpack (5.2.3)
14
+ actionview (= 5.2.3)
15
+ activesupport (= 5.2.3)
16
+ rack (~> 2.0)
17
+ rack-test (>= 0.6.3)
18
+ rails-dom-testing (~> 2.0)
19
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
20
+ actionview (5.2.3)
21
+ activesupport (= 5.2.3)
22
+ builder (~> 3.1)
23
+ erubi (~> 1.4)
24
+ rails-dom-testing (~> 2.0)
25
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
26
+ activesupport (5.2.3)
27
+ concurrent-ruby (~> 1.0, >= 1.0.2)
28
+ i18n (>= 0.7, < 2)
29
+ minitest (~> 5.1)
30
+ tzinfo (~> 1.1)
31
+ ast (2.4.0)
32
+ builder (3.2.3)
33
+ byebug (11.0.1)
34
+ coderay (1.1.2)
35
+ concurrent-ruby (1.1.5)
36
+ crass (1.0.4)
37
+ diff-lcs (1.3)
38
+ erubi (1.8.0)
39
+ i18n (1.6.0)
40
+ concurrent-ruby (~> 1.0)
41
+ jaro_winkler (1.5.2)
42
+ lograge (0.11.1)
43
+ actionpack (>= 4)
44
+ activesupport (>= 4)
45
+ railties (>= 4)
46
+ request_store (~> 1.0)
47
+ logstash-event (1.2.02)
48
+ loofah (2.2.3)
49
+ crass (~> 1.0.2)
50
+ nokogiri (>= 1.5.9)
51
+ method_source (0.9.2)
52
+ mini_portile2 (2.4.0)
53
+ minitest (5.11.3)
54
+ nokogiri (1.10.3)
55
+ mini_portile2 (~> 2.4.0)
56
+ parallel (1.17.0)
57
+ parser (2.6.3.0)
58
+ ast (~> 2.4.0)
59
+ pry (0.12.2)
60
+ coderay (~> 1.1.0)
61
+ method_source (~> 0.9.0)
62
+ pry-byebug (3.7.0)
63
+ byebug (~> 11.0)
64
+ pry (~> 0.10)
65
+ rack (2.0.7)
66
+ rack-test (1.1.0)
67
+ rack (>= 1.0, < 3)
68
+ rails-dom-testing (2.0.3)
69
+ activesupport (>= 4.2.0)
70
+ nokogiri (>= 1.6)
71
+ rails-html-sanitizer (1.0.4)
72
+ loofah (~> 2.2, >= 2.2.2)
73
+ railties (5.2.3)
74
+ actionpack (= 5.2.3)
75
+ activesupport (= 5.2.3)
76
+ method_source
77
+ rake (>= 0.8.7)
78
+ thor (>= 0.19.0, < 2.0)
79
+ rainbow (3.0.0)
80
+ rake (10.5.0)
81
+ request_store (1.4.1)
82
+ rack (>= 1.4)
83
+ rspec (3.8.0)
84
+ rspec-core (~> 3.8.0)
85
+ rspec-expectations (~> 3.8.0)
86
+ rspec-mocks (~> 3.8.0)
87
+ rspec-core (3.8.0)
88
+ rspec-support (~> 3.8.0)
89
+ rspec-expectations (3.8.3)
90
+ diff-lcs (>= 1.2.0, < 2.0)
91
+ rspec-support (~> 3.8.0)
92
+ rspec-mocks (3.8.0)
93
+ diff-lcs (>= 1.2.0, < 2.0)
94
+ rspec-support (~> 3.8.0)
95
+ rspec-support (3.8.0)
96
+ rubocop (0.68.1)
97
+ jaro_winkler (~> 1.5.1)
98
+ parallel (~> 1.10)
99
+ parser (>= 2.5, != 2.5.1.1)
100
+ rainbow (>= 2.2.2, < 4.0)
101
+ ruby-progressbar (~> 1.7)
102
+ unicode-display_width (>= 1.4.0, < 1.6)
103
+ ruby-progressbar (1.10.0)
104
+ shoulda-matchers (3.1.2)
105
+ activesupport (>= 4.0.0)
106
+ thor (0.20.3)
107
+ thread_safe (0.3.6)
108
+ tzinfo (1.2.5)
109
+ thread_safe (~> 0.1)
110
+ unicode-display_width (1.5.0)
111
+
112
+ PLATFORMS
113
+ ruby
114
+
115
+ DEPENDENCIES
116
+ bundler (~> 2.0)
117
+ log_toolbox!
118
+ pry
119
+ pry-byebug
120
+ rake (~> 10.0)
121
+ rspec (~> 3.0)
122
+ rubocop
123
+ shoulda-matchers (~> 3.1)
124
+
125
+ BUNDLED WITH
126
+ 2.0.1
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Caio Almeida
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,82 @@
1
+ # log_toolbox
2
+
3
+ Ruby gem for logging
4
+ =======
5
+ # LogToolbox
6
+
7
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/log_toolbox`. To experiment with that code, run `bin/console` for an interactive prompt.
8
+
9
+ TODO: Delete this and the text above, and describe your gem
10
+
11
+ ## Installation
12
+
13
+ Add this line to your application's Gemfile:
14
+
15
+ ```ruby
16
+ gem 'log_toolbox'
17
+ ```
18
+
19
+ And then execute:
20
+
21
+ $ bundle
22
+
23
+ Or install it yourself as:
24
+
25
+ $ gem install log_toolbox
26
+
27
+ ## Usage
28
+
29
+ Create a rails initializer 'config/initializers/lograge.rb' with content
30
+
31
+ ```ruby
32
+ LogToolbox::LogrageConfig.configure
33
+ ```
34
+
35
+ At your application_controller, include LogToolbox::LogPayload
36
+
37
+ ```ruby
38
+ class ApplicationController < ActionController::API
39
+ include LogToolbox::LogPayload
40
+ end
41
+ ```
42
+
43
+ Now your application log was converted to json pattern.
44
+
45
+ ### Log at controller
46
+
47
+ You can log additional informations on your controller with methods log_info,
48
+ log_warn, log_error and log_critical
49
+ example at your user_controller.rb
50
+
51
+ ```ruby
52
+ def index
53
+ log_info('Getting all users') # => {"id":null,"event_at":"2019-05-21 17:41:59 -0300","level":"INFO","service_name":"logging","version":"1.0.1","origin_ipv4":"127.0.0.1","destination_ipv4":"localhost","username":null,"message":"Getting all users"}
54
+
55
+ @users = User.all
56
+
57
+ render json: @users
58
+ end
59
+ ```
60
+
61
+ ### Log whatever you want
62
+
63
+ ```ruby
64
+ LogToolbox::LogSimple.log_info('system was here') # => {"event_at":"2019-05-21 17:41:59 -0300","level":"INFO","service_name":"logging","version":"1.0.1","message":"system was here"}
65
+ ```
66
+
67
+ Also you can log with same methods log_info, log_warn, log_error and log_critical
68
+
69
+
70
+ ## Development
71
+
72
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
73
+
74
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
75
+
76
+ ## Contributing
77
+
78
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/log_toolbox.
79
+
80
+ ## License
81
+
82
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "log_toolbox"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,20 @@
1
+ image: ruby:2.4.1
2
+
3
+ pipelines:
4
+ default:
5
+ - step:
6
+ script:
7
+ - git archive --remote=git@bitbucket.org:guideinvestimentos/rails_defaults.git HEAD .rubocop.yml | tar -x
8
+ - bundle install
9
+ - gem install rubocop
10
+ - rspec -fdoc
11
+ - rubocop .
12
+
13
+ branches:
14
+ master:
15
+ - step:
16
+ script:
17
+ - gem build log_toolbox.gemspec
18
+ - curl -u $RUBYGEMS_USERNAME:$RUBYGEMS_PASSWORD https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials
19
+ - chmod 0600 ~/.gem/credentials
20
+ - gem push $(ls *.gem)
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'log_toolbox/version'
4
+ require 'log_toolbox/lograge_config'
5
+ require 'log_toolbox/log_util'
6
+ require 'log_toolbox/log_helper'
7
+ require 'log_toolbox/log_payload'
8
+ require 'log_toolbox/log_simple'
9
+
10
+ module LogToolbox; end
@@ -0,0 +1,55 @@
1
+ # frozen_string_literal: true
2
+
3
+ module LogToolbox
4
+ module LogHelper
5
+ def log_critical(error, additional = {})
6
+ log_pattern(
7
+ 'fatal',
8
+ additional.merge(
9
+ message: error.try(:message),
10
+ exception_stack: error.try(:backtrace),
11
+ status: 500
12
+ )
13
+ )
14
+ end
15
+
16
+ def log_error(message, additional = {})
17
+ log_pattern('error', additional.merge(message: message))
18
+ end
19
+
20
+ def log_warn(message, additional = {})
21
+ log_pattern('warn', additional.merge(message: message))
22
+ end
23
+
24
+ def log_info(message, additional = {})
25
+ log_pattern('info', additional.merge(message: message))
26
+ end
27
+
28
+ private
29
+
30
+ # rubocop:disable Metrics/AbcSize,Metrics/MethodLength
31
+ def default_log(level)
32
+ level = 'CRITICAL' if level == 'FATAL'
33
+ {
34
+ id: request.headers['correlation_id'],
35
+ event_at: I18n.l(Time.now, format: :timestamp),
36
+ level: level,
37
+ service_name: LogUtil.system_service_name,
38
+ version: LogUtil.system_version,
39
+ origin_ipv4: request.env['REMOTE_ADDR'],
40
+ destination_ipv4: request.env['SERVER_NAME'],
41
+ username: request.headers['Authorization']
42
+ }
43
+ end
44
+ # rubocop:enable Metrics/AbcSize,Metrics/MethodLength
45
+
46
+ def log_pattern(level, log_hash)
47
+ log = default_log(level.upcase).merge(log_hash)
48
+ logger.send(level, normalize_hash(log))
49
+ end
50
+
51
+ def normalize_hash(hash)
52
+ hash.stringify_keys.to_json
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'active_support'
4
+
5
+ module LogToolbox
6
+ module LogPayload
7
+ extend ActiveSupport::Concern
8
+ include LogHelper
9
+
10
+ # rubocop:disable Metrics/AbcSize
11
+ def append_info_to_payload(payload)
12
+ super
13
+ payload[:id] = request.headers['correlation_id']
14
+ payload[:event_at] = I18n.l(Time.now, format: :timestamp)
15
+ payload[:service_name] = LogUtil.system_service_name
16
+ payload[:version] = LogUtil.system_version
17
+ payload[:origin_ipv4] = request.env['REMOTE_ADDR']
18
+ payload[:destination_ipv4] = request.env['SERVER_NAME']
19
+ payload[:username] = request.headers['Authorization']
20
+ end
21
+ # rubocop:enable Metrics/AbcSize
22
+ end
23
+ end
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ module LogToolbox
4
+ module LogSimple
5
+ class << self
6
+ def log_error(message, additional = {})
7
+ log_pattern('error', additional.merge(message: message))
8
+ end
9
+
10
+ def log_warn(message, additional = {})
11
+ log_pattern('warn', additional.merge(message: message))
12
+ end
13
+
14
+ def log_info(message, additional = {})
15
+ log_pattern('info', additional.merge(message: message))
16
+ end
17
+
18
+ private
19
+
20
+ def log_pattern(level, log_hash)
21
+ log = default_log(level.upcase).merge(log_hash)
22
+ puts(normalize_hash(log))
23
+ end
24
+
25
+ def default_log(level)
26
+ {
27
+ event_at: I18n.l(Time.now, format: :timestamp),
28
+ level: level,
29
+ service_name: LogUtil.system_service_name,
30
+ version: LogUtil.system_version,
31
+ }
32
+ end
33
+
34
+ def normalize_hash(hash)
35
+ hash.stringify_keys.to_json
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module LogToolbox
4
+ class LogUtil
5
+ def self.system_version
6
+ File.read('.version').delete!("\n")
7
+ end
8
+
9
+ def self.system_service_name
10
+ Rails.application.class.parent_name.underscore
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ module LogToolbox
4
+ class LogrageConfig
5
+ # rubocop:disable Metrics/AbcSize,Metrics/MethodLength
6
+ def self.configure
7
+ Rails.application.configure do
8
+ config.lograge.enabled = true
9
+ config.lograge.base_controller_class = 'ActionController::API'
10
+ config.lograge.formatter = Lograge::Formatters::Json.new
11
+
12
+ config.lograge.custom_options = lambda do |event|
13
+ {
14
+ id: event.payload[:id],
15
+ event_at: event.payload[:event_at],
16
+ level: 'INFO',
17
+ service_name: event.payload[:service_name],
18
+ version: event.payload[:version],
19
+ origin_ipv4: event.payload[:origin_ipv4],
20
+ destination_ipv4: event.payload[:destination_ipv4],
21
+ username: event.payload[:username],
22
+ exception_stack: event.payload[:exception_stack],
23
+ response: event.payload[:response]
24
+ }
25
+ end
26
+ end
27
+ # rubocop:enable Metrics/AbcSize,Metrics/MethodLength
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module LogToolbox
4
+ VERSION = '1.0.0'
5
+ end
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'log_toolbox/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'log_toolbox'
9
+ spec.version = LogToolbox::VERSION
10
+ spec.authors = ['Caio Almeida']
11
+ spec.email = ['cbalmeida@guide.com.br']
12
+
13
+ spec.summary = 'Guide default gem for ruby application logging'
14
+ spec.homepage = 'http://bitbucket.org/guideinvestimentos/log_toolbox'
15
+ spec.license = 'Guide'
16
+
17
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
18
+ `git ls-files -z`.split("\x0").reject do |f|
19
+ f.match(%r{^(test|spec|features)/})
20
+ end
21
+ end
22
+ spec.require_paths = ['lib']
23
+
24
+ spec.add_dependency 'actionpack', '>= 4.0.0'
25
+ spec.add_dependency 'activesupport', '>= 4.0.0'
26
+ spec.add_dependency 'lograge', '>= 0.11.1'
27
+ spec.add_dependency 'logstash-event', '>= 1.2.02'
28
+
29
+ spec.add_development_dependency 'bundler', '~> 2.0'
30
+ spec.add_development_dependency 'pry'
31
+ spec.add_development_dependency 'pry-byebug'
32
+ spec.add_development_dependency 'rake', '~> 10.0'
33
+ spec.add_development_dependency 'rspec', '~> 3.0'
34
+ spec.add_development_dependency 'rubocop'
35
+ spec.add_development_dependency 'shoulda-matchers', '~> 3.1'
36
+ end
metadata ADDED
@@ -0,0 +1,218 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: log_toolbox
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Caio Almeida
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-05-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: actionpack
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 4.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 4.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: activesupport
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 4.0.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 4.0.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: lograge
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 0.11.1
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 0.11.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: logstash-event
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 1.2.02
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 1.2.02
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '2.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
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: pry-byebug
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: rake
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '10.0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '10.0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rspec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '3.0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '3.0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rubocop
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: shoulda-matchers
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '3.1'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '3.1'
167
+ description:
168
+ email:
169
+ - cbalmeida@guide.com.br
170
+ executables: []
171
+ extensions: []
172
+ extra_rdoc_files: []
173
+ files:
174
+ - ".gitignore"
175
+ - ".rspec"
176
+ - ".travis.yml"
177
+ - CHANGELOG.md
178
+ - Gemfile
179
+ - Gemfile.lock
180
+ - LICENSE.txt
181
+ - README.md
182
+ - Rakefile
183
+ - bin/console
184
+ - bin/setup
185
+ - bitbucket-pipelines.yml
186
+ - lib/log_toolbox.rb
187
+ - lib/log_toolbox/log_helper.rb
188
+ - lib/log_toolbox/log_payload.rb
189
+ - lib/log_toolbox/log_simple.rb
190
+ - lib/log_toolbox/log_util.rb
191
+ - lib/log_toolbox/lograge_config.rb
192
+ - lib/log_toolbox/version.rb
193
+ - log_toolbox.gemspec
194
+ homepage: http://bitbucket.org/guideinvestimentos/log_toolbox
195
+ licenses:
196
+ - Guide
197
+ metadata: {}
198
+ post_install_message:
199
+ rdoc_options: []
200
+ require_paths:
201
+ - lib
202
+ required_ruby_version: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - ">="
205
+ - !ruby/object:Gem::Version
206
+ version: '0'
207
+ required_rubygems_version: !ruby/object:Gem::Requirement
208
+ requirements:
209
+ - - ">="
210
+ - !ruby/object:Gem::Version
211
+ version: '0'
212
+ requirements: []
213
+ rubyforge_project:
214
+ rubygems_version: 2.6.13
215
+ signing_key:
216
+ specification_version: 4
217
+ summary: Guide default gem for ruby application logging
218
+ test_files: []