ruboty-github_pr_release 0.2.2 → 0.2.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 +3 -3
- data/lib/ruboty/github_pr_release/actions/release.rb +3 -1
- data/lib/ruboty/github_pr_release/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eb3eca29661b83a99c748a7a2e954921886ae699
|
|
4
|
+
data.tar.gz: b543bb55b62bac9e23ecb506934e6069255f03f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8a21839d7341b386600de7b4c9c18822dc43b6fb4d1b6c7b6c287c4f4b9ed129c2f621a3a102ae3d5a34c5c7408fa9290985b7ef889fda5c85d700ae16672c6f
|
|
7
|
+
data.tar.gz: 903e37f5b06e964010a1a00ed364f53af4d299967cd8db27ea60417a2ca8ac8e2dccd5dcbc3a5676832af3982b7f06d638aa6e2a62755b8c50ab4db35d0f59c6
|
data/README.md
CHANGED
|
@@ -13,9 +13,9 @@ gem 'ruboty-github_pr_release'
|
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
15
15
|
|
|
16
|
-
@ruboty release from "from" to "to"[as "title"] - Creates a `release pull request`
|
|
17
|
-
@ruboty update release from "from" to "to"[as "title"] - Updates a `release pull request`
|
|
18
|
-
@ruboty deploy release from "from" to "to" - Merges a `release pull request` for deployment
|
|
16
|
+
- @ruboty release from "from" to "to"[ as "title"] - Creates a `release pull request`
|
|
17
|
+
- @ruboty update release from "from" to "to"[ as "title"] - Updates a `release pull request`
|
|
18
|
+
- @ruboty deploy release from "from" to "to" - Merges a `release pull request` for deployment
|
|
19
19
|
|
|
20
20
|
## Notes
|
|
21
21
|
|
|
@@ -27,6 +27,8 @@ module Ruboty
|
|
|
27
27
|
message.reply("Failed in authentication (401)")
|
|
28
28
|
rescue Octokit::NotFound
|
|
29
29
|
message.reply("Could not find that repository")
|
|
30
|
+
rescue Octokit::UnprocessableEntity
|
|
31
|
+
message.reply("No commits between #{from_branch} and #{base}")
|
|
30
32
|
rescue => exception
|
|
31
33
|
message.reply("Failed by #{exception.class} #{exception}")
|
|
32
34
|
rescue PrExistsError => e
|
|
@@ -39,7 +41,7 @@ module Ruboty
|
|
|
39
41
|
Ruboty.logger.debug("from_branch (head): #{from_branch}")
|
|
40
42
|
Ruboty.logger.debug("title: #{title}")
|
|
41
43
|
current_pr = current_pull_request
|
|
42
|
-
raise PrExistsError, "Pull Request already exists" unless current_pr.empty?
|
|
44
|
+
raise PrExistsError, "Pull Request already exists" unless current_pr.empty?
|
|
43
45
|
client.create_pull_request(repository, base, from_branch, title, body)
|
|
44
46
|
end
|
|
45
47
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruboty-github_pr_release
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Micahel H. Oshita
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-11-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -107,9 +107,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
107
107
|
version: '0'
|
|
108
108
|
requirements: []
|
|
109
109
|
rubyforge_project:
|
|
110
|
-
rubygems_version: 2.
|
|
110
|
+
rubygems_version: 2.5.2
|
|
111
111
|
signing_key:
|
|
112
112
|
specification_version: 4
|
|
113
113
|
summary: Manages a 'release pull request'
|
|
114
114
|
test_files: []
|
|
115
|
-
has_rdoc:
|