dependabot-julia 0.352.0 → 0.353.0
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 +4 -4
- data/lib/dependabot/julia/file_updater.rb +3 -2
- 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: f7c2f4dc816b950b5644f28afc025257c28e856696bc00c777d30320bf92dea6
|
|
4
|
+
data.tar.gz: e0c2782c41d890ad0c25890646cb8090b8d7b2b519dd1a2077baaaef772e4544
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a63cb254340166aa0316dfe7494628828215e3e934d989558e41ad45a75dcd3b301dbd1282dd9373a22a8efdca95d0edfadf2fd73162678d3859a530fb17f94c
|
|
7
|
+
data.tar.gz: 3d0e3301b92a9d106c7e7c64437e872fc2adcf27307a35ea09a4739686865d74efa3772fee516228fc2ca52b30de926f73de9577a5f580f80af0f0ee70636601
|
|
@@ -298,7 +298,8 @@ module Dependabot
|
|
|
298
298
|
sig { params(content: String, dependency_name: String, new_requirement: String).returns(String) }
|
|
299
299
|
def update_dependency_requirement_in_content(content, dependency_name, new_requirement)
|
|
300
300
|
# Extract the [compat] section to update it specifically
|
|
301
|
-
|
|
301
|
+
# The regex handles files with or without trailing newlines
|
|
302
|
+
compat_section_match = content.match(/^\[compat\]\s*\n((?:(?!\[)[^\n]*(?:\n|\z))*?)(?=^\[|\z)/m)
|
|
302
303
|
|
|
303
304
|
if compat_section_match
|
|
304
305
|
compat_section = T.must(compat_section_match[1])
|
|
@@ -322,7 +323,7 @@ module Dependabot
|
|
|
322
323
|
sig { params(content: String, dependency_name: String, requirement: String).returns(String) }
|
|
323
324
|
def add_compat_entry_to_content(content, dependency_name, requirement)
|
|
324
325
|
if content.match?(/^\s*\[compat\]\s*$/m)
|
|
325
|
-
compat_section_match = content.match(/^\[compat\]\s*\n((?:(?!\[)[^\n]
|
|
326
|
+
compat_section_match = content.match(/^\[compat\]\s*\n((?:(?!\[)[^\n]*(?:\n|\z))*?)(?=^\[|\z)/m)
|
|
326
327
|
return content unless compat_section_match
|
|
327
328
|
|
|
328
329
|
compat_section = T.must(compat_section_match[1])
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-julia
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.353.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.
|
|
18
|
+
version: 0.353.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.
|
|
25
|
+
version: 0.353.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: debug
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -261,7 +261,7 @@ licenses:
|
|
|
261
261
|
- MIT
|
|
262
262
|
metadata:
|
|
263
263
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
264
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
264
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.353.0
|
|
265
265
|
rdoc_options: []
|
|
266
266
|
require_paths:
|
|
267
267
|
- lib
|