summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update spec to fail, then fix itaa-warn-invalid-gemspecsAndre Arko2015-07-182-7/+4
|
* downgrade invalid specs to a warning for nowAndre Arko2015-07-161-2/+6
| | | | | | | | since invalid specs were allowed by 1.0-1.9, we allow them in all 1.x versions. we'll go back to throwing an exception on invalid gemspecs in Bundler 2.0. (cc @smlance) fixes #3688
* Merge pull request #3823 from mattbrictson/patch-2Samuel E. Giddins2015-07-151-2/+2
|\ | | | | Fix option description for `bundle gem`
| * Fix option description for `bundle gem`Matt Brictson2015-07-111-2/+2
| | | | | | The `--bin` option incorrectly had the description "Set a default with `bundle config gem.mit true`." I've moved this text to the appropriate place in the `--mit` description.
* | Apply the suggested fix from #3438Andre Arko2015-07-151-1/+1
|/
* Fix install_if not clearing install conditionsDaniel Teixeira2015-07-102-2/+8
|
* Use explicit values in RemoteSpecification testsTim Blair2015-07-091-4/+4
| | | | | The original cases ("not zero") would still pass if the check resulted in a nil response.
* Clean up duplicate specs for RemoteSpecificationTim Blair2015-07-091-65/+41
|
* Ensure two RemoteSpecifications are comparableTim Blair2015-07-092-2/+45
| | | | | | | | | | | | | | The RemoteSpecification#sort_obj method was added in e5d936e7 (which was cherry-picked from #3767) to fix #3762, but it still fails when comparing two instances of RemoteSpecification. As #sort_obj is private, the check for other.respond_to?(:sort_obj) returns false, which means the <=> check falls back to the default (from Object) which returns nil if the objects being compared don't match. This then results in an ArgumentError when (e.g.) sorting an array containing multiple instances of RemoteSpecification. The fix is simple: make RemoteSpecification#sort_obj public.
* disable fast_finishAndre Arko2015-07-081-1/+0
| | | | | | Travis support says that the many duplicate build notifacations that we've been getting via email and Slack are because of the fast_finish setting misbehaving. We'll just turn it off for now to work around it.
* add backwards compatibilityPatrick Metcalfe2015-07-011-6/+6
| | | | | The sad days when you have to write old-style hash syntax and want to cry.
* spec `#dependencies_installed?`Patrick Metcalfe2015-07-011-7/+33
|
* match by namePatrick Metcalfe2015-07-011-2/+2
| | | | | Because its faster and okay since all specs with the same name were already filtered out.
* switch reject to selectPatrick Metcalfe2015-07-011-4/+3
| | | | | | Reject is clearly not the right method to use here, now I’m trying to figure out what state of mind I was in when I wrote something that is so obviously wrong.
* Update changelog for 1.10.5v1.10.5Andre Arko2015-06-241-0/+4
|
* Merge pull request #3779 from bundler/seg-bundled-withAndré Arko2015-06-242-11/+52
|\ | | | | [Definition] Dont updated bundled with when 100% unnecessary
| * [Definition] Dont updated bundled with when 100% unnecessaryseg-bundled-withSamuel E. Giddins2015-06-232-11/+52
| |
* | document install_if in Gemfile.5Andre Arko2015-06-241-0/+10
| | | | | | | | [ci skip]
* | Version 1.10.5 with changelogAndre Arko2015-06-232-3/+5
| |
* | link to code of conduct from readmeAndre Arko2015-06-231-2/+6
|/
* expect the correct exitstatus, refactor testsAndre Arko2015-06-231-18/+8
|
* try to make the precedence clearerAndre Arko2015-06-231-3/+3
|
* Merge pull request #3743Andre Arko2015-06-232-2/+32
|\ | | | | | | | | | | from karlo57/3715-install-force-should-delete-existing-gems-before-install Includes tests for --force and a fix for trying to reinstall Bundler
| * Add test to ensure that bundle install --force works even when bundle is not ↵Karlo2015-06-231-0/+9
| | | | | | | | yet created
| * Add test to ensure that bundle install --force doesn't leave any old code on ↵Karlo2015-06-231-0/+8
| | | | | | | | gem reinstall
| * Don't reinstall bundler when using --forceKarlo2015-06-232-1/+13
| |
| * Add test to ensure that bundle install --force exits without errorKarlo2015-06-231-2/+3
|/
* Make Bundler::RemoteSpecification comparable.Tony Spataro2015-06-193-11/+76
| | | | Uses a comparison strategy borrowed from RubyGems 2.23 for maximum compatibility with Gem::Specification et. al.
* Allow comparing Bundler StubSpecs with RG specsAndre Arko2015-06-192-2/+25
| | | | | | /ht @tony-spataro-rs fixes #3762
* Merge pull request #3736 from bundler/seg-fixed-resolverSamuel E. Giddins2015-06-161-3/+5
|\ | | | | [Resolver] Add optimization for deps where theres a path/gemspec source
| * [Resolver] Fix initialization of search varseg-fixed-resolverSamuel E. Giddins2015-06-161-2/+1
| |
| * [Resolver] Only search when necessarySamuel E. Giddins2015-06-131-1/+1
| |
| * [Resolver] Add optimization for deps where theres a path/gemspec sourceSamuel E. Giddins2015-06-101-3/+6
| |
* | Merge pull request #3747 from pducks32/update-rails-versionSamuel E. Giddins2015-06-161-1/+1
|\ \ | | | | | | update rails version in specs
| * | update rails version in specsPatrick Metcalfe2015-06-161-1/+1
|/ / | | | | | | https://github.com/rails/rails/releases/tag/v3.2.22
* | Version 1.10.4 with changelogv1.10.4Andre Arko2015-06-162-1/+12
|/
* [Travis] Test against 2.4.8 nowSamuel E. Giddins2015-06-102-3/+3
|
* Merge pull request #3722 from bundler/implicit_lock_preservationAndré Arko2015-06-087-7/+131
|\ | | | | Implicit lock preservation
| * specs for bundler version warningsimplicit_lock_preservationAndre Arko2015-06-082-2/+6
| |
| * use existing constants to match BUNDLED WITHAndre Arko2015-06-081-1/+2
| |
| * Fix bundler/inline.Tim Moore2015-06-081-1/+1
| |
| * avoid altering BUNDLED WITH during implicit locksAndre Arko2015-06-084-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When either `bundle check` is run, or any application requires the `bundler/setup` file, Bundler will automatically check whether it is possible to lock the Bundle. During the lock process, Bundler updates the lock if the implicit locking changes the lock file. Starting with the 1.10 release, Bundler includes a lockfile section named BUNDLED WITH that includes the version of Bundler that generated the lockfile. In order to minimize git churn, and guarantee that the lockfile will only be changed when the user runs an explicit Bundler command, Bundler will now only add or update the BUNDLED WITH section during commands where the user asks for changes to the lock. This includes, but is not limited to, `install`, `update`, `lock`, and `package`. Running the `check` command or loading an application that uses Bundler will still now add or update the BUNDLED WITH section if, and only if, the lockfile has also changed for a different reason (such as a gem being updated). Simply using an application, by running `bundle exec` commands or by running `bin/rails` and the like, will not change the lockfile. As a result, the intended workflow with the BUNDLED WITH section is now slightly different than it was before: 1. When running `bundle install`, Bundler will update the version in the lockfile if newer than the version present. 2. Then, check in the lockfile change, exactly as you would after running install to change any other gem version. 3. Older versions of Bundler will not change the number in the lock, but will warn the user that they are out of date. refs bundler/bundler-features#80 refs #3697
| * failing specs for BUNDLED WITH preservationAndre Arko2015-06-082-0/+109
|/ | | | | | we want to avoid changing the lock just to add BUNDLED WITH unless the user is explicitly running a Bundler command; implicit locking should not alter the lockfile.
* Revert "Bundler.ui is now lazy-created"Andre Arko2015-06-081-0/+7
| | | | | | | The lazy-created UI is silent, and we need to be able to print for things like ambiguous command error messages. This reverts commit 849c649632b71111a06e71c0170ba966aca60d04.
* remove unused variableAndre Arko2015-06-081-2/+0
|
* hoist post_install_messageAndre Arko2015-06-081-0/+1
|
* Display "with native extensions" log output correctlyIvan Tse2015-06-083-2/+13
|
* no more native ext message via RG outputAndre Arko2015-06-081-5/+1
|
* fix post-install messages from git and path gemsAndre Arko2015-06-083-8/+9
|
* post-install for consistencyAndre Arko2015-06-081-1/+1
|