git_reflow 0.5.0 → 0.5.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb8b35b203f33dbcaa666927680ee42b0d0c1286
4
- data.tar.gz: 7108e41d39cc19884abfb2adac608efee27a8e45
3
+ metadata.gz: b364c5682237839cb7166efcd0c673d9dbfbf8e3
4
+ data.tar.gz: 5ffcda3511f30d57806b66079aa152f64b8f058c
5
5
  SHA512:
6
- metadata.gz: 3c4c04e3b8af67d57f0b0caf72358b7a535412dd00bae16fac1dcaed55d621de07d4344affdd7ff34616c7080219ad3dadac9c4254e294494dc5e00ff7c66ab6
7
- data.tar.gz: 7a35d001f876dd3184470d5a536e01e2a8343d43c7d0b9cd0d612bdb2df158ca2475d7a174c0a0baf27f3d9a3401e740980a6640eff4388695dc5de87b49b286
6
+ metadata.gz: f5d6d393739d7d0d719a769c27b0fcc73c17af2ddb3f3e7cdf95d9c18a8cce444e62c5ca2e03d448ada9425667ebb1c805076628cd5cca6e76b46bb0bf089311
7
+ data.tar.gz: a3ad1c5ff48e6681440d580d3abea4e820025fb3df5baa460268f0def9f711f54fcacdd3980f0128b65b2f7f03f1d09997e08f00f7139f279943926d470160ab
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- git_reflow (0.5.0)
4
+ git_reflow (0.5.1)
5
5
  colorize (= 0.6.0)
6
6
  github_api (= 0.12.3)
7
7
  gli (= 2.12.2)
@@ -1,3 +1,3 @@
1
1
  module GitReflow
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
data/lib/git_reflow.rb CHANGED
@@ -77,7 +77,7 @@ module GitReflow
77
77
  say "No pull request exists for #{remote_user}:#{current_branch}\nPlease submit your branch for review first with \`git reflow review\`", :deliver_halted
78
78
  else
79
79
 
80
- has_comments = git_server.has_pull_request_comments?(existing_pull_request)
80
+ has_comments = (git_server.has_pull_request_comments?(existing_pull_request) or git_server.approvals(existing_pull_request))
81
81
  open_comment_authors = git_server.reviewers_pending_response(existing_pull_request)
82
82
  status = git_server.get_build_status existing_pull_request.build_status
83
83
  commit_message = if "#{existing_pull_request.description}".length > 0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_reflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Valentino Stoll