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 +4 -4
- data/README.md +9 -22
- data/buffalo-logs.gemspec +2 -2
- data/lib/buffalo/logs/version.rb +1 -1
- metadata +3 -5
- data/buffalo-logs-0.0.1.gem +0 -0
- data/buffalo-logs-0.0.2.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 518838e51ba86a11f6dc7359c05cb28805d01dbd
|
|
4
|
+
data.tar.gz: d923a8e8d8d03c7c7e14431d7b835e90a9f53389
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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!
|
|
4
|
-
|
|
5
|
-
|
|
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
|
|
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
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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{
|
|
13
|
-
spec.description = %q{
|
|
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
|
|
data/lib/buffalo/logs/version.rb
CHANGED
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.
|
|
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:
|
|
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:
|
|
98
|
+
summary: https://github.com/oTranQuangTrung/buffalo-logs
|
|
101
99
|
test_files: []
|
data/buffalo-logs-0.0.1.gem
DELETED
|
Binary file
|
data/buffalo-logs-0.0.2.gem
DELETED
|
Binary file
|