bundler 2.2.17 → 2.2.22

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bundler might be problematic. Click here for more details.

Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +70 -0
  3. data/bundler.gemspec +2 -3
  4. data/lib/bundler.rb +2 -1
  5. data/lib/bundler/build_metadata.rb +2 -2
  6. data/lib/bundler/cli.rb +13 -33
  7. data/lib/bundler/cli/check.rb +4 -2
  8. data/lib/bundler/cli/doctor.rb +11 -1
  9. data/lib/bundler/cli/install.rb +7 -8
  10. data/lib/bundler/cli/lock.rb +5 -1
  11. data/lib/bundler/cli/outdated.rb +9 -10
  12. data/lib/bundler/cli/update.rb +8 -3
  13. data/lib/bundler/current_ruby.rb +4 -4
  14. data/lib/bundler/definition.rb +38 -127
  15. data/lib/bundler/dsl.rb +3 -11
  16. data/lib/bundler/feature_flag.rb +0 -3
  17. data/lib/bundler/fetcher/compact_index.rb +1 -1
  18. data/lib/bundler/fetcher/downloader.rb +1 -2
  19. data/lib/bundler/fetcher/index.rb +0 -1
  20. data/lib/bundler/friendly_errors.rb +2 -4
  21. data/lib/bundler/index.rb +1 -2
  22. data/lib/bundler/installer.rb +5 -12
  23. data/lib/bundler/lockfile_parser.rb +2 -20
  24. data/lib/bundler/man/bundle-add.1 +1 -1
  25. data/lib/bundler/man/bundle-binstubs.1 +1 -1
  26. data/lib/bundler/man/bundle-cache.1 +1 -1
  27. data/lib/bundler/man/bundle-check.1 +1 -1
  28. data/lib/bundler/man/bundle-clean.1 +1 -1
  29. data/lib/bundler/man/bundle-config.1 +1 -10
  30. data/lib/bundler/man/bundle-config.1.ronn +0 -11
  31. data/lib/bundler/man/bundle-doctor.1 +1 -1
  32. data/lib/bundler/man/bundle-exec.1 +1 -1
  33. data/lib/bundler/man/bundle-gem.1 +1 -1
  34. data/lib/bundler/man/bundle-info.1 +1 -1
  35. data/lib/bundler/man/bundle-init.1 +1 -1
  36. data/lib/bundler/man/bundle-inject.1 +1 -1
  37. data/lib/bundler/man/bundle-install.1 +1 -1
  38. data/lib/bundler/man/bundle-list.1 +1 -1
  39. data/lib/bundler/man/bundle-lock.1 +1 -1
  40. data/lib/bundler/man/bundle-open.1 +1 -1
  41. data/lib/bundler/man/bundle-outdated.1 +1 -1
  42. data/lib/bundler/man/bundle-platform.1 +1 -1
  43. data/lib/bundler/man/bundle-pristine.1 +1 -1
  44. data/lib/bundler/man/bundle-remove.1 +1 -1
  45. data/lib/bundler/man/bundle-show.1 +1 -1
  46. data/lib/bundler/man/bundle-update.1 +4 -4
  47. data/lib/bundler/man/bundle-update.1.ronn +3 -3
  48. data/lib/bundler/man/bundle-viz.1 +1 -1
  49. data/lib/bundler/man/bundle.1 +1 -1
  50. data/lib/bundler/man/gemfile.5 +1 -1
  51. data/lib/bundler/plugin/api/source.rb +14 -0
  52. data/lib/bundler/plugin/installer.rb +1 -1
  53. data/lib/bundler/resolver.rb +15 -96
  54. data/lib/bundler/resolver/spec_group.rb +0 -24
  55. data/lib/bundler/rubygems_ext.rb +2 -2
  56. data/lib/bundler/rubygems_integration.rb +4 -3
  57. data/lib/bundler/settings.rb +21 -4
  58. data/lib/bundler/source.rb +11 -0
  59. data/lib/bundler/source/rubygems.rb +22 -22
  60. data/lib/bundler/source/rubygems_aggregate.rb +64 -0
  61. data/lib/bundler/source_list.rb +69 -27
  62. data/lib/bundler/source_map.rb +58 -0
  63. data/lib/bundler/spec_set.rb +2 -6
  64. data/lib/bundler/templates/newgem/newgem.gemspec.tt +2 -2
  65. data/lib/bundler/version.rb +1 -1
  66. metadata +5 -3
@@ -46,11 +46,7 @@ module Bundler
46
46
  specs << spec
47
47
  end
48
48
 
49
- check ? true : SpecSet.new(specs)
50
- end
51
-
52
- def valid_for?(deps)
53
- self.for(deps, [], true)
49
+ check ? true : specs
54
50
  end
55
51
 
56
52
  def [](key)
@@ -77,7 +73,7 @@ module Bundler
77
73
  end
78
74
 
79
75
  def materialize(deps, missing_specs = nil)
80
- materialized = self.for(deps, [], false, true, !missing_specs).to_a
76
+ materialized = self.for(deps, [], false, true, !missing_specs)
81
77
 
82
78
  materialized.group_by(&:source).each do |source, specs|
83
79
  next unless specs.any?{|s| s.is_a?(LazySpecification) }
@@ -14,9 +14,9 @@ Gem::Specification.new do |spec|
14
14
  <%- if config[:mit] -%>
15
15
  spec.license = "MIT"
16
16
  <%- end -%>
17
- spec.required_ruby_version = Gem::Requirement.new(">= <%= config[:required_ruby_version] %>")
17
+ spec.required_ruby_version = ">= <%= config[:required_ruby_version] %>"
18
18
 
19
- spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
19
+ spec.metadata["allowed_push_host"] = "TODO: Set to 'https://mygemserver.com'"
20
20
 
21
21
  spec.metadata["homepage_uri"] = spec.homepage
22
22
  spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Bundler
4
- VERSION = "2.2.17".freeze
4
+ VERSION = "2.2.22".freeze
5
5
 
6
6
  def self.bundler_major_version
7
7
  @bundler_major_version ||= VERSION.split(".").first.to_i
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.17
4
+ version: 2.2.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Arko
@@ -22,7 +22,7 @@ authors:
22
22
  autorequire:
23
23
  bindir: exe
24
24
  cert_chain: []
25
- date: 2021-05-05 00:00:00.000000000 Z
25
+ date: 2021-07-06 00:00:00.000000000 Z
26
26
  dependencies: []
27
27
  description: Bundler manages an application's dependencies through its entire life,
28
28
  across many machines, systematically and repeatably
@@ -202,7 +202,9 @@ files:
202
202
  - lib/bundler/source/path/installer.rb
203
203
  - lib/bundler/source/rubygems.rb
204
204
  - lib/bundler/source/rubygems/remote.rb
205
+ - lib/bundler/source/rubygems_aggregate.rb
205
206
  - lib/bundler/source_list.rb
207
+ - lib/bundler/source_map.rb
206
208
  - lib/bundler/spec_set.rb
207
209
  - lib/bundler/stub_specification.rb
208
210
  - lib/bundler/templates/.document
@@ -352,7 +354,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
352
354
  - !ruby/object:Gem::Version
353
355
  version: 2.5.2
354
356
  requirements: []
355
- rubygems_version: 3.2.17
357
+ rubygems_version: 3.2.22
356
358
  signing_key:
357
359
  specification_version: 4
358
360
  summary: The best way to manage your application's dependencies