socialcast-git-extensions 4.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/socialcast-git-extensions/cli.rb +2 -2
- data/lib/socialcast-git-extensions/version.rb +1 -1
- data/spec/cli_spec.rb +30 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bc6ddeb7dc4a008086a125a36f8e41242f6c0cb
|
4
|
+
data.tar.gz: 4144c6da4a7fc0b38f1a18efa4dead920de68cd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf54c40fa5b923c43d17f82232f2e89c057f60e8f68fe7aafde4fedb36ab69dd2ff42b183806e0bb4cd17555634d985369a034b78746fb662a2ed07eaf57c702
|
7
|
+
data.tar.gz: f8aa58e2599a37f1aab1225cffd3556dabcc81ae385a8a32ca765bdd19ed83a39ee25a98b3a13ef7b527f6c1ea629108157a58d06cb25917a6871c557b805d8f
|
@@ -250,9 +250,8 @@ module Socialcast
|
|
250
250
|
end
|
251
251
|
end
|
252
252
|
|
253
|
-
desc 'promote', '
|
253
|
+
desc 'promote', 'integrate the current branch into staging'
|
254
254
|
def promote
|
255
|
-
say "DEPRECATED: Use `git integrate #{staging_branch}` instead", :red
|
256
255
|
integrate staging_branch
|
257
256
|
end
|
258
257
|
|
@@ -312,6 +311,7 @@ module Socialcast
|
|
312
311
|
run_cmd "git pull . #{branch}"
|
313
312
|
run_cmd "git push origin HEAD"
|
314
313
|
integrate_branch(base_branch, staging_branch)
|
314
|
+
integrate_branch(base_branch, prototype_branch)
|
315
315
|
cleanup
|
316
316
|
|
317
317
|
unless use_pr_comments?
|
data/spec/cli_spec.rb
CHANGED
@@ -247,6 +247,12 @@ describe Socialcast::Gitx::CLI do
|
|
247
247
|
"git checkout staging",
|
248
248
|
"git pull . master",
|
249
249
|
"git push origin HEAD",
|
250
|
+
"git checkout master",
|
251
|
+
"git branch -D prototype",
|
252
|
+
"git fetch origin",
|
253
|
+
"git checkout prototype",
|
254
|
+
"git pull . master",
|
255
|
+
"git push origin HEAD",
|
250
256
|
"git checkout master"
|
251
257
|
])
|
252
258
|
end
|
@@ -303,6 +309,12 @@ describe Socialcast::Gitx::CLI do
|
|
303
309
|
"git checkout staging",
|
304
310
|
"git pull . master",
|
305
311
|
"git push origin HEAD",
|
312
|
+
"git checkout master",
|
313
|
+
"git branch -D prototype",
|
314
|
+
"git fetch origin",
|
315
|
+
"git checkout prototype",
|
316
|
+
"git pull . master",
|
317
|
+
"git push origin HEAD",
|
306
318
|
"git checkout master"
|
307
319
|
])
|
308
320
|
end
|
@@ -351,6 +363,12 @@ describe Socialcast::Gitx::CLI do
|
|
351
363
|
"git checkout staging",
|
352
364
|
"git pull . special-master",
|
353
365
|
"git push origin HEAD",
|
366
|
+
"git checkout special-master",
|
367
|
+
"git branch -D prototype",
|
368
|
+
"git fetch origin",
|
369
|
+
"git checkout prototype",
|
370
|
+
"git pull . special-master",
|
371
|
+
"git push origin HEAD",
|
354
372
|
"git checkout special-master"
|
355
373
|
])
|
356
374
|
end
|
@@ -389,6 +407,12 @@ describe Socialcast::Gitx::CLI do
|
|
389
407
|
"git checkout staging",
|
390
408
|
"git pull . special-master",
|
391
409
|
"git push origin HEAD",
|
410
|
+
"git checkout special-master",
|
411
|
+
"git branch -D prototype",
|
412
|
+
"git fetch origin",
|
413
|
+
"git checkout prototype",
|
414
|
+
"git pull . special-master",
|
415
|
+
"git push origin HEAD",
|
392
416
|
"git checkout special-master"
|
393
417
|
])
|
394
418
|
end
|
@@ -428,6 +452,12 @@ describe Socialcast::Gitx::CLI do
|
|
428
452
|
"git checkout staging",
|
429
453
|
"git pull . special-master",
|
430
454
|
"git push origin HEAD",
|
455
|
+
"git checkout special-master",
|
456
|
+
"git branch -D prototype",
|
457
|
+
"git fetch origin",
|
458
|
+
"git checkout prototype",
|
459
|
+
"git pull . special-master",
|
460
|
+
"git push origin HEAD",
|
431
461
|
"git checkout special-master"
|
432
462
|
])
|
433
463
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: socialcast-git-extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Socialcast
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rugged
|