logging_library 1.0.7 → 1.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
  SHA1:
3
- metadata.gz: 8e8fb4d132d7193f38fe22f8e5dc5f589409d9db
4
- data.tar.gz: 3f3f055a1d1e454b5f939bce082571d000b6f6af
3
+ metadata.gz: a8be203739b49afb67c557d0c27a7080687da4fc
4
+ data.tar.gz: 49f195d7c9216b9b5476953915f0ad37cd8577b5
5
5
  SHA512:
6
- metadata.gz: 4c112f13995d075b38e6ff44631d358db09078c40a057e4a051f52baa5014d896ecc7610c42d6ce770410a6f31a23dcfa4610983ce4e6fb3a5e7f7bf695fd51d
7
- data.tar.gz: 6969eca1c8b94e260132520cf83c94614f12d6fc02dd4bfb05dab3f69950ed3b891435b7cb3efd9c4e7b08e4352d35acd313904e6c509f0d1118c38c83c1b8da
6
+ metadata.gz: b93bdbf20ec748a068a514209fbed5ecb31e2b7f0c78b5f29082c4e5fc4e2b0c5131f1f57e02cb47848781f0e3733a602cee9b269e34d0100cd202c33860fe20
7
+ data.tar.gz: d3033ff73b342c00d5c3d50b57d395aadec7a614da130688f89572aa2e88abeed6081fa77c2645b925de160b00c39631ed640deab349175aecdf989398d5fdf3
data/.travis.yml CHANGED
@@ -4,4 +4,4 @@ rvm:
4
4
  - 2.3.3
5
5
  before_install:
6
6
  - gem update --system
7
- - gem install bundler -v 1.13.6
7
+ - gem install bundler
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Build Status](https://travis-ci.org/ecraft/logging_library.svg?branch=master)](https://travis-ci.org/ecraft/logging_library)
1
+ [![Build Status](https://travis-ci.org/ecraft/logging_library.svg?branch=master)](https://travis-ci.org/ecraft/logging_library) [![Gem Version](https://badge.fury.io/rb/logging_library.svg)](https://badge.fury.io/rb/logging_library)
2
2
 
3
3
  # LoggingLibrary
4
4
 
@@ -83,6 +83,23 @@ Preview API documentation locally with
83
83
  bundle exec yard server -r
84
84
  ```
85
85
 
86
+ ### Releasing a new version
87
+
88
+ - Bump the version in `version.rb`
89
+ - Create the tag:
90
+
91
+ ```
92
+ $ git release v1.0.x`
93
+ ```
94
+
95
+ - Build the gemfile and push it to Rubygems.org:
96
+
97
+ ```shell
98
+ $ bundle exec rake build release
99
+ ```
100
+
101
+ - Generate the changelog (`cargo install changelog-rs && changelog-rs .`) and copy the relevant lines to [the releases page](https://github.com/ecraft/logging_library/releases).
102
+
86
103
  ### License
87
104
 
88
105
  MIT
@@ -1,3 +1,3 @@
1
1
  module LoggingLibrary
2
- VERSION = '1.0.7'.freeze
2
+ VERSION = '1.1.1'.freeze
3
3
  end
@@ -6,6 +6,8 @@ require 'logging_library/version'
6
6
 
7
7
  module LoggingLibrary
8
8
  Loggable = Mixins::Loggable
9
+
10
+ LOG_LEVELS = Mixlib::Log::LEVELS.keys.freeze
9
11
  end
10
12
 
11
13
  # Avoid buffering output when running under e.g. Foreman.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logging_library
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tre Kronor
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-17 00:00:00.000000000 Z
11
+ date: 2017-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-log