bundler 1.1.4 → 1.1.5

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.

@@ -1,3 +1,9 @@
1
+ ## 1.1.5 (Jul 17, 2012)
2
+
3
+ Features:
4
+
5
+ - Special case `ruby` directive from 1.2.0, so you can install Gemfiles that use it
6
+
1
7
  ## 1.1.4 (May 27, 2012)
2
8
 
3
9
  Bugfixes:
@@ -86,7 +86,7 @@ module Bundler
86
86
  else
87
87
  raise DslError, "You cannot specify the same gem twice coming from different sources. You " \
88
88
  "specified that #{dep.name} (#{dep.requirement}) should come from " \
89
- "#{current.source || 'an unspecfied source'} and #{dep.source}"
89
+ "#{current.source || 'an unspecified source'} and #{dep.source}"
90
90
  end
91
91
  end
92
92
  end
@@ -163,6 +163,12 @@ module Bundler
163
163
  @env = old
164
164
  end
165
165
 
166
+ def ruby(*args)
167
+ msg = "Ignoring `ruby` directive. This is a feature added to Bundler 1.2.0 \n" \
168
+ "and higher. Please upgrade if you would like to use it. \n\n"
169
+ Bundler.ui.warn msg
170
+ end
171
+
166
172
  # Deprecated methods
167
173
 
168
174
  def self.deprecate(name, replacement = nil)
@@ -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.4" unless defined?(::Bundler::VERSION)
5
+ VERSION = "1.1.5" unless defined?(::Bundler::VERSION)
6
6
  end
@@ -26,5 +26,26 @@ describe Bundler::Dsl do
26
26
  lambda { Bundler::Dsl.evaluate(bundled_app("Gemfile"), nil, true) }.
27
27
  should raise_error(Bundler::GemfileError)
28
28
  end
29
+
30
+ it "should special case the ruby directive" do
31
+ gemfile <<-G
32
+ ruby "1.9.3"
33
+ G
34
+ lambda { Bundler::Dsl.evaluate(bundled_app("Gemfile"), nil, true) }.
35
+ should_not raise_error(Bundler::GemfileError)
36
+ end
37
+
38
+ it "should special case the ruby directive and throws a warning" do
39
+ install_gemfile <<-G
40
+ source "file://#{gem_repo1}"
41
+
42
+ ruby "1.9.3"
43
+
44
+ gem "foo"
45
+ G
46
+
47
+ out.should include("Ignoring `ruby` directive")
48
+ bundled_app("Gemfile.lock").should exist
49
+ end
29
50
  end
30
51
  end
@@ -646,7 +646,7 @@ describe "the lockfile format" do
646
646
  G
647
647
 
648
648
  bundled_app("Gemfile.lock").should_not exist
649
- out.should include "rack (>= 0) should come from an unspecfied source and git://hubz.com (at master)"
649
+ out.should include "rack (>= 0) should come from an unspecified source and git://hubz.com (at master)"
650
650
  end
651
651
 
652
652
  it "works correctly with multiple version dependencies" do
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: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 4
10
- version: 1.1.4
9
+ - 5
10
+ version: 1.1.5
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-05-28 00:00:00 Z
21
+ date: 2012-07-17 00:00:00 Z
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  name: ronn
@@ -234,20 +234,20 @@ files:
234
234
  - spec/update/gems_spec.rb
235
235
  - spec/update/git_spec.rb
236
236
  - spec/update/source_spec.rb
237
- - lib/bundler/man/bundle
238
- - lib/bundler/man/bundle-config
239
- - lib/bundler/man/bundle-config.txt
240
237
  - lib/bundler/man/bundle-exec
241
- - lib/bundler/man/bundle-exec.txt
238
+ - lib/bundler/man/bundle
242
239
  - lib/bundler/man/bundle-install
243
- - lib/bundler/man/bundle-install.txt
240
+ - lib/bundler/man/gemfile.5
244
241
  - lib/bundler/man/bundle-package
245
- - lib/bundler/man/bundle-package.txt
246
242
  - lib/bundler/man/bundle-update
243
+ - lib/bundler/man/bundle-exec.txt
244
+ - lib/bundler/man/gemfile.5.txt
247
245
  - lib/bundler/man/bundle-update.txt
246
+ - lib/bundler/man/bundle-config
247
+ - lib/bundler/man/bundle-config.txt
248
248
  - lib/bundler/man/bundle.txt
