hubmerge 0.0.6 → 0.0.7

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
  SHA256:
3
- metadata.gz: e4259fb411d9562bbd013787d4cc6b163270c4da68f0f2f10e7887c55617bfb7
4
- data.tar.gz: ccd4b244a929ff807042d54ac45afd10a662789ab68d5bcdc01a632b7ce822a4
3
+ metadata.gz: c04da4b08a1a500fdfa9a5641bf3ae1f990633c5cfa972deef187f3e6ad5f10d
4
+ data.tar.gz: '008830af02d39336992d7a5ca22630c812afabdfa0e8f6d714a44709ffbeb04b'
5
5
  SHA512:
6
- metadata.gz: 13110b658a7bc1797dc369b32087cf2d064d3eba5ad080da5ce376a4eb7af35afbfaf287d3881725d10bdb252e56645515df28a21b187dbcf37deb13888eb4e8
7
- data.tar.gz: 3877671a14235f7bba2223a749e702e817c19f3c87696d5d93e6a8994c7db6302925cdbee07e547b7f1a4fd16ca1d13de50d0ed27f2ac7d0ed67aecd00e2a2f1
6
+ metadata.gz: b5e122cd9dfe934f0714996f618efc1b7918bd6e1409673288f3db70104e879af4925816e2758f374e995cc93f5e20d2215bade6c9a0cb9e982562763c82a96d
7
+ data.tar.gz: 3d23f285504f81fdf116ff73f9654c4b7d1d51fc1c4dc72cedddd1ab6f764b1e28a8d5d8ca1f4c663ee9c219df3c5987b9bf44c5b443988969d2531992d70488
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hubmerge (0.0.6)
4
+ hubmerge (0.0.7)
5
5
  octokit (~> 4.0)
6
6
  tty-prompt (~> 0.18)
7
7
  tty-spinner (~> 0.9)
@@ -27,7 +27,7 @@ module HubMerge
27
27
 
28
28
  with_retries(MERGEABILITY_RETRY_COUNT, MERGEABILITY_RETRY_DELAY) do
29
29
  pr = gh_client.pull_request(repo, pr.number)
30
- if pr.mergeable
30
+ if pr.mergeable_state == "clean"
31
31
  return true
32
32
  elsif pr.mergeable_state == "unknown"
33
33
  raise RetryError
@@ -1,3 +1,3 @@
1
1
  module HubMerge
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hubmerge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Kuruvilla
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-12 00:00:00.000000000 Z
11
+ date: 2019-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler