chili_logger 0.0.6 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/.byebug_history +78 -0
  3. data/Gemfile +2 -0
  4. data/Gemfile.lock +9 -1
  5. data/README.md +1024 -35
  6. data/assets/images/chili-logger-flow.png +0 -0
  7. data/assets/images/chiligum-logging-system.gif +0 -0
  8. data/assets/images/rabbit-basic-functioning.png +0 -0
  9. data/assets/images/rabbit-topic-explanation.webp +0 -0
  10. data/chili_logger-0.0.6.gem +0 -0
  11. data/chili_logger-0.0.7.gem +0 -0
  12. data/chili_logger-0.0.8.gem +0 -0
  13. data/chili_logger-0.0.9.1.gem +0 -0
  14. data/chili_logger-0.0.9.gem +0 -0
  15. data/lib/brokers/rabbit_broker.rb +5 -10
  16. data/lib/{errors/logging_error_handler/sqs_handler.rb → brokers/sqs_broker.rb} +4 -14
  17. data/lib/chili_logger.rb +33 -14
  18. data/lib/chili_logger/version.rb +1 -1
  19. data/lib/current_log_accessor.rb +77 -53
  20. data/lib/errors/logging_error_handler/logging_error_handler.rb +23 -14
  21. data/lib/{logs_coverage → helpers/logs_coverage}/chili_logger_coverage.yml +0 -0
  22. data/lib/{logs_coverage → helpers/logs_coverage}/coverage_writer.rb +20 -14
  23. data/lib/{logs_coverage → helpers/logs_coverage}/levantamento_provis/303/263rio.yaml +0 -0
  24. data/lib/helpers/values/default.rb +92 -0
  25. data/lib/helpers/values/type_uniformizer/desc.rb +64 -0
  26. data/lib/helpers/values/type_uniformizer/main_content.rb +62 -0
  27. data/lib/helpers/values/type_uniformizer/user.rb +43 -0
  28. data/lib/message_writer/aws_ops_metadata.rb +1 -1
  29. data/lib/message_writer/message_writer.rb +21 -18
  30. data/log/chili-logger-coverage.yml +50 -1
  31. metadata +19 -7
  32. data/lib/errors/error_messages/rabbitmq_error.rb +0 -9
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chili_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - lucas sandeville
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-01 00:00:00.000000000 Z
11
+ date: 2020-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -75,20 +75,32 @@ files:
75
75
  - LICENSE.txt
76
76
  - README.md
77
77
  - Rakefile
78
+ - assets/images/chili-logger-flow.png
79
+ - assets/images/chiligum-logging-system.gif
80
+ - assets/images/rabbit-basic-functioning.png
81
+ - assets/images/rabbit-topic-explanation.webp
78
82
  - bin/console
79
83
  - bin/setup
84
+ - chili_logger-0.0.6.gem
85
+ - chili_logger-0.0.7.gem
86
+ - chili_logger-0.0.8.gem
87
+ - chili_logger-0.0.9.1.gem
88
+ - chili_logger-0.0.9.gem
80
89
  - chili_logger.gemspec
81
90
  - lib/brokers/rabbit_broker.rb
91
+ - lib/brokers/sqs_broker.rb
82
92
  - lib/chili_logger.rb
83
93
  - lib/chili_logger/version.rb
84
94
  - lib/current_log_accessor.rb
85
95
  - lib/errors/error_messages/config_error.rb
86
- - lib/errors/error_messages/rabbitmq_error.rb
87
96
  - lib/errors/logging_error_handler/logging_error_handler.rb
88
- - lib/errors/logging_error_handler/sqs_handler.rb
89
- - lib/logs_coverage/chili_logger_coverage.yml
90
- - lib/logs_coverage/coverage_writer.rb
91
- - lib/logs_coverage/levantamento_provisório.yaml
97
+ - lib/helpers/logs_coverage/chili_logger_coverage.yml
98
+ - lib/helpers/logs_coverage/coverage_writer.rb
99
+ - lib/helpers/logs_coverage/levantamento_provisório.yaml
100
+ - lib/helpers/values/default.rb
101
+ - lib/helpers/values/type_uniformizer/desc.rb
102
+ - lib/helpers/values/type_uniformizer/main_content.rb
103
+ - lib/helpers/values/type_uniformizer/user.rb
92
104
  - lib/message_writer/aws_ops_metadata.rb
93
105
  - lib/message_writer/message_writer.rb
94
106
  - log/chili-logger-coverage.yml
@@ -1,9 +0,0 @@
1
- # class for wrapping all other gem's classes
2
- class ChiliLogger
3
- # class for wrapping RabbitMQ/Bunny errors
4
- class RabbitMQError < StandardError
5
- def initialize(msg = "The provided data couldn't be converted")
6
- super(msg)
7
- end
8
- end
9
- end