gitx 2.21.3 → 2.21.4.ci.145.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 +13 -5
- data/README.md +0 -4
- data/lib/gitx/cli/base_command.rb +12 -11
- data/lib/gitx/cli/buildtag_command.rb +2 -2
- data/lib/gitx/cli/cleanup_command.rb +6 -6
- data/lib/gitx/cli/integrate_command.rb +6 -11
- data/lib/gitx/cli/nuke_command.rb +7 -8
- data/lib/gitx/cli/release_command.rb +4 -5
- data/lib/gitx/cli/review_command.rb +1 -1
- data/lib/gitx/cli/share_command.rb +2 -2
- data/lib/gitx/cli/track_command.rb +1 -1
- data/lib/gitx/cli/update_command.rb +3 -3
- data/lib/gitx/executor.rb +26 -0
- data/lib/gitx/extensions/thor.rb +0 -22
- data/lib/gitx/github.rb +2 -3
- data/lib/gitx/version.rb +1 -1
- data/spec/gitx/cli/buildtag_command_spec.rb +5 -4
- data/spec/gitx/cli/cleanup_command_spec.rb +11 -8
- data/spec/gitx/cli/integrate_command_spec.rb +55 -70
- data/spec/gitx/cli/nuke_command_spec.rb +25 -27
- data/spec/gitx/cli/release_command_spec.rb +46 -47
- data/spec/gitx/cli/review_command_spec.rb +8 -9
- data/spec/gitx/cli/share_command_spec.rb +4 -3
- data/spec/gitx/cli/start_command_spec.rb +8 -10
- data/spec/gitx/cli/track_command_spec.rb +3 -2
- data/spec/gitx/cli/update_command_spec.rb +12 -11
- data/spec/gitx/executor_spec.rb +41 -0
- metadata +48 -46
@@ -10,6 +10,7 @@ describe Gitx::Cli::ReviewCommand do
|
|
10
10
|
}
|
11
11
|
end
|
12
12
|
let(:cli) { described_class.new(args, options, config) }
|
13
|
+
let(:executor) { cli.send(:executor) }
|
13
14
|
let(:repo) { double('fake repo', config: repo_config, workdir: repo_workdir) }
|
14
15
|
let(:repo_workdir) { File.expand_path(File.join(__dir__, '../../../')) }
|
15
16
|
let(:repo_config) do
|
@@ -42,11 +43,10 @@ describe Gitx::Cli::ReviewCommand do
|
|
42
43
|
end
|
43
44
|
let(:changelog) { "* old commit\n\n* new commit" }
|
44
45
|
before do
|
45
|
-
expect(Gitx::Cli::UpdateCommand).to receive(:new).and_return(fake_update_command)
|
46
|
-
|
47
46
|
allow(cli).to receive(:authorization_token).and_return(authorization_token)
|
48
|
-
expect(
|
49
|
-
expect(
|
47
|
+
expect(executor).to receive(:execute).with('git', 'checkout', 'feature-branch').ordered
|
48
|
+
expect(executor).to receive(:execute).with('git', 'update').ordered
|
49
|
+
expect(executor).to receive(:execute).with('git', 'log', 'master...feature-branch', '--reverse', '--no-merges', "--pretty=format:'* %B'").and_return(changelog).ordered
|
50
50
|
expect(cli).to receive(:ask_editor).with(changelog, hash_including(footer: Gitx::Github::PULL_REQUEST_FOOTER)).and_return('description')
|
51
51
|
|
52
52
|
stub_request(:post, 'https://api.github.com/repos/wireframe/gitx/pulls').to_return(status: 201, body: new_pull_request.to_json, headers: { 'Content-Type' => 'application/json' })
|
@@ -79,11 +79,10 @@ describe Gitx::Cli::ReviewCommand do
|
|
79
79
|
let(:changelog) { "* old commit\n\n* new commit" }
|
80
80
|
let(:pull_request_description) { 'description' }
|
81
81
|
before do
|
82
|
-
expect(Gitx::Cli::UpdateCommand).to receive(:new).and_return(fake_update_command)
|
83
|
-
|
84
82
|
allow(cli).to receive(:authorization_token).and_return(authorization_token)
|
85
|
-
expect(
|
86
|
-
expect(
|
83
|
+
expect(executor).to receive(:execute).with('git', 'checkout', 'feature-branch').ordered
|
84
|
+
expect(executor).to receive(:execute).with('git', 'update').ordered
|
85
|
+
expect(executor).to receive(:execute).with('git', 'log', 'master...feature-branch', '--reverse', '--no-merges', "--pretty=format:'* %B'").and_return(changelog).ordered
|
87
86
|
expect(cli).to receive(:ask_editor).with(changelog, hash_including(footer: Gitx::Github::PULL_REQUEST_FOOTER)).and_return(pull_request_description)
|
88
87
|
|
89
88
|
stub_request(:post, 'https://api.github.com/repos/wireframe/gitx/pulls')
|
@@ -151,7 +150,7 @@ describe Gitx::Cli::ReviewCommand do
|
|
151
150
|
let(:authorization_token) { '123123' }
|
152
151
|
before do
|
153
152
|
allow(cli).to receive(:authorization_token).and_return(authorization_token)
|
154
|
-
expect(
|
153
|
+
expect(executor).to receive(:execute).with('open', 'https://path/to/html/pull/request').ordered
|
155
154
|
VCR.use_cassette('pull_request_does_exist_with_success_status') do
|
156
155
|
cli.review
|
157
156
|
end
|
@@ -9,7 +9,8 @@ describe Gitx::Cli::ShareCommand do
|
|
9
9
|
pretend: true
|
10
10
|
}
|
11
11
|
end
|
12
|
-
let(:cli) {
|
12
|
+
let(:cli) { described_class.new(args, options, config) }
|
13
|
+
let(:executor) { cli.send(:executor) }
|
13
14
|
let(:branch) { double('fake branch', name: 'feature-branch') }
|
14
15
|
|
15
16
|
before do
|
@@ -20,8 +21,8 @@ describe Gitx::Cli::ShareCommand do
|
|
20
21
|
before do
|
21
22
|
allow(cli).to receive(:say)
|
22
23
|
|
23
|
-
expect(
|
24
|
-
expect(
|
24
|
+
expect(executor).to receive(:execute).with('git', 'push', 'origin', 'feature-branch').ordered
|
25
|
+
expect(executor).to receive(:execute).with('git', 'track').ordered
|
25
26
|
|
26
27
|
cli.share
|
27
28
|
end
|
@@ -11,15 +11,13 @@ describe Gitx::Cli::StartCommand do
|
|
11
11
|
end
|
12
12
|
let(:cli) { described_class.new(args, options, config) }
|
13
13
|
let(:repo) { cli.send(:repo) }
|
14
|
-
let(:
|
15
|
-
let(:thread) { double(:thread, value: exit_value) }
|
16
|
-
let(:stdoutput) { StringIO.new('') }
|
14
|
+
let(:executor) { cli.send(:executor) }
|
17
15
|
|
18
16
|
describe '#start' do
|
19
17
|
context 'when user inputs branch that is valid' do
|
20
18
|
before do
|
21
19
|
expect(cli).to receive(:checkout_branch).with('master').ordered
|
22
|
-
expect(
|
20
|
+
expect(executor).to receive(:execute).with('git', 'pull').ordered
|
23
21
|
expect(repo).to receive(:create_branch).with('new-branch', 'master').ordered
|
24
22
|
expect(cli).to receive(:checkout_branch).with('new-branch').ordered
|
25
23
|
|
@@ -34,7 +32,7 @@ describe Gitx::Cli::StartCommand do
|
|
34
32
|
expect(cli).to receive(:ask).and_return('new-branch')
|
35
33
|
|
36
34
|
expect(cli).to receive(:checkout_branch).with('master').ordered
|
37
|
-
expect(
|
35
|
+
expect(executor).to receive(:execute).with('git', 'pull').ordered
|
38
36
|
expect(repo).to receive(:create_branch).with('new-branch', 'master').ordered
|
39
37
|
expect(cli).to receive(:checkout_branch).with('new-branch').ordered
|
40
38
|
|
@@ -49,7 +47,7 @@ describe Gitx::Cli::StartCommand do
|
|
49
47
|
expect(cli).to receive(:ask).and_return('new-branch')
|
50
48
|
|
51
49
|
expect(cli).to receive(:checkout_branch).with('master').ordered
|
52
|
-
expect(
|
50
|
+
expect(executor).to receive(:execute).with('git', 'pull').ordered
|
53
51
|
expect(repo).to receive(:create_branch).with('new-branch', 'master').ordered
|
54
52
|
expect(cli).to receive(:checkout_branch).with('new-branch').ordered
|
55
53
|
|
@@ -67,7 +65,7 @@ describe Gitx::Cli::StartCommand do
|
|
67
65
|
expect(cli).to receive(:ask).and_return('new-branch')
|
68
66
|
|
69
67
|
expect(cli).to receive(:checkout_branch).with('master').ordered
|
70
|
-
expect(
|
68
|
+
expect(executor).to receive(:execute).with('git', 'pull').ordered
|
71
69
|
expect(repo).to receive(:create_branch).with('new-branch', 'master').ordered
|
72
70
|
expect(cli).to receive(:checkout_branch).with('new-branch').ordered
|
73
71
|
|
@@ -85,7 +83,7 @@ describe Gitx::Cli::StartCommand do
|
|
85
83
|
expect(cli).to receive(:ask).and_return('new-branch')
|
86
84
|
|
87
85
|
expect(cli).to receive(:checkout_branch).with('master').ordered
|
88
|
-
expect(
|
86
|
+
expect(executor).to receive(:execute).with('git', 'pull').ordered
|
89
87
|
expect(repo).to receive(:create_branch).with('new-branch', 'master').ordered
|
90
88
|
expect(cli).to receive(:checkout_branch).with('new-branch').ordered
|
91
89
|
|
@@ -103,10 +101,10 @@ describe Gitx::Cli::StartCommand do
|
|
103
101
|
end
|
104
102
|
before do
|
105
103
|
expect(cli).to receive(:checkout_branch).with('master').ordered
|
106
|
-
expect(
|
104
|
+
expect(executor).to receive(:execute).with('git', 'pull').ordered
|
107
105
|
expect(repo).to receive(:create_branch).with('new-branch', 'master').ordered
|
108
106
|
expect(cli).to receive(:checkout_branch).with('new-branch').ordered
|
109
|
-
expect(
|
107
|
+
expect(executor).to receive(:execute).with('git', 'commit', '--allow-empty', '--message', 'Starting work on new-branch (Issue #10)').ordered
|
110
108
|
|
111
109
|
cli.start 'new-branch'
|
112
110
|
end
|
@@ -9,7 +9,8 @@ describe Gitx::Cli::TrackCommand do
|
|
9
9
|
pretend: true
|
10
10
|
}
|
11
11
|
end
|
12
|
-
let(:cli) {
|
12
|
+
let(:cli) { described_class.new(args, options, config) }
|
13
|
+
let(:executor) { cli.send(:executor) }
|
13
14
|
let(:branch) { double('fake branch', name: 'feature-branch') }
|
14
15
|
|
15
16
|
before do
|
@@ -20,7 +21,7 @@ describe Gitx::Cli::TrackCommand do
|
|
20
21
|
before do
|
21
22
|
allow(cli).to receive(:say)
|
22
23
|
|
23
|
-
expect(
|
24
|
+
expect(executor).to receive(:execute).with('git', 'branch', '--set-upstream-to', 'origin/feature-branch').ordered
|
24
25
|
|
25
26
|
cli.track
|
26
27
|
end
|
@@ -9,9 +9,10 @@ describe Gitx::Cli::UpdateCommand do
|
|
9
9
|
pretend: true
|
10
10
|
}
|
11
11
|
end
|
12
|
-
let(:cli) {
|
12
|
+
let(:cli) { described_class.new(args, options, config) }
|
13
13
|
let(:branch) { double('fake branch', name: 'feature-branch') }
|
14
14
|
let(:repo) { cli.send(:repo) }
|
15
|
+
let(:executor) { cli.send(:executor) }
|
15
16
|
let(:remote_branch_names) { ['origin/feature-branch'] }
|
16
17
|
|
17
18
|
before do
|
@@ -26,9 +27,9 @@ describe Gitx::Cli::UpdateCommand do
|
|
26
27
|
before do
|
27
28
|
allow(cli).to receive(:say)
|
28
29
|
|
29
|
-
expect(
|
30
|
-
expect(
|
31
|
-
expect(
|
30
|
+
expect(executor).to receive(:execute).with('git', 'pull', 'origin', 'feature-branch').ordered
|
31
|
+
expect(executor).to receive(:execute).with('git', 'pull', 'origin', 'master').ordered
|
32
|
+
expect(executor).to receive(:execute).with('git', 'share').ordered
|
32
33
|
|
33
34
|
cli.update
|
34
35
|
end
|
@@ -40,9 +41,9 @@ describe Gitx::Cli::UpdateCommand do
|
|
40
41
|
before do
|
41
42
|
allow(cli).to receive(:say)
|
42
43
|
|
43
|
-
expect(
|
44
|
+
expect(executor).to receive(:execute).with('git', 'pull', 'origin', 'feature-branch').and_raise('merge error').ordered
|
44
45
|
|
45
|
-
expect { cli.update }.to raise_error(Gitx::Cli::BaseCommand::MergeError, 'Merge
|
46
|
+
expect { cli.update }.to raise_error(Gitx::Cli::BaseCommand::MergeError, 'Merge conflict occurred. Please fix merge conflict and rerun the command')
|
46
47
|
end
|
47
48
|
it 'raises error' do
|
48
49
|
should meet_expectations
|
@@ -52,10 +53,10 @@ describe Gitx::Cli::UpdateCommand do
|
|
52
53
|
before do
|
53
54
|
allow(cli).to receive(:say)
|
54
55
|
|
55
|
-
expect(
|
56
|
-
expect(
|
56
|
+
expect(executor).to receive(:execute).with('git', 'pull', 'origin', 'feature-branch').ordered
|
57
|
+
expect(executor).to receive(:execute).with('git', 'pull', 'origin', 'master').and_raise('merge error occurred').ordered
|
57
58
|
|
58
|
-
expect { cli.update }.to raise_error(Gitx::Cli::BaseCommand::MergeError, 'Merge
|
59
|
+
expect { cli.update }.to raise_error(Gitx::Cli::BaseCommand::MergeError, 'Merge conflict occurred. Please fix merge conflict and rerun the command')
|
59
60
|
end
|
60
61
|
it 'raises error' do
|
61
62
|
should meet_expectations
|
@@ -66,8 +67,8 @@ describe Gitx::Cli::UpdateCommand do
|
|
66
67
|
before do
|
67
68
|
allow(cli).to receive(:say)
|
68
69
|
|
69
|
-
expect(
|
70
|
-
expect(
|
70
|
+
expect(executor).not_to receive(:execute).with('git', 'pull', 'origin', 'feature-branch')
|
71
|
+
expect(executor).to receive(:execute).with('git', 'pull', 'origin', 'master').ordered
|
71
72
|
|
72
73
|
cli.update
|
73
74
|
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require 'gitx/executor'
|
2
|
+
|
3
|
+
RSpec.describe Gitx::Executor do
|
4
|
+
let(:executor) { described_class.new }
|
5
|
+
let(:exit_value) { double(:exit_value, success?: true) }
|
6
|
+
let(:thread) { double(:thread, value: exit_value) }
|
7
|
+
let(:stdoutput) { StringIO.new('Hello World') }
|
8
|
+
before do
|
9
|
+
expect(Open3).to receive(:popen2e).and_yield(nil, stdoutput, thread)
|
10
|
+
end
|
11
|
+
|
12
|
+
describe '#execute' do
|
13
|
+
context 'when execution is successful and block given' do
|
14
|
+
before do
|
15
|
+
@output = []
|
16
|
+
executor.execute('some', 'command', '--with', '--args') do |output|
|
17
|
+
@output << output
|
18
|
+
end
|
19
|
+
end
|
20
|
+
it 'yields the command and output' do
|
21
|
+
expect(@output).to eq ['$ some command --with --args', 'Hello World']
|
22
|
+
end
|
23
|
+
end
|
24
|
+
context 'when execution is successful' do
|
25
|
+
before do
|
26
|
+
@output = executor.execute('some', 'command', '--with', '--args')
|
27
|
+
end
|
28
|
+
it 'returns the output' do
|
29
|
+
expect(@output).to eq 'Hello World'
|
30
|
+
end
|
31
|
+
end
|
32
|
+
context 'when execution is not sucessful' do
|
33
|
+
let(:exit_value) { double(:exit_value, success?: false) }
|
34
|
+
it 'raises ExecutionError' do
|
35
|
+
expect do
|
36
|
+
executor.execute('some', 'bad', 'command')
|
37
|
+
end.to raise_error Gitx::Executor::ExecutionError
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
metadata
CHANGED
@@ -1,237 +1,237 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.21.
|
4
|
+
version: 2.21.4.ci.145.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Sonnek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rugged
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.23.0
|
20
20
|
type: :runtime
|
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.23.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: thor
|
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: :runtime
|
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: octokit
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ! '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
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: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '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: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ! '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '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
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ! '>='
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '3.0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ! '>='
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '3.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: pry
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ! '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ! '>='
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: webmock
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ! '>='
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ! '>='
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: timecop
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - ! '>='
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - ! '>='
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: vcr
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- -
|
143
|
+
- - ! '>='
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- -
|
150
|
+
- - ! '>='
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: guard
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- -
|
157
|
+
- - ! '>='
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- -
|
164
|
+
- - ! '>='
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: guard-rspec
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- -
|
171
|
+
- - ! '>='
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- -
|
178
|
+
- - ! '>='
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: coveralls
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- -
|
185
|
+
- - ! '>='
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: '0'
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- -
|
192
|
+
- - ! '>='
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: terminal-notifier
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
|
-
- -
|
199
|
+
- - ! '>='
|
200
200
|
- !ruby/object:Gem::Version
|
201
201
|
version: '0'
|
202
202
|
type: :development
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
|
-
- -
|
206
|
+
- - ! '>='
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
210
|
name: terminal-notifier-guard
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
|
-
- -
|
213
|
+
- - ! '>='
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: '0'
|
216
216
|
type: :development
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
|
-
- -
|
220
|
+
- - ! '>='
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: '0'
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: rubocop
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
|
-
- -
|
227
|
+
- - ! '>='
|
228
228
|
- !ruby/object:Gem::Version
|
229
229
|
version: '0'
|
230
230
|
type: :development
|
231
231
|
prerelease: false
|
232
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
|
-
- -
|
234
|
+
- - ! '>='
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: '0'
|
237
237
|
description: Git eXtensions for improved development workflows
|
@@ -251,13 +251,13 @@ executables:
|
|
251
251
|
extensions: []
|
252
252
|
extra_rdoc_files: []
|
253
253
|
files:
|
254
|
-
-
|
255
|
-
-
|
256
|
-
-
|
257
|
-
-
|
258
|
-
-
|
259
|
-
-
|
260
|
-
-
|
254
|
+
- .gitignore
|
255
|
+
- .gitx.yml
|
256
|
+
- .hound.yml
|
257
|
+
- .rspec
|
258
|
+
- .rubocop.yml
|
259
|
+
- .ruby-version
|
260
|
+
- .travis.yml
|
261
261
|
- CONTRIBUTING.md
|
262
262
|
- Gemfile
|
263
263
|
- Guardfile
|
@@ -289,6 +289,7 @@ files:
|
|
289
289
|
- lib/gitx/cli/update_command.rb
|
290
290
|
- lib/gitx/configuration.rb
|
291
291
|
- lib/gitx/defaults.yml
|
292
|
+
- lib/gitx/executor.rb
|
292
293
|
- lib/gitx/extensions/string.rb
|
293
294
|
- lib/gitx/extensions/thor.rb
|
294
295
|
- lib/gitx/github.rb
|
@@ -307,6 +308,7 @@ files:
|
|
307
308
|
- spec/gitx/cli/start_command_spec.rb
|
308
309
|
- spec/gitx/cli/track_command_spec.rb
|
309
310
|
- spec/gitx/cli/update_command_spec.rb
|
311
|
+
- spec/gitx/executor_spec.rb
|
310
312
|
- spec/spec_helper.rb
|
311
313
|
- spec/support/global_config.rb
|
312
314
|
- spec/support/home_env.rb
|
@@ -326,17 +328,17 @@ require_paths:
|
|
326
328
|
- lib
|
327
329
|
required_ruby_version: !ruby/object:Gem::Requirement
|
328
330
|
requirements:
|
329
|
-
- -
|
331
|
+
- - ! '>='
|
330
332
|
- !ruby/object:Gem::Version
|
331
333
|
version: '0'
|
332
334
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
333
335
|
requirements:
|
334
|
-
- -
|
336
|
+
- - ! '>'
|
335
337
|
- !ruby/object:Gem::Version
|
336
|
-
version:
|
338
|
+
version: 1.3.1
|
337
339
|
requirements: []
|
338
340
|
rubyforge_project:
|
339
|
-
rubygems_version: 2.4.
|
341
|
+
rubygems_version: 2.4.5
|
340
342
|
signing_key:
|
341
343
|
specification_version: 4
|
342
344
|
summary: Utility scripts for Git to increase productivity for common operations
|
@@ -355,6 +357,7 @@ test_files:
|
|
355
357
|
- spec/gitx/cli/start_command_spec.rb
|
356
358
|
- spec/gitx/cli/track_command_spec.rb
|
357
359
|
- spec/gitx/cli/update_command_spec.rb
|
360
|
+
- spec/gitx/executor_spec.rb
|
358
361
|
- spec/spec_helper.rb
|
359
362
|
- spec/support/global_config.rb
|
360
363
|
- spec/support/home_env.rb
|
@@ -364,4 +367,3 @@ test_files:
|
|
364
367
|
- spec/support/timecop.rb
|
365
368
|
- spec/support/vcr.rb
|
366
369
|
- spec/support/webmock.rb
|
367
|
-
has_rdoc:
|