git-prune-remote-branch 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 538520f6e621eeae7412f4d2e49bc5ea7e10c064
4
- data.tar.gz: 86ec169de7d7f201487534eeea367fdf2e0bb10e
3
+ metadata.gz: f1ee4e5a106d9837a11e320f81dc6c89565e0117
4
+ data.tar.gz: 4b0f6a691210d4f17d3da7a8e75ce8efa21171f1
5
5
  SHA512:
6
- metadata.gz: 3a98a86239eb5ed1e620de5f6dcd1f1e59037631120a9828644b450bb5219b35bbd826603d8eed55985ca434a3c4bb04f3c9897926aa72e0617d69a9534c89ec
7
- data.tar.gz: 4fe2a899d64f8a0063abda3ef8594ee7ca9a3ad6bca5501c6d044f63ea3492533a0ada2852e893103bbc0bc23c2f3a3ce3b6b39fc5d58bd774bb03de3ec61142
6
+ metadata.gz: e207c24504541624bf5f55009429a34c693d2f12874f8a9575972c14fdfed6fa184d1b01d144f0c3623e5af05595eb66c8f4dca1561e8fdfc226eda636373618
7
+ data.tar.gz: bf215992473fbe7d44518fc626090770889b249f3d3e4b66dbbd858fab84aff7ffc0fc6be0efcf289c98005743d8acd3fb757cdc0fa55865c29e5f6e367047db
data/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  Delete all remote branches which merged into master or develop.
4
4
 
5
- $ git clone git://github.com/kyanny/git-prune-remote-branch.git
6
- $ export PATH=/path/to/git-prune-remote-branch:$PATH
5
+ $ gem install git-prune-remote-branch
6
+ $ type rbenv && rbenv rehash
7
7
  $ cd $GIT_DIR
8
8
  $ git-prune-remote-branch --help
9
9
  $ git-prune-remote-branch --noop
@@ -10,6 +10,8 @@ opts.parse!
10
10
  next if branch =~ %r![^/]+/master!
11
11
  next if branch =~ %r![^/]+/develop!
12
12
 
13
+ branch.gsub!(%r!\(!, '\(')
14
+ branch.gsub!(%r!\)!, '\)')
13
15
  if `git branch --contains #{branch}`.each_line.any? { |included| included.strip.chomp =~ /\A[* ]*(develop|master)\z/ }
14
16
  ref = branch.sub(%r!^([^/]+)/!, '')
15
17
  command = "git push --delete #{$1} #{ref}"
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "git-prune-remote-branch"
3
- spec.version = '1.0.0'
4
- spec.authors = ["Kensuke Nagae", "KITAITI Makoto"]
3
+ spec.version = '1.1.0'
4
+ spec.authors = ["Kensuke Nagae", "KITAITI Makoto", "koyachi"]
5
5
  spec.email = ["kyanny@gmail.com"]
6
- spec.description = %q{git-prune-remote-branch}
7
- spec.summary = %q{git-prune-remote-branch}
6
+ spec.description = %q{Delete all remote branches which merged into master or develop.}
7
+ spec.summary = %q{Delete all remote branches which merged into master or develop.}
8
8
  spec.homepage = "https://github.com/kyanny/git-prune-remote-branch"
9
9
  spec.license = "MIT"
10
10
 
metadata CHANGED
@@ -1,17 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-prune-remote-branch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kensuke Nagae
8
8
  - KITAITI Makoto
9
+ - koyachi
9
10
  autorequire:
10
11
  bindir: "."
11
12
  cert_chain: []
12
- date: 2014-05-03 00:00:00.000000000 Z
13
+ date: 2014-08-22 00:00:00.000000000 Z
13
14
  dependencies: []
14
- description: git-prune-remote-branch
15
+ description: Delete all remote branches which merged into master or develop.
15
16
  email:
16
17
  - kyanny@gmail.com
17
18
  executables:
@@ -44,9 +45,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
44
45
  version: '0'
45
46
  requirements: []
46
47
  rubyforge_project:
47
- rubygems_version: 2.2.0
48
+ rubygems_version: 2.2.2
48
49
  signing_key:
49
50
  specification_version: 4
50
- summary: git-prune-remote-branch
51
+ summary: Delete all remote branches which merged into master or develop.
51
52
  test_files: []
52
53
  has_rdoc: