github_branch_list 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/github_branch_list +5 -3
- metadata +16 -40
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.1
|
data/bin/github_branch_list
CHANGED
@@ -38,7 +38,7 @@ end
|
|
38
38
|
#p ARGV
|
39
39
|
|
40
40
|
if options.include? :version
|
41
|
-
puts "0.
|
41
|
+
puts "0.6.1"
|
42
42
|
exit
|
43
43
|
end
|
44
44
|
|
@@ -50,7 +50,9 @@ def remote_branches remotes=false
|
|
50
50
|
output = `git branch`
|
51
51
|
end
|
52
52
|
output.each_line do |line|
|
53
|
-
|
53
|
+
unless line =~ /HEAD/
|
54
|
+
branches << line.strip.gsub(/\* /,"")
|
55
|
+
end
|
54
56
|
end
|
55
57
|
branches.delete_at(0)
|
56
58
|
branches
|
@@ -80,7 +82,7 @@ def diff_branches br1, br2, options
|
|
80
82
|
puts "Do you want to delete the remote branch #{name2}? [y/N]"
|
81
83
|
r = STDIN.gets
|
82
84
|
if r.strip == "y"
|
83
|
-
if options[:
|
85
|
+
if options[:just_remote_branches]
|
84
86
|
`git push origin :#{name2}`
|
85
87
|
else
|
86
88
|
`git br -D #{name2}`
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github_branch_list
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 7
|
5
4
|
prerelease:
|
6
|
-
|
7
|
-
- 0
|
8
|
-
- 6
|
9
|
-
- 0
|
10
|
-
version: 0.6.0
|
5
|
+
version: 0.6.1
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Caccinolo Benoit
|
@@ -15,69 +10,53 @@ autorequire:
|
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date: 2011-08-
|
13
|
+
date: 2011-08-03 00:00:00 +02:00
|
19
14
|
default_executable: github_branch_list
|
20
15
|
dependencies:
|
21
16
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
23
|
-
type: :development
|
17
|
+
name: shoulda
|
24
18
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
19
|
none: false
|
26
20
|
requirements:
|
27
21
|
- - ">="
|
28
22
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
|
-
segments:
|
31
|
-
- 0
|
32
23
|
version: "0"
|
24
|
+
type: :development
|
25
|
+
prerelease: false
|
33
26
|
version_requirements: *id001
|
34
|
-
name: shoulda
|
35
27
|
- !ruby/object:Gem::Dependency
|
36
|
-
|
37
|
-
type: :development
|
28
|
+
name: bundler
|
38
29
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
30
|
none: false
|
40
31
|
requirements:
|
41
32
|
- - ~>
|
42
33
|
- !ruby/object:Gem::Version
|
43
|
-
hash: 23
|
44
|
-
segments:
|
45
|
-
- 1
|
46
|
-
- 0
|
47
|
-
- 0
|
48
34
|
version: 1.0.0
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
49
37
|
version_requirements: *id002
|
50
|
-
name: bundler
|
51
38
|
- !ruby/object:Gem::Dependency
|
52
|
-
|
53
|
-
type: :development
|
39
|
+
name: jeweler
|
54
40
|
requirement: &id003 !ruby/object:Gem::Requirement
|
55
41
|
none: false
|
56
42
|
requirements:
|
57
43
|
- - ~>
|
58
44
|
- !ruby/object:Gem::Version
|
59
|
-
hash: 7
|
60
|
-
segments:
|
61
|
-
- 1
|
62
|
-
- 5
|
63
|
-
- 2
|
64
45
|
version: 1.5.2
|
46
|
+
type: :development
|
47
|
+
prerelease: false
|
65
48
|
version_requirements: *id003
|
66
|
-
name: jeweler
|
67
49
|
- !ruby/object:Gem::Dependency
|
68
|
-
|
69
|
-
type: :development
|
50
|
+
name: rcov
|
70
51
|
requirement: &id004 !ruby/object:Gem::Requirement
|
71
52
|
none: false
|
72
53
|
requirements:
|
73
54
|
- - ">="
|
74
55
|
- !ruby/object:Gem::Version
|
75
|
-
hash: 3
|
76
|
-
segments:
|
77
|
-
- 0
|
78
56
|
version: "0"
|
57
|
+
type: :development
|
58
|
+
prerelease: false
|
79
59
|
version_requirements: *id004
|
80
|
-
name: rcov
|
81
60
|
description: a gem to have the same output as the github branch list page
|
82
61
|
email: benoit.caccinolo@gmail.com
|
83
62
|
executables:
|
@@ -115,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
115
94
|
requirements:
|
116
95
|
- - ">="
|
117
96
|
- !ruby/object:Gem::Version
|
118
|
-
hash:
|
97
|
+
hash: 592093083709844837
|
119
98
|
segments:
|
120
99
|
- 0
|
121
100
|
version: "0"
|
@@ -124,14 +103,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
103
|
requirements:
|
125
104
|
- - ">="
|
126
105
|
- !ruby/object:Gem::Version
|
127
|
-
hash: 3
|
128
|
-
segments:
|
129
|
-
- 0
|
130
106
|
version: "0"
|
131
107
|
requirements: []
|
132
108
|
|
133
109
|
rubyforge_project:
|
134
|
-
rubygems_version: 1.
|
110
|
+
rubygems_version: 1.6.2
|
135
111
|
signing_key:
|
136
112
|
specification_version: 3
|
137
113
|
summary: a gem to have the same output as the github branch list page
|