dependabot-cargo 0.261.1 → 0.263.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: 040ae3e5081506c4a941d5810411924fe114eae15793839abbc3d72ddd909b76
4
- data.tar.gz: 9a02d40ce19bedee47af65d77b5c6986cb3d3f44fbca0fa46ce595f035e46a8a
3
+ metadata.gz: 1b17281c66f84d2de9d25c1313521ee921ae73dae0dcf7c7c6471d7b87fd8adc
4
+ data.tar.gz: a20edbb14fc9c4ec4f493344a55513de63af2fd222e76982bd9f85fafeece153
5
5
  SHA512:
6
- metadata.gz: 740e2519e67aea89cad2cab88c59647b2446c3dec2d8d40b197dd322be0fece8fcc3a4e9c34c4abae2d463504cf6f04e017ee3a354e797cacf3e7700a3d9e301
7
- data.tar.gz: 58e72fb466e871d1ed7b4868596fe70d0c9eb20bf58b19768f84ea9d7ad5a5b23595991f74d4e52fde595a7afbcb517a031fad706c894d930bded65449cb42be
6
+ metadata.gz: 1a5cc0f0b70e443e94dd14bc2119f2a44c78b2561ae7655db89c122f1e0af0e800323422f39e95015f7428905c8523e4c048193de03289606b9c05a743201310
7
+ data.tar.gz: aaf64734c27ba61ae0eb665cca4f8ddfb3253a7c7f78b142d3db29414eb9e1f1fdaf9197a9e64462aeb2762c1bd2cd4918b5a4b5742def34731a1f767aa9b3c7
@@ -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.261.1
4
+ version: 0.263.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-17 00:00:00.000000000 Z
11
+ date: 2024-06-27 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.261.1
19
+ version: 0.263.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.261.1
26
+ version: 0.263.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.261.1
266
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.263.0
267
267
  post_install_message:
268
268
  rdoc_options: []
269
269
  require_paths: