buffalo-logs 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a669884de26051898983e766739b6c64514c9d7
4
- data.tar.gz: 4a6e398d414ab579543cba086ae8194a1cdbd7b0
3
+ metadata.gz: 518838e51ba86a11f6dc7359c05cb28805d01dbd
4
+ data.tar.gz: d923a8e8d8d03c7c7e14431d7b835e90a9f53389
5
5
  SHA512:
6
- metadata.gz: 8ad235d814abfdbc7ba820dd12ed64433fa7990064ee39b4e7ec6bed78949c0b5d14ddb3427733e04717bee53646f1b6d7fa4f5691b6c1a1243a527580515b0d
7
- data.tar.gz: 989e7f5fb4fc4652c4296cfe74ee394e7dc80afda3b7704f74b3816f33cca75c1da45a3686e51c457ffbc4d8ce2745ce0e88219cbfb3a95228db4266a88eca74
6
+ metadata.gz: 2938d3cfc860d2354dd4acd13f8495ef546430a9520409e2987c5e22ffb5e3313ca6c9083f8f5962a77f29662408a90de64e15a0fb72d3ba705087b53c3a0adf
7
+ data.tar.gz: e2700560f0b1120904c60bc7785f8ba647da8a57bc937d3193a78a82a13aeca1db55162f933a53343a97cc2a03c16425dcddb4875fec6f2869f67c5af4655d8d
data/README.md CHANGED
@@ -1,15 +1,15 @@
1
1
  # Buffalo::Logs
2
2
 
3
- 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/buffalo/logs`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ Welcome to your new gem!
4
+ This gem create a special log file in log/ directory with logger's level is error, fatal and unknown.
5
+ In production enviroment, every day, you can examine special_log and revise code.
6
6
 
7
7
  ## Installation
8
8
 
9
9
  Add this line to your application's Gemfile:
10
10
 
11
11
  ```ruby
12
- gem 'buffalo-logs'
12
+ gem "buffalo-logs", "0.0.3"
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -22,22 +22,9 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- 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.
30
-
31
- 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).
32
-
33
- ## Contributing
34
-
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/buffalo-logs. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
-
37
- ## License
38
-
39
- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
40
-
41
- ## Code of Conduct
25
+ In each other environment: development, staging, production ...
26
+ Add the configuration below and let enjoy.
27
+ ```ruby
28
+ config.logger = Buffalo::Logs::Extraction.new Rails.root.join "log"
29
+ ```
42
30
 
43
- Everyone interacting in the Buffalo::Logs project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/buffalo-logs/blob/master/CODE_OF_CONDUCT.md).
data/buffalo-logs.gemspec CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["oTranQuangTrung"]
10
10
  spec.email = ["tran.quang.trung@framgia.com"]
11
11
 
12
- spec.summary = %q{This gem help you extract log errors to special file}
13
- spec.description = %q{This gem help you extract log errors to special file}
12
+ spec.summary = %q{https://github.com/oTranQuangTrung/buffalo-logs}
13
+ spec.description = %q{https://github.com/oTranQuangTrung/buffalo-logs}
14
14
  spec.homepage = ""
15
15
  spec.license = "MIT"
16
16
 
@@ -1,5 +1,5 @@
1
1
  module Buffalo
2
2
  module Logs
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buffalo-logs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - oTranQuangTrung
@@ -52,7 +52,7 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
- description: This gem help you extract log errors to special file
55
+ description: https://github.com/oTranQuangTrung/buffalo-logs
56
56
  email:
57
57
  - tran.quang.trung@framgia.com
58
58
  executables: []
@@ -69,8 +69,6 @@ files:
69
69
  - Rakefile
70
70
  - bin/console
71
71
  - bin/setup
72
- - buffalo-logs-0.0.1.gem
73
- - buffalo-logs-0.0.2.gem
74
72
  - buffalo-logs.gemspec
75
73
  - lib/buffalo/logs.rb
76
74
  - lib/buffalo/logs/version.rb
@@ -97,5 +95,5 @@ rubyforge_project:
97
95
  rubygems_version: 2.6.13
98
96
  signing_key:
99
97
  specification_version: 4
100
- summary: This gem help you extract log errors to special file
98
+ summary: https://github.com/oTranQuangTrung/buffalo-logs
101
99
  test_files: []
Binary file
Binary file