git-wip 0.6 → 0.7
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/exe/git-wip +2 -3
- data/git-wip.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 879248e5a3ec529a032ecba0a7722eeb61a8669a0bb8ad3f0a4d33b52ea44cb7
|
|
4
|
+
data.tar.gz: 58afa25aaf68d9370b2e7204130d8e4cf5e28277e1204c0b10cba1c6c2448b3e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f73f928f8e87700924439f8cc0f2b6c3a36866a952383967409fac7b8ef721bb219cade13f6a0958c3e6f378426bf368a5e8f76131e24e9535f7b9974df51c75
|
|
7
|
+
data.tar.gz: 218d72f5675231fbc1aac39ccaa72fedc4cf6bb5869b64c013c1c31ad8500e5944e631b2e1e8e23081715491678c54cf39da0ea78402f4841a206f6da53c6639
|
data/exe/git-wip
CHANGED
|
@@ -9,17 +9,16 @@ end
|
|
|
9
9
|
if ARGV[1]
|
|
10
10
|
issue_number = "##{ARGV[1]}"
|
|
11
11
|
branch_name = "#{ARGV[1]}-#{ARGV[0]}"
|
|
12
|
-
issue_title = `hub issue | grep #{ARGV[1]}
|
|
12
|
+
issue_title = `hub issue | grep #{ARGV[1]}`.strip
|
|
13
13
|
else
|
|
14
14
|
branch_name = ARGV[0]
|
|
15
15
|
issue_number = ''
|
|
16
16
|
issue_title = "Fix #{branch_name}"
|
|
17
17
|
end
|
|
18
|
-
|
|
19
18
|
<<`SHELL`
|
|
20
19
|
git pull --rebase
|
|
21
20
|
git checkout -b #{branch_name}
|
|
22
21
|
git commit --allow-empty -m "#{issue_number} [ci skip][init]"
|
|
23
22
|
git push -u origin HEAD
|
|
24
23
|
SHELL
|
|
25
|
-
`open $(echo "#{issue_title}" | hub pull-request --draft --file -)`
|
|
24
|
+
`open $(echo "#{issue_title}\n\n#{issue_number}" | hub pull-request --draft --file -)`
|
data/git-wip.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: git-wip
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '0.
|
|
4
|
+
version: '0.7'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- aileron
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-03-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -51,7 +51,7 @@ metadata:
|
|
|
51
51
|
homepage_uri: https://github.com/aileron-inc/git-wip/
|
|
52
52
|
source_code_uri: https://github.com/aileron-inc/git-wip/
|
|
53
53
|
changelog_uri: https://github.com/aileron-inc/git-wip/CHANGELOG.md
|
|
54
|
-
post_install_message:
|
|
54
|
+
post_install_message:
|
|
55
55
|
rdoc_options: []
|
|
56
56
|
require_paths:
|
|
57
57
|
- lib
|
|
@@ -66,8 +66,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
67
|
version: '0'
|
|
68
68
|
requirements: []
|
|
69
|
-
rubygems_version: 3.
|
|
70
|
-
signing_key:
|
|
69
|
+
rubygems_version: 3.0.3
|
|
70
|
+
signing_key:
|
|
71
71
|
specification_version: 4
|
|
72
72
|
summary: Automation create ( work in progress pull-request )
|
|
73
73
|
test_files: []
|