bundler 1.1.2 → 1.1.3
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.
Potentially problematic release.
This version of bundler might be problematic. Click here for more details.
- data/CHANGELOG.md +6 -0
- data/lib/bundler/source.rb +1 -1
- data/lib/bundler/version.rb +1 -1
- data/spec/install/gems/simple_case_spec.rb +23 -0
- data/spec/support/helpers.rb +4 -0
- metadata +4 -4
data/CHANGELOG.md
CHANGED
data/lib/bundler/source.rb
CHANGED
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.1.
|
5
|
+
VERSION = "1.1.3" unless defined?(::Bundler::VERSION)
|
6
6
|
end
|
@@ -339,6 +339,29 @@ describe "bundle install with gem sources" do
|
|
339
339
|
end
|
340
340
|
end
|
341
341
|
|
342
|
+
describe "when Bundler root contains regex chars" do
|
343
|
+
before do
|
344
|
+
root_dir = tmp("foo[]bar")
|
345
|
+
|
346
|
+
FileUtils.mkdir_p(root_dir)
|
347
|
+
in_app_root_custom(root_dir)
|
348
|
+
end
|
349
|
+
|
350
|
+
it "doesn't blow up" do
|
351
|
+
build_lib "foo"
|
352
|
+
gemfile = <<-G
|
353
|
+
gem 'foo', :path => "#{lib_path('foo-1.0')}"
|
354
|
+
G
|
355
|
+
File.open('Gemfile', 'w') do |file|
|
356
|
+
file.puts gemfile
|
357
|
+
end
|
358
|
+
|
359
|
+
bundle :install, :exitstatus => true
|
360
|
+
|
361
|
+
exitstatus.should == 0
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
342
365
|
describe "when prerelease gems are available" do
|
343
366
|
it "finds prereleases" do
|
344
367
|
install_gemfile <<-G
|
data/spec/support/helpers.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 3
|
10
|
+
version: 1.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Andr\xC3\xA9 Arko"
|
@@ -18,7 +18,7 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2012-03-
|
21
|
+
date: 2012-03-24 00:00:00 Z
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
24
24
|
name: ronn
|