dependabot-python 0.148.4 → 0.148.9

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: 25c5b387e7450eb69563997d7857b914f84a51931627566aa1a6ddb99d8b8164
4
- data.tar.gz: fb74f9b3f10858a0a1a88c395bb50615424bdb326781d42f5acf5d3ec15c609d
3
+ metadata.gz: 6c37806b4072c5bd6a4989a33f06fa1afd8af49b6e495c12faea12a84b53a0b8
4
+ data.tar.gz: 1e985271cb3c558acfc0e5df1e14ecfae717ec9417a9f4b2ac3fb1d04df30492
5
5
  SHA512:
6
- metadata.gz: 58b97d641dcab95ff040ac5e75774b1cf9dd9d4b5f996f30c55926ebdebd97005d69d2e21a3f2d8e5bc6933001c0e953730bac9365cce0cfcfc2ee41e1f1193e
7
- data.tar.gz: 9cb070867d017e0b5d6571f37ecfd5697e7534ac18dccd2bf3cb825746ca1ba9386e31e4eb8dd9a2ddb7a1b8c8c48652fdbcaae38c402de8acfd19268e0a9d05
6
+ metadata.gz: 9b9738a796bf264f19192ac0440f1de9e95fd20f8b93af36b7d48746287ad8522b71711e038a374b8aa76c6bd1934056f941ed118d3944918f08de9bf0e3a7b1
7
+ data.tar.gz: 8bcffd37acc5c14cbf795b7d55fa1ef3d8caec487c836a13e47c628be28bf76b4e26ef1fb3c38364a1e9632db0ae0ff4ca69080c306870998c28f3c24055eec0
@@ -114,8 +114,9 @@ module Dependabot
114
114
  end
115
115
 
116
116
  def filter_lower_versions(versions_array)
117
- versions_array.
118
- select { |version| version > version_class.new(dependency.version) }
117
+ return versions_array unless dependency.version && version_class.correct?(dependency.version)
118
+
119
+ versions_array.select { |version| version > version_class.new(dependency.version) }
119
120
  end
120
121
 
121
122
  def filter_out_of_range_versions(versions_array)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-python
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.148.4
4
+ version: 0.148.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-21 00:00:00.000000000 Z
11
+ date: 2021-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.148.4
19
+ version: 0.148.9
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.148.4
26
+ version: 0.148.9
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement