indy 0.5.0 → 0.5.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: 712e234a85c0ab55eeb8b1c47eb7cd0bad77ee55
4
- data.tar.gz: 9a366319c64e9f7db69c777c4dc9f66776b26a29
3
+ metadata.gz: 8fe9755953107079fadb6152d737ded4db29d70c
4
+ data.tar.gz: fa8f31cd93dd98314b3aba48ed24e1ed096e6c07
5
5
  SHA512:
6
- metadata.gz: 33b4f8537e0c32a94e3cf654e461a3aace37d51c528b812b1f2308e04e1f857ce1d9d791ee7d6dbd378a02847c04dd45924d146e2789d63416f448969f3a3c23
7
- data.tar.gz: c8cb0409964768cd728968feaa82f53852b161aca0ac65fee9ed872946aca7fd2ccc951948f2e0f486495408dc95693c0625ab0ff06f75547e0690fcf53d00a9
6
+ metadata.gz: b4af7fa27663589e19c88999c7fb65ce50c724eb8c041d8bfcc1c8a0c68d62e2f9bae71d557f33d8d8e803f73854b587291369b3e0f7d5812a3df5c47e494d53
7
+ data.tar.gz: 750e7d42678304119c377083c1b7e8eff6d5682be82b684397aee385cc14d1573e1a43cb8289d0a3216ccf7a5275c654bab9e19fa16bfcc3b77cd17f7daf4ad0
@@ -1,8 +1,9 @@
1
1
  language: ruby
2
+ dist: trusty
2
3
  rvm:
3
- - 2.2.1
4
+ - 2.4.2
5
+ - 2.3.5
6
+ - 2.2.8
4
7
  - 1.9.3
5
- - 1.8.7
6
- - ree
7
- - rbx-2.2.7
8
- - jruby-1.7.20
8
+ - jruby
9
+ - rbx-3
@@ -1,3 +1,8 @@
1
+ === 0.5.1 / 2017-12-30
2
+
3
+ * Update insecure gems
4
+ * Add support for ruby 2.4
5
+
1
6
  === 0.5.0 / 2015-12-08
2
7
 
3
8
  * Improved time format handling
data/README.md CHANGED
@@ -5,6 +5,7 @@ Synopsis
5
5
  --------
6
6
 
