bundler 1.15.2 → 1.15.3
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/bundler/cli.rb +14 -5
- data/lib/bundler/rubygems_integration.rb +1 -0
- data/lib/bundler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ec85619b6e7291fe9e96c8a11183f6ed2879017
|
4
|
+
data.tar.gz: f98a0bfaca1056ce8f0ad6fe4170e4e2e22f78af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bc7bd6c3273f58a62086e5d9e59347615c17f2367aa97bbeaddef0764f698c22c83e08eca1af2152518a14b156f4f2c1e1b42e7da3842d3f1399e53cacd5c92
|
7
|
+
data.tar.gz: 74ae15403d2abb3681b4e15cc19ccdc9d957b02fbc7cf590453a90cc53616ac37b488e777472a45f22daef14fb7871e2121ddcfb496b44fb41993eabec0b1152
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## 1.15.3 (2017-07-21)
|
2
|
+
|
3
|
+
Bugfixes:
|
4
|
+
|
5
|
+
- ensure that empty strings passed to `bundle config` are serialized & parsed properly (#5881, @segiddins)
|
6
|
+
- avoid printing an outdated version warning when running a parseable command (@segiddins)
|
7
|
+
|
1
8
|
## 1.15.2 (2017-07-17)
|
2
9
|
|
3
10
|
Features:
|
data/lib/bundler/cli.rb
CHANGED
@@ -5,6 +5,9 @@ require "bundler/vendored_thor"
|
|
5
5
|
module Bundler
|
6
6
|
class CLI < Thor
|
7
7
|
AUTO_INSTALL_CMDS = %w(show binstubs outdated exec open console licenses clean).freeze
|
8
|
+
PARSEABLE_COMMANDS = %w(
|
9
|
+
check config help exec platform show version
|
10
|
+
).freeze
|
8
11
|
|
9
12
|
def self.start(*)
|
10
13
|
super
|
@@ -12,12 +15,14 @@ module Bundler
|
|
12
15
|
Bundler.ui = UI::Shell.new
|
13
16
|
raise e
|
14
17
|
ensure
|
15
|
-
warn_on_outdated_bundler
|
16
18
|
Bundler::SharedHelpers.print_major_deprecations!
|
17
19
|
end
|
18
20
|
|
19
21
|
def self.dispatch(*)
|
20
|
-
super
|
22
|
+
super do |i|
|
23
|
+
i.send(:print_command)
|
24
|
+
i.send(:warn_on_outdated_bundler)
|
25
|
+
end
|
21
26
|
end
|
22
27
|
|
23
28
|
def initialize(*args)
|
@@ -616,7 +621,7 @@ module Bundler
|
|
616
621
|
_, _, config = @_initializer
|
617
622
|
current_command = config[:current_command]
|
618
623
|
command_name = current_command.name
|
619
|
-
return if
|
624
|
+
return if PARSEABLE_COMMANDS.include?(command_name)
|
620
625
|
command = ["bundle", command_name] + args
|
621
626
|
options_to_print = options.dup
|
622
627
|
options_to_print.delete_if do |k, v|
|
@@ -628,9 +633,14 @@ module Bundler
|
|
628
633
|
Bundler.ui.info "Running `#{command * " "}` with bundler #{Bundler::VERSION}"
|
629
634
|
end
|
630
635
|
|
631
|
-
def
|
636
|
+
def warn_on_outdated_bundler
|
632
637
|
return if Bundler.settings[:disable_version_check]
|
633
638
|
|
639
|
+
_, _, config = @_initializer
|
640
|
+
current_command = config[:current_command]
|
641
|
+
command_name = current_command.name
|
642
|
+
return if PARSEABLE_COMMANDS.include?(command_name)
|
643
|
+
|
634
644
|
latest = Fetcher::CompactIndex.
|
635
645
|
new(nil, Source::Rubygems::Remote.new(URI("https://rubygems.org")), nil).
|
636
646
|
send(:compact_index_client).
|
@@ -647,6 +657,5 @@ module Bundler
|
|
647
657
|
rescue
|
648
658
|
nil
|
649
659
|
end
|
650
|
-
private_class_method :warn_on_outdated_bundler
|
651
660
|
end
|
652
661
|
end
|
@@ -814,6 +814,7 @@ module Bundler
|
|
814
814
|
|
815
815
|
def use_gemdeps(gemfile)
|
816
816
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path(gemfile)
|
817
|
+
require "bundler/gemdeps"
|
817
818
|
runtime = Bundler.setup
|
818
819
|
Bundler.ui = nil
|
819
820
|
activated_spec_names = runtime.requested_specs.map(&:to_spec).sort_by(&:name)
|
data/lib/bundler/version.rb
CHANGED
@@ -7,7 +7,7 @@ module Bundler
|
|
7
7
|
# We're doing this because we might write tests that deal
|
8
8
|
# with other versions of bundler and we are unsure how to
|
9
9
|
# handle this better.
|
10
|
-
VERSION = "1.15.
|
10
|
+
VERSION = "1.15.3" unless defined?(::Bundler::VERSION)
|
11
11
|
|
12
12
|
def self.overwrite_loaded_gem_version
|
13
13
|
begin
|
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: 1.15.
|
4
|
+
version: 1.15.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- André Arko
|
@@ -17,7 +17,7 @@ authors:
|
|
17
17
|
autorequire:
|
18
18
|
bindir: exe
|
19
19
|
cert_chain: []
|
20
|
-
date: 2017-07-
|
20
|
+
date: 2017-07-21 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: automatiek
|