aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/source.rb
Commit message (Collapse)AuthorAgeFilesLines
* [Source] Add an inspect methodSamuel Giddins2016-12-211-0/+4
| | | | This will avoid printing out every single cached spec
* fix message parenthesis colorAlessandro Lepore2016-09-201-1/+1
|
* [Source] Remove empty parenthesis in installing gem messageSamuel Giddins2016-09-061-1/+1
|
* [Source] Always print the platform when installingSamuel Giddins2016-08-251-1/+1
|
* Resolve for specific platformsSamuel Giddins2016-08-251-0/+1
|
* gemspec allow conflictsSamuel Giddins2016-06-041-2/+3
|
* Adding add_color methodbronzdoc2016-03-071-5/+1
|
* Make version_message configurablebronzdoc2016-03-051-1/+5
|
* Compatibility with frozen string literalsSamuel Giddins2016-01-311-1/+2
|
* Fix Style/SpaceInsideBlockBracesAndre Arko2015-07-181-1/+1
| | | | closes #3850
* [RuboCop] Enable Style/StringLiteralsSamuel E. Giddins2015-07-151-3/+3
|
* [RuboCop] Enable Style/EmptyLinesSamuel E. Giddins2015-07-151-1/+0
|
* Merge tag 'v1.9.4'Andre Arko2015-04-131-0/+5
| | | | | | | | Version 1.9.4 Conflicts: lib/bundler/installer.rb lib/bundler/match_platform.rb lib/bundler/source/rubygems.rb
* Move Bundler::Source.mirror_for to Settings.Tim Moore2015-03-151-10/+0
|
* Revert "LocalRubygems source for local gem specs"Tim Moore2015-03-021-4/+3
| | | | This reverts commit 9263e08636d25e2573776b17416e6fabd403026b.
* LocalRubygems source for local gem specsAndre Arko2015-02-091-3/+4
| | | | | | | This class (and only this class) knows about gems that are installed locally or present in vendor/cache. Because we now have multiple source objects, it's much more efficient to only load the installed and cached specs into one of those sources rather than all Rubygems sources.
* Revert "svn source support"Andre Arko2015-01-251-1/+0
| | | | | | | | | | | | We're pulling out svn source support into a plugin. While we work on that, you can use the 1.8.0.svn release, but subversion sources aren't an official part of Bundler itself. This reverts commit 049d281d0fdcc29297a21c6a66cd7efc38690675. This reverts commit 22fecdd07fdf02edb1a8824fb73dd7e015507644. This reverts commit 38f195e11f37ce5139af4ff3384eb2f26c2edb19. This reverts commit 500436a33de0b884525dbf82cfc69332fc96f8b9. This reverts commit 2c356be90a23921058cd14fd0e4a366da195021a.
* Realign Source#version_message to reveal intentRohit Arondekar2014-12-311-4/+8
|
* Merge tag 'v1.7.1'Tim Moore2014-08-241-0/+9
|\ | | | | | | | | | | | | | | | | | | | | | | Version 1.7.1 Conflicts: CHANGELOG.md lib/bundler/dsl.rb lib/bundler/index.rb lib/bundler/lockfile_parser.rb lib/bundler/source/rubygems.rb man/gemfile.5.ronn
| * normalise unmet_deps across all SourcesAndre Arko2014-08-161-0/+6
| |
| * Separate Rubygems sources into multiple objects.Andre Arko2014-07-301-0/+3
| | | | | | | | with @TimMoore and @ckrailo
* | svn source supportStefan Huber2014-04-221-0/+1
|/
* Merge pull request #2639 from joyicecloud/show-version-of-gem-updatedAndre Arko2013-12-181-1/+11
|\ | | | | | | | | | | | | | | | | Displays the previous version of the gem when run bundle update Conflicts: lib/bundler/source.rb lib/bundler/source/git/git_proxy.rb lib/bundler/source/rubygems.rb
| * Put old version message in the block leveljoyicecloud2013-09-231-3/+4
| | | | | | | | | | | | | | Change bundle update message format Change rspec bundle update message text to match in files (rubygem, git, path source, etc)
| * Displays the previous version of the gem when run bundle updatejoyicecloud2013-09-181-1/+11
| | | | | | | | | | | | | | | | Change code in the 3 source files to display the method locked_gems in lib/bundler.rb Add 3 Rspec test in the update directory for each source: rubygems, git, path.
* | 1.8.7 can't URI a URIAndre Arko2013-10-191-1/+3
| |
* | move RubygemsMirror.to_uri to Source.mirror_forAndre Arko2013-10-171-2/+11
|/
* extract classes in bundler/source for autoloadingAndre Arko2012-11-131-886/+3
|
* fix a method redefinition warningAaron Patterson2012-11-091-1/+2
|
* Prune git and path directories inside vendor/cache, closes #1988José Valim2012-07-171-5/+11
| | | | | | | From this commit on, we add a .bundlecache file inside each git/path directory in vendor/cache so we know it came from bundler. This allow us to delete those specific directories without messing with user's specific ones.
* Don't actually care if git repo is inside the repository, always cache it, ↵José Valim2012-07-171-1/+8
| | | | closes #1989
* Ensure branch checks are enforced on local overrides, closes #1837José Valim2012-06-141-1/+3
|
* Add config disable_local_branch_check, closes #1985José Valim2012-06-141-1/+7
|
* Merge remote-tracking branch 'rkh/optional-branch'André Arko2012-06-121-0/+5
|\ | | | | | | | | | | Conflicts: lib/bundler/source.rb spec/install/git_spec.rb
| * do not explode if branch is not given for local git reposKonstantin Haase2012-05-211-7/+1
| |
* | remove all requirements for local override.Phil Monroe2012-06-121-6/+0
| |
* | Allowing git local override to to accept :branch, :tag or :refPhil Monroe2012-06-121-7/+2
| |
* | updated copy_to method for recursive git sumodule update.Nicholas Watson2012-05-211-2/+1
|/
* Merge branch '1-1-stable'Terence Lee2012-03-231-1/+1
|\ | | | | | | | | | | | | | | Conflicts: CHANGELOG.md lib/bundler/version.rb 1.1.3 release merge
| * bundler root path should be escapedAaron Patterson2012-03-231-1/+1
| |
* | Revert "Merge pull request #1789 from tenderlove/pathescape"Andre Arko2012-03-231-1/+1
| | | | | | | | | | This reverts commit d6f93f82bff9ca09c5b7b46d15c1c07154c9233e, reversing changes made to f65ba393f43bb697e655645e61e2ca52fc05e28e.
* | bundler root path should be escapedAaron Patterson2012-03-231-1/+1
| |
* | Fix failing test that was not using the cached revision.José Valim2012-03-221-1/+1
| |
* | Ensure packaged path repos can be updated.José Valim2012-03-221-4/+12
| |
* | Ensure packaged git repos can be updated.José Valim2012-03-221-10/+17
| |
* | Just cache git and path is --all is given.José Valim2012-03-201-0/+3
| |
* | Path and Git should also be packaged.José Valim2012-03-201-61/+96
| |
* | Do not resolve if the local override did not change.José Valim2012-03-191-3/+5
| |
* | Initial implementation of local git repos.José Valim2012-03-191-12/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The proposal of this patch is to implement a functionality that allow developers to work against a git repository locally. This can be achieved by setting up a local override: bundle config rack.local ~/path/to/local/rack Now, instead of checking out a git repository, the local override will be used. This implies a few things: Similar to path, every time the local git repository change, changes will be automatically picked up by Bundler; This means a commit in the local git repo will update the revision in the Gemfile.lock to the local git repo revision. This requires the same attention as git submodules. Before pushing to remote, you need to ensure the local override was pushed, otherwise you may point to a commit that only exists in your local machine. Also, we are doing many checks to ensure a developer won't work with invalid references. Particularly, we force a developer to specify a branch in the Gemfile in order to use local overrides and, if your local repository is on another branch, we will abort. This allows a developer to change between topic or release branches without accidentally changing the reference in the Gemfile.lock. We also ensure that the current revision in the Gemfile.lock exists in the current local override. By doing this, we force the local override to fetch the latest changes in the remotes. There are a few things missing before this change can be merged in: 1) We could improve `bundle check` to validate the conditions above. With this in mind, a developer could add a pre-commit hook that invokes `bundle check` to ensure he isn't pushing an old or invalid reference. However, it will be up to the developer to ensure his local overrides are not dirty or that they were pushed to remote. 2) Currently, every time there is a local override, we are automatically by passing locked specs, regardless if there was a change or not. We need to improve this scenario in order to improve performance. 3) `bundle config foo bar` sets the configuration value for the current user (~). We need to be able to set project configuration and delete them as well.
* | Encapsulate git source interaction in a git proxy.José Valim2012-03-191-92/+120
|/