nypl_log_formatter 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +1 -0
- data/.travis.yml +11 -0
- data/README.md +4 -3
- data/lib/nypl_log_formatter/version.rb +1 -1
- data/nypl_log_formatter.gemspec +2 -1
- metadata +18 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5d63110408241c2f2ba556c448fb4fafe72cfea6ad8a6d1102f4bd0478816d1
|
4
|
+
data.tar.gz: 276af5118f265e03f57c0c8101ed9856dfc81353b0ba9f29a2aa435e314d64c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14586be188d33b6d9329adc82ba7a08e6e3fc66025ea9e15f1d457230de5b84f4d4c07e0e48965727476579ef5b702ddb346c12ca1fe338928ebcae2c82279f8
|
7
|
+
data.tar.gz: 86bc20340c14fbb7c07da15311ac337619572518e81d3929f6975ae7ae5277c4cdf211112026afdcbdf2cb8987c5f8a598a817777191cc799c9f0aa981898b56
|
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--require spec_helper
|
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
# NyplLogFormatter
|
2
2
|
|
3
|
+
[![Build Status](https://travis-ci.org/NYPL/ruby_nypl_log_formatter.svg?branch=master)](https://travis-ci.org/NYPL/ruby_nypl_log_formatter)
|
4
|
+
|
3
5
|
This is a logger that logs according to [NYPL's agreed-upon format](https://github.com/NYPL/engineering-general/blob/master/standards/logging.md).
|
4
6
|
It is a subclass of the stdlib Logger class, so it works exactly as a regular Logger does.
|
5
7
|
The only advantage to subclassing is that we can bake in [custom formatting](https://stackoverflow.com/questions/14382252/how-to-format-ruby-logger).
|
6
8
|
|
7
9
|
## Ruby Version Support
|
8
10
|
|
9
|
-
|
10
|
-
|
11
|
-
using a CI service like Travis.
|
11
|
+
Our [`.travis.yml`]('.travis.yml') tests against multiple Ruby versions.
|
12
|
+
Feel free to add more.
|
12
13
|
|
13
14
|
## Installation
|
14
15
|
|
data/nypl_log_formatter.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require File.join(
|
4
|
+
require File.join(File.dirname(__FILE__), 'lib', 'nypl_log_formatter', 'version')
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "nypl_log_formatter"
|
@@ -31,4 +31,5 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_development_dependency "pry", '~> 0.11.3'
|
32
32
|
spec.add_development_dependency "bundler", "~> 1.13"
|
33
33
|
spec.add_development_dependency "rake", "~> 10.0"
|
34
|
+
spec.add_development_dependency 'rspec', '~> 3.7'
|
34
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nypl_log_formatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nodanaonlyzuul
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.7'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.7'
|
55
69
|
description:
|
56
70
|
email:
|
57
71
|
- stephenschor@nypl.org
|
@@ -60,8 +74,10 @@ extensions: []
|
|
60
74
|
extra_rdoc_files: []
|
61
75
|
files:
|
62
76
|
- ".gitignore"
|
77
|
+
- ".rspec"
|
63
78
|
- ".ruby-gemset"
|
64
79
|
- ".ruby-version"
|
80
|
+
- ".travis.yml"
|
65
81
|
- Gemfile
|
66
82
|
- README.md
|
67
83
|
- Rakefile
|