ruboty-github_pr_release 0.2.2 → 0.2.3

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: 74160653fc7bb35354b5ba4470d02119dff5c199
4
- data.tar.gz: e9957fc5ab7f3c0bc5128eaf892d1b8f1a49d9ee
3
+ metadata.gz: eb3eca29661b83a99c748a7a2e954921886ae699
4
+ data.tar.gz: b543bb55b62bac9e23ecb506934e6069255f03f2
5
5
  SHA512:
6
- metadata.gz: 1ccbc61542dc1bf372eed80cf2368868be9d73f07417f32ff4d69ba503318a29f85d6beb737c5be50f012c0a01faf9305f4e25ff50ae81c1429769010259a700
7
- data.tar.gz: 4d50c1df298329da0dff6879c04f1f4ee580396db722bc49aaaae21cd54c19f9821670ba6fcab1f035a429f9efd6f2852fd8514e38c2f19e4ca3d8da026f9e2a
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
 
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module GithubPrRelease
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
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.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-03-27 00:00:00.000000000 Z
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.2.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: