dependabot-cargo 0.262.0 → 0.264.0

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: a5a1bb43d35f6f965b0c48635887574879814f739d1d1a4323845ed22723d870
4
- data.tar.gz: 7a2ab11bb57e29276d67c96b9772e78c44c21b3ef2c476b7d5cdc14c251e63bd
3
+ metadata.gz: 00410f6437d29d68f6868d268a75efd619bf20184cf481b1564793d712f0fa10
4
+ data.tar.gz: 81136ff06a9f85c6feeec5884fe520520f51c2fa5792ce73b243f3dec34e2255
5
5
  SHA512:
6
- metadata.gz: a442f4912fd6bdf63f3dcf8bf4af4bc82a6932e2bdd7cb8ac0f44004390284d593b9d21abb6403329a096d920c306b829172e4bc1c3e0c62bd73df29c0ebda4f
7
- data.tar.gz: 5abbd1bfca1ee0bc3b24b2f8a9786e73d2293d30b45014a08c9565c179b82c3362dc8bb8bb5c5d1fd4308325b06ce710a5fcd3c2d88a2d4d7db21853f2e5af60
6
+ metadata.gz: 0fa917ba372dd6036c432d10c6ad289f0b6c54d4b6bf81d116aa7a417030372bb2a2de4e0c8f8feefcc3b231b5037c6a71f4efc69812fa08593af1eb516c3a0b
7
+ data.tar.gz: ea7ddebc034e3e8ee49a0099a22df4f3b0d6a51d82c480f8f5507e9c6cf3ffbd03c815aeeb2a485b33fee24680ec00ed38ded83e29f4788aa5ea65b04699d308
@@ -46,7 +46,7 @@ module Dependabot
46
46
  end
47
47
 
48
48
  def updated_requirements
49
- return requirements if update_strategy == RequirementsUpdateStrategy::LockfileOnly
49
+ return requirements if update_strategy.lockfile_only?
50
50
 
51
51
  # NOTE: Order is important here. The FileUpdater needs the updated
52
52
  # requirement at index `i` to correspond to the previous requirement
@@ -142,7 +142,7 @@ module Dependabot
142
142
 
143
143
  req.sub(VERSION_REGEX) do |old_version|
144
144
  if req.start_with?("<=")
145
- target_version
145
+ update_version_string(old_version)
146
146
  else
147
147
  update_greatest_version(old_version, target_version)
148
148
  end
@@ -78,7 +78,7 @@ module Dependabot
78
78
  end
79
79
 
80
80
  def requirements_unlocked_or_can_be?
81
- requirements_update_strategy != RequirementsUpdateStrategy::LockfileOnly
81
+ !requirements_update_strategy.lockfile_only?
82
82
  end
83
83
 
84
84
  def requirements_update_strategy
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-cargo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.262.0
4
+ version: 0.264.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-20 00:00:00.000000000 Z
11
+ date: 2024-07-05 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.262.0
19
+ version: 0.264.0
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.262.0
26
+ version: 0.264.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -263,7 +263,7 @@ licenses:
263
263
  - MIT
264
264
  metadata:
265
265
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
266
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.262.0
266
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.264.0
267
267
  post_install_message:
268
268
  rdoc_options: []
269
269
  require_paths: