gitit 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/gitit.gemspec +13 -16
- data/lib/gitit/git_branches.rb +4 -4
- data/lib/gitit/git_repo.rb +1 -1
- data/lib/gitit/git_status.rb +6 -2
- data/spec/gitit_branch_spec.rb +6 -4
- data/spec/gitit_branches_spec.rb +29 -21
- data/spec/gitit_config_spec.rb +15 -14
- data/spec/gitit_spec.rb +4 -3
- data/spec/gitit_status_spec.rb +26 -25
- metadata +17 -45
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec313cfa8846588a580cb70d07af3996a196a30a
|
4
|
+
data.tar.gz: 71c7bfa7cb52460bad545e77dc2f412415b418d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6771c1aa7843ae08c475e189fbcacf37061fcf00a6bd8474eeeec438c35852c3850c040a85feb819221e8ab8f7863da3ad118995a4c10c8fe6931a863304056d
|
7
|
+
data.tar.gz: e74d37ee04cf1781a673ae824c2b45f9af1d09ca933171b5fb8ab7cf0f26c6210313c9f68a576c527db3511d539d53cef97ebc382f384d11b038e97093520406
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.1
|
data/gitit.gemspec
CHANGED
@@ -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 =
|
7
|
+
gem.name = 'gitit'
|
8
8
|
gem.version = File.exist?('VERSION') ? File.read('VERSION') : Gitit::VERSION
|
9
|
-
gem.authors = [
|
10
|
-
gem.email = [
|
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 =
|
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 = [
|
19
|
-
gem.licenses = [
|
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.
|
30
|
-
gem.
|
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
|
data/lib/gitit/git_branches.rb
CHANGED
@@ -24,15 +24,15 @@ module Gitit
|
|
24
24
|
# -------------------------------------------------------------------------
|
25
25
|
# -------------------------------------------------------------------------
|
26
26
|
def exists_locally?(name)
|
27
|
-
execute_command(
|
28
|
-
|
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(
|
35
|
-
|
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
|
# -------------------------------------------------------------------------
|
data/lib/gitit/git_repo.rb
CHANGED
@@ -17,7 +17,7 @@ module Gitit
|
|
17
17
|
# -------------------------------------------------------------------------
|
18
18
|
# -------------------------------------------------------------------------
|
19
19
|
def valid?
|
20
|
-
`(cd #{@location} && git rev-parse --git-dir
|
20
|
+
`(cd #{@location} && git rev-parse --git-dir 2>&1)`
|
21
21
|
$?.exitstatus == 0
|
22
22
|
end
|
23
23
|
|
data/lib/gitit/git_status.rb
CHANGED
@@ -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
|
data/spec/gitit_branch_spec.rb
CHANGED
@@ -9,18 +9,20 @@ module Gitit
|
|
9
9
|
describe '#test_repo_branch' do
|
10
10
|
|
11
11
|
before(:each) do
|
12
|
-
|
13
|
-
|
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
|
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
|
25
|
+
FileUtils.rm_rf @repo_path
|
24
26
|
end
|
25
27
|
|
26
28
|
end
|
data/spec/gitit_branches_spec.rb
CHANGED
@@ -9,21 +9,23 @@ module Gitit
|
|
9
9
|
describe '#test_branches_existance' do
|
10
10
|
|
11
11
|
before(:each) do
|
12
|
-
|
13
|
-
|
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 #{
|
19
|
-
`(cd #{
|
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("#{
|
22
|
-
`(cd #{
|
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
|
-
`(
|
25
|
-
`(cd #{
|
26
|
-
`(cd #{
|
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 #{
|
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
|
53
|
-
FileUtils.rm_rf
|
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
|
-
|
64
|
-
|
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
|
-
|
70
|
-
`(cd #{
|
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
|
-
`(
|
73
|
-
`(cd #{
|
74
|
-
`(cd #{
|
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
|
112
|
-
FileUtils.rm_rf
|
119
|
+
FileUtils.rm_rf @repo_path
|
120
|
+
FileUtils.rm_rf @repo_path_bare
|
113
121
|
end
|
114
122
|
|
115
123
|
end
|
data/spec/gitit_config_spec.rb
CHANGED
@@ -6,19 +6,20 @@ module Gitit
|
|
6
6
|
|
7
7
|
# -----------------------------------------------------------------------------
|
8
8
|
# -----------------------------------------------------------------------------
|
9
|
-
['--local', '--global'
|
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
|
-
|
21
|
-
|
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 #{
|
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 #{
|
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 #{
|
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
|
65
|
+
FileUtils.rm_rf @repo_path
|
65
66
|
end
|
66
67
|
|
67
68
|
end
|
data/spec/gitit_spec.rb
CHANGED
@@ -36,8 +36,9 @@ module Gitit
|
|
36
36
|
describe '#initNewRepo' do
|
37
37
|
|
38
38
|
before(:each) do
|
39
|
-
|
40
|
-
|
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
|
58
|
+
FileUtils.rm_rf @repo_path
|
58
59
|
end
|
59
60
|
|
60
61
|
end
|
data/spec/gitit_status_spec.rb
CHANGED
@@ -10,14 +10,15 @@ module Gitit
|
|
10
10
|
describe '#testRepoStatus' do
|
11
11
|
|
12
12
|
before(:each) do
|
13
|
-
|
14
|
-
|
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 #{
|
20
|
-
`(cd #{
|
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("#{
|
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("#{
|
38
|
-
`(cd #{
|
39
|
-
`(cd #{
|
40
|
-
File.open("#{
|
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("#{
|
49
|
-
`(cd #{
|
50
|
-
`(cd #{
|
51
|
-
File.open("#{
|
52
|
-
`(cd #{
|
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("#{
|
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("#{
|
66
|
-
`(cd #{
|
67
|
-
`(cd #{
|
68
|
-
File.open("#{
|
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("#{
|
74
|
-
`(cd #{
|
75
|
-
`(cd #{
|
76
|
-
File.open("#{
|
77
|
-
`(cd #{
|
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
|
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.
|
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-
|
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
|
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
|
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
|