log_tribe 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: 51f76765a5680f9b2cba687c64bcbf5521cb92ce
4
- data.tar.gz: 3dbc36af2eec3e8e179aac3d16aaf9afff775078
3
+ metadata.gz: 6900f12d893bc94cdebd9b3e316946841724a065
4
+ data.tar.gz: ea861ebd35684bd6c761f4a73b587dca2f42df05
5
5
  SHA512:
6
- metadata.gz: 6fcbbfe5d889fdb2c5d3c16fca3ede98d21482f257199a064659cf3cc2ec58a39de084385d92a1df5885d39391c79d39855dc095ef2b20091eb8c4193f165740
7
- data.tar.gz: 8b768eeed871061ba875b6a673c593ddc6bd024f552afc7b655a60f15288d5d652384e3158d7f8f1ce7f299e0b48e5e27213c69b32742b3efc9b60d8ff423830
6
+ metadata.gz: 629432e8112d200b92eb049bd2cc147ad0dd192ec35fe1b8603eeb813a0f44a3af3dd1b86305fcb762364a01f016cfed527d040aa7a5f63de07d18e311a92c8f
7
+ data.tar.gz: 2af0c07df9323adf7f67059b4da1adf636ac862e2851a946289369158ff07e6782b328254dbf1977e2c0e1f7424a6e29d2db2f54951627b1bb9abaa0dc8ed045
data/.travis.yml CHANGED
@@ -1,7 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
4
- - 2.1.6
5
- - 2.2.4
6
- - 2.3.0
3
+ - 2.2.6
4
+ - 2.3.3
7
5
  script: bundle exec rspec spec
data/.versions.conf CHANGED
@@ -1,2 +1,2 @@
1
- ruby=ruby-2.3.0
1
+ ruby=ruby-2.3.3
2
2
  ruby-gemset=log_tribe
data/Rakefile CHANGED
@@ -4,12 +4,12 @@ require 'bundler/gem_tasks'
4
4
  require 'rspec/core/rake_task'
5
5
  require 'yard'
6
6
 
7
- RSpec::Core::RakeTask.new('spec'.freeze)
7
+ RSpec::Core::RakeTask.new('spec')
8
8
 
9
9
  task default: :spec
10
10
 
11
- desc 'Generate documentation'.freeze
11
+ desc 'Generate documentation'
12
12
  YARD::Rake::YardocTask.new do |t|
13
- t.files = %w(lib/**/*.rb - LICENSE.txt).map(&:freeze).freeze
14
- t.options = %w(--main README.md --no-private --protected).map(&:freeze).freeze
13
+ t.files = %w(lib/**/*.rb - LICENSE.txt).map(&:freeze)
14
+ t.options = %w(--main README.md --no-private --protected).map(&:freeze)
15
15
  end
@@ -151,7 +151,7 @@ module LogTribe
151
151
  logger.add(severity, message, progname, &block)
152
152
  elsif defined?(::Fluent::Logger) && logger.respond_to?(:post)
153
153
  # FluentLogger
154
- logger.post(@tag_name || 'none'.freeze,
154
+ logger.post(@tag_name || 'none',
155
155
  message: format_message(format_severity(severity), Time.now, progname, message)
156
156
  )
157
157
  end
@@ -170,7 +170,7 @@ module LogTribe
170
170
  logger << msg
171
171
  elsif defined?(::Fluent::Logger) && logger.respond_to?(:post)
172
172
  # FluentLogger
173
- logger.post(@tag_name || 'none'.freeze, message: msg)
173
+ logger.post(@tag_name || 'none', message: msg)
174
174
  end
175
175
  end
176
176
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LogTribe
4
- VERSION = '0.3.0'.freeze
4
+ VERSION = '0.3.1'
5
5
  end
data/log_tribe.gemspec CHANGED
@@ -5,32 +5,32 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  require 'log_tribe/version'
6
6
 
7
7
  Gem::Specification.new do |spec|
8
- spec.name = 'log_tribe'.freeze
8
+ spec.name = 'log_tribe'
9
9
  spec.version = LogTribe::VERSION
10
- spec.authors = ['Christian Kakesa'.freeze]
11
- spec.email = ['christian.kakesa@gmail.com'.freeze]
10
+ spec.authors = ['Christian Kakesa']
11
+ spec.email = ['christian.kakesa@gmail.com']
12
12
 
13
- spec.summary = 'Write logs messages to multiple destinations.'.freeze
13
+ spec.summary = 'Write logs messages to multiple destinations.'
14
14
  spec.description = spec.summary
15
- spec.homepage = 'https://github.com/fenicks/log_tribe'.freeze
16
- spec.license = 'MIT'.freeze
15
+ spec.homepage = 'https://github.com/fenicks/log_tribe'
16
+ spec.license = 'MIT'
17
17
 
18
18
  # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
19
19
  # delete this section to allow pushing this gem to any host.
20
- raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'.freeze unless spec.respond_to?(:metadata)
21
- spec.metadata['allowed_push_host'] = 'https://rubygems.org'.freeze
20
+ raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.' unless spec.respond_to?(:metadata)
21
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
22
22
 
23
23
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
- spec.bindir = 'bin'.freeze
24
+ spec.bindir = 'bin'
25
25
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
26
- spec.require_paths = ['lib'.freeze]
26
+ spec.require_paths = ['lib']
27
27
 
28
- spec.add_development_dependency 'bundler'.freeze, '~> 1.7'.freeze, '>= 1.7.0'.freeze
29
- spec.add_development_dependency 'rake'.freeze, '~> 0'.freeze
30
- spec.add_development_dependency 'rubocop'.freeze, '~> 0'.freeze
31
- spec.add_development_dependency 'rspec'.freeze, '~> 3.3'.freeze
32
- spec.add_development_dependency 'simplecov'.freeze, '~> 0'.freeze
33
- spec.add_development_dependency 'coveralls'.freeze, '~> 0'.freeze
34
- spec.add_development_dependency 'memory_profiler'.freeze, '~> 0'.freeze if RUBY_VERSION >= '2.1.0'
35
- spec.add_development_dependency 'yard'.freeze, '~> 0'.freeze
28
+ spec.add_development_dependency 'bundler', '~> 1.7', '>= 1.7.0'
29
+ spec.add_development_dependency 'rake', '~> 0'
30
+ spec.add_development_dependency 'rubocop', '~> 0'
31
+ spec.add_development_dependency 'rspec', '~> 3.3'
32
+ spec.add_development_dependency 'simplecov', '~> 0'
33
+ spec.add_development_dependency 'coveralls', '~> 0'
34
+ spec.add_development_dependency 'memory_profiler', '~> 0' if RUBY_VERSION >= '2.1.0'
35
+ spec.add_development_dependency 'yard', '~> 0'
36
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: log_tribe
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
  - Christian Kakesa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-05 00:00:00.000000000 Z
11
+ date: 2016-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -170,9 +170,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  version: '0'
171
171
  requirements: []
172
172
  rubyforge_project:
173
- rubygems_version: 2.5.1
173
+ rubygems_version: 2.5.2
174
174
  signing_key:
175
175
  specification_version: 4
176
176
  summary: Write logs messages to multiple destinations.
177
177
  test_files: []
178
- has_rdoc: