bundler 1.9.2 → 1.9.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 +10 -1
- data/lib/bundler/friendly_errors.rb +1 -1
- data/lib/bundler/gem_helper.rb +7 -2
- data/lib/bundler/gem_helpers.rb +1 -0
- data/lib/bundler/match_platform.rb +2 -1
- data/lib/bundler/runtime.rb +0 -3
- data/lib/bundler/source/path/installer.rb +2 -0
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +8 -4
- data/lib/bundler/version.rb +1 -1
- data/man/bundle-config.ronn +7 -1
- data/man/bundle-install.ronn +4 -2
- 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: d7681f71e2a98a61c620cce98492c9f6a4b164e6
|
4
|
+
data.tar.gz: b803256dd20226d4e93ae449ce381215219b4926
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a309d9e32520643cb7a19e79763332f6cede63cdade247459276ec4d36a0dfbf113a0d262b3424ad38e1a660a51aac8340d3fbc8292cb7f722812ff5489e223b
|
7
|
+
data.tar.gz: 7e8fb55ec89093f0e8e7aaa03ecf8081c693f0452990d2db317858ea2bc27c1e636e0d8820d3e2b52c68755f125f36e47b9709fdc9fdb67090ba4cfcbf177e94
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## 1.9.3 (2015-04-12)
|
2
|
+
|
3
|
+
Bugfixes:
|
4
|
+
|
5
|
+
- handle removal of `specs` from rubygems/rubygems@620910 (#3558, @indirect)
|
6
|
+
- install 'universal' gems on Windows (#3066, @jdmundrawala)
|
7
|
+
- stop passing --local during `rake install` task (#3236, @indirect)
|
8
|
+
- guard against all possible accidental public gem pushes (#3533, @indirect)
|
9
|
+
|
1
10
|
## 1.9.2 (2015-03-30)
|
2
11
|
|
3
12
|
Bugfixes:
|
@@ -5,7 +14,7 @@ Bugfixes:
|
|
5
14
|
- ensure gem executables are executable (#3517, #3511, @indirect)
|
6
15
|
- fix warnings in Molinillo (#3516, @segiddins)
|
7
16
|
- ensure duplicate dependencies do not propagate (#3522, @segiddins)
|
8
|
-
- keep gems locked when updating another gem from the same source (#
|
17
|
+
- keep gems locked when updating another gem from the same source (#3520, @indirect)
|
9
18
|
- resolve race that could build gems without saved arguments (#3404, @indirect)
|
10
19
|
|
11
20
|
## 1.9.1 (2015-03-21)
|
data/lib/bundler/gem_helper.rb
CHANGED
@@ -44,6 +44,11 @@ module Bundler
|
|
44
44
|
install_gem(built_gem_path)
|
45
45
|
end
|
46
46
|
|
47
|
+
desc "Build and install #{name}-#{version}.gem into system gems without network access."
|
48
|
+
task 'install:local' => 'build' do
|
49
|
+
install_gem(built_gem_path, :local)
|
50
|
+
end
|
51
|
+
|
47
52
|
desc "Create tag #{version_tag} and build and push #{name}-#{version}.gem to Rubygems\n" \
|
48
53
|
"To prevent publishing in Rubygems use `gem_push=no rake release`"
|
49
54
|
task 'release' => ['build', 'release:guard_clean',
|
@@ -76,9 +81,9 @@ module Bundler
|
|
76
81
|
File.join(base, 'pkg', file_name)
|
77
82
|
end
|
78
83
|
|
79
|
-
def install_gem(built_gem_path=nil)
|
84
|
+
def install_gem(built_gem_path = nil, local = false)
|
80
85
|
built_gem_path ||= build_gem
|
81
|
-
out, _ = sh_with_code("gem install '#{built_gem_path}' --local")
|
86
|
+
out, _ = sh_with_code("gem install '#{built_gem_path}'#{' --local' if local}")
|
82
87
|
raise "Couldn't install gem, run `gem install #{built_gem_path}' for more detailed output" unless out[/Successfully installed/]
|
83
88
|
Bundler.ui.confirm "#{name} (#{version}) installed."
|
84
89
|
end
|
data/lib/bundler/gem_helpers.rb
CHANGED
@@ -6,6 +6,7 @@ module Bundler
|
|
6
6
|
[Gem::Platform.new('java'), Gem::Platform.new('java')],
|
7
7
|
[Gem::Platform.new('mswin32'), Gem::Platform.new('mswin32')],
|
8
8
|
[Gem::Platform.new('mswin64'), Gem::Platform.new('mswin64')],
|
9
|
+
[Gem::Platform.new('universal-mingw32'), Gem::Platform.new('universal-mingw32')],
|
9
10
|
[Gem::Platform.new('x64-mingw32'), Gem::Platform.new('x64-mingw32')],
|
10
11
|
[Gem::Platform.new('x86_64-mingw32'), Gem::Platform.new('x64-mingw32')],
|
11
12
|
[Gem::Platform.new('mingw32'), Gem::Platform.new('x86-mingw32')]
|
data/lib/bundler/runtime.rb
CHANGED
@@ -16,6 +16,14 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.license = "MIT"
|
17
17
|
<%- end -%>
|
18
18
|
|
19
|
+
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
20
|
+
# delete this section to allow pushing this gem to any host.
|
21
|
+
if spec.respond_to?(:metadata)
|
22
|
+
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
23
|
+
else
|
24
|
+
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
25
|
+
end
|
26
|
+
|
19
27
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
20
28
|
spec.bindir = "exe"
|
21
29
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
@@ -24,10 +32,6 @@ Gem::Specification.new do |spec|
|
|
24
32
|
spec.extensions = ["ext/<%=config[:underscored_name]%>/extconf.rb"]
|
25
33
|
<%- end -%>
|
26
34
|
|
27
|
-
if spec.respond_to?(:metadata)
|
28
|
-
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com' to prevent pushes to rubygems.org, or delete to allow pushes to any server."
|
29
|
-
end
|
30
|
-
|
31
35
|
spec.add_development_dependency "bundler", "~> <%= config[:bundler_version] %>"
|
32
36
|
spec.add_development_dependency "rake", "~> 10.0"
|
33
37
|
<%- if config[:ext] -%>
|
data/lib/bundler/version.rb
CHANGED
@@ -2,5 +2,5 @@ module Bundler
|
|
2
2
|
# We're doing this because we might write tests that deal
|
3
3
|
# with other versions of bundler and we are unsure how to
|
4
4
|
# handle this better.
|
5
|
-
VERSION = "1.9.
|
5
|
+
VERSION = "1.9.3" unless defined?(::Bundler::VERSION)
|
6
6
|
end
|
data/man/bundle-config.ronn
CHANGED
@@ -102,9 +102,15 @@ learn more about their operation in [bundle install(1)][bundle-install].
|
|
102
102
|
* `ssl_client_cert` (`BUNDLE_SSL_CLIENT_CERT`):
|
103
103
|
Path to a designated file containing a X.509 client certificate
|
104
104
|
and key in PEM format.
|
105
|
+
* `cache_path` (`BUNDLE_CACHE_PATH`): The directory that bundler will place
|
106
|
+
cached gems in when running <code>bundle package</code>, and that bundler
|
107
|
+
will look in when installing gems.
|
108
|
+
* `disable_multisource` (`BUNDLE_DISABLE_MULTISOURCE`): When set, Gemfiles
|
109
|
+
containing multiple sources will produce errors instead of warnings. Use
|
110
|
+
`bundle config --delete disable_multisource` to unset.
|
105
111
|
|
106
112
|
In general, you should set these settings per-application by using the applicable
|
107
|
-
flag to the [bundle install(1)][bundle-install] command.
|
113
|
+
flag to the [bundle install(1)][bundle-install] or [bundle package(1)][bundle-package] command.
|
108
114
|
|
109
115
|
You can set them globally either via environment variables or `bundle config`,
|
110
116
|
whichever is preferable for your setup. If you use both, environment variables
|
data/man/bundle-install.ronn
CHANGED
@@ -8,10 +8,12 @@ bundle-install(1) -- Install the dependencies specified in your Gemfile
|
|
8
8
|
[--full-index]
|
9
9
|
[--gemfile=GEMFILE]
|
10
10
|
[--jobs=NUMBER]
|
11
|
-
[--local]
|
11
|
+
[--local]
|
12
|
+
[--deployment]
|
12
13
|
[--no-cache]
|
13
14
|
[--no-prune]
|
14
|
-
[--path PATH]
|
15
|
+
[--path PATH]
|
16
|
+
[--system]
|
15
17
|
[--quiet]
|
16
18
|
[--retry=NUMBER]
|
17
19
|
[--shebang]
|
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.9.
|
4
|
+
version: 1.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- André Arko
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2015-
|
14
|
+
date: 2015-04-13 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: mustache
|