ruboty-qiita-github 0.2.1 → 0.2.2

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: 96c938e72fd549a149fdc0d61bff0821f57e7ded
4
- data.tar.gz: 22b6c1482858da90504feeb718787d28768cb61b
3
+ metadata.gz: 50ff6fda1477953596def0f47ab87b5f0127cb96
4
+ data.tar.gz: f7f4240f5fa970d2e269a4081ea870409497a2d4
5
5
  SHA512:
6
- metadata.gz: fab45c38d5b88dc86720e13046fb32819095e940c85cef3e498eba7617a5a6a18be4ce29dae5ba4b5ea3b9589b9f1c36025bdc1c54fe8b60ad9f16432fd7229b
7
- data.tar.gz: c292600be3b67976d952baffb76c48f11e750981130b080122bea87edee0868c960ff50e5a92123634f467e2a0dc5a7f4db16145de0b8d8173dc56ea9025d90b
6
+ metadata.gz: 2c25894c067577f8a26bdb2f545ff92907633127259ee2ee8ffcd8d9d4d2f1cfd44b0fb8709c219447c98d3006c0a5716ba57a0b7b3e3f2eadad7c673763feba
7
+ data.tar.gz: beb914c015a8c8a3dea6e9de51535933297beaca2d1f49f960eae5aefbfc3ea009204d26856ee58fa36219fea85524f848a3f6f1914988abf59da009fde2f556
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.2.2
2
+ - Fix a bug about pull request user
3
+
1
4
  ## 0.2.1
2
5
  - Add `deploy pull request` command
3
6
 
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # Ruboty::Github
2
2
  Manage GitHub via Ruboty.
3
+ This gem adds `deploy pull request` command to original ruboty-github plugin.
3
4
 
4
5
  ## Install
5
6
  ```ruby
@@ -10,14 +10,14 @@ module Ruboty
10
10
  end
11
11
 
12
12
  def body
13
- body = "## Pull Request to deloy\n\n"
13
+ body = "## Pull Requests to deloy\n\n"
14
14
  pull_requests_to_deploy(repository, to_branch, from_branch).each do |pr|
15
15
  body = body + [
16
16
  "-",
17
17
  "[##{pr[:number]}](#{pr[:html_url]}):",
18
18
  pr[:title],
19
19
  "by",
20
- "@#{pr[:head][:user][:login]}\n",
20
+ "@#{pr[:user][:login]}\n",
21
21
  ].join(' ')
22
22
  end
23
23
  body
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module Github
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-qiita-github
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura