socialcast-git-extensions 3.1.17 → 3.1.18
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/git.rb +1 -1
- data/lib/socialcast-git-extensions/version.rb +1 -1
- data/spec/cli_spec.rb +1 -1
- 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: 142609028c21b207ad08dba1ea5deb4c4e6fa7a5
|
4
|
+
data.tar.gz: 5695fa13f1c2f90ba56232412f83ed94ccb1ea8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94e20e9c1c07a4177e149603df027c1c2f597e95fdd088875f697a37b4123f9ef02d658177cd29582acf340134970764a8168a7246d723fa19b4c46d45e0f811
|
7
|
+
data.tar.gz: 36d9ee894930c6cd47a7bff87ee065ba6f760bf8581287b51c6f903cb76d375db620a7ddf706d97a16cf56a682f23e8b015a9a36e0281d7b498bf2b5776d65db
|
@@ -10,7 +10,7 @@ module Socialcast
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def assert_in_last_known_good_staging(branch)
|
13
|
-
branches_in_last_known_staging = branches(:remote => true, :merged => last_known_good_staging_branch)
|
13
|
+
branches_in_last_known_staging = branches(:remote => true, :merged => "origin/#{last_known_good_staging_branch}")
|
14
14
|
unless branches_in_last_known_staging.include? branch
|
15
15
|
raise "Cannot release #{branch} unless it has already been promoted separately to #{staging_branch} and the build has passed."
|
16
16
|
end
|
data/spec/cli_spec.rb
CHANGED
@@ -156,7 +156,7 @@ describe Socialcast::Gitx::CLI do
|
|
156
156
|
describe '#release' do
|
157
157
|
let(:branches_in_last_known_good_staging) { ['FOO'] }
|
158
158
|
before do
|
159
|
-
expect_any_instance_of(Socialcast::Gitx::CLI).to receive(:branches).with(:remote => true, :merged => 'last_known_good_staging').and_return(branches_in_last_known_good_staging)
|
159
|
+
expect_any_instance_of(Socialcast::Gitx::CLI).to receive(:branches).with(:remote => true, :merged => 'origin/last_known_good_staging').and_return(branches_in_last_known_good_staging)
|
160
160
|
end
|
161
161
|
|
162
162
|
context 'when user rejects release' do
|
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.18
|
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-06-
|
11
|
+
date: 2014-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grit
|