gitit 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7cf071b26037281690cd5e4e4789e5decbe072d
4
- data.tar.gz: 226e78dddf07743516812d73904818b156fba32c
3
+ metadata.gz: ec313cfa8846588a580cb70d07af3996a196a30a
4
+ data.tar.gz: 71c7bfa7cb52460bad545e77dc2f412415b418d9
5
5
  SHA512:
6
- metadata.gz: d8401fe9bcb048e6f53c4ce393b170c63a466bbc04ea31a42819f0c35605726832e3140ab23598e05156fa1890f1fa8d50850ceab01cff3e762691621d753948
7
- data.tar.gz: 6fb384a6d5468dae0bb716b4d002f9838a6fe03717836cc0bd6aa92bca8ca912a90062920eff9bcb99275385a7be9c655b64e9990e016515553b5dfca11b185c
6
+ metadata.gz: 6771c1aa7843ae08c475e189fbcacf37061fcf00a6bd8474eeeec438c35852c3850c040a85feb819221e8ab8f7863da3ad118995a4c10c8fe6931a863304056d
7
+ data.tar.gz: e74d37ee04cf1781a673ae824c2b45f9af1d09ca933171b5fb8ab7cf0f26c6210313c9f68a576c527db3511d539d53cef97ebc382f384d11b038e97093520406
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.0.1
@@ -4,29 +4,26 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'gitit/version'
5
5
 
6
6
  Gem::Specification.new do |gem|
7
- gem.name = "gitit"
7
+ gem.name = 'gitit'
8
8
  gem.version = File.exist?('VERSION') ? File.read('VERSION') : Gitit::VERSION
9
- gem.authors = ["Pat Laplante"]
10
- gem.email = ["pat@covenofchaos.com"]
9
+ gem.authors = ['Pat Laplante']
10
+ gem.email = ['pat@covenofchaos.com']
11
11
  gem.description = %q{"ruby git command line wrapper"}
12
- gem.summary = ""
13
- gem.homepage = "http://github.com/patbonecrusher/gitit"
12
+ gem.summary = 'Git command line wrapper. Allow operations on git repos'
13
+ gem.homepage = 'http://github.com/patbonecrusher/gitit'
14
14
 
15
15
  gem.files = `git ls-files`.split($/)
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
- gem.require_paths = ["lib"]
19
- gem.licenses = ["MIT"]
18
+ gem.require_paths = ['lib']
19
+ gem.licenses = ['MIT']
20
20
 
21
-
22
- gem.add_development_dependency 'rspec'
23
- gem.add_development_dependency 'cli-colorize'
24
- gem.add_development_dependency 'rdoc', '>= 3.12'
25
- gem.add_development_dependency 'cucumber', '>= 1.0'
26
- gem.add_development_dependency 'bundler', '>= 1.0.0'
27
- gem.add_development_dependency 'simplecov'
28
21
 
29
- gem.add_dependency 'ruby'
30
- gem.add_dependency 'builder'
22
+ gem.add_development_dependency 'rspec', '~> 0'
23
+ gem.add_development_dependency 'cli-colorize', '~> 0'
24
+ gem.add_development_dependency 'rdoc', '~> 3.12'
25
+ gem.add_development_dependency 'cucumber', '~> 1.0'
26
+ gem.add_development_dependency 'bundler', '~> 1.0'
27
+ gem.add_development_dependency 'simplecov', '~> 0'
31
28
 
32
29
  end
@@ -24,15 +24,15 @@ module Gitit
24
24
  # -------------------------------------------------------------------------
25
25
  # -------------------------------------------------------------------------
26
26
  def exists_locally?(name)
27
- execute_command("branch --no-color | sed 's/^[* ] //' | grep #{name}")
28
- $?.exitstatus == 0
27
+ branches = execute_command('branch --no-color').gsub(/^[* ] /, '').lines.map(&:chomp).to_a
28
+ branches.include? name
29
29
  end
30
30
 
31
31
  # -------------------------------------------------------------------------
32
32
  # -------------------------------------------------------------------------
