lograge-tagged 0.3.0 → 0.3.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: 76a10137a21bc714c0093bdd0399305f6cb879ec
4
- data.tar.gz: c37e0922e65aabac2de882b3dff892448ef2fbd2
3
+ metadata.gz: 56ba4289f9ccba79f03b4eb94169ec3a8ea75d96
4
+ data.tar.gz: 1ce4ce664118f73d63bb29fe1d1a84a95edb8fdd
5
5
  SHA512:
6
- metadata.gz: 5167c2b26ec33ee6c299894f932322430dd36a470fb3a073abb16b060c7ad225eadf07bd175b657449e467ab9a86b824f448ba5831137edd07e59a1dbc7abc4b
7
- data.tar.gz: 2d7aaf6ac69daa102c1ca6efa99cc7033d13a1fcfae7380f74999e31b3ac693fd30bbcea7f03d608fd48b6e7987546c3063389b065de2dcba6feb135e0a239c3
6
+ metadata.gz: d02e8d8a4980eb2ebada102e2063bb6abff2ed88646a84ddc97b1ee3b00abba52daa71f77f01ae111651dd8fdea2162724939af162e929234928301d145f2816
7
+ data.tar.gz: 254ca07e8a003945caef977daca336dc6ae197b24b5ceb61b9b11261fcd08625813a08f85bba155d74b09c4ba33759efc448f4e9c86be83f19c2f674ff36b38c
data/.travis.yml CHANGED
@@ -1,7 +1,11 @@
1
1
  language: ruby
2
+
2
3
  rvm:
3
4
  - 2.0
4
5
  - 2.1
5
6
  - 2.2
6
7
  - 2.3.1
7
8
  - ruby-head
9
+
10
+ before_install:
11
+ - gem install bundler
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## Release 0.3.1
4
+
5
+ - FIXED: Fix load compatibility
6
+
7
+ - Remove deprecated setting
8
+
3
9
  ## Release 0.3.0
4
10
 
5
11
  - CHANGED: The tag name is now customizable
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013-2016 Aetrion, LLC
1
+ Copyright (c) 2013-2017 Aetrion, LLC
2
2
 
3
3
  MIT License
4
4
 
@@ -19,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
19
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
20
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
21
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -12,7 +12,9 @@ module LogrageTagged
12
12
  end
13
13
 
14
14
  class Railtie < Rails::Railtie
15
- initializer "lograge-tagged", before: :lograge do |app|
15
+ require 'lograge/railtie'
16
+
17
+ config.after_initialize do |app|
16
18
  app.config.lograge.formatter = LogrageTagged::TaggedKeyValueFormatter.new
17
19
  app.config.lograge.custom_options = ->(event) { { params: event.payload[:params] } }
18
20
  end
@@ -1,3 +1,3 @@
1
1
  module LogrageTagged
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -3,6 +3,6 @@ require 'lograge_tagged'
3
3
 
4
4
  describe LogrageTagged do
5
5
  it "has empty specs for now" do
6
- expect("".empty?).to be_true
6
+ expect("".empty?).to eq(true)
7
7
  end
8
8
  end
data/spec/spec_helper.rb CHANGED
@@ -5,7 +5,6 @@
5
5
  #
6
6
  # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
7
  RSpec.configure do |config|
8
- config.treat_symbols_as_metadata_keys_with_true_values = true
9
8
  config.run_all_when_everything_filtered = true
10
9
  # config.filter_run :focus
11
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lograge-tagged
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simone Carletti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-23 00:00:00.000000000 Z
11
+ date: 2017-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lograge