dependabot-python 0.86.24 → 0.86.25
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3b4a8eadfd522e0d6123d49f8b1f88305300b16e80c568005737d788b9f24e44
|
|
4
|
+
data.tar.gz: 4946c2afff50de7890a96e8cc6f9dcb39be7bfc6fba66158af19d5939e2528ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0e40bb3864f8c3e1150dce92dba6debaf56a449da481fd6b833a54dd182c346e4ba768e383371a0a063cace2b2486f4a6bde477d619642acd39a9aad453afd77
|
|
7
|
+
data.tar.gz: baf90db7583b2bf03b2e847324aca5911d7be4cf6dd738af96a6b1fd942b1713cc08a5c43bb32aea7cdf331bcc6da1818cff69d87be0fb325ab8ac93960ee04f
|
|
@@ -282,10 +282,8 @@ module Dependabot
|
|
|
282
282
|
).join(hash_separator(mtch.to_s))
|
|
283
283
|
)
|
|
284
284
|
|
|
285
|
-
updated_content_with_hashes = updated_content_with_hashes.
|
|
286
|
-
|
|
287
|
-
updated_string
|
|
288
|
-
)
|
|
285
|
+
updated_content_with_hashes = updated_content_with_hashes.
|
|
286
|
+
gsub(mtch.to_s, updated_string)
|
|
289
287
|
end
|
|
290
288
|
updated_content_with_hashes
|
|
291
289
|
end
|
|
@@ -65,6 +65,14 @@ module Dependabot
|
|
|
65
65
|
lhsegments.count <=> rhsegments.count
|
|
66
66
|
end
|
|
67
67
|
|
|
68
|
+
def prerelease?
|
|
69
|
+
if @version_string.match?(/^([0-9]+[.\-])+(post|rev|r)?\d+$/)
|
|
70
|
+
return false
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
super
|
|
74
|
+
end
|
|
75
|
+
|
|
68
76
|
private
|
|
69
77
|
|
|
70
78
|
def normalise_prerelease(version)
|
|
@@ -76,9 +84,11 @@ module Dependabot
|
|
|
76
84
|
version.
|
|
77
85
|
gsub("alpha", "a").
|
|
78
86
|
gsub("beta", "b").
|
|
79
|
-
gsub("preview", "
|
|
80
|
-
gsub("pre", "
|
|
81
|
-
gsub(
|
|
87
|
+
gsub("preview", "c").
|
|
88
|
+
gsub("pre", "c").
|
|
89
|
+
gsub("post", "r").
|
|
90
|
+
gsub("rev", "r").
|
|
91
|
+
gsub(/([\d.\-_])rc([\d.\-_])?/, '\1c\2').
|
|
82
92
|
tr("-", ".").
|
|
83
93
|
gsub(/(\d)([a-z])/i, '\1.\2')
|
|
84
94
|
end
|
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.86.
|
|
4
|
+
version: 0.86.25
|
|
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-
|
|
11
|
+
date: 2019-01-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dependabot-core
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.86.
|
|
19
|
+
version: 0.86.25
|
|
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.86.
|
|
26
|
+
version: 0.86.25
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: byebug
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|