33
33
  def exists_remotely?(name, remote)
34
- execute_command("branch -r --no-color | sed 's/^[* ] //' | grep #{remote}/#{name}")
35
- $?.exitstatus == 0
34
+ branches = execute_command('branch -r --no-color').gsub(/^[* ] /, '').lines.map(&:chomp).to_a
35
+ branches.include? "#{remote}/#{name}"
36
36
  end
37
37
 
38
38
  # -------------------------------------------------------------------------
@@ -17,7 +17,7 @@ module Gitit
17
17
  # -------------------------------------------------------------------------
18
18
  # -------------------------------------------------------------------------
19
19
  def valid?
20
- `(cd #{@location} && git rev-parse --git-dir >/dev/null 2>&1)`
20
+ `(cd #{@location} && git rev-parse --git-dir 2>&1)`
21
21
  $?.exitstatus == 0
22
22
  end
23
23
 
@@ -36,8 +36,12 @@ module Gitit
36
36
  # -------------------------------------------------------------------------
37
37
  # -------------------------------------------------------------------------
38
38
  def untracked_files?
39
- execute_command('status --porcelain | grep ??')
40
- $?.exitstatus == 0
39
+ # execute_command('status --porcelain | grep ??')
40
+ # $?.exitstatus == 0
41
+
42
+ result = execute_command('status --porcelain')
43
+ match = result.each_line.select { |b| b.start_with? '?? ' }
44
+ match.length > 0
41
45
  end
42
46
 
43
47
  end
@@ -9,18 +9,20 @@ module Gitit
9
9
  describe '#test_repo_branch' do
10
10
 
11
11
  before(:each) do
12
- FileUtils.mkpath TEST_REPO_PATH
13
- git = Git.new(TEST_REPO_PATH)
12
+ @repo_path = Dir.mktmpdir #{|dir| @repo_path = dir }
13
+ @repo_path_bare = Dir.mktmpdir #{|dir| @repo_path_bare = dir }
14
+
15
+ git = Git.new(@repo_path)
14
16
  @my_repo = git.repo
15
17
  @my_repo.init
16
- @repo_branch = Gitit::GitBranch.new(@my_repo, 'master')
18
+ @repo_branches = git.branches
17
19
  end
18
20
 
19
21
  it 'will tell us if the branch is a valid branch' do
20
22
  end
21
23
 
22
24
  after(:each) do
23
- FileUtils.rm_rf TEST_REPO_PATH
25
+ FileUtils.rm_rf @repo_path
24
26
  end
25
27
 
26
28
  end
@@ -9,21 +9,23 @@ module Gitit
9
9
  describe '#test_branches_existance' do
10
10
 
11
11
  before(:each) do
12
- FileUtils.mkpath TEST_REPO_PATH
13
- git = Git.new(TEST_REPO_PATH)
12
+ @repo_path = Dir.mktmpdir #{|dir| @repo_path = dir }
13
+ @repo_path_bare = Dir.mktmpdir #{|dir| @repo_path_bare = dir }
14
+
15
+ git = Git.new(@repo_path)
14
16
  @my_repo = git.repo
15
17
  @my_repo.init
16
18
  @repo_branches = git.branches
17
19
 
18
- `(cd #{TEST_REPO_PATH} && git config user.email "you@example.com")`
19
- `(cd #{TEST_REPO_PATH} && git config user.name "example")`
20
+ `(cd #{@repo_path} && git config user.email "you@example.com")`
21
+ `(cd #{@repo_path} && git config user.name "example")`
20
22
 
21
- File.open("#{TEST_REPO_PATH}/out.txt", 'w+') { |file| file.write('boo!') }
22
- `(cd #{TEST_REPO_PATH} && git add #{TEST_REPO_PATH}/out.txt && git commit -am "wip")`
23
+ File.open("#{@repo_path}/out.txt", 'w+') { |file| file.write('boo!') }
24
+ `(cd #{@repo_path} && git add #{@repo_path}/out.txt && git commit -am "wip")`
23
25
 
