logtrend 0.7.20101204170528 → 0.7.20101204171005

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/logtrend.rb +2 -1
  2. metadata +3 -3
@@ -83,8 +83,9 @@ module LogTrend
83
83
  end
84
84
 
85
85
  def self.run(logfile, &block)
86
+ throw "D'oh! No block." unless block_given?
86
87
  l = Base.new
87
- yield l if block
88
+ yield l
88
89
  l.run logfile
89
90
  end
90
91
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logtrend
3
3
  version: !ruby/object:Gem::Version
4
- hash: 40202408341059
4
+ hash: 40202408342009
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 20101204170528
10
- version: 0.7.20101204170528
9
+ - 20101204171005
10
+ version: 0.7.20101204171005
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Gorsuch