git_reflow 0.8.10 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/multi-ruby-tests.yml +33 -0
  3. data/.rubocop.yml +2 -0
  4. data/.ruby-version +1 -1
  5. data/Appraisals +1 -6
  6. data/CHANGELOG.md +466 -348
  7. data/Gemfile.lock +100 -70
  8. data/LICENSE +20 -20
  9. data/README.md +36 -12
  10. data/Rakefile +15 -8
  11. data/Workflow +3 -0
  12. data/bin/console +7 -7
  13. data/bin/setup +6 -6
  14. data/exe/git-reflow +14 -30
  15. data/git_reflow.gemspec +25 -24
  16. data/lib/git_reflow.rb +3 -14
  17. data/lib/git_reflow/config.rb +52 -17
  18. data/lib/git_reflow/git_helpers.rb +69 -22
  19. data/lib/git_reflow/git_server/base.rb +68 -68
  20. data/lib/git_reflow/git_server/git_hub.rb +53 -40
  21. data/lib/git_reflow/git_server/git_hub/pull_request.rb +25 -17
  22. data/lib/git_reflow/git_server/pull_request.rb +19 -3
  23. data/lib/git_reflow/merge_error.rb +9 -9
  24. data/lib/git_reflow/rspec.rb +1 -0
  25. data/lib/git_reflow/rspec/command_line_helpers.rb +23 -6
  26. data/lib/git_reflow/rspec/stub_helpers.rb +13 -13
  27. data/lib/git_reflow/rspec/workflow_helpers.rb +18 -0
  28. data/lib/git_reflow/sandbox.rb +16 -6
  29. data/lib/git_reflow/version.rb +1 -1
  30. data/lib/git_reflow/workflow.rb +305 -10
  31. data/lib/git_reflow/workflows/FlatMergeWorkflow +38 -0
  32. data/lib/git_reflow/workflows/core.rb +208 -79
  33. data/spec/fixtures/authentication_failure.json +3 -0
  34. data/spec/fixtures/awesome_workflow.rb +2 -6
  35. data/spec/fixtures/git/git_config +7 -7
  36. data/spec/fixtures/issues/comment.json.erb +27 -27
  37. data/spec/fixtures/issues/comments.json +29 -29
  38. data/spec/fixtures/issues/comments.json.erb +15 -15
  39. data/spec/fixtures/pull_requests/comment.json.erb +45 -45
  40. data/spec/fixtures/pull_requests/comments.json +47 -47
  41. data/spec/fixtures/pull_requests/comments.json.erb +15 -15
  42. data/spec/fixtures/pull_requests/commits.json +29 -29
  43. data/spec/fixtures/pull_requests/external_pull_request.json +145 -145
  44. data/spec/fixtures/pull_requests/pull_request.json +142 -142
  45. data/spec/fixtures/pull_requests/pull_request.json.erb +142 -142
  46. data/spec/fixtures/pull_requests/pull_request_branch_nonexistent_error.json +32 -0
  47. data/spec/fixtures/pull_requests/pull_request_exists_error.json +32 -32
  48. data/spec/fixtures/pull_requests/pull_requests.json +136 -136
  49. data/spec/fixtures/repositories/commit.json +53 -53
  50. data/spec/fixtures/repositories/commit.json.erb +53 -53
  51. data/spec/fixtures/repositories/commits.json.erb +13 -13
  52. data/spec/fixtures/repositories/statuses.json +31 -31
  53. data/spec/fixtures/users/user.json +32 -0
  54. data/spec/lib/git_reflow/git_helpers_spec.rb +115 -12
  55. data/spec/lib/git_reflow/git_server/git_hub/pull_request_spec.rb +6 -6
  56. data/spec/lib/git_reflow/git_server/git_hub_spec.rb +77 -3
  57. data/spec/lib/git_reflow/git_server/pull_request_spec.rb +41 -7
  58. data/spec/lib/git_reflow/workflow_spec.rb +259 -14
  59. data/spec/lib/git_reflow/workflows/core_spec.rb +224 -65
  60. data/spec/lib/git_reflow/workflows/flat_merge_spec.rb +17 -6
  61. data/spec/lib/git_reflow_spec.rb +2 -25
  62. data/spec/spec_helper.rb +3 -0
  63. data/spec/support/github_helpers.rb +1 -1
  64. data/spec/support/mock_pull_request.rb +17 -17
  65. data/spec/support/web_mocks.rb +39 -39
  66. metadata +52 -53
  67. data/circle.yml +0 -26
  68. data/lib/git_reflow/commands/deliver.rb +0 -10
  69. data/lib/git_reflow/commands/refresh.rb +0 -20
  70. data/lib/git_reflow/commands/review.rb +0 -13
  71. data/lib/git_reflow/commands/setup.rb +0 -11
  72. data/lib/git_reflow/commands/stage.rb +0 -9
  73. data/lib/git_reflow/commands/start.rb +0 -18
  74. data/lib/git_reflow/commands/status.rb +0 -7
  75. data/lib/git_reflow/workflows/flat_merge.rb +0 -10
  76. data/spec/fixtures/workflow_with_super.rb +0 -8