249
- - lib/bundler/man/gemfile.5
250
- - lib/bundler/man/gemfile.5.txt
249
+ - lib/bundler/man/bundle-package.txt
250
+ - lib/bundler/man/bundle-install.txt
251
251
  homepage: http://gembundler.com
252
252
  licenses: []
253
253
 
@@ -281,85 +281,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
281
281
  requirements: []
282
282
 
283
283
  rubyforge_project: bundler
284
- rubygems_version: 1.8.24
284
+ rubygems_version: 1.8.21
285
285
  signing_key:
286
286
  specification_version: 3
287
287
  summary: The best way to manage your application's dependencies
288
- test_files:
289
- - spec/bundler/dsl_spec.rb
290
- - spec/bundler/gem_helper_spec.rb
291
- - spec/bundler/source_spec.rb
292
- - spec/cache/gems_spec.rb
293
- - spec/cache/git_spec.rb
294
- - spec/cache/path_spec.rb
295
- - spec/cache/platform_spec.rb
296
- - spec/install/deploy_spec.rb
297
- - spec/install/deprecated_spec.rb
298
- - spec/install/gems/c_ext_spec.rb
299
- - spec/install/gems/dependency_api_spec.rb
300
- - spec/install/gems/env_spec.rb
301
- - spec/install/gems/flex_spec.rb
302
- - spec/install/gems/groups_spec.rb
303
- - spec/install/gems/packed_spec.rb
304
- - spec/install/gems/platform_spec.rb
305
- - spec/install/gems/post_install_spec.rb
306
- - spec/install/gems/resolving_spec.rb
307
- - spec/install/gems/simple_case_spec.rb
308
- - spec/install/gems/standalone_spec.rb
309
- - spec/install/gems/sudo_spec.rb
310
- - spec/install/gems/win32_spec.rb
311
- - spec/install/gemspec_spec.rb
312
- - spec/install/git_spec.rb
313
- - spec/install/invalid_spec.rb
314
- - spec/install/path_spec.rb
315
- - spec/install/upgrade_spec.rb
316
- - spec/lock/git_spec.rb
317
- - spec/lock/lockfile_spec.rb
318
- - spec/other/check_spec.rb
319
- - spec/other/clean_spec.rb
320
- - spec/other/config_spec.rb
321
- - spec/other/console_spec.rb
322
- - spec/other/exec_spec.rb
323
- - spec/other/ext_spec.rb
324
- - spec/other/help_spec.rb
325
- - spec/other/init_spec.rb
326
- - spec/other/newgem_spec.rb
327
- - spec/other/open_spec.rb
328
- - spec/other/outdated_spec.rb
329
- - spec/other/show_spec.rb
330
- - spec/quality_spec.rb
331
- - spec/realworld/edgecases_spec.rb
332
- - spec/resolver/basic_spec.rb
333
- - spec/resolver/platform_spec.rb
334
- - spec/runtime/executable_spec.rb
335
- - spec/runtime/load_spec.rb
336
- - spec/runtime/platform_spec.rb
337
- - spec/runtime/require_spec.rb
338
- - spec/runtime/setup_spec.rb
339
- - spec/runtime/with_clean_env_spec.rb
340
- - spec/spec_helper.rb
341
- - spec/support/artifice/endopint_marshal_fail_basic_authentication.rb
342
- - spec/support/artifice/endpoint.rb
343
- - spec/support/artifice/endpoint_500.rb
344
- - spec/support/artifice/endpoint_api_missing.rb
345
- - spec/support/artifice/endpoint_basic_authentication.rb
346
- - spec/support/artifice/endpoint_extra.rb
347
- - spec/support/artifice/endpoint_extra_missing.rb
348
- - spec/support/artifice/endpoint_fallback.rb
349
- - spec/support/artifice/endpoint_marshal_fail.rb
350
- - spec/support/artifice/endpoint_redirect.rb
351
- - spec/support/builders.rb
352
- - spec/support/fakeweb/rack-1.0.0.marshal
353
- - spec/support/fakeweb/windows.rb
354
- - spec/support/helpers.rb
355
- - spec/support/indexes.rb
356
- - spec/support/matchers.rb
357
- - spec/support/path.rb
358
- - spec/support/platforms.rb
359
- - spec/support/ruby_ext.rb
360
- - spec/support/rubygems_ext.rb
361
- - spec/support/rubygems_hax/platform.rb
362
- - spec/support/sudo.rb
363
- - spec/update/gems_spec.rb
364
- - spec/update/git_spec.rb
365
- - spec/update/source_spec.rb
288
+ test_files: []
289
+