git-utils 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/bin/git-bump +4 -0
- data/lib/git-utils/delete_remote_branch.rb +1 -1
- data/lib/git-utils/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9575438e8eef35c1866aa1b1b7b07827d0f85591
|
4
|
+
data.tar.gz: efe2619d04db58e530f6bbaf8f4d1c094bb6d72a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdee614a780bd62201745d293628e12d97116f814b9c6cebe1f16d0d062391bda611fd8da3d0e867aac1bb42ed41a5369eddce3d9ef6739e9d09522d6ea4b6d7
|
7
|
+
data.tar.gz: 3cd2e8626690c17c41dfebe1d3d19725bfd0d7b5b9ca571852435a0eb7528282f7b4d850c1827cdff43c4e2ea92066254d8e9c4f6c03c4b2f01c2c2d011627fb
|
data/README.md
CHANGED
@@ -12,6 +12,7 @@ The `git-utils` used to be pure Bash scripts, but they are now available as a Ru
|
|
12
12
|
|
13
13
|
* `git amend`: alias for `git commit --amend`
|
14
14
|
* `git anal` (use with caution): makes a commit with the message "Make anal changes"
|
15
|
+
* `git bump`: makes a commit with the message "Bump version number"
|
15
16
|
* `git cleanup`: deletes every branch already merged into current branch (apart from `master`, `staging`, and `development`)
|
16
17
|
* `git merge-branch [branch]`: merges current branch into given branch (defaults to `master`)
|
17
18
|
* `git open`: opens the remote page for the repo (OS X only)
|
data/bin/git-bump
ADDED
@@ -16,7 +16,7 @@ class DeleteRemoteBranch < Command
|
|
16
16
|
|
17
17
|
def delete_safely?
|
18
18
|
command = "git log ..origin/#{target_branch} 2> /dev/null"
|
19
|
-
system(command) &&
|
19
|
+
system(command) && `#{command}`.strip.empty?
|
20
20
|
end
|
21
21
|
|
22
22
|
# Returns a command appropriate for executing at the command line
|
data/lib/git-utils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Hartl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
11
|
+
date: 2013-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Add some Git utilities
|
14
14
|
email:
|
@@ -16,6 +16,7 @@ email:
|
|
16
16
|
executables:
|
17
17
|
- git-amend
|
18
18
|
- git-anal
|
19
|
+
- git-bump
|
19
20
|
- git-cleanup
|
20
21
|
- git-delete-remote-branch
|
21
22
|
- git-merge-branch
|
@@ -41,6 +42,7 @@ files:
|
|
41
42
|
- Rakefile
|
42
43
|
- bin/git-amend
|
43
44
|
- bin/git-anal
|
45
|
+
- bin/git-bump
|
44
46
|
- bin/git-cleanup
|
45
47
|
- bin/git-delete-remote-branch
|
46
48
|
- bin/git-merge-branch
|