@@ -1,19 +1,19 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe 'FlatMerge' do
4
- let(:workflow_path) { File.join(File.expand_path("../../../../../lib/git_reflow/workflows", __FILE__), "/flat_merge.rb") }
5
4
  let(:mergable_pr) { double(good_to_merge?: true, merge!: true) }
6
5
  let(:git_server) { double(find_open_pull_request: mergable_pr) }
7
6
 
8
7
  before do
9
8
  allow(GitReflow::Config).to receive(:get).and_call_original
10
- allow(GitReflow::Config).to receive(:get).with("reflow.workflow").and_return(workflow_path)
11
9
  allow(GitReflow).to receive(:git_server).and_return(git_server)
12
10
  allow(GitReflow).to receive(:status)
11
+ # Makes sure we are loading the right workflow
12
+ workflow_path = File.join(File.expand_path("../../../../../lib/git_reflow/workflows", __FILE__), "FlatMergeWorkflow")
13
+ use_workflow(workflow_path)
13
14
  end
14
15
 
15
- # Makes sure we are loading the right workflow
16
- specify { expect( GitReflow.workflow ).to eql(GitReflow::Workflow::FlatMerge) }
16
+ after { GitReflow::Workflow.reset! }
17
17
 
18
18
  context ".deliver" do
19
19
  subject { GitReflow.deliver }
@@ -25,6 +25,7 @@ describe 'FlatMerge' do
25
25
  let!(:github_api) { github.connection }
26
26
 
27
27
  before do
28
+ allow(File).to receive(:read).and_call_original
28
29
  allow_any_instance_of(GitReflow::GitServer::PullRequest).to receive(:deliver?).and_return(false)
29
30
  allow(GitReflow::Workflows::Core).to receive(:status)
30
31
  allow(GitReflow.git_server).to receive(:get_build_status).and_return(Struct.new(:state, :description, :url, :target_url).new)
@@ -33,7 +34,12 @@ describe 'FlatMerge' do
33
34
  end
34
35
 
35
36
  it "overrides squash merge in favor of flat merge" do
36
- expect(pr).to receive(:merge!).with(base: 'master', squash: false)
37
+ expect(pr).to receive(:merge!).with(
38
+ base: "master",
39
+ merge_method: "merge",
40
+ force: false,
41
+ skip_lgtm: false
42
+ )
37
43
  subject
38
44
  end
39
45
  end
@@ -51,7 +57,12 @@ describe 'FlatMerge' do
51
57
  end
52
58
 
53
59
  it "doesn't squash merge" do
54
- expect(pr).to receive(:merge!).with(base: 'master', squash: false, force: true)
60
+ expect(pr).to receive(:merge!).with(
61
+ base: "master",
62
+ merge_method: "merge",
63
+ force: true,
64
+ skip_lgtm: false
65
+ )
55
66
  subject
56
67
  end
57
68
  end
@@ -17,24 +17,11 @@ describe GitReflow do
17
17
  end
18
18
  end
19
19
 
20
- describe ".default_editor" do
21
- subject { GitReflow.default_editor }
22
-
23
- context "when the environment has EDITOR set" do
24
- before { allow(ENV).to receive(:[]).with('EDITOR').and_return('emacs') }
25
- specify { expect( subject ).to eql('emacs') }
26
- end
27
-
28
- context "when the environment has no EDITOR set" do
29
- before { allow(ENV).to receive(:[]).with('EDITOR').and_return(nil) }
30
- specify { expect( subject ).to eql('vi') }
31
- end
32
- end
33
-
34
20
  describe ".git_server" do
35
21
  subject { GitReflow.git_server }
36
22
 
37
23
  before do
24
+ allow(GitReflow::Config).to receive(:get)
38
25
  allow(GitReflow::Config).to receive(:get).with('reflow.git-server').and_return('GitHub ')
39
26
  end
40
27
 
@@ -52,23 +39,13 @@ describe GitReflow do
52
39
  end
53
40
 
54
41
  context "when a workflow is set" do
55
-
56
42
  it "calls the defined workflow methods instead of the default core" do
57
43
  workflow_path = File.join(File.expand_path("../../fixtures", __FILE__), "/awesome_workflow.rb")
58
44
  allow(GitReflow::Config).to receive(:get).with("reflow.workflow").and_return(workflow_path)
45
+ expect(GitReflow::Workflows::Core).to receive(:load_raw_workflow).with(File.read(workflow_path)).and_call_original
59
46
 
60
- expect(GitReflow.workflow).to eql(GitReflow::Workflow::AwesomeWorkflow)
61
47
  expect{ subject.start }.to have_said "Awesome."
62
48
  end
63
-
64
- it "the workflow can call super" do
65
- workflow_path = File.join(File.expand_path("../../fixtures", __FILE__), "/workflow_with_super.rb")
66
- allow(GitReflow::Config).to receive(:get).with("reflow.workflow").and_return(workflow_path)
67
-
68
- expect(GitReflow.workflow).to eql(GitReflow::Workflow::WorkflowWithSuper)
69
- expect{ subject.start }.to have_said "Super."
70
- expect{ subject.start }.to have_said "usage: git-reflow start [new-branch-name]", :error
71
- end
72
49
  end
73
50
 
74
51
  end
@@ -16,6 +16,7 @@ RSpec.configure do |config|
16
16
  config.include GitReflow::RSpec::CommandLineHelpers
17
17
  config.include GithubHelpers
18
18
  config.include GitReflow::RSpec::StubHelpers
19
+ config.include GitReflow::RSpec::WorkflowHelpers
19
20
 
20
21
  config.expect_with :rspec do |c|
21
22
  c.syntax = [:should, :expect]
@@ -28,6 +29,8 @@ RSpec.configure do |config|
28
29
  config.before(:each) do
29
30
  WebMock.reset!
30
31
  stub_command_line
32
+ suppress_loading_of_external_workflows
33
+ GitReflow::Workflow.reset!
31
34
  allow_message_expectations_on_nil
32
35
  end
33
36
 
@@ -39,7 +39,7 @@ module GithubHelpers
39
39
  stub_request(:get, "#{api_endpoint}/authorizations?").to_return(:body => [oauth_token_hash].to_json, status: 200, headers: {})
40
40
  allow(Github::Client).to receive(:new).and_return(github)
41
41
  allow(GitReflow).to receive(:push_current_branch).and_return(true)
42
- allow(GitReflow).to receive(:github).and_return(github)
42
+ allow(GitReflow).to receive(:git_server).and_return(github)
43
43
  allow(GitReflow).to receive(:current_branch).and_return(branch)
44
44
  allow(GitReflow).to receive(:remote_repo_name).and_return(repo)
45
45
  allow(GitReflow).to receive(:remote_user).and_return(user)
