hoc 0.6 → 0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 59d2fc6efb9c42e103f219afab3f30b6c7795237
4
+ data.tar.gz: 909b0ab272d89db5b746080964033de01e5b03ba
5
+ SHA512:
6
+ metadata.gz: 033ae8f9c36c4e29919f935f62c74c758ae6ee7820c07870af05c8de68165b92f986115d2feca8795f4df7c350307bd0d3bcf517e2e61302cb94d70e8629280a
7
+ data.tar.gz: acc93df060da6ce96b1b955256e774aeaa5047fa6d31112ee0e914c7cd7eb8a5ff12d66715c386e666f517493d1a066a180873571ce19ee02072b11ee707e750
data/.gitattributes ADDED
@@ -0,0 +1,7 @@
1
+ # Check out all text files in UNIX format, with LF as end of line
2
+ # Don't change this file. If you have any ideas about it, please
3
+ # submit a separate issue about it and we'll discuss.
4
+
5
+ * text=auto eol=lf
6
+ *.java ident
7
+ *.xml ident
data/.simplecov CHANGED
@@ -23,12 +23,22 @@
23
23
 
24
24
  require 'coveralls'
25
25
 
26
- SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
26
+ if Gem.win_platform? then
27
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
28
+ SimpleCov::Formatter::HTMLFormatter
29
+ ]
30
+ SimpleCov.start do
31
+ add_filter "/test/"
32
+ add_filter "/features/"
33
+ end
34
+ else
35
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
27
36
  SimpleCov::Formatter::HTMLFormatter,
28
37
  Coveralls::SimpleCov::Formatter
29
- ]
30
- SimpleCov.start do
31
- add_filter "/test/"
32
- add_filter "/features/"
33
- minimum_coverage 100
38
+ ]
39
+ SimpleCov.start do
40
+ add_filter "/test/"
41
+ add_filter "/features/"
42
+ minimum_coverage 100
43
+ end
34
44
  end
data/.travis.yml CHANGED
@@ -1,17 +1,25 @@
1
1
  language: ruby
2
+ rvm:
3
+ - 2.0.0
2
4
  cache: bundler
3
5
  branches:
4
6
  only:
5
7
  - master
8
+ addons:
9
+ apt:
10
+ packages:
11
+ - diffstat
6
12
  install:
7
13
  - travis_retry sudo apt-get update
8
- - travis_retry sudo apt-get install -y diffstat
9
14
  - travis_retry sudo apt-get remove -y subversion git
10
15
  - travis_retry sudo add-apt-repository "deb http://ppa.launchpad.net/svn/ppa/ubuntu precise main"
11
16
  - travis_retry sudo add-apt-repository -y ppa:git-core/ppa
12
17
  - travis_retry sudo apt-get update
13
18
  - travis_retry sudo apt-get install -y subversion git
14
19
  - travis_retry bundle install
20
+ - svn --version
21
+ - git --version
22
+ - diffstat --version
15
23
  script:
16
24
  - rake
