dependabot-python 0.98.56 → 0.98.57

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: 96d47217c107976771cb272d29c20e7eee3a4351ca8ff54055948f461193590f
4
- data.tar.gz: a25c60715f871cabc23cad4b130671758ad55bce7ee6e6a1c7882c739aef49f9
3
+ metadata.gz: 12259ec1de448f5fd1f7c1770b986ec86bbedd626af5248fabb631724ae06b24
4
+ data.tar.gz: b02d6c5ea2a45e0fbc502c785d2e81f1459b6150ab5bd547928e651c8c2a03c2
5
5
  SHA512:
6
- metadata.gz: fa815ab5fb92b191fa10ad1bf8fa32625df804777231843bc6ace5174080ad95afa8896f45470bc81ff1fb2a84122fa9d14343305a65bd13b1127473296e8901
7
- data.tar.gz: 4f07b081016fdf8ca9713381b77e4e820065f789dfcf2807e5b01d5143df0740ab148f6b66493f02e6d046781ea9348ba89d2cc5a94f16f22d10278c4257f78f
6
+ metadata.gz: a04919d58b8ee7dc9a9a80b2694db1ee8fbdbda0c6d533452cbf641850d9b68becbbc70fad6ca552dc8795f3da7a37cd02bbc9b68f5a218e7caba85ff0d0005f
7
+ data.tar.gz: 9642fa3f3b038add80c0817f5660432731170ef473722282870b0c83c7761018873baf3511fc06ea3d216e5f959c5dba2deafc2710c22a31bbfa7e9944c9a41d
@@ -101,14 +101,14 @@ module Dependabot
101
101
  end
102
102
 
103
103
  if error.message.include?('Command "python setup.py egg_info') &&
104
- error.message.include?(dependency.name)
104
+ error.message.match?(/#{Regexp.quote(dependency.name)}/i)
105
105
  # The latest version of the dependency we're updating is borked
106
106
  # (because it has an unevaluatable setup.py). Skip the update.
107
107
  return nil
108
108
  end
109
109
 
110
110
  if error.message.include?("Could not find a version ") &&
111
- !error.message.include?(dependency.name)
111
+ !error.message.match?(/#{Regexp.quote(dependency.name)}/i)
112
112
  # Sometimes pip-tools gets confused and can't work around
113
113
  # sub-dependency incompatibilities. Ignore those cases.
114
114
  return nil
@@ -150,7 +150,7 @@ module Dependabot
150
150
  end
151
151
 
152
152
  if error.message.include?('Command "python setup.py egg_info"') &&
153
- error.message.include?(dependency.name)
153
+ error.message.match?(/#{Regexp.quote(dependency.name)}/i)
154
154
  # The latest version of the dependency we're updating is borked
155
155
  # (because it has an unevaluatable setup.py). Skip the update.
156
156
  return nil
@@ -162,7 +162,7 @@ module Dependabot
162
162
 
163
163
  # The latest version of the dependency we're updating to needs a
164
164
  # different Python version. Skip the update.
165
- return if error.message.include?(dependency.name)
165
+ return if error.message.match?(/#{Regexp.quote(dependency.name)}/i)
166
166
  end
167
167
 
168
168
  if error.message.match?(GIT_DEPENDENCY_UNREACHABLE_REGEX)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-python
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.98.56
4
+ version: 0.98.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.98.56
19
+ version: 0.98.57
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.98.56
26
+ version: 0.98.57
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement