rubygems-update 3.1.0 → 3.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0273e627afbd4a866b93b475062215fa3d664f05b4af35bb281788b0d4ef982f
4
- data.tar.gz: d7ab9c72b868a79376e8d9c89660084fb5dfb2e81552430f3a501a159e11769e
3
+ metadata.gz: cfff2250893c2233e664042cf61c859db6ddc09bf9085e9360c1e32ec92b0621
4
+ data.tar.gz: 37a8b000b154d1dea0595ba0f3ee85255acfd8767a50872433f6737b82572ed2
5
5
  SHA512:
6
- metadata.gz: 77432b7859ec5ac93762d5f24f87b18548a30fac80c7f550770e5a22992003e3224dc77ecda5327e2aa78442ee7a555c628207d53f5b069c8cadcef3ac08fa54
7
- data.tar.gz: 989de44cc58e5f1bface196fb30961b5d737d55209f7c22534029c06cd7f46e2234ab8869aa791a4026e370d5a7dae51b54120407c42d6db6fd0d3442293e2f9
6
+ metadata.gz: 43b3357db0d0790fdf81140513ca87cd60d899f20c23975957bfdb75902731de0245f5f0881e04c8e1d0e8d225b827cf4f1777254702996e8b2a85de2f7c42e7
7
+ data.tar.gz: f050beceeb7f08355c6d390d8a5d88fe253f749a6cfd87b5bfb05417c3ca188cae947dad74c43d9137bf248d77501119b91778bf2c97d0939372c16eb1a5cfe8
@@ -1,5 +1,13 @@
1
1
  # coding: UTF-8
2
2
 
3
+ === 3.1.1 / 2019-12-16
4
+
5
+ Bug fixes:
6
+
7
+ * Vendor Bundler 2.1.0 again. The version of Bundler with
8
+ RubyGems 3.1.0 was Bundler 2.1.0.pre.3. Pull request #3029 by
9
+ SHIBATA Hiroshi.
10
+
3
11
  === 3.1.0 / 2019-12-16
4
12
 
5
13
  Major enhancements:
