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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb44e11c7cb35a9a8c9ed6c20bbca438643d7d7e52de441814b30a84c5fb36f0
4
- data.tar.gz: 536f57edd55d3bffd149eae0569bbab2d08ea7f8555dde3e09aba6ae7b1af3c9
3
+ metadata.gz: 6fb38cb75c90b767b4fb496c248e2cb7f968462a6f59505a123c16fca66d960b
4
+ data.tar.gz: fe0ded3c7461b0c605a3431b851d456ace1e0ed88eb2dc381c1124fe050e5425
5
5
  SHA512:
6
- metadata.gz: e30e0bb538d85195019e556b059a67f02e617a3ba87c5d85c0178ac29ae74765947335b600c1dd4993b47c4ddc79044c771c4d345705f847ccd0c62b1cea8331
7
- data.tar.gz: 62d5566becbd7599dad660fde6540cb83c4d8949036eb65d0a591c5bd4ebb893abe7fd99d4803c7c4355dfc181f5a2cf32a9610cc26767cfe01f9af90f4228cd
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)}(?=\W)/,
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
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-19 00:00:00.000000000 Z
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.4
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.4
26
+ version: 0.118.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement