git_reflow 0.6.7 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +11 -9
- data/README.rdoc +3 -1
- data/bin/git-reflow +0 -11
- data/bin/gitreflow-common +1 -1
- data/git_reflow.gemspec +3 -2
- data/lib/git_reflow.rb +13 -60
- data/lib/git_reflow/commands/deliver.rb +1 -2
- data/lib/git_reflow/commands/start.rb +0 -6
- data/lib/git_reflow/config.rb +15 -14
- data/lib/git_reflow/git_server.rb +14 -4
- data/lib/git_reflow/git_server/base.rb +0 -39
- data/lib/git_reflow/git_server/bit_bucket.rb +15 -80
- data/lib/git_reflow/git_server/bit_bucket/pull_request.rb +84 -0
- data/lib/git_reflow/git_server/git_hub.rb +18 -75
- data/lib/git_reflow/git_server/git_hub/pull_request.rb +108 -0
- data/lib/git_reflow/git_server/pull_request.rb +97 -0
- data/lib/git_reflow/version.rb +1 -1
- data/spec/fixtures/issues/comment.json.erb +27 -0
- data/spec/fixtures/issues/comments.json.erb +15 -0
- data/spec/fixtures/pull_requests/comment.json.erb +45 -0
- data/spec/fixtures/pull_requests/comments.json.erb +15 -0
- data/spec/fixtures/pull_requests/commits.json +29 -0
- data/spec/fixtures/pull_requests/external_pull_request.json +145 -0
- data/spec/fixtures/pull_requests/pull_request.json +19 -0
- data/spec/fixtures/pull_requests/pull_request.json.erb +142 -0
- data/spec/fixtures/pull_requests/pull_requests.json +19 -0
- data/spec/fixtures/repositories/commit.json.erb +53 -0
- data/spec/fixtures/repositories/commits.json.erb +13 -0
- data/spec/git_reflow_spec.rb +32 -25
- data/spec/lib/git_reflow/config_spec.rb +22 -6
- data/spec/lib/git_server/bit_bucket_spec.rb +5 -34
- data/spec/lib/git_server/git_hub/pull_request_spec.rb +319 -0
- data/spec/lib/git_server/git_hub_spec.rb +17 -25
- data/spec/lib/git_server/pull_request_spec.rb +93 -0
- data/spec/support/command_line_helpers.rb +16 -1
- data/spec/support/fake_github.rb +128 -0
- data/spec/support/fixtures.rb +52 -6
- data/spec/support/github_helpers.rb +22 -12
- metadata +47 -6
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_reflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Valentino Stoll
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-10-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: appraisal
|
@@ -40,6 +40,20 @@ dependencies:
|
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '0'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: chronic
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
50
|
+
type: :development
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
43
57
|
- !ruby/object:Gem::Dependency
|
44
58
|
name: pry-byebug
|
45
59
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,14 +158,14 @@ dependencies:
|
|
144
158
|
requirements:
|
145
159
|
- - '='
|
146
160
|
- !ruby/object:Gem::Version
|
147
|
-
version: 2.
|
161
|
+
version: 2.13.2
|
148
162
|
type: :runtime
|
149
163
|
prerelease: false
|
150
164
|
version_requirements: !ruby/object:Gem::Requirement
|
151
165
|
requirements:
|
152
166
|
- - '='
|
153
167
|
- !ruby/object:Gem::Version
|
154
|
-
version: 2.
|
168
|
+
version: 2.13.2
|
155
169
|
- !ruby/object:Gem::Dependency
|
156
170
|
name: highline
|
157
171
|
requirement: !ruby/object:Gem::Requirement
|
@@ -200,14 +214,14 @@ dependencies:
|
|
200
214
|
requirements:
|
201
215
|
- - '='
|
202
216
|
- !ruby/object:Gem::Version
|
203
|
-
version: 0.12.
|
217
|
+
version: 0.12.4
|
204
218
|
type: :runtime
|
205
219
|
prerelease: false
|
206
220
|
version_requirements: !ruby/object:Gem::Requirement
|
207
221
|
requirements:
|
208
222
|
- - '='
|
209
223
|
- !ruby/object:Gem::Version
|
210
|
-
version: 0.12.
|
224
|
+
version: 0.12.4
|
211
225
|
- !ruby/object:Gem::Dependency
|
212
226
|
name: reenhanced_bitbucket_api
|
213
227
|
requirement: !ruby/object:Gem::Requirement
|
@@ -255,26 +269,41 @@ files:
|
|
255
269
|
- lib/git_reflow/git_server.rb
|
256
270
|
- lib/git_reflow/git_server/base.rb
|
257
271
|
- lib/git_reflow/git_server/bit_bucket.rb
|
272
|
+
- lib/git_reflow/git_server/bit_bucket/pull_request.rb
|
258
273
|
- lib/git_reflow/git_server/git_hub.rb
|
274
|
+
- lib/git_reflow/git_server/git_hub/pull_request.rb
|
275
|
+
- lib/git_reflow/git_server/pull_request.rb
|
259
276
|
- lib/git_reflow/os_detector.rb
|
260
277
|
- lib/git_reflow/sandbox.rb
|
261
278
|
- lib/git_reflow/version.rb
|
262
279
|
- spec/fixtures/git/git_config
|
280
|
+
- spec/fixtures/issues/comment.json.erb
|
263
281
|
- spec/fixtures/issues/comments.json
|
282
|
+
- spec/fixtures/issues/comments.json.erb
|
283
|
+
- spec/fixtures/pull_requests/comment.json.erb
|
264
284
|
- spec/fixtures/pull_requests/comments.json
|
285
|
+
- spec/fixtures/pull_requests/comments.json.erb
|
286
|
+
- spec/fixtures/pull_requests/commits.json
|
287
|
+
- spec/fixtures/pull_requests/external_pull_request.json
|
265
288
|
- spec/fixtures/pull_requests/pull_request.json
|
289
|
+
- spec/fixtures/pull_requests/pull_request.json.erb
|
266
290
|
- spec/fixtures/pull_requests/pull_request_exists_error.json
|
267
291
|
- spec/fixtures/pull_requests/pull_requests.json
|
268
292
|
- spec/fixtures/repositories/commit.json
|
293
|
+
- spec/fixtures/repositories/commit.json.erb
|
294
|
+
- spec/fixtures/repositories/commits.json.erb
|
269
295
|
- spec/fixtures/repositories/statuses.json
|
270
296
|
- spec/git_reflow_spec.rb
|
271
297
|
- spec/lib/git_reflow/config_spec.rb
|
272
298
|
- spec/lib/git_reflow/git_helpers_spec.rb
|
273
299
|
- spec/lib/git_reflow/git_server_spec.rb
|
274
300
|
- spec/lib/git_server/bit_bucket_spec.rb
|
301
|
+
- spec/lib/git_server/git_hub/pull_request_spec.rb
|
275
302
|
- spec/lib/git_server/git_hub_spec.rb
|
303
|
+
- spec/lib/git_server/pull_request_spec.rb
|
276
304
|
- spec/spec_helper.rb
|
277
305
|
- spec/support/command_line_helpers.rb
|
306
|
+
- spec/support/fake_github.rb
|
278
307
|
- spec/support/fixtures.rb
|
279
308
|
- spec/support/github_helpers.rb
|
280
309
|
- spec/support/rspec_stub_helpers.rb
|
@@ -313,21 +342,33 @@ specification_version: 4
|
|
313
342
|
summary: A better git process
|
314
343
|
test_files:
|
315
344
|
- spec/fixtures/git/git_config
|
345
|
+
- spec/fixtures/issues/comment.json.erb
|
316
346
|
- spec/fixtures/issues/comments.json
|
347
|
+
- spec/fixtures/issues/comments.json.erb
|
348
|
+
- spec/fixtures/pull_requests/comment.json.erb
|
317
349
|
- spec/fixtures/pull_requests/comments.json
|
350
|
+
- spec/fixtures/pull_requests/comments.json.erb
|
351
|
+
- spec/fixtures/pull_requests/commits.json
|
352
|
+
- spec/fixtures/pull_requests/external_pull_request.json
|
318
353
|
- spec/fixtures/pull_requests/pull_request.json
|
354
|
+
- spec/fixtures/pull_requests/pull_request.json.erb
|
319
355
|
- spec/fixtures/pull_requests/pull_request_exists_error.json
|
320
356
|
- spec/fixtures/pull_requests/pull_requests.json
|
321
357
|
- spec/fixtures/repositories/commit.json
|
358
|
+
- spec/fixtures/repositories/commit.json.erb
|
359
|
+
- spec/fixtures/repositories/commits.json.erb
|
322
360
|
- spec/fixtures/repositories/statuses.json
|
323
361
|
- spec/git_reflow_spec.rb
|
324
362
|
- spec/lib/git_reflow/config_spec.rb
|
325
363
|
- spec/lib/git_reflow/git_helpers_spec.rb
|
326
364
|
- spec/lib/git_reflow/git_server_spec.rb
|
327
365
|
- spec/lib/git_server/bit_bucket_spec.rb
|
366
|
+
- spec/lib/git_server/git_hub/pull_request_spec.rb
|
328
367
|
- spec/lib/git_server/git_hub_spec.rb
|
368
|
+
- spec/lib/git_server/pull_request_spec.rb
|
329
369
|
- spec/spec_helper.rb
|
330
370
|
- spec/support/command_line_helpers.rb
|
371
|
+
- spec/support/fake_github.rb
|
331
372
|
- spec/support/fixtures.rb
|
332
373
|
- spec/support/github_helpers.rb
|
333
374
|
- spec/support/rspec_stub_helpers.rb
|