socialcast-git-extensions 3.1.6 → 3.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZmExZmQyNTY0YjJlNWM0ZTg4NTI2OGE5ODZkNTE2NWZiNzAwMzBiYg==
4
+ MjFhY2RkNmIxMTE0MTNjZDhjMzhhMjdkZjljOTRhYmIzMmE1MjllZA==
5
5
  data.tar.gz: !binary |-
6
- YTM0ZWUzN2Y2NzFjZWQ3MWEzNmNlZjM2YjIxY2NmY2IzZjM1M2I3OA==
6
+ MWRiY2IwMTUwMmZmYWJlYjAzOTU5MmY1ZWY0ZTc4ODg1OWEyYWRiOA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzJkNWRiM2E5YzY4NDNjMGE0MjI5YTUyNTNjNGExMjhkMWM2ZmY3MjliNTQw
10
- NTRlZjg2ODY3YTg5ODNiZTAwODBlMTdlY2UxYmY1MWQxN2I4YTU0MTQ1OTRm
11
- NDhjMjFiYzIyNWFiYThhNzNmMjg0ZmQxMmY3ZTdkMmUwYWYxMTI=
9
+ ZTdjZTQxY2U1YjM3MTRmN2VlY2Y4MmQ4NTc1OTg4NzI1ZDZjMjE1MDlmODJk
10
+ ZTU4ZDdmM2FiODg4NmE2NGVkMzRmYmM4YTc1NTA1ODU1YTE5ZGEwN2VkMTgz
11
+ ODYxNjg4Mzg1YTkyNTYzNTdjMWMzNTZhYmNhMWIzNDg3NGVhMGQ=
12
12
  data.tar.gz: !binary |-
13
- MzRkZDAxYzk1YmZhNTAyOGVkNDc0ZTIzNjRlZWJlNTc5Zjk4ZWE1MmE4Zjkx
14
- ZTJjN2Y5NjM4MjQwMTk3YWVjN2FmMjYwOTAzYzAzYzFiZTE0MTMxNjM4NzI5
15
- N2RiZWEzZDcyMTU2NDFhNjU0ZTJlY2NhY2IyYTg0Njg1MDgxNjU=
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 aggregate_branch?(branch)
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 aggregate_branch?(branch)
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
@@ -1,5 +1,5 @@
1
1
  module Socialcast
2
2
  module Gitx
3
- VERSION = "3.1.6"
3
+ VERSION = "3.1.7"
4
4
  end
5
5
  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.6
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-28 00:00:00.000000000 Z
11
+ date: 2014-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grit