@@ -1,3 +1,27 @@
1
+ ## 2.1.0 (December 15, 2019)
2
+
3
+ Features:
4
+
5
+ - Add support for new default gems. In particular,
6
+
7
+ * `open3` [#7455](https://github.com/bundler/bundler/pull/7455)
8
+ * `cgi`: [#7456](https://github.com/bundler/bundler/pull/7456)
9
+ * `uri` [#7460](https://github.com/bundler/bundler/pull/7460)
10
+
11
+ plus other PRs removing or lazily loading usages of these gems from other places to not interfere with user's choice, such as [#7471](https://github.com/bundler/bundler/pull/7471) or [#7473](https://github.com/bundler/bundler/pull/7473)
12
+
13
+ Bugfixes:
14
+
15
+ - Fix `bundle exec rake install` failing [#7474](https://github.com/bundler/bundler/pull/7474)
16
+ - Fix `bundle exec`'ing to rubygems being silent [#7442](https://github.com/bundler/bundler/pull/7442)
17
+ - Restore previous `BUNDLE_GEMFILE` in `bundler/inline` [#7418](https://github.com/bundler/bundler/pull/7418)
18
+ - Fix error when using `gem` DSL's `:glob` option for selecting gemspecs from a specific source [#7419](https://github.com/bundler/bundler/pull/7419)
19
+
20
+ Changes:
21
+
22
+ - `bundle config` no longer warns when using "old interface" (might be deprecated again in the future) [#7475](https://github.com/bundler/bundler/pull/7475)
23
+ - `bundle update` no longer warns when used without arguments (might be deprecated again in the future) [#7475](https://github.com/bundler/bundler/pull/7475)
24
+
1
25
  ## 2.1.0.pre.3 (November 12, 2019)
2
26
 
3
27
  Features:
@@ -5,7 +5,7 @@ module Bundler
5
5
  module BuildMetadata
6
6
  # begin ivars
7
7
  @built_at = "2019-12-16".freeze
8
- @git_commit_sha = "4045ba4bb".freeze
8
+ @git_commit_sha = "683fe9799".freeze
9
9
  @release = false
10
10
  # end ivars
11
11
 
@@ -342,8 +342,8 @@ module Bundler
342
342
 
343
343
  desc "list", "List all gems in the bundle"
344
344
  method_option "name-only", :type => :boolean, :banner => "print only the gem names"
345
- method_option "only-group", :type => :array, :default => [], :banner => "print gems from a given set of groups"
346
- method_option "without-group", :type => :array, :default => [], :banner => "print all gems except from a given set of groups"
345
+ method_option "only-group", :type => :string, :banner => "print gems from a particular group"
346
+ method_option "without-group", :type => :string, :banner => "print all gems except from a group"
347
347
  method_option "paths", :type => :boolean, :banner => "print the path to each gem in the bundle"
348
348
  def list
349
349
  require_relative "cli/list"
@@ -567,7 +567,6 @@ module Bundler
567
567
  method_option :ext, :type => :boolean, :default => false, :desc => "Generate the boilerplate for C extension code"
568
568
  method_option :git, :type => :boolean, :default => true, :desc => "Initialize a git repo inside your library."
569
569
  method_option :mit, :type => :boolean, :desc => "Generate an MIT license file. Set a default with `bundle config set gem.mit true`."
570
- method_option :rubocop, :type => :boolean, :desc => "Add rubocop to the generated Rakefile and gemspec. Set a default with `bundle config set gem.rubocop true`."
571
570
  method_option :test, :type => :string, :lazy_default => "rspec", :aliases => "-t", :banner => "rspec",
572
571
  :desc => "Generate a test directory for your library, either rspec or minitest. Set a default with `bundle config set gem.test rspec`."
573
572
  def gem(name)
@@ -100,7 +100,7 @@ module Bundler
100
100
  end
101
101
  end
102
102
 
103
- config[:test_task] = config[:test] == "minitest" ? :test : :spec
103
+ config[:test_task] = config[:test] == "minitest" ? "test" : "spec"
104
104
 
105
105
  if ask_and_set(:mit, "Do you want to license your code permissively under the MIT license?",
106
106
  "This means that any other developer or company will be legally allowed to use your code " \
@@ -124,15 +124,6 @@ module Bundler
124
124
  templates.merge!("CODE_OF_CONDUCT.md.tt" => "CODE_OF_CONDUCT.md")
125
125
  end
126
126
 
127
- if ask_and_set(:rubocop, "Do you want to add rubocop as a dependency for gems you generate?",
128
- "RuboCop is a static code analyzer that has out-of-the-box rules for many " \
129
- "of the guidelines in the community style guide. " \
130
- "For more information, see the RuboCop docs (https://docs.rubocop.org/en/stable/) " \
131
- "and the Ruby Style Guides (https://github.com/rubocop-hq/ruby-style-guide).")
132
- config[:rubocop] = true
133
- Bundler.ui.info "RuboCop enabled in config"
134
- end
135
-
136
127
  templates.merge!("exe/newgem.tt" => "exe/#{name}") if config[:exe]
137
128
 
138
129
  if options[:ext]
@@ -50,17 +50,10 @@ module Bundler
50
50
  end
51
51
 
52
52
  def print_gem_info(spec)
53
- metadata = spec.metadata
54
53
  gem_info = String.new
55
54
  gem_info << " * #{spec.name} (#{spec.version}#{spec.git_version})\n"
56
55
  gem_info << "\tSummary: #{spec.summary}\n" if spec.summary
57
56
  gem_info << "\tHomepage: #{spec.homepage}\n" if spec.homepage
58
- gem_info << "\tDocumentation: #{metadata["documentation_uri"]}\n" if metadata.key?("documentation_uri")
59
- gem_info << "\tSource Code: #{metadata["source_code_uri"]}\n" if metadata.key?("source_code_uri")
60
- gem_info << "\tWiki: #{metadata["wiki_uri"]}\n" if metadata.key?("wiki_uri")
61
- gem_info << "\tChangelog: #{metadata["changelog_uri"]}\n" if metadata.key?("changelog_uri")
62
- gem_info << "\tBug Tracker: #{metadata["bug_tracker_uri"]}\n" if metadata.key?("bug_tracker_uri")
63
- gem_info << "\tMailing List: #{metadata["mailing_list_uri"]}\n" if metadata.key?("mailing_list_uri")
64
57
  gem_info << "\tPath: #{spec.full_gem_path}\n"
65
58
  gem_info << "\tDefault Gem: yes" if spec.respond_to?(:default_gem?) && spec.default_gem?
66
59
  Bundler.ui.info gem_info
@@ -4,16 +4,14 @@ module Bundler
4
4
  class CLI::List
5
5
  def initialize(options)
6
6
  @options = options
7
- @without_group = options["without-group"].map(&:to_sym)
8
- @only_group = options["only-group"].map(&:to_sym)
9
7
  end
10
8
 
11
9
  def run
12
- raise InvalidOption, "The `--only-group` and `--without-group` options cannot be used together" if @only_group.any? && @without_group.any?
10
+ raise InvalidOption, "The `--only-group` and `--without-group` options cannot be used together" if @options["only-group"] && @options["without-group"]
13
11
 
14
12
  raise InvalidOption, "The `--name-only` and `--paths` options cannot be used together" if @options["name-only"] && @options[:paths]
15
13
 
16
- specs = if @only_group.any? || @without_group.any?
14
+ specs = if @options["only-group"] || @options["without-group"]
17
15
  filtered_specs_by_groups
18
16
  else
19
17
  Bundler.load.specs
@@ -34,9 +32,9 @@ module Bundler
34
32
  private
35
33
 
36
34
  def verify_group_exists(groups)
37
- (@without_group + @only_group).each do |group|
38
- raise InvalidOption, "`#{group}` group could not be found." unless groups.include?(group)
39
- end
35
+ raise InvalidOption, "`#{@options["without-group"]}` group could not be found." if @options["without-group"] && !groups.include?(@options["without-group"].to_sym)
36
+
37
+ raise InvalidOption, "`#{@options["only-group"]}` group could not be found." if @options["only-group"] && !groups.include?(@options["only-group"].to_sym)
40
38
  end
41
39
 
42
40
  def filtered_specs_by_groups
@@ -46,10 +44,10 @@ module Bundler
46
44
  verify_group_exists(groups)
47
45
 
48
46
  show_groups =
49
- if @without_group.any?
50
- groups.reject {|g| @without_group.include?(g) }
51
- elsif @only_group.any?
52
- groups.select {|g| @only_group.include?(g) }
47
+ if @options["without-group"]
48
+ groups.reject {|g| g == @options["without-group"].to_sym }
49
+ elsif @options["only-group"]
50
+ groups.select {|g| g == @options["only-group"].to_sym }
53
51
  else
54
52
  groups
55
53
  end.map(&:to_sym)
@@ -3,16 +3,18 @@
3
3
  module Bundler
4
4
  class CLI::Outdated
5
5
  attr_reader :options, :gems, :options_include_groups, :filter_options_patch, :sources, :strict
6
- attr_accessor :outdated_gems
6
+ attr_accessor :outdated_gems_by_groups, :outdated_gems_list
7
7
 
8
8
  def initialize(options, gems)
9
9
  @options = options
10
10
  @gems = gems
11
11
  @sources = Array(options[:source])
12
12
 
13
- @filter_options_patch = options.keys & %w[filter-major filter-minor filter-patch]
13
+ @filter_options_patch = options.keys &
14
+ %w[filter-major filter-minor filter-patch]
14
15
 
15
- @outdated_gems = []
16
+ @outdated_gems_by_groups = {}
17
+ @outdated_gems_list = []
16
18
 
17
19
  @options_include_groups = [:group, :groups].any? do |v|
18
20
  options.keys.include?(v.to_s)
@@ -20,7 +22,8 @@ module Bundler
20
22
 
21
23
  # the patch level options imply strict is also true. It wouldn't make
22
24
  # sense otherwise.
23
- @strict = options["filter-strict"] || Bundler::CLI::Common.patch_level_options(options).any?
25
+ @strict = options["filter-strict"] ||
26
+ Bundler::CLI::Common.patch_level_options(options).any?
24
27
  end
25
28
 
26
29
  def run
@@ -73,52 +76,58 @@ module Bundler
73
76
  end
74
77
 
75
78
  specs.sort_by(&:name).each do |current_spec|
76
- next unless gems.empty? || gems.include?(current_spec.name)
79
+ next if !gems.empty? && !gems.include?(current_spec.name)
77
80
 
81
+ dependency = current_dependencies[current_spec.name]
78
82
  active_spec = retrieve_active_spec(definition, current_spec)
79
- next unless filter_options_patch.empty? || update_present_via_semver_portions(current_spec, active_spec, options)
83
+
84
+ next if active_spec.nil?
85
+ next if filter_options_patch.any? &&
86
+ !update_present_via_semver_portions(current_spec, active_spec, options)
80
87
 
81
88
  gem_outdated = Gem::Version.new(active_spec.version) > Gem::Version.new(current_spec.version)
82
89
  next unless gem_outdated || (current_spec.git_version != active_spec.git_version)
83
-
84
- dependency = current_dependencies[current_spec.name]
85
- groups = ""
90
+ groups = nil
86
91
  if dependency && !options[:parseable]
87
92
  groups = dependency.groups.join(", ")
88
93
  end
89
94
 
90
- outdated_gems << {
91
- :active_spec => active_spec,
92
- :current_spec => current_spec,
93
- :dependency => dependency,
94
- :groups => groups,
95
- }
95
+ outdated_gems_list << { :active_spec => active_spec,
96
+ :current_spec => current_spec,
97
+ :dependency => dependency,
98
+ :groups => groups }
99
+
100
+ outdated_gems_by_groups[groups] ||= []
101
+ outdated_gems_by_groups[groups] << outdated_gems_list[-1]
96
102
  end
97
103
 
98
- if outdated_gems.empty?
104
+ if outdated_gems_list.empty?
105
+ display_nothing_outdated_message
106
+ else
99
107
  unless options[:parseable]
100
- Bundler.ui.info(nothing_outdated_message)
108
+ Bundler.ui.info(header_outdated_message)
101
109
  end
102
- else
110
+
103
111
  if options_include_groups
104
- relevant_outdated_gems = outdated_gems.group_by {|g| g[:groups] }.sort.flat_map do |groups, gems|
105
- contains_group = groups.split(", ").include?(options[:group])
106
- next unless options[:groups] || contains_group
112
+ ordered_groups = outdated_gems_by_groups.keys.compact.sort
113
+ ordered_groups.insert(0, nil).each do |groups|
114
+ gems = outdated_gems_by_groups[groups]
115
+ contains_group = if groups
116
+ groups.split(", ").include?(options[:group])
117
+ else
118
+ options[:group] == "group"
119
+ end
107
120
 
108
- gems
109
- end.compact
121
+ next if (!options[:groups] && !contains_group) || gems.nil?
110
122
 
111
- if options[:parseable]
112
- relevant_outdated_gems.each do |gems|
113
- print_gems(gems)
123
+ unless options[:parseable]
124
+ Bundler.ui.info(header_group_message(groups))
114
125
  end
115
- else
116
- print_gems_table(relevant_outdated_gems)
126
+
127
+ print_gems(gems)
117
128
  end
118
- elsif options[:parseable]
119
- print_gems(outdated_gems)
120
129
  else
121
- print_gems_table(outdated_gems)
130
+ print_gems(outdated_gems_list)
122
131
  end
123
132
 
124
133
  exit 1
@@ -131,6 +140,22 @@ module Bundler
131
140
  "#{group_text}#{groups.split(",").size > 1 ? "s" : ""} \"#{groups}\""
132
141
  end
133
142
 
143
+ def header_outdated_message
144
+ if options[:pre]
145
+ "Outdated gems included in the bundle (including pre-releases):"
146
+ else
147
+ "Outdated gems included in the bundle:"
148
+ end
149
+ end
150
+
151
+ def header_group_message(groups)
152
+ if groups
153
+ "===== #{groups_text("Group", groups)} ====="
154
+ else
155
+ "===== Without group ====="
156
+ end
157
+ end
158
+
134
159
  def nothing_outdated_message
135
160
  if filter_options_patch.any?
136
161
  display = filter_options_patch.map do |o|
@@ -157,28 +182,21 @@ module Bundler
157
182
  active_spec
158
183
  end
159
184
 
160
- def print_gems(gems_list)
161
- gems_list.each do |gem|
162
- print_gem(
163
- gem[:current_spec],
164
- gem[:active_spec],
165
- gem[:dependency],
166
- gem[:groups],
167
- )
185
+ def display_nothing_outdated_message
186
+ unless options[:parseable]
187
+ Bundler.ui.info(nothing_outdated_message)
168
188
  end
169
189
  end
170
190
 
171
- def print_gems_table(gems_list)
172
- data = gems_list.map do |gem|
173
- gem_column_for(
191
+ def print_gems(gems_list)
192
+ gems_list.each do |gem|
193
+ print_gem(
174
194
  gem[:current_spec],
175
195
  gem[:active_spec],
176
196
  gem[:dependency],
177
197
  gem[:groups],
178
198
  )
179
199
  end
180
-
181
- print_indented([table_header] + data)
182
200
  end
183
201
 
184
202
  def print_gem(current_spec, active_spec, dependency, groups)
@@ -195,7 +213,7 @@ module Bundler
195
213
 
196
214
  output_message = if options[:parseable]
197
215
  spec_outdated_info.to_s
198
- elsif options_include_groups || groups.empty?
216
+ elsif options_include_groups || !groups
199
217
  " * #{spec_outdated_info}"
200
218
  else
201
219
  " * #{spec_outdated_info} in #{groups_text("group", groups)}"
@@ -204,16 +222,6 @@ module Bundler
204
222
  Bundler.ui.info output_message.rstrip
205
223
  end
206
224
 
207
- def gem_column_for(current_spec, active_spec, dependency, groups)
208
- current_version = "#{current_spec.version}#{current_spec.git_version}"
209
- spec_version = "#{active_spec.version}#{active_spec.git_version}"
210
- dependency = dependency.requirement if dependency
211
-
212
- ret_val = [active_spec.name, current_version, spec_version, dependency.to_s, groups.to_s]
213
- ret_val << active_spec.loaded_from.to_s if Bundler.ui.debug?
214
- ret_val
215
- end
216
-
217
225
  def check_for_deployment_mode!
218
226
  return unless Bundler.frozen_bundle?
219
227
  suggested_command = if Bundler.settings.locations("frozen")[:global]
@@ -231,8 +239,6 @@ module Bundler
231
239
  end
232
240
 
233
241
  def update_present_via_semver_portions(current_spec, active_spec, options)
234
- return false if active_spec.nil?
235
-
236
242
  current_major = current_spec.version.segments.first
237
243
  active_major = active_spec.version.segments.first
238
244
 
@@ -260,34 +266,5 @@ module Bundler
260
266
  version_section = spec.version.segments[version_portion_index, 1]
261
267
  version_section.to_a[0].to_i
262
268
  end
263
-
264
- def print_indented(matrix)
265
- header = matrix[0]
266
- data = matrix[1..-1]
267
-
268
- column_sizes = Array.new(header.size) do |index|
269
- matrix.max_by {|row| row[index].length }[index].length
270
- end
271
-
272
- Bundler.ui.info justify(header, column_sizes)
273
-
274
- data.sort_by! {|row| row[0] }
275
-
276
- data.each do |row|
277
- Bundler.ui.info justify(row, column_sizes)
278
- end
279
- end
280
-
281
- def table_header
282
- header = ["Gem", "Current", "Latest", "Requested", "Groups"]
283
- header << "Path" if Bundler.ui.debug?
284
- header
285
- end
286
-
287
- def justify(row, sizes)
288
- row.each_with_index.map do |element, index|
289
- element.ljust(sizes[index])
290
- end.join(" ").strip + "\n"
291
- end
292
269
  end
293
270
  end
@@ -29,11 +29,6 @@ module Bundler
29
29
 
30
30
  FileUtils.rm_rf spec.full_gem_path
31
31
  when Source::Git
32
- if source.local?
33
- Bundler.ui.warn("Cannot pristine #{gem_name}. Gem is locally overriden.")
34
- next
35
- end
36
-
37
32
  source.remote!
38
33
  if extension_cache_path = source.extension_cache_path(spec)
39
34
  FileUtils.rm_rf extension_cache_path
@@ -441,6 +441,35 @@ module Bundler
441
441
  Gem.clear_paths
442
442
  end
443
443
 
444
+ # This backports base_dir which replaces installation path
445
+ # RubyGems 1.8+
446
+ def backport_base_dir
447
+ redefine_method(Gem::Specification, :base_dir) do
448
+ return Gem.dir unless loaded_from
449
+ File.dirname File.dirname loaded_from
450
+ end
451
+ end
452
+
453
+ def backport_cache_file
454
+ redefine_method(Gem::Specification, :cache_dir) do
455
+ @cache_dir ||= File.join base_dir, "cache"
456
+ end
457
+
458
+ redefine_method(Gem::Specification, :cache_file) do
459
+ @cache_file ||= File.join cache_dir, "#{full_name}.gem"
460
+ end
461
+ end
462
+
463
+ def backport_spec_file
464
+ redefine_method(Gem::Specification, :spec_dir) do
465
+ @spec_dir ||= File.join base_dir, "specifications"
466
+ end
467
+
468
+ redefine_method(Gem::Specification, :spec_file) do
469
+ @spec_file ||= File.join spec_dir, "#{full_name}.gemspec"
470
+ end
471
+ end
472
+
444
473
  def undo_replacements
445
474
  @replaced_methods.each do |(sym, klass), method|
446
475
  redefine_method(klass, sym, method)
@@ -230,10 +230,6 @@ module Bundler
230
230
  @allow_remote || @allow_cached
231
231
  end
232
232
 
233
- def local?
234
- @local
235
- end
236
-
237
233
  private
238
234
 
239
235
  def serialize_gemspecs_in(destination)
@@ -260,6 +256,10 @@ module Bundler
260
256
  cached_revision && super
261
257
  end
262
258
 
259
+ def local?
260
+ @local
261
+ end
262
+
263
263
  def requires_checkout?
264
264
  allow_git_ops? && !local? && !cached_revision_checked_out?
265
265
  end
@@ -10,6 +10,3 @@ gem "rake-compiler"
10
10
  <%- if config[:test] -%>
11
11
  gem "<%= config[:test] %>", "~> <%= config[:test_framework_version] %>"
12
12
  <%- end -%>
13
- <%- if config[:rubocop] -%>
14
- gem "rubocop"
15
- <%- end -%>
@@ -1,5 +1,4 @@
1
1
  require "bundler/gem_tasks"
2
- <% default_task_names = [config[:test_task]] -%>
3
2
  <% if config[:test] == "minitest" -%>
4
3
  require "rake/testtask"
5
4
 
@@ -14,16 +13,8 @@ require "rspec/core/rake_task"
14
13
 
15
14
  RSpec::Core::RakeTask.new(:spec)
16
15
 
17
- <% end -%>
18
- <% if config[:rubocop] -%>
19
- <% default_task_names << :rubocop -%>
20
- require "rubocop/rake_task"
21
-
22
- RuboCop::RakeTask.new
23
-
24
16
  <% end -%>
25
17
  <% if config[:ext] -%>
26
- <% default_task_names.unshift(:clobber, :compile) -%>
27
18
  require "rake/extensiontask"
28
19
 
29
20
  task :build => :compile
@@ -32,5 +23,7 @@ Rake::ExtensionTask.new("<%= config[:underscored_name] %>") do |ext|
32
23
  ext.lib_dir = "lib/<%= config[:namespaced_path] %>"
33
24
  end
34
25
 
26
+ task :default => [:clobber, :compile, :<%= config[:test_task] %>]
27
+ <% else -%>
28
+ task :default => :<%= config[:test_task] %>
35
29
  <% end -%>
36
- task :default => <%= default_task_names.size == 1 ? default_task_names.first.inspect : default_task_names.inspect %>
@@ -1,4 +1,4 @@
1
- require_relative "lib/<%=config[:namespaced_path]%>/version"
1
+ require_relative 'lib/<%=config[:namespaced_path]%>/version'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = <%= config[:name].inspect %>
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  # Specify which files should be added to the gem when it is released.
24
24
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
- spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
25
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
26
26
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
27
27
  end
28
28
  spec.bindir = "exe"
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Bundler
4
- VERSION = "2.1.0.pre.3".freeze
4
+ VERSION = "2.1.0".freeze
5
5
 
6
6
  def self.bundler_major_version
7
7
  @bundler_major_version ||= VERSION.split(".").first.to_i
@@ -7,7 +7,7 @@
7
7
  \fBbundle\-list\fR \- List all the gems in the bundle
8
8
  .
9
9
  .SH "SYNOPSIS"
10
- \fBbundle list\fR [\-\-name\-only] [\-\-paths] [\-\-without\-group=GROUP[ GROUP\.\.\.]] [\-\-only\-group=GROUP[ GROUP\.\.\.]]
10
+ \fBbundle list\fR [\-\-name\-only] [\-\-paths] [\-\-without\-group=GROUP] [\-\-only\-group=GROUP]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
13
  Prints a list of all the gems in the bundle including their version\.
@@ -28,7 +28,7 @@ bundle list \-\-without\-group test
28
28
  bundle list \-\-only\-group dev
29
29
  .
30
30
  .P
31
- bundle list \-\-only\-group dev test \-\-paths
31
+ bundle list \-\-only\-group dev \-\-paths
32
32
  .
33
33
  .SH "OPTIONS"
34
34
  .
@@ -41,10 +41,10 @@ Print only the name of each gem\.
41
41
  Print the path to each gem in the bundle\.
42
42
  .
43
43
  .TP
44
- \fB\-\-without\-group=<list>\fR
45
- A space\-separated list of groups of gems to skip during printing\.
44
+ \fB\-\-without\-group\fR
45
+ Print all gems expect from a group\.
46
46
  .
47
47
  .TP
48
- \fB\-\-only\-group=<list>\fR
49
- A space\-separated list of groups of gems to print\.
48
+ \fB\-\-only\-group\fR
49
+ Print gems from a particular group\.
50
50
 
@@ -6,8 +6,8 @@ NAME
6
6
  bundle-list - List all the gems in the bundle
7
7
 
8
8
  SYNOPSIS
9
- bundle list [--name-only] [--paths] [--without-group=GROUP[ GROUP...]]
10
- [--only-group=GROUP[ GROUP...]]
9
+ bundle list [--name-only] [--paths] [--without-group=GROUP]
10
+ [--only-group=GROUP]
11
11
 
12
12
  DESCRIPTION
13
13
  Prints a list of all the gems in the bundle including their version.
@@ -22,7 +22,7 @@ DESCRIPTION
22
22
 
23
23
  bundle list --only-group dev
24
24
 
25
- bundle list --only-group dev test --paths
25
+ bundle list --only-group dev --paths
26
26
 
27
27
  OPTIONS
28
28
  --name-only
@@ -31,12 +31,11 @@ OPTIONS
31
31
  --paths
32
32
  Print the path to each gem in the bundle.
33
33
 
34
- --without-group=<list>
35
- A space-separated list of groups of gems to skip during print-
36
- ing.
34
+ --without-group
35
+ Print all gems expect from a group.
37
36
 
38
- --only-group=<list>
39
- A space-separated list of groups of gems to print.
37
+ --only-group
38
+ Print gems from a particular group.
40
39
 
41
40
 
42
41
 
@@ -3,7 +3,7 @@ bundle-list(1) -- List all the gems in the bundle
3
3
 
4
4
  ## SYNOPSIS
5
5
 
6
- `bundle list` [--name-only] [--paths] [--without-group=GROUP[ GROUP...]] [--only-group=GROUP[ GROUP...]]
6
+ `bundle list` [--name-only] [--paths] [--without-group=GROUP] [--only-group=GROUP]
7
7
 
8
8
  ## DESCRIPTION
9
9
 
@@ -19,7 +19,7 @@ bundle list --without-group test
19
19
 
20
20
  bundle list --only-group dev
21
21
 
22
- bundle list --only-group dev test --paths
22
+ bundle list --only-group dev --paths
23
23
 
24
24
  ## OPTIONS
25
25
 
@@ -27,7 +27,7 @@ bundle list --only-group dev test --paths
27
27
  Print only the name of each gem.
28
28
  * `--paths`:
29
29
  Print the path to each gem in the bundle.
30
- * `--without-group=<list>`:
31
- A space-separated list of groups of gems to skip during printing.
32
- * `--only-group=<list>`:
33
- A space-separated list of groups of gems to print.
30
+ * `--without-group`:
31
+ Print all gems expect from a group.
32
+ * `--only-group`:
33
+ Print gems from a particular group.
@@ -9,7 +9,7 @@
9
9
  require 'rbconfig'
10
10
 
11
11
  module Gem
12
- VERSION = "3.1.0".freeze
12
+ VERSION = "3.1.1".freeze
13
13
  end
14
14
 
15
15
  # Must be first since it unloads the prelude from 1.9.2
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rubygems-update"
5
- s.version = "3.1.0"
5
+ s.version = "3.1.1"
6
6
  s.authors = ["Jim Weirich", "Chad Fowler", "Eric Hodel", "Luis Lavena", "Aaron Patterson", "Samuel Giddins", "André Arko", "Evan Phoenix", "Hiroshi SHIBATA"]
7
7
  s.email = ["", "", "drbrain@segment7.net", "luislavena@gmail.com", "aaron@tenderlovemaking.com", "segiddins@segiddins.me", "andre@arko.net", "evan@phx.io", "hsbt@ruby-lang.org"]
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems-update
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Weirich