17
25
 
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
  [![DevOps By Rultor.com](http://www.rultor.com/b/teamed/hoc)](http://www.rultor.com/p/teamed/hoc)
3
3
 
4
4
  [![Build Status](https://travis-ci.org/teamed/hoc.svg)](https://travis-ci.org/teamed/hoc)
5
+ [![Build status](https://ci.appveyor.com/api/projects/status/yww1brb4xy80jh11?svg=true)](https://ci.appveyor.com/project/yegor256/hoc)
6
+
5
7
  [![Gem Version](https://badge.fury.io/rb/hoc.svg)](http://badge.fury.io/rb/hoc)
6
8
  [![Dependency Status](https://gemnasium.com/teamed/hoc.svg)](https://gemnasium.com/teamed/hoc)
7
9
  [![Code Climate](http://img.shields.io/codeclimate/github/teamed/hoc.svg)](https://codeclimate.com/github/teamed/hoc)
@@ -24,4 +26,27 @@ Run it locally and read its output:
24
26
  $ hoc --help
25
27
  ```
26
28
 
29
+ For Subversion statistics you must have
30
+ [diffstat](http://sourceforge.net/projects/mingw/files/MSYS/Extension/diffstat/)
31
+ installed.
32
+
33
+ ## Questions?
34
+
35
+ If you have any questions about the tool, or something doesn't work as expected,
36
+ please [submit an issue here](https://github.com/teamed/hoc/issues/new).
37
+
38
+ ## How to contribute?
39
+
40
+ Fork the repository, make changes, submit a pull request.
41
+ We promise to review your changes same day and apply to
42
+ the `master` branch, if they look correct.
43
+
44
+ Please run Rake build before submitting a pull request (make sure you
45
+ have [bundler](http://bundler.io/) installed):
46
+
47
+ ```
48
+ $ bundle install
49
+ $ rake
50
+ ```
27
51
 
52
+ Make sure you're using Ruby 2.0+.
data/Rakefile CHANGED
@@ -66,6 +66,7 @@ end
66
66
  require 'cucumber/rake/task'
67
67
  Cucumber::Rake::Task.new(:features) do |t|
68
68
  t.profile = 'travis'
69
+ t.cucumber_opts = '--format pretty --no-color'
69
70
  end
70
71
  Cucumber::Rake::Task.new(:'features:html') do |t|
71
72
  t.profile = 'html_report'
data/appveyor.yml ADDED
@@ -0,0 +1,22 @@
1
+ version: '{build}'
2
+ skip_tags: true
3
+ clone_depth: 10
4
+ branches:
5
+ only:
6
+ - master
7
+ except:
8
+ - gh-pages
9
+ os: Windows Server 2012
10
+ install:
11
+ - cmd: SET PATH=C:\Ruby200\bin;%PATH%
12
+ - cmd: ruby --version
13
+ - cmd: svn --version
14
+ - cmd: git --version
15
+ build_script:
16
+ - bundle update
17
+ - bundle install
18
+ test_script:
19
+ - rake
20
+ cache:
21
+ - C:\Ruby200\bin -> hoc.gemspec
22
+ - C:\Ruby200\lib\ruby\gems\2.0.0 -> hoc.gemspec
data/bin/hoc CHANGED
@@ -48,6 +48,13 @@ opts = Slop.parse(args, strict: true, help: true) do
48
48
  as: Array,
49
49
  argument: :required
50
50
  )
51
+ on(
52
+ 'd',
53
+ 'dir',
54
+ 'Directory to scan',
55
+ default: '.',
56
+ argument: :required
57
+ )
51
58
  end
52
59
 
53
60
  if opts.help?
@@ -58,4 +65,4 @@ end
58
65
  Encoding.default_external = Encoding::UTF_8
59
66
  Encoding.default_internal = Encoding::UTF_8
60
67
 
61
- puts HOC::Base.new(Dir.pwd, opts).report
68
+ puts HOC::Base.new(opts).report
data/features/cli.feature CHANGED
@@ -6,28 +6,3 @@ Feature: Command Line Processing
6
6
  When I run bin/hoc with "-h"
7
7
  Then Exit code is zero
8
8
  And Stdout contains "--format"
9
-
10
- Scenario: Simple git repo
11
- Given I run bash:
12
- """
13
- set -e
14
- git init .
15
- git config user.email test@teamed.io
16
- git config user.name test
17
- echo 'hello, world!' > test.txt
18
- git add test.txt
19
- git commit -am test
20
- """
21
- When I run bin/hoc with "-f int"
22
- Then Exit code is zero
23
- And Stdout contains "1"
24
-
25
- Scenario: Real git repo
26
- Given I run bash:
27
- """
28
- set -e
29
- rm -rf *
30
- git clone https://github.com/teamed/hoc.git .
31
- """
32
- When I run bin/hoc with "-f int"
33
- Then Exit code is zero
@@ -3,20 +3,20 @@ Feature: Gem Package
3
3
  package the Gem into .gem file
4
4
 
5
5
  Scenario: Gem can be packaged
6
+ Given It is Unix
6
7
  Given I have a "execs.rb" file with content:
7
- """
8
- #!/usr/bin/env ruby
9
- require 'rubygems'
10
- spec = Gem::Specification::load('./spec.rb')
11
- fail 'no executables' if spec.executables.empty?
12
- """
8
+ """
9
+ #!/usr/bin/env ruby
10
+ require 'rubygems'
11
+ spec = Gem::Specification::load('./spec.rb')
12
+ fail 'no executables' if spec.executables.empty?
13
+ """
13
14
  When I run bash:
14
- """
15
- set -e
16
- cd hoc
17
- gem build hoc.gemspec
18
- gem specification --ruby hoc-*.gem > ../spec.rb
19
- cd ..
20
- ruby execs.rb
21
- """
15
+ """
16
+ cd hoc
17
+ gem build hoc.gemspec
18
+ gem specification --ruby hoc-*.gem > ../spec.rb
19
+ cd ..
20
+ ruby execs.rb
21
+ """
22
22
  Then Exit code is zero
@@ -0,0 +1,27 @@
1
+ Feature: Git repo processing
2
+ As a source code writer I want to be able to
3
+ calculate my hits-of-code metric
4
+
5
+ Scenario: Simple git repo
6
+ Given It is Unix
7
+ Given I run bash:
8
+ """
9
+ git init .
10
+ git config user.email test@teamed.io
11
+ git config user.name test
12
+ echo 'hello, world!' > test.txt
13
+ git add test.txt
14
+ git commit -am test
15
+ """
16
+ When I run bin/hoc with "-f int"
17
+ Then Exit code is zero
18
+ And Stdout contains "1"
19
+
20
+ Scenario: Real git repo
21
+ Given I run bash:
22
+ """
23
+ git clone https://github.com/teamed/hoc.git hoc-repo
24
+ """
25
+ When I run bin/hoc with "-f int -d hoc-repo"
26
+ Then Exit code is zero
27
+
@@ -3,18 +3,18 @@ Feature: Exclude dirs from Git counting
3
3
  exclude certain files from counting
4
4
 
5
5
  Scenario: Simple git repo
6
+ Given It is Unix
6
7
  Given I run bash:
7
- """
8
- set -e
9
- git init .
10
- git config user.email test@teamed.io
11
- git config user.name test
12
- mkdir x
13
- echo 'hello, world!' > x/invalid.txt
14
- echo 'hello, world!' > valid.txt
15
- git add .
16
- git commit -am test
17
- """
8
+ """
9
+ git init .
10
+ git config user.email test@teamed.io
11
+ git config user.name test
12
+ mkdir x
13
+ echo 'hello, world!' > x/invalid.txt
14
+ echo 'hello, world!' > valid.txt
15
+ git add .
16
+ git commit -am test
17
+ """
18
18
  When I run bin/hoc with "-e x/** -e a.txt"
19
19
  Then Exit code is zero
20
20
  And Stdout contains "1"
@@ -38,10 +38,20 @@ After do
38
38
  FileUtils.rm_rf(@dir) if File.exist?(@dir)
39
39
  end
40
40
 
41
- Given(/^I run bash:$/) do |bash|
41
+ Given(/^It is Unix$/) do
42
+ pending if Gem.win_platform?
43
+ end
44
+
45
+ Given(/^It is Windows$/) do
46
+ pending unless Gem.win_platform?
47
+ end
48
+
49
+ Given(/^I run bash:$/) do |script|
42
50
  FileUtils.copy_entry(@cwd, File.join(@dir, 'hoc'))
43
- @stdout = `#{bash}`
51
+ cmd = script.split("\n").join(' && ')
52
+ @stdout = `#{cmd}`
44
53
  @exitstatus = $CHILD_STATUS.exitstatus
54
+ fail 'non-zero exit code' unless @exitstatus == 0
45
55
  end
46
56
 
47
57
  When(/^I run bin\/hoc with "([^"]*)"$/) do |arg|
@@ -52,7 +62,7 @@ end
52
62
 
53
63
  Then(/^Stdout contains "([^"]*)"$/) do |txt|
54
64
  unless @stdout.include?(txt)
55
- fail "STDOUT doesn't contain '#{txt}':\n#{@stdout}"
65
+ fail "STDOUT doesn't contain '#{txt}':\n\n--------\n#{@stdout}\n--------\n"
56
66
  end
57
67
  end
58
68
 
@@ -0,0 +1,22 @@
1
+ Feature: SVN Repo Processing
2
+ As a source code writer I want to be able to
3
+ calculate my hits-of-code metric
4
+
5
+ Scenario: Simple SVN repo
6
+ Given It is Unix
7
+ Given I run bash:
8
+ """
9
+ svnadmin create base
10
+ svn co file://$(pwd)/base repo
11
+ cd repo
12
+ echo 'Hello, world!' > test.txt
13
+ svn add test.txt
14
+ svn ci -m 'first commit'
15
+ echo 'Bye!' > test.txt
16
+ svn ci -m 'second commit'
17
+ svn rm test.txt
18
+ svn ci -m 'third commit'
19
+ svn up
20
+ """
21
+ When I run bin/hoc with "-f int -d repo"
22
+ Then Exit code is zero
@@ -4,11 +4,11 @@ Feature: Using .hoc config file
4
4
  it via .hoc configuration file
5
5
 
6
6
  Scenario: Simple hoc counting
7
+ Given It is Unix
7
8
  Given I run bash:
8
- """
9
- set -e
10
- echo '--help' > .hoc
11
- """
9
+ """
10
+ echo '--help' > .hoc
11
+ """
12
12
  When I run bin/hoc with "-f int"
13
13
  Then Exit code is zero
14
14
  And Stdout contains "[options]"
data/hoc.gemspec CHANGED
@@ -46,7 +46,7 @@ Gem::Specification.new do |s|
46
46
  s.rdoc_options = ['--charset=UTF-8']
47
47
  s.extra_rdoc_files = %w(README.md LICENSE.txt)
48
48
  s.add_runtime_dependency 'slop', '3.6.0'
49
- s.add_runtime_dependency 'rake', '10.3.2'
49
+ s.add_runtime_dependency 'rake', '10.4.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
@@ -37,8 +37,7 @@ module HOC
37
37
  fail "git version #{version} is too old, upgrade it to 2.0+" unless
38
38
  Gem::Version.new(version) >= Gem::Version.new('2.0')
39
39
  cmd = [
40
- 'git',
41
- "'--git-dir=#{@dir}/.git'",
40
+ "cd #{@dir} && git",
42
41
  'log', '--pretty=tformat:', '--numstat',
43
42
  '--ignore-space-change', '--ignore-all-space',
44
43
  '--ignore-submodules', '--no-color',
data/lib/hoc/svn.rb CHANGED
@@ -32,12 +32,12 @@ module HOC
32
32
  end
33
33
 
34
34
  def hits
35
- version = `svn --version --quiet`
35
+ version = `svn --non-interactive --version --quiet`
36
36
  fail "svn version #{version} is too old, upgrade it to 1.7+" unless
37
37
  Gem::Version.new(version) >= Gem::Version.new('1.7')
38
38
  fail 'diffstat is not installed' if
39
39
  `diffstat -V`.index('version').nil?
40
- log = `cd '#{@dir}'; svn log --diff | diffstat`
40
+ log = `cd '#{@dir}' && svn log --diff | diffstat`
41
41
  [
42
42
  Hits.new(
43
43
  Time.now,
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.6'
29
+ VERSION = '0.7'
30
30
  end
data/lib/hoc.rb CHANGED
@@ -32,10 +32,9 @@ module HOC
32
32
  # Code base abstraction
33
33
  class Base
34
34
  # Ctor.
35
- # +dir+:: Directory to read from
36
35
  # +opts+:: Options
37
- def initialize(dir, opts)
38
- @dir = dir
36
+ def initialize(opts)
37
+ @dir = opts[:dir]
39
38
  fail "only \"int\" format is supported now" unless
40
39
  opts[:format].nil? || opts[:format] == 'int'
41
40
  @exclude = opts[:exclude].nil? ? [] : opts[:exclude]
data/test/test_git.rb CHANGED
@@ -31,6 +31,7 @@ require 'tmpdir'
31
31
  # License:: MIT
32
32
  class TestGit < Minitest::Test
33
33
  def test_parsing
34
+ skip if Gem.win_platform?
34
35
  Dir.mktmpdir 'test' do |dir|
35
36
  fail unless system("
36
37
  set -e
@@ -53,6 +54,7 @@ class TestGit < Minitest::Test
53
54
  end
54
55
 
55
56
  def test_parsing_with_empty_git
57
+ skip if Gem.win_platform?
56
58
  Dir.mktmpdir 'test' do |dir|
57
59
  fail unless system("
58
60
  set -e
@@ -66,6 +68,7 @@ class TestGit < Minitest::Test
66
68
  end
67
69
 
68
70
  def test_ignores_binary_files
71
+ skip if Gem.win_platform?
69
72
  Dir.mktmpdir 'test' do |dir|
70
73
  fail unless system("
71
74
  set -e
data/test/test_hoc.rb CHANGED
@@ -32,6 +32,7 @@ require 'slop'
32
32
  # License:: MIT
33
33
  class TestHOC < Minitest::Test
34
34
  def test_basic_git
35
+ skip if Gem.win_platform?
35
36
  Dir.mktmpdir 'test' do |dir|
36
37
  fail unless system("
37
38
  set -e
@@ -43,11 +44,12 @@ class TestHOC < Minitest::Test
43
44
  git add test.txt
44
45
  git commit -am test
45
46
  ")
46
- assert HOC::Base.new(dir, exclude: ['a/**']).report > 0
47
+ assert HOC::Base.new(dir: '.', exclude: ['a/**']).report > 0
47
48
  end
48
49
  end
49
50
 
50
51
  def test_basic_svn
52
+ skip if Gem.win_platform?
51
53
  Dir.mktmpdir 'test' do |dir|
52
54
  fail unless system("
53
55
  set -e
@@ -64,14 +66,14 @@ class TestHOC < Minitest::Test
64
66
  svn ci -m 'third commit'
65
67
  svn up
66
68
  ")
67
- assert HOC::Base.new(File.join(dir, 'repo'), {}).report > 0
69
+ assert HOC::Base.new(dir: File.join(dir, 'repo')).report > 0
68
70
  end
69
71
  end
70
72
 
71
73
  def test_fails_if_not_repo
72
74
  Dir.mktmpdir 'test' do |dir|
73
75
  assert_raises RuntimeError do
74
- HOC::Base.new(dir, {}).report
76
+ HOC::Base.new(dir: dir).report
75
77
  end
76
78
  end
77
79
  end
@@ -79,7 +81,7 @@ class TestHOC < Minitest::Test
79
81
  def test_fails_if_not_int
80
82
  Dir.mktmpdir 'test' do |dir|
81
83
  assert_raises RuntimeError do
82
- HOC::Base.new(dir, format: 'text').report
84
+ HOC::Base.new(dir: dir, format: 'text').report
83
85
  end
84
86
  end
85
87
  end
data/test/test_svn.rb CHANGED
@@ -31,6 +31,7 @@ require 'tmpdir'
31
31
  # License:: MIT
32
32
  class TestSvn < Minitest::Test
33
33
  def test_parsing
34
+ skip if Gem.win_platform?
34
35
  Dir.mktmpdir 'test' do |dir|
35
36
  fail unless system("
36
37
  set -e
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoc
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.6'
5
- prerelease:
4
+ version: '0.7'
6
5
  platform: ruby
7
6
  authors:
8
7
  - Yegor Bugayenko
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2015-05-01 00:00:00.000000000 Z
11
+ date: 2015-12-24 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: slop
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - '='
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - '='
28
25
  - !ruby/object:Gem::Version
@@ -30,23 +27,20 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - '='
36
32
  - !ruby/object:Gem::Version
37
- version: 10.3.2
33
+ version: 10.4.2
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - '='
44
39
  - !ruby/object:Gem::Version
45
- version: 10.3.2
40
+ version: 10.4.2
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: coveralls
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - '='
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - '='
60
53
  - !ruby/object:Gem::Version
@@ -62,7 +55,6 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rdoc
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - '='
68
60
  - !ruby/object:Gem::Version
@@ -70,7 +62,6 @@ dependencies:
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - '='
76
67
  - !ruby/object:Gem::Version
@@ -78,7 +69,6 @@ dependencies:
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: cucumber
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
73
  - - '='
84
74
  - !ruby/object:Gem::Version
@@ -86,7 +76,6 @@ dependencies:
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
80
  - - '='
92
81
  - !ruby/object:Gem::Version
@@ -94,7 +83,6 @@ dependencies:
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: minitest
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
87
  - - '='
100
88
  - !ruby/object:Gem::Version
@@ -102,7 +90,6 @@ dependencies:
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
94
  - - '='
108
95
  - !ruby/object:Gem::Version
@@ -110,7 +97,6 @@ dependencies:
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: rubocop
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
101
  - - '='
116
102
  - !ruby/object:Gem::Version
@@ -118,7 +104,6 @@ dependencies:
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
108
  - - '='
124
109
  - !ruby/object:Gem::Version
@@ -126,7 +111,6 @@ dependencies:
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: rubocop-rspec
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
115
  - - '='
132
116
  - !ruby/object:Gem::Version
@@ -134,7 +118,6 @@ dependencies:
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
122
  - - '='
140
123
  - !ruby/object:Gem::Version
@@ -142,7 +125,6 @@ dependencies:
142
125
  - !ruby/object:Gem::Dependency
143
126
  name: rspec-rails
144
127
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
128
  requirements:
147
129
  - - '='
148
130
  - !ruby/object:Gem::Version
@@ -150,7 +132,6 @@ dependencies:
150
132
  type: :development
151
133
  prerelease: false
152
134
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
135
  requirements:
155
136
  - - '='
156
137
  - !ruby/object:Gem::Version
@@ -164,22 +145,26 @@ extra_rdoc_files:
164
145
  - README.md
165
146
  - LICENSE.txt
166
147
  files:
167
- - .gitignore
168
- - .rubocop.yml
169
- - .rultor.yml
170
- - .simplecov
171
- - .travis.yml
148
+ - ".gitattributes"
149
+ - ".gitignore"
150
+ - ".rubocop.yml"
151
+ - ".rultor.yml"
152
+ - ".simplecov"
153
+ - ".travis.yml"
172
154
  - Gemfile
173
155
  - LICENSE.txt
174
156
  - README.md
175
157
  - Rakefile
158
+ - appveyor.yml
176
159
  - bin/hoc
177
160
  - cucumber.yml
178
161
  - features/cli.feature
179
162
  - features/gem_package.feature
163
+ - features/git_basics.feature
180
164
  - features/git_excludes.feature
181
165
  - features/step_definitions/steps.rb
182
166
  - features/support/env.rb
167
+ - features/svn_basics.feature
183
168
  - features/uses_config.feature
184
169
  - hoc.gemspec
185
170
  - lib/hoc.rb
@@ -194,35 +179,36 @@ files:
194
179
  homepage: http://github.com/teamed/hoc
195
180
  licenses:
196
181
  - MIT
182
+ metadata: {}
197
183
  post_install_message:
198
184
  rdoc_options:
199
- - --charset=UTF-8
185
+ - "--charset=UTF-8"
200
186
  require_paths:
201
187
  - lib
202
188
  required_ruby_version: !ruby/object:Gem::Requirement
203
- none: false
204
189
  requirements:
205
- - - ! '>='
190
+ - - ">="
206
191
  - !ruby/object:Gem::Version
207
192
  version: 1.9.3
208
193
  required_rubygems_version: !ruby/object:Gem::Requirement
209
- none: false
210
194
  requirements:
211
- - - ! '>='
195
+ - - ">="
212
196
  - !ruby/object:Gem::Version
213
197
  version: '0'
214
198
  requirements: []
215
199
  rubyforge_project:
216
- rubygems_version: 1.8.23
200
+ rubygems_version: 2.4.5.1
217
201
  signing_key:
218
202
  specification_version: 2
219
203
  summary: Hits Of Code
220
204
  test_files:
221
205
  - features/cli.feature
222
206
  - features/gem_package.feature
207
+ - features/git_basics.feature
223
208
  - features/git_excludes.feature
224
209
  - features/step_definitions/steps.rb
225
210
  - features/support/env.rb
211
+ - features/svn_basics.feature
226
212
  - features/uses_config.feature
227
213
  - test/test__helper.rb
228
214
  - test/test_git.rb