log_tribe 0.2.10 → 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: 78acc57940fb91ac5c08c2c798fda404264a9a74
4
- data.tar.gz: 577c8a79a2122c87e144d2ccdcb8b6e100e50dca
3
+ metadata.gz: 51f76765a5680f9b2cba687c64bcbf5521cb92ce
4
+ data.tar.gz: 3dbc36af2eec3e8e179aac3d16aaf9afff775078
5
5
  SHA512:
6
- metadata.gz: 6214b41b427e948091f8dc58d9097741026449417027042ec114b78b4e7095edd5a592c07928134ef28869004519e977586105f0831c2703ba60564958f3c5a5
7
- data.tar.gz: a8ca7766ed0f98d5c51762864164e2c2c9c4f0d72e4f96938837616a3d21c67cccd63652be8e404d4d53cf04ca9b524521285f32640151bce94c5adf46d21aaf
6
+ metadata.gz: 6fcbbfe5d889fdb2c5d3c16fca3ede98d21482f257199a064659cf3cc2ec58a39de084385d92a1df5885d39391c79d39855dc095ef2b20091eb8c4193f165740
7
+ data.tar.gz: 8b768eeed871061ba875b6a673c593ddc6bd024f552afc7b655a60f15288d5d652384e3158d7f8f1ce7f299e0b48e5e27213c69b32742b3efc9b60d8ff423830
data/Rakefile CHANGED
@@ -1,13 +1,15 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/gem_tasks'
2
4
  require 'rspec/core/rake_task'
3
5
  require 'yard'
4
6
 
5
- RSpec::Core::RakeTask.new('spec')
7
+ RSpec::Core::RakeTask.new('spec'.freeze)
6
8
 
7
9
  task default: :spec
8
10
 
9
- desc 'Generate documentation'
11
+ desc 'Generate documentation'.freeze
10
12
  YARD::Rake::YardocTask.new do |t|
11
- t.files = %w(lib/**/*.rb - LICENSE.txt)
12
- t.options = %w(--main README.md --no-private --protected)
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
15
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'logger'
2
4
 
3
5
  module LogTribe
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module LogTribe
2
- VERSION = '0.2.10'.freeze
4
+ VERSION = '0.3.0'.freeze
3
5
  end
data/log_tribe.gemspec CHANGED
@@ -1,35 +1,36 @@
1
- # coding: utf-8
1
+ # frozen_string_literal: true
2
+
2
3
  lib = File.expand_path('../lib', __FILE__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
5
  require 'log_tribe/version'
5
6
 
6
7
  Gem::Specification.new do |spec|
7
- spec.name = 'log_tribe'
8
+ spec.name = 'log_tribe'.freeze
8
9
  spec.version = LogTribe::VERSION
9
- spec.authors = ['Christian Kakesa']
10
- spec.email = ['christian.kakesa@gmail.com']
10
+ spec.authors = ['Christian Kakesa'.freeze]
11
+ spec.email = ['christian.kakesa@gmail.com'.freeze]
11
12
 
12
- spec.summary = 'Write logs messages to multiple destinations.'
13
+ spec.summary = 'Write logs messages to multiple destinations.'.freeze
13
14
  spec.description = spec.summary
14
- spec.homepage = 'https://github.com/fenicks/log_tribe'
15
- spec.license = 'MIT'
15
+ spec.homepage = 'https://github.com/fenicks/log_tribe'.freeze
16
+ spec.license = 'MIT'.freeze
16
17
 
17
18
  # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
19
  # delete this section to allow pushing this gem to any host.
19
- raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.' unless spec.respond_to?(:metadata)
20
- spec.metadata['allowed_push_host'] = 'https://rubygems.org'
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
21
22
 
22
23
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
- spec.bindir = 'bin'
24
+ spec.bindir = 'bin'.freeze
24
25
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
25
- spec.require_paths = ['lib']
26
+ spec.require_paths = ['lib'.freeze]
26
27
 
27
- spec.add_development_dependency 'bundler', '~> 1.7', '>= 1.7.0'
28
- spec.add_development_dependency 'rake', '~> 0'
29
- spec.add_development_dependency 'rubocop', '~> 0'
30
- spec.add_development_dependency 'rspec', '~> 3.3'
31
- spec.add_development_dependency 'simplecov', '~> 0'
32
- spec.add_development_dependency 'coveralls', '~> 0'
33
- spec.add_development_dependency 'memory_profiler'.freeze, '~> 0'.freeze
34
- spec.add_development_dependency 'yard', '~> 0'
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
35
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: log_tribe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Kakesa