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 +4 -4
- data/Rakefile +6 -4
- data/lib/log_tribe/loggers.rb +2 -0
- data/lib/log_tribe/version.rb +3 -1
- data/log_tribe.gemspec +20 -19
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51f76765a5680f9b2cba687c64bcbf5521cb92ce
|
4
|
+
data.tar.gz: 3dbc36af2eec3e8e179aac3d16aaf9afff775078
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/log_tribe/loggers.rb
CHANGED
data/lib/log_tribe/version.rb
CHANGED
data/log_tribe.gemspec
CHANGED
@@ -1,35 +1,36 @@
|
|
1
|
-
#
|
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
|