git-utils 0.5.2 → 0.5.3
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/README.md +1 -1
- data/lib/git-utils/pull_request.rb +2 -1
- data/lib/git-utils/version.rb +1 -1
- data/spec/commands/pull_request_spec.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cfcfbedfb2c8601aa1c055bb90e65565733b827
|
4
|
+
data.tar.gz: 8cd464425a4c964ed8d8cb5383123dc29b1c68d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5e427cbd606a4e82dffd88b12044b06edfa58d4bcb6605794e3eeb7b06f06b33a7f997273c8309f338acbd6de3cea8cd4ffc3df6940ed1c2752fefc66bdccb7
|
7
|
+
data.tar.gz: 4eec133bbc7e61b048991e173a1a9ccdeb2818cf6971bbfd676d0d34a5985a1535cd8bbeff8058d7ca0a45df2b2b17efe1484acfccba6f5500e5670caf3f87a2
|
data/README.md
CHANGED
@@ -16,7 +16,7 @@ The `git-utils` used to be pure Bash scripts, but they are now available as a Ru
|
|
16
16
|
* `git merge-branch [branch]`: merges current branch into given branch (defaults to `master`)
|
17
17
|
* `git open`: opens the remote page for the repo (OS X only)
|
18
18
|
* `git polish`: makes a commit with the message "Polish"
|
19
|
-
* `git pull-request`: opens the remote page for issuing a new a pull request (OS X only)
|
19
|
+
* `git pull-request`: pushes the branch and opens the remote page for issuing a new a pull request (OS X only)
|
20
20
|
* `git push-branch`: pushes the current branch up to origin
|
21
21
|
* `git delete-remote-branch <branch>`: deletes the remote branch if it is safe to do so
|
22
22
|
* `git switch <pattern>`: switches to the first branch matching the given pattern
|
@@ -39,7 +39,8 @@ class PullRequest < Command
|
|
39
39
|
|
40
40
|
# Returns a command appropriate for executing at the command line
|
41
41
|
def cmd
|
42
|
-
c =
|
42
|
+
c = ["git push-branch"]
|
43
|
+
c << ["open #{new_pr_url}"]
|
43
44
|
c << argument_string(unknown_options) unless unknown_options.empty?
|
44
45
|
c.join("\n")
|
45
46
|
end
|
data/lib/git-utils/version.rb
CHANGED