git-wip 0.6 → 0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/git-wip +2 -3
  3. data/git-wip.gemspec +1 -1
  4. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f127571d3c125f11802c73c08a548938b53da6ee51b9bb18a0cfaea12673d76
4
- data.tar.gz: f4f5e7a69ccf4d146cb072222e849a54946db9cca3ea74e255d6c478a3ca569a
3
+ metadata.gz: 879248e5a3ec529a032ecba0a7722eeb61a8669a0bb8ad3f0a4d33b52ea44cb7
4
+ data.tar.gz: 58afa25aaf68d9370b2e7204130d8e4cf5e28277e1204c0b10cba1c6c2448b3e
5
5
  SHA512:
6
- metadata.gz: 2d56286e4190c58e53bb7e5f670ec3eff03a5f514feaf2cc387a90414a555345a667126ae175046d27dd2a337c2c9d2f91373632ab8025eddfc150fc2d48ed16
7
- data.tar.gz: de898c356d4944b5180c1146bc596310b9a89ad0d0d4811ee5bf88a9cb4f978dac94a75efc4a6bc5e6cedeff2603611e742374cf5137050753acb0507c1d44d8
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]} | xargs`
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'git-wip'
5
- spec.version = '0.6'
5
+ spec.version = '0.7'
6
6
  spec.authors = ['aileron']
7
7
  spec.email = ['aileron.cc@gmail.com']
8
8
 
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.6'
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: 2020-07-02 00:00:00.000000000 Z
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.1.2
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: []