summaryrefslogtreecommitdiff
path: root/lib/bundler/plugin.rb
Commit message (Collapse)AuthorAgeFilesLines
* Make all plugin events registered to make documenting them easierjules26892018-05-221-0/+7
| | | | | | | | Every event in #hook and #add_hook will check if the event is registered in Bundler::Plugin::Events. This allows for easy tracking of what's calling events, and allow documentation to easily point to a single location. It also makes testing easier as events are predicatable and accessible via constants
* Fix some rescue calls that do not specifiy error type.utilum2018-03-171-2/+2
|
* Auto merge of #6120 - jumbosushi:plugin_list, r=indirectThe Bundler Bot2017-10-221-0/+20
|\ | | | | | | | | | | | | | | Add plugin list command This is a continuation of PR #5672 which was originally created to fix Issue #5467 Fixes a typo from the last PR, and add additional test files to check Bundler::Plugin#list
| * implement command `bundle plugin list`fotanus2017-05-301-0/+20
| |
* | Allow the user to set alternative to ~/.bundleGreg Werbin2017-09-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recognize new environment variables, with the following fallbacks: $BUNDLE_USER_HOME -> $HOME/.bundle $BUNDLE_USER_CACHE -> $BUNDLE_USER_HOME/cache $BUNDLE_USER_CONFIG -> $BUNDLE_USER_HOME/config $BUNDLE_USER_PLUGIN -> $BUNDLE_USER_HOME/plugin TODOs: - Error handling in Bundler.user_bundle_path when an invalid option is passed - Add tests (see https://github.com/bundler/bundler/pull/5787/commits/47fbe99387fea73fa652ad6692349b24cad6fe2e) - Draft PR with reference to GitHub issue numbers (not linked here as per contributing guidelines) + Issue: 4333 + Pull request: 5787
* | [RuboCop] Enable Layout/EmptyLineAfterMagicComment copKoichi ITO2017-07-161-0/+1
|/
* Account for differing behavior in hash#select between 1.8.7 and 1.9.3+Kerri Miller2017-03-171-1/+1
|
* .map -> .each, as we are not using return valueKerri Miller2017-03-161-1/+1
|
* Only uninstall plugins that we attempted to install.Kerri Miller2017-03-161-1/+5
| | | | | | | | | | | | | | Previously, when encountering any kind of exception when installing or registering a plugin, we would uninstall _everything_ in `specs`, which included not just every installed plugin but Bundler itself :scream: This patch prevents this from happening, by only attempting to delete code that is a) part of the installation attempt and b) NOT a currently registered command. This second restriction is to avoid a broken state, in the case where we attempt to install the same plugin twice. In that case, if we uninstall the code for the plugin, but leave the command registered, this causes attempts to reinstall the plugin to fail, as the command is still in the registry, and attempts to USE the command will fail because the code behind it has beendestroyed.
* Use `require` instead of `autoload` for bundler/plugin/apiCode Ass2016-09-161-1/+1
|
* [Plugin] Don’t print GemfileErrors twiceseg-resolve-for-specific-platformsSamuel Giddins2016-08-251-1/+3
|
* Add FeatureFlag classseg-feature-flagSamuel Giddins2016-08-181-1/+1
| | | | | | Main use will be code showing what is true setting vs what is flagged Also can be used to develop for future major versions without needing a separate dev branch
* Indenting the backtrace on plugin errorAsutosh Palai2016-08-161-1/+1
|
* Added plugin feature flag for hookAsutosh Palai2016-08-161-0/+2
|
* Added doc commentsAsutosh Palai2016-08-161-0/+8
|
* Added passing blocks to hooksAsutosh Palai2016-08-161-3/+3
|
* Incorporated suggestionsAsutosh Palai2016-08-161-24/+21
|
* Added specs for hooksAsutosh Palai2016-08-161-1/+2
|
* Hooks implementationAsutosh Palai2016-08-161-1/+22
|
* Added integration specs for app level pluginAsutosh Palai2016-07-211-1/+1
|
* Adding app index for pluginAsutosh Palai2016-07-211-2/+26
|
* Fixed hard coded load path for pluginsAsutosh Palai2016-07-031-20/+29
|
* Addind the plugin lib path to load_pathAsutosh Palai2016-07-031-0/+9
|
* Minor doc editsAsutosh Palai2016-07-031-5/+9
|
* Added cachingAsutosh Palai2016-07-031-3/+8
|
* Fixed plugin install order for 1.8.7Asutosh Palai2016-07-031-6/+7
|
* lockfile plugin version shift and inferred_pluginAsutosh Palai2016-07-031-3/+3
|
* Few correction from suggestionsAsutosh Palai2016-07-031-6/+6
|
* Added unit spec for plugin classAsutosh Palai2016-07-031-1/+1
|
* Added doc for sourceAsutosh Palai2016-07-031-2/+2
|
* Made the auto added source plugins optionalAsutosh Palai2016-07-031-8/+16
|
* Added spec for unlockingAsutosh Palai2016-07-031-1/+1
|
* Formatting and doc stringsAsutosh Palai2016-07-031-25/+31
|
* Fixed converging of specsAsutosh Palai2016-07-031-2/+2
|
* Added lockingAsutosh Palai2016-07-031-0/+9
|
* Brought upto speed with plugin branchAsutosh Palai2016-07-031-47/+15
|
* A base for source pluginAsutosh Palai2016-07-031-0/+50
|
* Added plugin install support for inline GemfileAsutosh Palai2016-06-091-2/+15
|
* Fixes for failing specs for older ruby versionAsutosh Palai2016-06-081-2/+2
|
* Added spec for multiple plugin installAsutosh Palai2016-06-071-3/+3
|
* Multiple plugins to be installed by cli installAsutosh Palai2016-06-071-16/+19
|
* Minor correctionsAsutosh Palai2016-06-071-1/+1
|
* Using module_function in Plugin moduleAsutosh Palai2016-06-071-99/+101
|
* Added unit test form plugin moduleAsutosh Palai2016-06-071-2/+6
|
* Added a few Error classesAsutosh Palai2016-06-071-2/+5
|
* Fixed the issues raised in commentsAsutosh Palai2016-06-061-9/+9
|
* Fixed the mistakes pointed outAsutosh Palai2016-05-311-1/+1
|
* Added spec for plugin apiAsutosh Palai2016-05-311-1/+3
|
* Few cosmetic changes and doc commentsAsutosh Palai2016-05-311-4/+11
|
* Added the command pluginAsutosh Palai2016-05-311-4/+37
|