kata 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/kata/base.rb +1 -3
  2. data/lib/kata/version.rb +1 -1
  3. metadata +2 -2
data/lib/kata/base.rb CHANGED
@@ -62,9 +62,7 @@ module Kata
62
62
  file.puts "Total Time taking #{@kata_name} kata: ".ljust(70, ' ') + ' ' * 5 + formatter.call(@@times.inject(0) {|s,h| s += h[:time]})
63
63
  end
64
64
 
65
- File.open('results.txt', 'r') do |file|
66
- puts file.readline
67
- end
65
+ File.open('results.txt', 'r').each { |line| puts line}
68
66
  end
69
67
 
70
68
  exit 1 unless status
data/lib/kata/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kata
2
- VERSION = '1.0.8'
2
+ VERSION = '1.0.9'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: kata
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.8
5
+ version: 1.0.9
6
6
  platform: ruby
7
7
  authors:
8
8
  - Wes
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-10-03 00:00:00 -07:00
14
+ date: 2011-10-05 00:00:00 -07:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency