dependabot-github_actions 0.118.4 → 0.118.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/github_actions/file_updater.rb +3 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fb38cb75c90b767b4fb496c248e2cb7f968462a6f59505a123c16fca66d960b
|
4
|
+
data.tar.gz: fe0ded3c7461b0c605a3431b851d456ace1e0ed88eb2dc381c1124fe050e5425
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54b62092b1e6867f344e338b2fc696ed849af8676de12f3d84361b73f10d2a4a51c69f68b377ee688e247b7dbbf8b82e34a3ceeef0173a4bc04a903dc44355c5
|
7
|
+
data.tar.gz: 7d4ddeb242ff5934e99a1fbbeb2aca85f695e0b2addef84621519e347e6e0c08b6a45420ef2470ac3a61ab8df5fe1f62cb5ef649f0e8b3618a2ee06f9ea297a1
|
@@ -64,10 +64,12 @@ module Dependabot
|
|
64
64
|
old_declaration.
|
65
65
|
gsub(/@.*+/, "@#{new_req.fetch(:source).fetch(:ref)}")
|
66
66
|
|
67
|
+
# Replace the old declaration that's preceded by a non-word character
|
68
|
+
# and followed by a whitespace character (comments) or EOL
|
67
69
|
updated_content =
|
68
70
|
updated_content.
|
69
71
|
gsub(
|
70
|
-
/(?<=\W)#{Regexp.escape(old_declaration)}(?=\
|
72
|
+
/(?<=\W)#{Regexp.escape(old_declaration)}(?=\s|$)/,
|
71
73
|
new_declaration
|
72
74
|
)
|
73
75
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-github_actions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.118.
|
4
|
+
version: 0.118.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-24 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.118.
|
19
|
+
version: 0.118.5
|
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.118.
|
26
|
+
version: 0.118.5
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|