7
7
  [![build status](https://travis-ci.org/bfaloona/Indy.png)](http://travis-ci.org/bfaloona/Indy)
8
+ [![gem version](https://badge.fury.io/rb/indy.svg)](https://badge.fury.io/rb/indy)
8
9
 
9
10
  Log files are often searched for particular strings but are not often treated as data structures. Indy attempts to deliver log content via more powerful features by allowing the ability to collect segments of a log from particular time; find a particular event; or monitor/reflect on a log to see if a particular event occurred (or not occurred).
10
11
 
@@ -251,21 +252,21 @@ To create a report in /coverage, run
251
252
  Compatibility
252
253
  -------------
253
254
 
254
- Indy supports MacOS, *nix, and MS Windows and runs on the following ruby flavors:
255
+ Indy was developed on MacOS, and should support MS Windows. Travis builds run the following ruby flavors:
255
256
 
256
- - 2.2.1
257
+ - 2.4.3
258
+ - 2.3.6
259
+ - 2.2.9
257
260
  - 1.9.3
258
- - 1.8.7
259
- - ree
260
- - jruby-1.7.20
261
- - rbx-2.2.7
261
+ - jruby (?)
262
+ - rbx-3 (?)
262
263
 
263
264
  LICENSE
264
265
  -------
265
266
 
266
267
  (The MIT License)
267
268
 
268
- Copyright (c) 2010 Franklin Webber
269
+ Copyright (c) 2010 Franklin Webber, Brandon Faloona
269
270
 
270
271
  Permission is hereby granted, free of charge, to any person obtaining
271
272
  a copy of this software and associated documentation files (the
@@ -12,26 +12,26 @@ Gem::Specification.new do |s|
12
12
  s.license = 'MIT'
13
13
 
14
14
  s.platform = Gem::Platform::RUBY
15
- s.required_ruby_version = '>= 1.8.7'
16
- s.add_dependency('activesupport', '~> 3.1.12')
15
+ s.required_ruby_version = '>= 1.9.3'
16
+ s.add_dependency('activesupport', '~> 4.2.10')
17
17
 
18
18
  s.add_development_dependency('rake', '~> 10.4.0')
19
- s.add_development_dependency('i18n', '~> 0.6.11')
20
- s.add_development_dependency('cucumber', '~> 1.3.20')
21
- s.add_development_dependency('yard', '~> 0.8.7.6')
22
- s.add_development_dependency('rspec', '~> 3.4.0')
23
- s.add_development_dependency('rspec-mocks', '~> 3.4.0')
19
+ s.add_development_dependency('i18n', '~> 0.7')
20
+ s.add_development_dependency('cucumber', '~> 2.4.0')
21
+ s.add_development_dependency('yard', '~> 0.9.0')
22
+ s.add_development_dependency('rspec', '~> 3.7.0')
23
+ s.add_development_dependency('rspec-mocks', '~> 3.7.0')
24
24
  s.add_development_dependency('rb-fsevent', '~> 0.9.0')
25
25
  s.add_development_dependency('ruby_gntp', '~> 0.3.0')
26
26
  s.add_development_dependency('growl', '~> 1.0.0')
27
27
 
28
28
  unless ENV['TRAVIS'] == 'true'
29
- s.add_development_dependency('yard-cucumber', '~> 2.3.0')
29
+ s.add_development_dependency('yard-cucumber', '~> 3.1.0')
30
30
  s.add_development_dependency('flog', '~> 4.3.0')
31
- s.add_development_dependency('guard', '~> 1.8.0')
31
+ s.add_development_dependency('guard', '~> 2.14.1')
32
32
  unless ENV['RUBY_VERSION'] && ENV['RUBY_VERSION'].match(/jruby|rbx/)
33
33
  s.add_development_dependency('guard-rspec', '~> 1.2.0')
34
- s.add_development_dependency('guard-cucumber', '~> 1.5.0')
34
+ s.add_development_dependency('guard-cucumber', '~> 2.1.2')
35
35
  s.add_development_dependency('ruby-prof', '~> 0.13.0')
36
36
  s.add_development_dependency('rspec-prof', '~> 0.0.0')
37
37
  s.add_development_dependency('simplecov', '~> 0.11.0')
@@ -202,7 +202,7 @@ class Indy
202
202
  #
203
203
  # Return an array of Struct::Entry objects for the last N valid entries from the source
204
204
  #
205
- # @param [Fixnum] num the number of entries to retrieve
205
+ # @param [Integer] num the number of entries to retrieve
206
206
  #
207
207
  def last_entries(num)
208
208
  num_entries = 0
@@ -1,7 +1,7 @@
1
1
 
2
2
  class Indy
3
3
 
4
- VERSION = '0.5.0'
4
+ VERSION = '0.5.1'
5
5
 
6
6
  def self.show_version_changes(version)
7
7
  date = ""
@@ -71,16 +71,16 @@ describe 'Indy' do
71
71
  end
72
72
 
73
73
  it "##{method} should accept a hash of search criteria" do
74
- expect(@indy.send(method,:severity => "INFO")).to be_kind_of(Array)
74
+ expect(@indy.send(method,:severity => "INFO")).to be_a_kind_of(Array)
75
75
  end
76
76
 
77
77
  it "##{method} should return a set of results" do
78
- expect(@indy.send(method,:severity => "DEBUG")).to be_kind_of(Array)
78
+ expect(@indy.send(method,:severity => "DEBUG")).to be_a_kind_of(Array)
79
79
  end
80
80
  end
81
81
 
82
82
  it "#last should return self" do
83
- expect(@indy.last(:span => 1)).to be_kind_of Indy
83
+ expect(@indy.last(:span => 1)).to be_a_kind_of Indy
84
84
  end
85
85
 
86
86
  it "#last should set the time scope to the correct number of minutes" do
@@ -270,7 +270,7 @@ describe 'Indy' do
270
270
 
271
271
  it "with #for should yield Struct::Entry" do
272
272
  Indy.search(log).all do |result|
273
- expect(result).to be_kind_of(Struct::Entry)
273
+ expect(result).to be_a_kind_of(Struct::Entry)
274
274
  end
275
275
  end
276
276
 
@@ -12,7 +12,7 @@ describe 'Indy' do
12
12
  end
13
13
 
14
14
  it "should be returned by #for search" do
15
- expect(@entry_struct).to be_kind_of Struct::Entry
15
+ expect(@entry_struct).to be_a_kind_of Struct::Entry
16
16
  end
17
17
 
18
18
  it "should contain entire log entry as :raw_entry" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franklin Webber
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-12-08 00:00:00.000000000 Z
12
+ date: 2017-12-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 3.1.12
20
+ version: 4.2.10
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 3.1.12
27
+ version: 4.2.10
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rake
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -45,70 +45,70 @@ dependencies:
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: 0.6.11
48
+ version: '0.7'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: 0.6.11
55
+ version: '0.7'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: cucumber
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: 1.3.20
62
+ version: 2.4.0
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: 1.3.20
69
+ version: 2.4.0
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: yard
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: 0.8.7.6
76
+ version: 0.9.0
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: 0.8.7.6
83
+ version: 0.9.0
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rspec
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: 3.4.0
90
+ version: 3.7.0
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: 3.4.0
97
+ version: 3.7.0
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: rspec-mocks
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: 3.4.0
104
+ version: 3.7.0
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: 3.4.0
111
+ version: 3.7.0
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: rb-fsevent
114
114
  requirement: !ruby/object:Gem::Requirement
@@ -157,14 +157,14 @@ dependencies:
157
157
  requirements:
158
158
  - - "~>"
159
159
  - !ruby/object:Gem::Version
160
- version: 2.3.0
160
+ version: 3.1.0
161
161
  type: :development
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
165
  - - "~>"
166
166
  - !ruby/object:Gem::Version
167
- version: 2.3.0
167
+ version: 3.1.0
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: flog
170
170
  requirement: !ruby/object:Gem::Requirement
@@ -185,14 +185,14 @@ dependencies:
185
185
  requirements:
186
186
  - - "~>"
187
187
  - !ruby/object:Gem::Version
188
- version: 1.8.0
188
+ version: 2.14.1
189
189
  type: :development
190
190
  prerelease: false
191
191
  version_requirements: !ruby/object:Gem::Requirement
192
192
  requirements:
193
193
  - - "~>"
194
194
  - !ruby/object:Gem::Version
195
- version: 1.8.0
195
+ version: 2.14.1
196
196
  - !ruby/object:Gem::Dependency
197
197
  name: guard-rspec
198
198
  requirement: !ruby/object:Gem::Requirement
@@ -213,14 +213,14 @@ dependencies:
213
213
  requirements:
214
214
  - - "~>"
215
215
  - !ruby/object:Gem::Version
216
- version: 1.5.0
216
+ version: 2.1.2
217
217
  type: :development
218
218
  prerelease: false
219
219
  version_requirements: !ruby/object:Gem::Requirement
220
220
  requirements:
221
221
  - - "~>"
222
222
  - !ruby/object:Gem::Version
223
- version: 1.5.0
223
+ version: 2.1.2
224
224
  - !ruby/object:Gem::Dependency
225
225
  name: ruby-prof
226
226
  requirement: !ruby/object:Gem::Requirement
@@ -336,14 +336,10 @@ licenses:
336
336
  - MIT
337
337
  metadata: {}
338
338
  post_install_message: "\n [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>]
339
- [<>] [<>] [<>] [<>]\n\n Thank you for installing Indy 0.5.0 / 2015-12-08.\n\n
340
- \ Changes:\n \n * Improved time format handling\n * Multiline :entry_regexp
341
- now requires a capture group for the entire entry\n * Faster time scoped searches
342
- when using single line log formats\n * result.raw_entry has replaced result.line\n
343
- \ * Indy#all has replaced Indy#for(:all)\n * LogDefinition internal cleanup\n *
344
- Restored support for Ruby 1.8.7\n \n\n Please find examples at https://github.com/bfaloona/Indy#readme\n
345
- \ [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>]\n\n
346
- \ "
339
+ [<>] [<>] [<>] [<>]\n\n Thank you for installing Indy 0.5.1 / 2017-12-30.\n\n
340
+ \ Changes:\n \n * Update insecure gems\n * Add support for ruby 2.4\n \n\n
341
+ \ Please find examples at https://github.com/bfaloona/Indy#readme\n [<>] [<>]
342
+ [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>] [<>]\n\n "
347
343
  rdoc_options:
348
344
  - "--charset=UTF-8"
349
345
  require_paths:
@@ -352,7 +348,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
352
348
  requirements:
353
349
  - - ">="
354
350
  - !ruby/object:Gem::Version
355
- version: 1.8.7
351
+ version: 1.9.3
356
352
  required_rubygems_version: !ruby/object:Gem::Requirement
357
353
  requirements:
358
354
  - - ">="
@@ -360,10 +356,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
360
356
  version: '0'
361
357
  requirements: []
362
358
  rubyforge_project:
363
- rubygems_version: 2.4.8
359
+ rubygems_version: 2.6.14
364
360
  signing_key:
365
361
  specification_version: 4
366
- summary: indy-0.5.0
362
+ summary: indy-0.5.1
367
363
  test_files:
368
364
  - features/README.md
369
365
  - features/after_time.feature
@@ -406,4 +402,3 @@ test_files:
406
402
  - spec/time_scope_spec.rb
407
403
  - spec/time_spec.rb
408
404
  - spec/tmp/rspec_guard_result
409
- has_rdoc: