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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60730bd69179897e8034dc0f71f6fab5aedf28daebe19922bbad9d344d3b2ea6
4
- data.tar.gz: aa18c24a46170dcff292a9b22d0e9770e80dc6fee537efa6ceb5bde2bae00ccb
3
+ metadata.gz: c5d63110408241c2f2ba556c448fb4fafe72cfea6ad8a6d1102f4bd0478816d1
4
+ data.tar.gz: 276af5118f265e03f57c0c8101ed9856dfc81353b0ba9f29a2aa435e314d64c0
5
5
  SHA512:
6
- metadata.gz: 1afcdc8a0d9245e73fe0404d0b581ba018dc4d4cbe51b649270241fd777b254e4aec815e813826c10efc7c8bbf5e6a398ea097fc6a83412adb9d9916ab6dd1b8
7
- data.tar.gz: 1fcb2c3cad872e2d8eedd39481f232740dad491705bc0cf4a831dd5a25f4399dacd9a6c83c3dae6d6c6501d92220015462236f53b7027b1d0b233a73b268e390
6
+ metadata.gz: 14586be188d33b6d9329adc82ba7a08e6e3fc66025ea9e15f1d457230de5b84f4d4c07e0e48965727476579ef5b702ddb346c12ca1fe338928ebcae2c82279f8
7
+ data.tar.gz: 86bc20340c14fbb7c07da15311ac337619572518e81d3929f6975ae7ae5277c4cdf211112026afdcbdf2cb8987c5f8a598a817777191cc799c9f0aa981898b56
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,11 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.5.0
4
+ - 2.4.3
5
+ - 2.4.2
6
+ - 2.3.6
7
+ - 2.3.5
8
+ - 2.0.0-p648
9
+ - 1.9.3
10
+ script:
11
+ - bundle exec rspec
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
- This has only been tested against ruby 2.4.1 but _should_ work in ruby 2.x.
10
- We should have a very basic test suite and run it across multiple ruby versions
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
 
@@ -1,3 +1,3 @@
1
1
  module NyplLogFormatterVersion
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -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(__dir__, 'lib', 'nypl_log_formatter', 'version')
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.0
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-01-22 00:00:00.000000000 Z
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