pt-flow 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/lib/pt-flow/ui.rb CHANGED
@@ -40,15 +40,13 @@ class PT::Flow::UI < PT::UI
40
40
  end
41
41
 
42
42
  def cleanup
43
- # Run from master
44
- `git checkout master`
45
-
46
- # Remove local fully merged branches
47
- `git branch --merged master | grep -v 'master$' | xargs git branch -d`
48
-
49
43
  # Update our list of remotes
50
44
  `git fetch`
51
45
  `git remote prune origin`
46
+
47
+ # Remove local branches fully merged with origin/master
48
+ `git branch --merged origin/master | grep -v 'master$' | xargs git branch -d`
49
+
52
50
  congrats('All clean!')
53
51
  end
54
52
 
@@ -1,5 +1,5 @@
1
1
  module PT
2
2
  module Flow
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pt-flow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-09 00:00:00.000000000 Z
12
+ date: 2012-10-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pt
16
- requirement: &70204019920160 !ruby/object:Gem::Requirement
16
+ requirement: &70282598509440 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70204019920160
24
+ version_requirements: *70282598509440
25
25
  description: Some extra methods for the pt gem to use in our dev flow.
26
26
  email:
27
27
  - jens@balvig.com
@@ -54,7 +54,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
54
54
  version: '0'
55
55
  segments:
56
56
  - 0
57
- hash: -851664934649653684
57
+ hash: -1205585233084868864
58
58
  required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  none: false
60
60
  requirements:
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  version: '0'
64
64
  segments:
65
65
  - 0
66
- hash: -851664934649653684
66
+ hash: -1205585233084868864
67
67
  requirements: []
68
68
  rubyforge_project:
69
69
  rubygems_version: 1.8.11