@@ -1,17 +1,17 @@
1
- class MockPullRequest < GitReflow::GitServer::PullRequest
2
- DESCRIPTION = "Bingo! Unity."
3
- HTML_URL = "https://github.com/reenhanced/gitreflow/pulls/0"
4
- FEATURE_BRANCH_NAME = "feature_branch"
5
- BASE_BRANCH_NAME = "base"
6
- NUMBER = 0
7
-
8
- def initialize(attributes = Struct.new(:description, :html_url, :feature_branch_name, :base_branch_name, :number).new)
9
- self.description = attributes.description || DESCRIPTION
10
- self.html_url = attributes.html_url || HTML_URL
11
- self.feature_branch_name = attributes.feature_branch_name || FEATURE_BRANCH_NAME
12
- self.base_branch_name = attributes.base_branch_name || BASE_BRANCH_NAME
13
- self.build = Build.new
14
- self.number = attributes.number || NUMBER
15
- self.source_object = attributes
16
- end
17
- end
1
+ class MockPullRequest < GitReflow::GitServer::PullRequest
2
+ DESCRIPTION = "Bingo! Unity."
3
+ HTML_URL = "https://github.com/reenhanced/gitreflow/pulls/0"
4
+ FEATURE_BRANCH_NAME = "feature_branch"
5
+ BASE_BRANCH_NAME = "base"
6
+ NUMBER = 0
7
+
8
+ def initialize(attributes = Struct.new(:description, :html_url, :feature_branch_name, :base_branch_name, :number).new)
9
+ self.description = attributes.description || DESCRIPTION
10
+ self.html_url = attributes.html_url || HTML_URL
11
+ self.feature_branch_name = attributes.feature_branch_name || FEATURE_BRANCH_NAME
12
+ self.base_branch_name = attributes.base_branch_name || BASE_BRANCH_NAME
13
+ self.build = Build.new
14
+ self.number = attributes.number || NUMBER
15
+ self.source_object = attributes
16
+ end
17
+ end
@@ -1,39 +1,39 @@
1
- def stub_get(path, endpoint = GitReflow.git_server.class.api_endpoint)
2
- stub_request(:get, endpoint + path)
3
- end
4
-
5
- def stub_post(path, endpoint = GitReflow.git_server.class.api_endpoint)
6
- stub_request(:post, endpoint + path)
7
- end
8
-
9
- def stub_patch(path, endpoint = Github.endpoint.to_s)
10
- stub_request(:patch, endpoint + path)
11
- end
12
-
13
- def stub_put(path, endpoint = Github.endpoint.to_s)
14
- stub_request(:put, endpoint + path)
15
- end
16
-
17
- def stub_delete(path, endpoint = Github.endpoint.to_s)
18
- stub_request(:delete, endpoint + path)
19
- end
20
-
21
- def a_get(path, endpoint = Github.endpoint.to_s)
22
- a_request(:get, endpoint + path)
23
- end
24
-
25
- def a_post(path, endpoint = Github.endpoint.to_s)
26
- a_request(:post, endpoint + path)
27
- end
28
-
29
- def a_patch(path, endpoint = Github.endpoint.to_s)
30
- a_request(:patch, endpoint + path)
31
- end
32
-
33
- def a_put(path, endpoint = Github.endpoint)
34
- a_request(:put, endpoint + path)
35
- end
36
-
37
- def a_delete(path, endpoint = Github.endpoint)
38
- a_request(:delete, endpoint + path)
39
- end
1
+ def stub_get(path, endpoint = GitReflow.git_server.class.api_endpoint)
2
+ stub_request(:get, endpoint + path)
3
+ end
4
+
5
+ def stub_post(path, endpoint = GitReflow.git_server.class.api_endpoint)
6
+ stub_request(:post, endpoint + path)
7
+ end
8
+
9
+ def stub_patch(path, endpoint = Github.endpoint.to_s)
10
+ stub_request(:patch, endpoint + path)
11
+ end
12
+
13
+ def stub_put(path, endpoint = Github.endpoint.to_s)
14
+ stub_request(:put, endpoint + path)
15
+ end
16
+
17
+ def stub_delete(path, endpoint = Github.endpoint.to_s)
18
+ stub_request(:delete, endpoint + path)
19
+ end
20
+
21
+ def a_get(path, endpoint = Github.endpoint.to_s)
22
+ a_request(:get, endpoint + path)
23
+ end
24
+
25
+ def a_post(path, endpoint = Github.endpoint.to_s)
26
+ a_request(:post, endpoint + path)
27
+ end
28
+
29
+ def a_patch(path, endpoint = Github.endpoint.to_s)
30
+ a_request(:patch, endpoint + path)
31
+ end
32
+
33
+ def a_put(path, endpoint = Github.endpoint)
34
+ a_request(:put, endpoint + path)
35
+ end
36
+
37
+ def a_delete(path, endpoint = Github.endpoint)
38
+ a_request(:delete, endpoint + path)
39
+ end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_reflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.10
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Valentino Stoll
8
8
  - Robert Stern
