git_curate 0.1.0 → 0.1.1
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 +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile +0 -3
- data/Gemfile.lock +6 -3
- data/README.md +11 -10
- data/Rakefile +6 -0
- data/VERSION +1 -0
- data/git_curate.gemspec +4 -0
- data/lib/git_curate/version.rb +1 -1
- metadata +45 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efe99d35516a3694f9451935f2d33cb90b2f2534
|
4
|
+
data.tar.gz: 23f63f3411b255eebe10039c6705f02d2ba89a01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f87360f611fb9c29cddadfe0f18178fe541629124ab889ebb1e3d953ba856ee5f1d969a709a3475b36957a3b6a10ccc12d8ed2b169458fe4d20b12599f6dc761
|
7
|
+
data.tar.gz: f98ce30aa2f67e1280b57863103c72558fe70e57c740c806cf970fefd29c275a400b7b6da5a976c88123aca9bcc015204159907c6fa1a5e82a4ae76945e09757
|
data/CHANGELOG.md
ADDED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
git_curate (0.1.
|
4
|
+
git_curate (0.1.1)
|
5
|
+
highline (= 2.0.0)
|
6
|
+
tabulo (= 1.2.0)
|
5
7
|
|
6
8
|
GEM
|
7
9
|
remote: https://rubygems.org/
|
8
10
|
specs:
|
9
11
|
highline (2.0.0)
|
10
12
|
rake (11.3.0)
|
13
|
+
rake-version (1.0.1)
|
14
|
+
rake (> 11.1)
|
11
15
|
tabulo (1.2.0)
|
12
16
|
|
13
17
|
PLATFORMS
|
@@ -16,9 +20,8 @@ PLATFORMS
|
|
16
20
|
DEPENDENCIES
|
17
21
|
bundler (~> 1.16)
|
18
22
|
git_curate!
|
19
|
-
highline
|
20
23
|
rake (~> 11.0)
|
21
|
-
|
24
|
+
rake-version (~> 1.0)
|
22
25
|
|
23
26
|
BUNDLED WITH
|
24
27
|
1.16.1
|
data/README.md
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
|
3
3
|
## Motivation
|
4
4
|
|
5
|
-
After a while, my local repo becomes
|
6
|
-
list. I want to delete some of those branches to bring that list back under control; but I
|
7
|
-
can't always remember which branches
|
8
|
-
time and _then_ running `git branch -D` in a separate step, is painful.
|
5
|
+
After a while, my local repo becomes cluttered with branches, and `git branch` outputs an awkwardly
|
6
|
+
long list. I want to delete some of those branches to bring that list back under control; but I
|
7
|
+
can't always remember which branches I want to keep from the branch names alone; and inspecting them
|
8
|
+
one at a time and _then_ running `git branch -D` in a separate step, is painful.
|
9
9
|
|
10
|
-
|
11
|
-
time, outputting a small amount of information about each branch (
|
12
|
-
|
10
|
+
`git curate` is intended to ease this pain. It steps you through the local branches of a repo one at a
|
11
|
+
time, outputting a small amount of information about each branch (last commit date, author and
|
12
|
+
summary), and prompting you either to keep or to delete each branch as you go.
|
13
13
|
|
14
14
|
## Installation
|
15
15
|
|
@@ -25,8 +25,9 @@ From within a git repo, run:
|
|
25
25
|
git curate
|
26
26
|
```
|
27
27
|
|
28
|
-
This will step you through your local branches one at a time,
|
29
|
-
delete each branch in what should be a self-explanatory fashion.
|
28
|
+
This will step you through your local branches one at a time, asking you whether to keep or
|
29
|
+
delete each branch in what should be a fairly self-explanatory fashion. Note the branch
|
30
|
+
you are currently on will not be included in the list.
|
30
31
|
|
31
32
|
## Development
|
32
33
|
|
@@ -34,7 +35,7 @@ After checking out the repo, run `bin/setup` to install dependencies.
|
|
34
35
|
|
35
36
|
## Contributing
|
36
37
|
|
37
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/matt-harvey/
|
38
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/matt-harvey/git_curate.
|
38
39
|
|
39
40
|
## License
|
40
41
|
|
data/Rakefile
CHANGED
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.1
|
data/git_curate.gemspec
CHANGED
@@ -26,6 +26,10 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
27
27
|
spec.require_paths = ["lib"]
|
28
28
|
|
29
|
+
spec.add_runtime_dependency "highline", "2.0.0"
|
30
|
+
spec.add_runtime_dependency "tabulo", "1.2.0"
|
31
|
+
|
29
32
|
spec.add_development_dependency "bundler", "~> 1.16"
|
30
33
|
spec.add_development_dependency "rake", "~> 11.0"
|
34
|
+
spec.add_development_dependency "rake-version", "~> 1.0"
|
31
35
|
end
|
data/lib/git_curate/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_curate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Harvey
|
@@ -10,6 +10,34 @@ bindir: exe
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2018-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: highline
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: tabulo
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.2.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.2.0
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: bundler
|
15
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +66,20 @@ dependencies:
|
|
38
66
|
- - "~>"
|
39
67
|
- !ruby/object:Gem::Version
|
40
68
|
version: '11.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake-version
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.0'
|
41
83
|
description: Step through local git branches from the command line, keeping or deleting
|
42
84
|
each.
|
43
85
|
email:
|
@@ -48,11 +90,13 @@ extensions: []
|
|
48
90
|
extra_rdoc_files: []
|
49
91
|
files:
|
50
92
|
- ".gitignore"
|
93
|
+
- CHANGELOG.md
|
51
94
|
- Gemfile
|
52
95
|
- Gemfile.lock
|
53
96
|
- LICENSE.txt
|
54
97
|
- README.md
|
55
98
|
- Rakefile
|
99
|
+
- VERSION
|
56
100
|
- bin/setup
|
57
101
|
- exe/git-curate
|
58
102
|
- git_curate.gemspec
|