socialcast-git-extensions 3.1.6 → 3.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MjFhY2RkNmIxMTE0MTNjZDhjMzhhMjdkZjljOTRhYmIzMmE1MjllZA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MWRiY2IwMTUwMmZmYWJlYjAzOTU5MmY1ZWY0ZTc4ODg1OWEyYWRiOA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZTdjZTQxY2U1YjM3MTRmN2VlY2Y4MmQ4NTc1OTg4NzI1ZDZjMjE1MDlmODJk
|
|
10
|
+
ZTU4ZDdmM2FiODg4NmE2NGVkMzRmYmM4YTc1NTA1ODU1YTE5ZGEwN2VkMTgz
|
|
11
|
+
ODYxNjg4Mzg1YTkyNTYzNTdjMWMzNTZhYmNhMWIzNDg3NGVhMGQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
OWY5ZGEwMGMzYjhhZjFhMWU5YTkzYjdiNDg3OGEzMThkYzUzYzRkYzVhNGZi
|
|
14
|
+
YzI4MWU5YjFlN2E5NTc0NTFjM2ZmNTZmYzhhMmQwMmVlNTczM2I2M2VkOTFm
|
|
15
|
+
NTRiNGE3YTc4M2E1NmVjOWZmNDY5ZmZiNGJhMmY4ZTk1NzZmNDY=
|
|
@@ -72,10 +72,10 @@ module Socialcast
|
|
|
72
72
|
say "Deleting branches that have been merged into "
|
|
73
73
|
say base_branch, :green
|
|
74
74
|
branches(:merged => true, :remote => true).each do |branch|
|
|
75
|
-
run_cmd "git push origin --delete #{branch}" unless
|
|
75
|
+
run_cmd "git push origin --delete #{branch}" unless reserved_branches.include?(branch)
|
|
76
76
|
end
|
|
77
77
|
branches(:merged => true).each do |branch|
|
|
78
|
-
run_cmd "git branch -d #{branch}" unless
|
|
78
|
+
run_cmd "git branch -d #{branch}" unless reserved_branches.include?(branch)
|
|
79
79
|
end
|
|
80
80
|
end
|
|
81
81
|
|
|
@@ -186,7 +186,7 @@ module Socialcast
|
|
|
186
186
|
end
|
|
187
187
|
|
|
188
188
|
def reserved_branches
|
|
189
|
-
@reserved_branches ||= %w{ HEAD next_release } + [base_branch] + aggregate_branches
|
|
189
|
+
@reserved_branches ||= %w{ HEAD master next_release } + [base_branch] + aggregate_branches
|
|
190
190
|
end
|
|
191
191
|
end
|
|
192
192
|
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: 3.1.
|
|
4
|
+
version: 3.1.7
|
|
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-01-
|
|
11
|
+
date: 2014-01-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: grit
|