socialcast-git-extensions 3.1.25 → 3.1.26
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 +2 -2
- 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: db88c7e69892bd65d7a6e6533a963b7abd16a6a1
|
4
|
+
data.tar.gz: 390627ceb2cdefd9ef3066d75592173f950bc698
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5903bfcc3b6529f774061e3618ecbcb61f564843e01ddfc506feb278f8e0363aef7a03f2ea5485651db070d1c36963244ce1e3b81614d7fc26a9d79103a8205e
|
7
|
+
data.tar.gz: 95a4af3fd6e1a23cc8385ab2866bb4ef8149bcef1aeea89e52dceb109184ef3460e487134501d28283b86907bbc4bc073edfb8a72da014861ebcd1e26bbef97e
|
@@ -224,9 +224,9 @@ module Socialcast
|
|
224
224
|
if removed_branches.any?
|
225
225
|
message += <<-EOS.strip_heredoc
|
226
226
|
|
227
|
-
|
228
|
-
#{removed_branches.map{|b| ['*', b].join(' ')}.join("\n")}
|
227
|
+
The following branches were affected:
|
229
228
|
EOS
|
229
|
+
message += removed_branches.map{ |b| ['*', b].join(' ') }.join("\n")
|
230
230
|
end
|
231
231
|
|
232
232
|
post message.strip
|
data/spec/cli_spec.rb
CHANGED
@@ -372,10 +372,10 @@ describe Socialcast::Gitx::CLI do
|
|
372
372
|
describe '#nuke' do
|
373
373
|
context 'when target branch == prototype and --destination == master' do
|
374
374
|
before do
|
375
|
-
prototype_branches = %w( dev-foo dev-bar )
|
375
|
+
prototype_branches = %w( dev-foo dev-bar dev-baz )
|
376
376
|
master_branches = %w( dev-foo )
|
377
377
|
expect_any_instance_of(Socialcast::Gitx::CLI).to receive(:branches).and_return(prototype_branches, master_branches, prototype_branches, master_branches)
|
378
|
-
stub_message "#worklog resetting prototype branch to last_known_good_master in socialcast/socialcast-git-extensions #scgitx\n/cc @SocialcastDevelopers\n\
|
378
|
+
stub_message "#worklog resetting prototype branch to last_known_good_master in socialcast/socialcast-git-extensions #scgitx\n/cc @SocialcastDevelopers\n\nThe following branches were affected:\n* dev-bar\n* dev-baz"
|
379
379
|
Socialcast::Gitx::CLI.start ['nuke', 'prototype', '--destination', 'master']
|
380
380
|
end
|
381
381
|
it 'should publish message into socialcast' do end # see expectations
|
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: 3.1.
|
4
|
+
version: 3.1.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Sonnek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grit
|