hoc 0.4 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/hoc.gemspec CHANGED
@@ -45,8 +45,8 @@ Gem::Specification.new do |s|
45
45
  s.test_files = s.files.grep(/^(test|spec|features)\//)
46
46
  s.rdoc_options = ['--charset=UTF-8']
47
47
  s.extra_rdoc_files = %w(README.md LICENSE.txt)
48
- s.add_runtime_dependency 'slop', '3.6'
49
- s.add_runtime_dependency 'rake', '10.1'
48
+ s.add_runtime_dependency 'slop', '3.6.0'
49
+ s.add_runtime_dependency 'rake', '10.3.2'
50
50
  s.add_development_dependency 'coveralls', '0.7'
51
51
  s.add_development_dependency 'rdoc', '3.11'
52
52
  s.add_development_dependency 'cucumber', '1.3.11'
data/lib/hoc/git.rb CHANGED
@@ -39,7 +39,7 @@ module HOC
39
39
  [
40
40
  Hits.new(
41
41
  Time.now,
42
- log.split(/\n/).map do |t|
42
+ log.split(/\n/).delete_if(&:empty?).map do |t|
43
43
  t.split(/\t/).take(2).map { |s| s.to_i }.inject(:+)
44
44
  end.inject(:+)
45
45
  )
data/lib/hoc/version.rb CHANGED
@@ -26,5 +26,5 @@
26
26
  # Copyright:: Copyright (c) 2014 Yegor Bugayenko
27
27
  # License:: MIT
28
28
  module HOC
29
- VERSION = '0.4'
29
+ VERSION = '0.4.1'
30
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoc
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.4'
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-14 00:00:00.000000000 Z
12
+ date: 2014-11-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: slop
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: '3.6'
21
+ version: 3.6.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: '3.6'
29
+ version: 3.6.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rake
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - '='
36
36
  - !ruby/object:Gem::Version
37
- version: '10.1'
37
+ version: 10.3.2
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - '='
44
44
  - !ruby/object:Gem::Version
45
- version: '10.1'
45
+ version: 10.3.2
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: coveralls
48
48
  requirement: !ruby/object:Gem::Requirement