rumbrl 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +27 -28
- data/lib/rumbrl/log.rb +4 -1
- data/lib/rumbrl/version.rb +1 -1
- data/rumbrl.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd9b50771e691f739d4907afd96ae6b815b81d54
|
4
|
+
data.tar.gz: f3daec85e76d030a6e2488e3455ef1db3070d637
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0dd5b8a4dc6e5f7ec89ae9d384ed6f154265ddabaa7f5c3dd53112ac16dfa408dbed3cbdf393a304183f9930c85e468f367ea5dfdb8c61318a520a0be9ff8952
|
7
|
+
data.tar.gz: c6c46e5cf46ab53b4f87167104117d77aafb920fcb8638791c4ceea4052b323beb5c33fc32c369114f4909635e4e3cb8902d6993a0d9475f983bf140ece3ee65
|
data/Gemfile.lock
CHANGED
@@ -1,53 +1,52 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rumbrl (0.
|
4
|
+
rumbrl (0.4.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
activesupport (4.1
|
10
|
-
i18n (~> 0.
|
9
|
+
activesupport (4.2.1)
|
10
|
+
i18n (~> 0.7)
|
11
11
|
json (~> 1.7, >= 1.7.7)
|
12
12
|
minitest (~> 5.1)
|
13
|
-
thread_safe (~> 0.
|
13
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
14
14
|
tzinfo (~> 1.1)
|
15
15
|
ast (2.0.0)
|
16
16
|
astrolabe (1.3.0)
|
17
17
|
parser (>= 2.2.0.pre.3, < 3.0)
|
18
18
|
diff-lcs (1.2.5)
|
19
19
|
gem-release (0.7.3)
|
20
|
-
i18n (0.
|
21
|
-
json (1.8.
|
22
|
-
minitest (5.
|
23
|
-
parser (2.2.
|
20
|
+
i18n (0.7.0)
|
21
|
+
json (1.8.3)
|
22
|
+
minitest (5.7.0)
|
23
|
+
parser (2.2.2.5)
|
24
24
|
ast (>= 1.1, < 3.0)
|
25
|
-
|
26
|
-
powerpack (0.0.9)
|
25
|
+
powerpack (0.1.1)
|
27
26
|
rainbow (2.0.0)
|
28
|
-
rspec (3.
|
29
|
-
rspec-core (~> 3.
|
30
|
-
rspec-expectations (~> 3.
|
31
|
-
rspec-mocks (~> 3.
|
32
|
-
rspec-core (3.
|
33
|
-
rspec-support (~> 3.
|
34
|
-
rspec-expectations (3.1
|
27
|
+
rspec (3.2.0)
|
28
|
+
rspec-core (~> 3.2.0)
|
29
|
+
rspec-expectations (~> 3.2.0)
|
30
|
+
rspec-mocks (~> 3.2.0)
|
31
|
+
rspec-core (3.2.3)
|
32
|
+
rspec-support (~> 3.2.0)
|
33
|
+
rspec-expectations (3.2.1)
|
34
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
35
|
+
rspec-support (~> 3.2.0)
|
36
|
+
rspec-mocks (3.2.1)
|
35
37
|
diff-lcs (>= 1.2.0, < 2.0)
|
36
|
-
rspec-support (~> 3.
|
37
|
-
rspec-
|
38
|
-
|
39
|
-
rspec-support (3.1.2)
|
40
|
-
rubocop (0.28.0)
|
38
|
+
rspec-support (~> 3.2.0)
|
39
|
+
rspec-support (3.2.2)
|
40
|
+
rubocop (0.31.0)
|
41
41
|
astrolabe (~> 1.3)
|
42
|
-
parser (>= 2.2.
|
43
|
-
powerpack (~> 0.
|
42
|
+
parser (>= 2.2.2.1, < 3.0)
|
43
|
+
powerpack (~> 0.1)
|
44
44
|
rainbow (>= 1.99.1, < 3.0)
|
45
45
|
ruby-progressbar (~> 1.4)
|
46
|
-
ruby-progressbar (1.7.
|
47
|
-
shoulda-matchers (2.
|
46
|
+
ruby-progressbar (1.7.5)
|
47
|
+
shoulda-matchers (2.8.0)
|
48
48
|
activesupport (>= 3.0.0)
|
49
|
-
|
50
|
-
thread_safe (0.3.4)
|
49
|
+
thread_safe (0.3.5)
|
51
50
|
tzinfo (1.2.2)
|
52
51
|
thread_safe (~> 0.1)
|
53
52
|
|
data/lib/rumbrl/log.rb
CHANGED
@@ -21,7 +21,10 @@ module Rumbrl
|
|
21
21
|
:info?
|
22
22
|
|
23
23
|
def initialize(path, age, size, data_format, log_format = nil)
|
24
|
-
|
24
|
+
log_target = path
|
25
|
+
log_target = log_file(path) unless path.class == ::IO
|
26
|
+
|
27
|
+
@logger = ::Logger.new(log_target, shift_age: age, shift_size: size)
|
25
28
|
@data_format = data_format
|
26
29
|
setup_format(log_format) if log_format
|
27
30
|
end
|
data/lib/rumbrl/version.rb
CHANGED
data/rumbrl.gemspec
CHANGED
@@ -14,8 +14,8 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
17
|
-
spec.executables = spec.files.grep(
|
18
|
-
spec.test_files = spec.files.grep(
|
17
|
+
spec.executables = spec.files.grep(%r{^bin\/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)\/})
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
21
|
spec.add_development_dependency 'rubocop', '~> 0.24'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rumbrl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- chr0n1x
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|