logeater 0.3.1 → 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/lib/logeater/cli.rb +1 -1
- data/lib/logeater/version.rb +1 -1
- data/logeater.gemspec +6 -3
- data/test/test_helper.rb +2 -1
- metadata +38 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35ee92c429701edcd6d744f7301a94e64431d612
|
4
|
+
data.tar.gz: 47e6f5817105c8f74c92b901a57c3bea53ca8f5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82025a9438a23b5337df5813c1b3f51a1ea9dcc76734d383f446d1499b44622c28411eab6705349cb77f06281c4eab4bbf0f8dc907e0574c4237a43c335eb204
|
7
|
+
data.tar.gz: 278d438799e865804d80fe266003b74ed5b2200ea036022cc1711bd1eb829622b824c4b3cca15a06d2d1120651852fe3fecd98351edb3ef6ee34afbcfca9fd5e
|
data/lib/logeater/cli.rb
CHANGED
@@ -69,7 +69,7 @@ module Logeater
|
|
69
69
|
count = reader.remove_existing_entries!
|
70
70
|
finished_at = Time.now
|
71
71
|
|
72
|
-
$stderr.puts " \e[34mDeleted \e[1m%d\e[0;34m requests for #{
|
72
|
+
$stderr.puts " \e[34mDeleted \e[1m%d\e[0;34m requests for #{reader.filename} in \e[1m%.2f\e[0;34m seconds\e[0m\n" % [
|
73
73
|
count,
|
74
74
|
finished_at - started_at ]
|
75
75
|
|
data/lib/logeater/version.rb
CHANGED
data/logeater.gemspec
CHANGED
@@ -18,10 +18,12 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "activerecord", "
|
22
|
-
spec.add_dependency "activesupport", "
|
21
|
+
spec.add_dependency "activerecord", ">= 4.2.7", "< 5.1.0"
|
22
|
+
spec.add_dependency "activesupport", ">= 4.2.7", "< 5.1.0"
|
23
|
+
# spec.add_dependency "activerecord", "~> 5.0.0"
|
24
|
+
# spec.add_dependency "activesupport", "~> 5.0.0"
|
23
25
|
spec.add_dependency "pg", "~> 0.18.3"
|
24
|
-
spec.add_dependency "standalone_migrations", "~>
|
26
|
+
spec.add_dependency "standalone_migrations", "~> 5.0.0"
|
25
27
|
spec.add_dependency "addressable"
|
26
28
|
spec.add_dependency "ruby-progressbar"
|
27
29
|
spec.add_dependency "activerecord-import", "~> 0.10"
|
@@ -33,6 +35,7 @@ Gem::Specification.new do |spec|
|
|
33
35
|
spec.add_development_dependency "pry"
|
34
36
|
spec.add_development_dependency "shoulda-context"
|
35
37
|
spec.add_development_dependency "minitest-reporters"
|
38
|
+
spec.add_development_dependency "minitest-reporters-turn_reporter"
|
36
39
|
spec.add_development_dependency "database_cleaner"
|
37
40
|
|
38
41
|
end
|
data/test/test_helper.rb
CHANGED
@@ -8,7 +8,8 @@ require "shoulda/context"
|
|
8
8
|
require "logeater"
|
9
9
|
|
10
10
|
require "minitest/reporters"
|
11
|
-
|
11
|
+
require "minitest/reporters/turn_reporter"
|
12
|
+
Minitest::Reporters.use! [Minitest::Reporters::TurnReporter.new]
|
12
13
|
|
13
14
|
load File.expand_path("../../db/schema.rb", __FILE__)
|
14
15
|
|
metadata
CHANGED
@@ -1,43 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logeater
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bob Lail
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.2.
|
19
|
+
version: 4.2.7
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 5.1.0
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 4.2.7
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 5.1.0
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: activesupport
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- - "
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 4.2.7
|
40
|
+
- - "<"
|
32
41
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
42
|
+
version: 5.1.0
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
38
|
-
- - "
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 4.2.7
|
50
|
+
- - "<"
|
39
51
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
52
|
+
version: 5.1.0
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
54
|
name: pg
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +70,14 @@ dependencies:
|
|
58
70
|
requirements:
|
59
71
|
- - "~>"
|
60
72
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
73
|
+
version: 5.0.0
|
62
74
|
type: :runtime
|
63
75
|
prerelease: false
|
64
76
|
version_requirements: !ruby/object:Gem::Requirement
|
65
77
|
requirements:
|
66
78
|
- - "~>"
|
67
79
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
80
|
+
version: 5.0.0
|
69
81
|
- !ruby/object:Gem::Dependency
|
70
82
|
name: addressable
|
71
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -206,6 +218,20 @@ dependencies:
|
|
206
218
|
- - ">="
|
207
219
|
- !ruby/object:Gem::Version
|
208
220
|
version: '0'
|
221
|
+
- !ruby/object:Gem::Dependency
|
222
|
+
name: minitest-reporters-turn_reporter
|
223
|
+
requirement: !ruby/object:Gem::Requirement
|
224
|
+
requirements:
|
225
|
+
- - ">="
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: '0'
|
228
|
+
type: :development
|
229
|
+
prerelease: false
|
230
|
+
version_requirements: !ruby/object:Gem::Requirement
|
231
|
+
requirements:
|
232
|
+
- - ">="
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: '0'
|
209
235
|
- !ruby/object:Gem::Dependency
|
210
236
|
name: database_cleaner
|
211
237
|
requirement: !ruby/object:Gem::Requirement
|