9
9
  - Nicholas Hance
10
- autorequire:
10
+ autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2018-04-19 00:00:00.000000000 Z
13
+ date: 2020-11-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: appraisal
@@ -27,21 +27,21 @@ dependencies:
27
27
  - !ruby/object:Gem::Version
28
28
  version: 2.2.0
29
29
  - !ruby/object:Gem::Dependency
30
- name: bundler
30
+ name: chronic
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - "~>"
33
+ - - ">="
34
34
  - !ruby/object:Gem::Version
35
- version: '1.16'
35
+ version: '0'
36
36
  type: :development
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - "~>"
40
+ - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: '1.16'
42
+ version: '0'
43
43
  - !ruby/object:Gem::Dependency
44
- name: chronic
44
+ name: github_changelog_generator
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - ">="
@@ -74,14 +74,14 @@ dependencies:
74
74
  requirements:
75
75
  - - "~>"
76
76
  - !ruby/object:Gem::Version
77
- version: '12.3'
77
+ version: 13.0.1
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - "~>"
83
83
  - !ruby/object:Gem::Version
84
- version: '12.3'
84
+ version: 13.0.1
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: rdoc
87
87
  requirement: !ruby/object:Gem::Requirement
@@ -102,14 +102,14 @@ dependencies:
102
102
  requirements:
103
103
  - - "~>"
104
104
  - !ruby/object:Gem::Version
105
- version: 3.7.0
105
+ version: '3.9'
106
106
  type: :development
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - "~>"
111
111
  - !ruby/object:Gem::Version
112
- version: 3.7.0
112
+ version: '3.9'
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: webmock
115
115
  requirement: !ruby/object:Gem::Requirement
@@ -130,98 +130,98 @@ dependencies:
130
130
  requirements:
131
131
  - - '='
132
132
  - !ruby/object:Gem::Version
133
- version: 1.3.0
133
+ version: '1.4'
134
134
  type: :development
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - '='
139
139
  - !ruby/object:Gem::Version
140
- version: 1.3.0
140
+ version: '1.4'
141
141
  - !ruby/object:Gem::Dependency
142
- name: colorize
142
+ name: bundler
143
143
  requirement: !ruby/object:Gem::Requirement
144
144
  requirements:
145
145
  - - ">="
146
146
  - !ruby/object:Gem::Version
147
- version: 0.7.0
147
+ version: 1.10.0
148
148
  type: :runtime
149
149
  prerelease: false
150
150
  version_requirements: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - ">="
153
153
  - !ruby/object:Gem::Version
154
- version: 0.7.0
154
+ version: 1.10.0
155
155
  - !ruby/object:Gem::Dependency
156
- name: gli
156
+ name: codenamev_bitbucket_api
157
157
  requirement: !ruby/object:Gem::Requirement
158
158
  requirements:
159
159
  - - '='
160
160
  - !ruby/object:Gem::Version
161
- version: 2.17.0
161
+ version: 0.4.1
162
162
  type: :runtime
163
163
  prerelease: false
164
164
  version_requirements: !ruby/object:Gem::Requirement
165
165
  requirements:
166
166
  - - '='
