grape_logging 1.0.2 → 1.0.3
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 +2 -2
- data/lib/grape_logging/middleware/request_logger.rb +1 -0
- data/lib/grape_logging/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fcf09ce48949b6fa9b08da15da8aad3bc97cad72
|
|
4
|
+
data.tar.gz: 5d4206727f908558817d5a8ea41deb4da85f4f25
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 93a61ce5749bfb9bbb99e2bd1f15701432426f959da03d2b0203d2a12dd74222538b80794b61b39ffb886c2eb061f64b8817a757793ea9265b75f8b05baf57f3
|
|
7
|
+
data.tar.gz: ab8caacfa27adaab5c0a635e4533cf1de2f349e1a33a9064ae7bbb5fadfb3c16d4f327a0c500977cf3189ea693c8d0cce487dac15e166ef327d814865e0a1637
|
data/README.md
CHANGED
|
@@ -38,7 +38,7 @@ If you prefer some other format I strongly encourage you to do pull request with
|
|
|
38
38
|
|
|
39
39
|
You can to file and STDOUT at the same time, you just need to assign new logger
|
|
40
40
|
|
|
41
|
-
logger Logger.new GrapeLogging::MultiIO.new(STDOUT, File.open('path/to/your/logfile.log'
|
|
41
|
+
logger Logger.new GrapeLogging::MultiIO.new(STDOUT, File.open('path/to/your/logfile.log', 'a'))
|
|
42
42
|
|
|
43
43
|
### Logging exceptions
|
|
44
44
|
|
|
@@ -63,4 +63,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
63
63
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
|
64
64
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
65
65
|
4. Push to the branch (`git push origin my-new-feature`)
|
|
66
|
-
5. Create a new Pull Request
|
|
66
|
+
5. Create a new Pull Request
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: grape_logging
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- aserafin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-04
|
|
11
|
+
date: 2015-05-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: grape
|