24
- `(mkdir -p #{TEST_REPO_PATH_BARE} && cd #{TEST_REPO_PATH_BARE} && git init --bare)`
25
- `(cd #{TEST_REPO_PATH} && git remote add origin #{TEST_REPO_PATH_BARE})`
26
- `(cd #{TEST_REPO_PATH} && git push origin master --quiet)`
26
+ `(cd #{@repo_path_bare} && git init --bare)`
27
+ `(cd #{@repo_path} && git remote add origin #{@repo_path_bare})`
28
+ `(cd #{@repo_path} && git push origin master --quiet)`
27
29
 
28
30
  end
29
31
 
@@ -44,13 +46,13 @@ module Gitit
44
46
  end
45
47
 
46
48
  it 'will successfully return the right branch name' do
47
- `(cd #{TEST_REPO_PATH} && git checkout master --quiet)`
49
+ `(cd #{@repo_path} && git checkout master --quiet)`
48
50
  expect(@repo_branches.get_current_branch).to eq('master')
49
51
  end
50
52
 
51
53
  after(:each) do
52
- FileUtils.rm_rf TEST_REPO_PATH
53
- FileUtils.rm_rf TEST_REPO_PATH_BARE
54
+ FileUtils.rm_rf @repo_path
55
+ FileUtils.rm_rf @repo_path_bare
54
56
  end
55
57
 
56
58
  end
@@ -60,19 +62,25 @@ module Gitit
60
62
  describe '#testBranchCreationLocally' do
61
63
 
62
64
  before(:each) do
63
- FileUtils.mkpath TEST_REPO_PATH
64
- git = Git.new(TEST_REPO_PATH)
65
+ @repo_path = Dir.mktmpdir #{|dir| @repo_path = dir }
66
+ @repo_path_bare = Dir.mktmpdir #{|dir| @repo_path_bare = dir }
67
+
68
+ git = Git.new(@repo_path)
65
69
  @my_repo = git.repo
66
70
  @my_repo.init
67
71
  @repo_branches = git.branches
68
72
 
69
- File.open("#{TEST_REPO_PATH}/out.txt", 'w+') { |file| file.write('boo!') }
70
- `(cd #{TEST_REPO_PATH} && git add #{TEST_REPO_PATH}/out.txt && git commit -am "wip")`
73
+ `(cd #{@repo_path} && git config user.email "you@example.com")`
74
+ `(cd #{@repo_path} && git config user.name "example")`
75
+
76
+ File.open("#{@repo_path}/out.txt", 'w+') { |file| file.write('boo!') }
77
+ `(cd #{@repo_path} && git add #{@repo_path}/out.txt && git commit -am "wip")`
71
78
 
72
- `(mkdir -p #{TEST_REPO_PATH_BARE} && cd #{TEST_REPO_PATH_BARE} && git init --bare)`
73
- `(cd #{TEST_REPO_PATH} && git remote add origin #{TEST_REPO_PATH_BARE})`
74
- `(cd #{TEST_REPO_PATH} && git push origin master --quiet)`
79
+ `(cd #{@repo_path_bare} && git init --bare)`
80
+ `(cd #{@repo_path} && git remote add origin #{@repo_path_bare})`
81
+ `(cd #{@repo_path} && git push origin master --quiet)`
75
82
 
83
+
76
84
  end
77
85
 
78
86
  it 'will fail to create a local branch' do
@@ -108,8 +116,8 @@ module Gitit
108
116
  end
109
117
 
110
118
  after(:each) do
111
- FileUtils.rm_rf TEST_REPO_PATH
112
- FileUtils.rm_rf TEST_REPO_PATH_BARE
119
+ FileUtils.rm_rf @repo_path
120
+ FileUtils.rm_rf @repo_path_bare
113
121
  end
114
122
 
115
123
  end
@@ -6,19 +6,20 @@ module Gitit
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
  # -----------------------------------------------------------------------------