167
167
  - !ruby/object:Gem::Version
168
- version: 2.17.0
168
+ version: 0.4.1
169
169
  - !ruby/object:Gem::Dependency
170
- name: highline
170
+ name: colorize
171
171
  requirement: !ruby/object:Gem::Requirement
172
172
  requirements:
173
173
  - - ">="
174
174
  - !ruby/object:Gem::Version
175
- version: '0'
175
+ version: 0.7.0
176
176
  type: :runtime
177
177
  prerelease: false
178
178
  version_requirements: !ruby/object:Gem::Requirement
179
179
  requirements:
180
180
  - - ">="
181
181
  - !ruby/object:Gem::Version
182
- version: '0'
182
+ version: 0.7.0
183
183
  - !ruby/object:Gem::Dependency
184
- name: httpclient
184
+ name: github_api
185
185
  requirement: !ruby/object:Gem::Requirement
186
186
  requirements:
187
- - - ">="
187
+ - - '='
188
188
  - !ruby/object:Gem::Version
189
- version: '0'
189
+ version: '0.19'
190
190
  type: :runtime
191
191
  prerelease: false
192
192
  version_requirements: !ruby/object:Gem::Requirement
193
193
  requirements:
194
- - - ">="
194
+ - - '='
195
195
  - !ruby/object:Gem::Version
196
- version: '0'
196
+ version: '0.19'
197
197
  - !ruby/object:Gem::Dependency
198
- name: github_api
198
+ name: highline
199
199
  requirement: !ruby/object:Gem::Requirement
200
200
  requirements:
201
- - - '='
201
+ - - ">="
202
202
  - !ruby/object:Gem::Version
203
- version: 0.15.0
203
+ version: '0'
204
204
  type: :runtime
205
205
  prerelease: false
206
206
  version_requirements: !ruby/object:Gem::Requirement
207
207
  requirements:
208
- - - '='
208
+ - - ">="
209
209
  - !ruby/object:Gem::Version
210
- version: 0.15.0
210
+ version: '0'
211
211
  - !ruby/object:Gem::Dependency
212
- name: reenhanced_bitbucket_api
212
+ name: httpclient
213
213
  requirement: !ruby/object:Gem::Requirement
214
214
  requirements:
215
- - - '='
215
+ - - ">="
216
216
  - !ruby/object:Gem::Version
217
- version: 0.3.2
217
+ version: '0'
218
218
  type: :runtime
219
219
  prerelease: false
220
220
  version_requirements: !ruby/object:Gem::Requirement
221
221
  requirements:
222
- - - '='
222
+ - - ">="
223
223
  - !ruby/object:Gem::Version
224
- version: 0.3.2
224
+ version: '0'
225
225
  description: Git Reflow manages your git workflow.
226
226
  email:
227
227
  - dev@reenhanced.com
@@ -230,7 +230,9 @@ executables:
230
230
  extensions: []
231
231
  extra_rdoc_files: []
232
232
  files:
233
+ - ".github/workflows/multi-ruby-tests.yml"
233
234
  - ".gitignore"
235
+ - ".rubocop.yml"
234
236
  - ".ruby-version"
235
237
  - Appraisals
236
238
  - CHANGELOG.md
@@ -239,21 +241,14 @@ files:
239
241
  - LICENSE
240
242
  - README.md
241
243
  - Rakefile
244
+ - Workflow
242
245
  - _config.yml
243
246
  - bin/console
244
247
  - bin/setup
245
- - circle.yml
246
248
  - exe/git-reflow
247
249
  - git_reflow.gemspec
248
250
  - lib/git_reflow.rb
249
251
  - lib/git_reflow/base.rb
250
- - lib/git_reflow/commands/deliver.rb
251
- - lib/git_reflow/commands/refresh.rb
252
- - lib/git_reflow/commands/review.rb
253
- - lib/git_reflow/commands/setup.rb
254
- - lib/git_reflow/commands/stage.rb
255
- - lib/git_reflow/commands/start.rb
256
- - lib/git_reflow/commands/status.rb
257
252
  - lib/git_reflow/config.rb
