lograge-tagged 0.2.0 → 0.3.0

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: 3cbc57fc17a945ccc151f30b590bbd453fa6b7b5
4
- data.tar.gz: fb9809f1441f5dc137e10321e3700ea41214f88e
3
+ metadata.gz: 76a10137a21bc714c0093bdd0399305f6cb879ec
4
+ data.tar.gz: c37e0922e65aabac2de882b3dff892448ef2fbd2
5
5
  SHA512:
6
- metadata.gz: d6c528362b5ef512672278f46d132320bb74d3104ea4b70d4a332354a2d32327d6e486c5d2c1388e21ac483835bd212023258c34ce1d922b34ffef22030635d7
7
- data.tar.gz: 394af3a3e561437d9136605fbc0cd8d08a814173c882ca7ad8154de4cbe7e0c31c0532f57b4bc8c73ca7218f3ed4b117baa9979ba8eb97dced018c1583e4557f
6
+ metadata.gz: 5167c2b26ec33ee6c299894f932322430dd36a470fb3a073abb16b060c7ad225eadf07bd175b657449e467ab9a86b824f448ba5831137edd07e59a1dbc7abc4b
7
+ data.tar.gz: 2d7aaf6ac69daa102c1ca6efa99cc7033d13a1fcfae7380f74999e31b3ac693fd30bbcea7f03d608fd48b6e7987546c3063389b065de2dcba6feb135e0a239c3
@@ -1,6 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.2
4
- - 1.9.3
5
- - 2.0.0
3
+ - 2.0
4
+ - 2.1
5
+ - 2.2
6
+ - 2.3.1
6
7
  - ruby-head
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## Release 0.3.0
4
+
5
+ - CHANGED: The tag name is now customizable
6
+
7
+ - CHANGED: Relaxed lograge dependency
8
+
3
9
  ## Release 0.2.0
4
10
 
5
11
  - FIXED: Compatibility with the new syntax in Lograge > 0.2.1
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 Aetrion, LLC
1
+ Copyright (c) 2013-2016 Aetrion, LLC
2
2
 
3
3
  MIT License
4
4
 
@@ -3,8 +3,11 @@ require 'lograge_tagged/version'
3
3
 
4
4
  module LogrageTagged
5
5
  class TaggedKeyValueFormatter < Lograge::Formatters::KeyValue
6
+ def initialize(tag = "request.app")
7
+ @tag = tag
8
+ end
6
9
  def call(data)
7
- "[request.app] #{super}"
10
+ "[#{@tag}] #{super}"
8
11
  end
9
12
  end
10
13
 
@@ -1,3 +1,3 @@
1
1
  module LogrageTagged
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -10,13 +10,14 @@ Gem::Specification.new do |gem|
10
10
  gem.email = ["weppos@weppos.net"]
11
11
  gem.summary = %q{A tagged LogSubscriber for Lograge}
12
12
  gem.description = %q{A tagged LogSubscriber for Lograge.}
13
- gem.homepage = "https://github.com/aetrion/lograge-tagged"
13
+ gem.homepage = "https://github.com/dnsimple/lograge-tagged"
14
+ gem.license = "MIT"
14
15
 
15
16
  gem.files = `git ls-files`.split($/)
16
17
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
19
  gem.require_paths = ["lib"]
19
20
 
20
- gem.add_runtime_dependency "lograge", "~> 0.2.2"
21
+ gem.add_runtime_dependency "lograge", ">= 0.2.2"
21
22
  gem.add_development_dependency "rspec"
22
23
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lograge-tagged
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simone Carletti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-15 00:00:00.000000000 Z
11
+ date: 2016-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lograge
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.2.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.2.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: A tagged LogSubscriber for Lograge.
@@ -45,10 +45,10 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - .gitignore
49
- - .rspec
50
- - .ruby-gemset
51
- - .travis.yml
48
+ - ".gitignore"
49
+ - ".rspec"
50
+ - ".ruby-gemset"
51
+ - ".travis.yml"
52
52
  - CHANGELOG.md
53
53
  - Gemfile
54
54
  - LICENSE.txt
@@ -60,8 +60,9 @@ files:
60
60
  - lograge-tagged.gemspec
61
61
  - spec/lograge_tagged_spec.rb
62
62
  - spec/spec_helper.rb
63
- homepage: https://github.com/aetrion/lograge-tagged
64
- licenses: []
63
+ homepage: https://github.com/dnsimple/lograge-tagged
64
+ licenses:
65
+ - MIT
65
66
  metadata: {}
66
67
  post_install_message:
67
68
  rdoc_options: []
@@ -69,17 +70,17 @@ require_paths:
69
70
  - lib
70
71
  required_ruby_version: !ruby/object:Gem::Requirement
71
72
  requirements:
72
- - - '>='
73
+ - - ">="
73
74
  - !ruby/object:Gem::Version
74
75
  version: '0'
75
76
  required_rubygems_version: !ruby/object:Gem::Requirement
76
77
  requirements:
77
- - - '>='
78
+ - - ">="
78
79
  - !ruby/object:Gem::Version
79
80
  version: '0'
80
81
  requirements: []
81
82
  rubyforge_project:
82
- rubygems_version: 2.1.10
83
+ rubygems_version: 2.5.1
83
84
  signing_key:
84
85
  specification_version: 4
85
86
  summary: A tagged LogSubscriber for Lograge