committer-tools 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9275497e20b34cba7ac89c0db7d08f699d6a96c
4
- data.tar.gz: 92c007f9f03799a3df8d6e8d0b12bfce33c4d8ac
3
+ metadata.gz: 776b584bea584ea766f4b59d117916810def62fd
4
+ data.tar.gz: ef40a808d75c168993dffcc29e22171d954ee0c2
5
5
  SHA512:
6
- metadata.gz: 9908ddb0ecddee720f7dd3d7a5b02877fbc421e037b66a954834c17f0d68e03a9e4e778365e2f788c50966fd38841b499ebd679545ca245a8653e67c64394622
7
- data.tar.gz: e509f66c1fe50c8ef0b8faf091a10a146c01285f3a30d2e22d6e48797900ccab0976895aed3c455a957e2396062aef8ee8afcc977512611ff9a44fa1d0289d50
6
+ metadata.gz: f1f9fa922987d90dc732b613cb3ebcb71388e59040f4610e2bed3991f49bbbefdf8679afcf992b1145122e218a201ea5abb582aad63fbee84f44b89940d2a6a3
7
+ data.tar.gz: 0c1dd65a4beac14ab8d626cb2540969cf6ff2cc2f7dc597f4f192f87ae71cd172bb536e7ee18bb61a940456d57ced227918ccf59069ebac9c016c23264dbaefb
data/README.md CHANGED
@@ -34,10 +34,13 @@ in your home directory, with the following contents:
34
34
  - What this does not automates:
35
35
  - pushing the actual commit
36
36
 
37
- Try it out by using:
37
+ Make sure you have a PR ID ready; as an example, the ID for
38
+ `https://github.com/nodejs/node#14998` would be `nodejs/node#14998`.
39
+
40
+ Once you have a PR ready to land, you can then land it by running:
38
41
 
39
42
  ```
40
- GH_TOKEN=mytoken123 committer-tools land
43
+ committer-tools land
41
44
  ```
42
45
 
43
46
  ### License
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'committer-tools'
5
- spec.version = '0.1.9'
5
+ spec.version = '0.2.0'
6
6
  spec.authors = 'Jon Moss'
7
7
  spec.email = 'me@jonathanmoss.me'
8
8
 
@@ -116,7 +116,7 @@ class MetadataCollector
116
116
 
117
117
  # GitHub being stupid...
118
118
  # Treat every two lines as one...
119
- readme.split("\n").each_slice(2).to_a.each do |a, b|
119
+ readme.split("\n").unshift('').each_slice(2).to_a.each do |a, b|
120
120
  if (m = REVIEWER_REGEX.match("#{a} #{b}"))
121
121
  possible_reviewers[m[1]] = {
122
122
  name: m[2],
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: committer-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Moss
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-05 00:00:00.000000000 Z
11
+ date: 2018-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client