258
253
  - lib/git_reflow/git_helpers.rb
259
254
  - lib/git_reflow/git_server.rb
@@ -268,11 +263,13 @@ files:
268
263
  - lib/git_reflow/rspec.rb
269
264
  - lib/git_reflow/rspec/command_line_helpers.rb
270
265
  - lib/git_reflow/rspec/stub_helpers.rb
266
+ - lib/git_reflow/rspec/workflow_helpers.rb
271
267
  - lib/git_reflow/sandbox.rb
272
268
  - lib/git_reflow/version.rb
273
269
  - lib/git_reflow/workflow.rb
270
+ - lib/git_reflow/workflows/FlatMergeWorkflow
274
271
  - lib/git_reflow/workflows/core.rb
275
- - lib/git_reflow/workflows/flat_merge.rb
272
+ - spec/fixtures/authentication_failure.json
276
273
  - spec/fixtures/awesome_workflow.rb
277
274
  - spec/fixtures/git/git_config
278
275
  - spec/fixtures/issues/comment.json.erb
@@ -285,6 +282,7 @@ files:
285
282
  - spec/fixtures/pull_requests/external_pull_request.json
286
283
  - spec/fixtures/pull_requests/pull_request.json
287
284
  - spec/fixtures/pull_requests/pull_request.json.erb
285
+ - spec/fixtures/pull_requests/pull_request_branch_nonexistent_error.json
288
286
  - spec/fixtures/pull_requests/pull_request_exists_error.json
289
287
  - spec/fixtures/pull_requests/pull_requests.json
290
288
  - spec/fixtures/pull_requests/review.json.erb
@@ -293,7 +291,7 @@ files:
293
291
  - spec/fixtures/repositories/commit.json.erb
294
292
  - spec/fixtures/repositories/commits.json.erb
295
293
  - spec/fixtures/repositories/statuses.json
296
- - spec/fixtures/workflow_with_super.rb
294
+ - spec/fixtures/users/user.json
297
295
  - spec/lib/git_reflow/config_spec.rb
298
296
  - spec/lib/git_reflow/git_helpers_spec.rb
299
297
  - spec/lib/git_reflow/git_server/bit_bucket_spec.rb
@@ -337,12 +335,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
337
335
  - !ruby/object:Gem::Version
338
336
  version: '0'
339
337
  requirements: []
340
- rubyforge_project:
341
- rubygems_version: 2.7.6
342
- signing_key:
338
+ rubygems_version: 3.1.2
339
+ signing_key:
343
340
  specification_version: 4
344
341
  summary: A better git process
345
342
  test_files:
343
+ - spec/fixtures/authentication_failure.json
346
344
  - spec/fixtures/awesome_workflow.rb
347
345
  - spec/fixtures/git/git_config
348
346
  - spec/fixtures/issues/comment.json.erb
@@ -355,6 +353,7 @@ test_files:
355
353
  - spec/fixtures/pull_requests/external_pull_request.json
356
354
  - spec/fixtures/pull_requests/pull_request.json
357
355
  - spec/fixtures/pull_requests/pull_request.json.erb
356
+ - spec/fixtures/pull_requests/pull_request_branch_nonexistent_error.json
358
357
  - spec/fixtures/pull_requests/pull_request_exists_error.json
359
358
  - spec/fixtures/pull_requests/pull_requests.json
360
359
  - spec/fixtures/pull_requests/review.json.erb
@@ -363,7 +362,7 @@ test_files:
363
362
  - spec/fixtures/repositories/commit.json.erb
364
363
  - spec/fixtures/repositories/commits.json.erb
365
364
  - spec/fixtures/repositories/statuses.json
366
- - spec/fixtures/workflow_with_super.rb
365
+ - spec/fixtures/users/user.json
367
366
  - spec/lib/git_reflow/config_spec.rb
368
367
  - spec/lib/git_reflow/git_helpers_spec.rb
369
368
  - spec/lib/git_reflow/git_server/bit_bucket_spec.rb