9
- ['--local', '--global', '--file /tmp/foo'].each { |mode|
9
+ ['--local', '--global'].each { |mode| #, '--file /tmp/foo'
10
10
 
11
11
  # ---------------------------------------------------------------------------
12
12
  # ---------------------------------------------------------------------------
13
13
  %w(mytestkey mytestkey.withsub).each {|key_section|
14
-
14
+
15
15
  # -------------------------------------------------------------------------
16
16
  # -------------------------------------------------------------------------
17
17
  describe "#TestConfig #{mode} with key_section #{key_section}" do
18
18
 
19
19
  before(:each) do
20
- FileUtils.mkpath TEST_REPO_PATH
21
- @git = Git.new(TEST_REPO_PATH)
20
+ @repo_path = Dir.mktmpdir #{|dir| @repo_path = dir }
21
+
22
+ @git = Git.new(@repo_path)
22
23
  @git.repo.init
23
24
  @config = GitConfig.new(@git.repo, location: mode)
24
25
 
@@ -27,22 +28,22 @@ module Gitit
27
28
  @key_value = 'osd aas as dsaadk'.force_encoding('UTF-8')
28
29
 
29
30
  end
30
-
31
+
31
32
  it 'will set the specified key to the specified value successfully' do
32
33
  expect{@config.set_value(@key, @key_value)}.to_not raise_error
33
34
 
34
- `(git config #{mode} --unset #{@key})`
35
- `(cd #{TEST_REPO_PATH} && git config #{mode} --remove-section #{key_section})`
35
+ `(cd #{@repo_path} && git config #{mode} --unset #{@key})`
36
+ `(cd #{@repo_path} && git config #{mode} --remove-section #{key_section})`
36
37
  end
37
-
38
+
38
39
  it 'will retrieve the specified value successfully' do
39
40
  value = ''
40
41
  expect{@config.set_value(@key, @key_value)}.to_not raise_error
41
42
  expect{value = @config.get_value(@key)}.to_not raise_error
42
43
  expect(value).to eq(@key_value)
43
44
 
44
- `(git config #{mode} --unset #{@key})`
45
- `(cd #{TEST_REPO_PATH} && git config #{mode} --remove-section #{key_section})`
45
+ `(cd #{@repo_path} && git config #{mode} --unset #{@key})`
46
+ `(cd #{@repo_path} && git config #{mode} --remove-section #{key_section})`
46
47
  end
47
48
 
48
49
  it 'will unset the specified key successfully' do
@@ -50,18 +51,18 @@ module Gitit
50
51
  expect{@config.unset_value(@key)}.to_not raise_error
51
52
  expect{@config.get_value(@key)}.to raise_error
52
53
 
53
- `(cd #{TEST_REPO_PATH} && git config #{mode} --remove-section #{key_section})`
54
+ `(cd #{@repo_path} && git config #{mode} --remove-section #{key_section})`
54
55
  end
55
-
56
+
56
57
  it 'will remove the specified section successfully' do
57
58
  expect{@config.set_value(@key, @key_value)}.to_not raise_error
58
59
  expect{@config.unset_value(@key)}.to_not raise_error
59
60
  expect{@config.remove_section(key_section)}.to_not raise_error
60
61
  expect{@config.get_value(@key)}.to raise_error
61
62
  end
62
-
63
+
63
64
  after(:each) do
64
- FileUtils.rm_rf TEST_REPO_PATH
65
+ FileUtils.rm_rf @repo_path
65
66
  end
66
67
 
67
68
  end
@@ -36,8 +36,9 @@ module Gitit
36
36
  describe '#initNewRepo' do
37
37
 
38
38
  before(:each) do
39
- FileUtils.mkpath TEST_REPO_PATH
40
- git = Git.new(TEST_REPO_PATH)
39
+ @repo_path = Dir.mktmpdir #{|dir| @repo_path = dir }
40
+
41
+ git = Git.new(@repo_path)
41
42
  @my_repo = git.repo
42
43
  end
43
44
 
@@ -54,7 +55,7 @@ module Gitit
54
55
  end
55
56
 
56
57
  after(:each) do
57
- FileUtils.rm_rf TEST_REPO_PATH
58
+ FileUtils.rm_rf @repo_path
58
59
  end
59
60
 
60
61
  end
@@ -10,14 +10,15 @@ module Gitit
10
10
  describe '#testRepoStatus' do
11
11
 
12
12
  before(:each) do
13
- FileUtils.mkpath TEST_REPO_PATH
14
- git = Git.new(TEST_REPO_PATH)
13
+ @repo_path = Dir.mktmpdir #{|dir| @repo_path = dir }
14
+
15
+ git = Git.new(@repo_path)
15
16
  @my_repo = git.repo
16
17
  @my_repo.init
17
18
  @repo_status = git.status
18
19
 
19
- `(cd #{TEST_REPO_PATH} && git config user.email "you@example.com")`
20
- `(cd #{TEST_REPO_PATH} && git config user.name "example")`
20
+ `(cd #{@repo_path} && git config user.email "you@example.com")`
21
+ `(cd #{@repo_path} && git config user.name "example")`
21
22
 
22
23
  end
23
24
 
@@ -26,7 +27,7 @@ module Gitit
26
27
  end
27
28
 
28
29
  it 'will tell us that the current branch is not clean when there are untracked file' do
29
- File.open("#{TEST_REPO_PATH}/out.txt", 'w+') { |file| file.write('boo!') }
30
+ File.open("#{@repo_path}/out.txt", 'w+') { |file| file.write('boo!') }
30
31
  expect(@repo_status.untracked_files?).to be_truthy
31
32
  expect(@repo_status.unstaged_files?).to be_falsey
32
33
  expect(@repo_status.uncommited_files?).to be_falsey
@@ -34,10 +35,10 @@ module Gitit
34
35
  end
35
36
 
36
37
  it 'will tell us that the current branch is not clean when there are unstaged file' do
37
- File.open("#{TEST_REPO_PATH}/out.txt", 'w+') { |file| file.write('boo!') }
38
- `(cd #{TEST_REPO_PATH} && git add #{TEST_REPO_PATH}/out.txt)`
39
- `(cd #{TEST_REPO_PATH} && git commit -am "wip")`
40
- File.open("#{TEST_REPO_PATH}/out.txt", 'w') { |file| file.write('bdssdsoo!') }
38
+ File.open("#{@repo_path}/out.txt", 'w+') { |file| file.write('boo!') }
39
+ `(cd #{@repo_path} && git add #{@repo_path}/out.txt)`
40
+ `(cd #{@repo_path} && git commit -am "wip")`
41
+ File.open("#{@repo_path}/out.txt", 'w') { |file| file.write('bdssdsoo!') }
41
42
  expect(@repo_status.untracked_files?).to be_falsey
42
43
  expect(@repo_status.unstaged_files?).to be_truthy
43
44
  expect(@repo_status.uncommited_files?).to be_falsey
@@ -45,11 +46,11 @@ module Gitit
45
46
  end
46
47
 
47
48
  it 'will tell us that the current branch is not clean when there are uncommited file' do
48
- File.open("#{TEST_REPO_PATH}/out.txt", 'w+') { |file| file.write('boo!') }
49
- `(cd #{TEST_REPO_PATH} && git add #{TEST_REPO_PATH}/out.txt)`
50
- `(cd #{TEST_REPO_PATH} && git commit -am "wip")`
51
- File.open("#{TEST_REPO_PATH}/out.txt", 'w') { |file| file.write('bdssdsoo!') }
52
- `(cd #{TEST_REPO_PATH} && git add #{TEST_REPO_PATH}/out.txt)`
49
+ File.open("#{@repo_path}/out.txt", 'w+') { |file| file.write('boo!') }
50
+ `(cd #{@repo_path} && git add #{@repo_path}/out.txt)`
51
+ `(cd #{@repo_path} && git commit -am "wip")`
52
+ File.open("#{@repo_path}/out.txt", 'w') { |file| file.write('bdssdsoo!') }
53
+ `(cd #{@repo_path} && git add #{@repo_path}/out.txt)`
53
54
  expect(@repo_status.untracked_files?).to be_falsey
54
55
  expect(@repo_status.unstaged_files?).to be_falsey
55
56
  expect(@repo_status.uncommited_files?).to be_truthy
@@ -57,29 +58,29 @@ module Gitit
57
58
  end
58
59
 
59
60
  it 'will tell us that there are untracked files after adding a new file' do
60
- File.open("#{TEST_REPO_PATH}/out.txt", 'w+') { |file| file.write('boo!') }
61
+ File.open("#{@repo_path}/out.txt", 'w+') { |file| file.write('boo!') }
61
62
  expect(@repo_status.untracked_files?).to be_truthy
62
63
  end
63
64
 
64
65
  it 'will tell us that there are unstage files after modifying a file' do
65
- File.open("#{TEST_REPO_PATH}/out.txt", 'w+') { |file| file.write('boo!') }
66
- `(cd #{TEST_REPO_PATH} && git add #{TEST_REPO_PATH}/out.txt)`
67
- `(cd #{TEST_REPO_PATH} && git commit -am "wip")`
68
- File.open("#{TEST_REPO_PATH}/out.txt", 'w') { |file| file.write('bdssdsoo!') }
66
+ File.open("#{@repo_path}/out.txt", 'w+') { |file| file.write('boo!') }
67
+ `(cd #{@repo_path} && git add #{@repo_path}/out.txt)`
68
+ `(cd #{@repo_path} && git commit -am "wip")`
69
+ File.open("#{@repo_path}/out.txt", 'w') { |file| file.write('bdssdsoo!') }
69
70
  expect(@repo_status.unstaged_files?).to be_truthy
70
71
  end
71
72
 
72
73
  it 'will tell us if there are uncommit files after adding a modified file to staging' do
73
- File.open("#{TEST_REPO_PATH}/out.txt", 'w+') { |file| file.write('boo!') }
74
- `(cd #{TEST_REPO_PATH} && git add #{TEST_REPO_PATH}/out.txt)`
75
- `(cd #{TEST_REPO_PATH} && git commit -am "wip")`
76
- File.open("#{TEST_REPO_PATH}/out.txt", 'w') { |file| file.write('bdssdsoo!') }
77
- `(cd #{TEST_REPO_PATH} && git add #{TEST_REPO_PATH}/out.txt)`
74
+ File.open("#{@repo_path}/out.txt", 'w+') { |file| file.write('boo!') }
75
+ `(cd #{@repo_path} && git add #{@repo_path}/out.txt)`
76
+ `(cd #{@repo_path} && git commit -am "wip")`
77
+ File.open("#{@repo_path}/out.txt", 'w') { |file| file.write('bdssdsoo!') }
78
+ `(cd #{@repo_path} && git add #{@repo_path}/out.txt)`
78
79
  expect(@repo_status.uncommited_files?).to be_truthy
79
80
  end
80
81
 
81
82
  after(:each) do
82
- FileUtils.rm_rf TEST_REPO_PATH
83
+ FileUtils.rm_rf @repo_path
83
84
  end
84
85
 
85
86
  end
metadata CHANGED
@@ -1,125 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Laplante
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-06 00:00:00.000000000 Z
11
+ date: 2015-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: cli-colorize
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rdoc
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '3.12'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.12'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: cucumber
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.0.0
75
+ version: '1.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.0.0
82
+ version: '1.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: simplecov
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: ruby
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :runtime
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: builder
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
94
+ - - "~>"
123
95
  - !ruby/object:Gem::Version
124
96
  version: '0'
125
97
  description: '"ruby git command line wrapper"'
@@ -183,7 +155,7 @@ rubyforge_project:
183
155
  rubygems_version: 2.4.8
184
156
  signing_key:
185
157
  specification_version: 4
186
- summary: ''
158
+ summary: Git command line wrapper. Allow operations on git repos
187
159
  test_files:
188
160
  - features/gitit.feature
189
161
  - features/step_definitions/gitit_steps.rb