dependabot-core 0.93.13 → 0.93.14

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
  SHA256:
3
- metadata.gz: f5c646a3dd90dbef79178ffe6b8e18dfd9e4e5a061703bf3ea5955abe6d0e07a
4
- data.tar.gz: 6aa689e6dbe0cbee16d2a50ec2cc4bf193448710292955c41b82637e5b2de6f8
3
+ metadata.gz: 1f6ae0a301c1faacaad7991228162bea65cca3c3974937827931fecf418a1d6d
4
+ data.tar.gz: 3d4657d3926c7d9969199fe52502fbc0e520bf395f893f204dbd8925b752f0b4
5
5
  SHA512:
6
- metadata.gz: 5791bda027943e8d361ac49b926bd356ddd658d77c583274916bf6aa8e5a415eefac96e848492115e290a099dfb4a982b2a5935913aa826930642ae437352f87
7
- data.tar.gz: 7553647c4c4540dea983fc395a7765d06c2c91ed2938a72e76cb78a14b16e5799e0376c0ee82be73c64b24f74c7ed0a54cc8c3c22fa240c532786fb6757ac731
6
+ metadata.gz: 99cf67a374a2d4e12b7f54bae8f709561b7246ec1e5a889a3277adfb4bce80a51811fe1954fbb90233802b9a3f5bf9a53ed4994a86511fcaf33f20e29e6ced6e
7
+ data.tar.gz: a92ee92c4928cd13ebbcb788dbea6b0aa8ff514fb60a4a45542831dda2c4b1708efe63833b51cf2a2a6e1cb28aeaa3bbef7a38a45e7942770bd27827f04c698a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## v0.93.14, 31 January 2019
2
+
3
+ - Add workaround for GitHub bug during PR creation
4
+ - PHP: Bump composer/composer from 1.8.2 to 1.8.3 in /composer/helpers
5
+ - Python: Bump hashin from 0.14.2 to 0.14.4 in /python/helpers
6
+
1
7
  ## v0.93.13, 30 January 2019
2
8
 
3
9
  - .NET: Handle Nuget sources that don't return a ProjectUrl
@@ -79,6 +79,22 @@ module Dependabot
79
79
  head: "#{source.repo.split('/').first}:#{branch_name}",
80
80
  state: "all"
81
81
  ).any?
82
+ rescue Octokit::InternalServerError
83
+ # A GitHub bug sometimes means adding `state: all` causes problems.
84
+ # In that case, fall back to making two separate requests.
85
+ open_prs = github_client_for_source.pull_requests(
86
+ source.repo,
87
+ head: "#{source.repo.split('/').first}:#{branch_name}",
88
+ state: "open"
89
+ )
90
+
91
+ closed_prs = github_client_for_source.pull_requests(
92
+ source.repo,
93
+ head: "#{source.repo.split('/').first}:#{branch_name}",
94
+ state: "closed"
95
+ )
96
+
97
+ [*open_prs, *closed_prs].any?
82
98
  end
83
99
 
84
100
  def repo_exists?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.93.13"
4
+ VERSION = "0.93.14"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.93.13
4
+ version: 0.93.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-30 00:00:00.000000000 Z
11
+ date: 2019-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-ecr