summaryrefslogtreecommitdiff
path: root/lib/bundler/dsl.rb
Commit message (Collapse)AuthorAgeFilesLines
* Don't set platforms to dependency registered by gemspecSutou Kouhei2020-01-151-2/+1
| | | | | | | | | Platform related dependencies are resolved in Resolver now. So we don't need to register all available platforms explicitly. This reverts commit 0a8ca4879e0b79aa4109a0dc424940b079ef38d0. See also: #4150 and #4102
* Only untaint strings on Ruby <2.7Jeremy Evans2019-10-181-1/+1
| | | | | | | | Ruby 2.7 deprecates taint and it no longer has an effect. This attempts to leave the behavior the same on older Ruby versions, but avoid the use of untaint on Ruby 2.7+. See https://bugs.ruby-lang.org/issues/16131 for details.
* Bundler displays a duplicate gem entries warning even if gems only appear ↵David Stosik2019-08-151-1/+1
| | | | once per group
* Fully switch to https sourceshttps_sourcesDavid Rodríguez2019-04-241-6/+1
|
* Prefer `require_relative` for internal requiresDavid Rodríguez2019-04-191-2/+2
| | | | | | | | Due to the way rubygems monkey-patched require interacts with default gems, and given that bundler is a default gem, and that bundler manipulates the LOAD_PATH in very intricated ways, we can reduce the risk of "leaking" to a different copy of `bundler` by using `require_relative` for internal requires.
* Strip unknown regexp option line from error formatTakashi Kokubun2019-03-141-1/+1
|
* Don't commit to a deprecation horizonDavid Rodríguez2019-03-121-1/+1
| | | | | Bundler 3.0 was incorrect according to the new plan of migrating to https sources first, and then removing custom sources.
* Get the final spec about DSL sources passingDavid Rodríguez2019-03-121-1/+1
| | | | | For now, warn only users that are opting out that the setting will be removed in the future.
* Delay custom sources deprecation to bundler 3David Rodríguez2019-03-121-2/+2
| | | | And thus its removal even further.
* Remove messy TODO commentsDavid Rodríguez2019-03-121-17/+0
| | | | | | Classic problem: comments do not get as curated as code, so they no longer make sense. I prefer to remove them and try to keep the code self-explaining and in good shape instead.
* Move `rescue Exception` exceptions inlineDavid Rodríguez2019-03-041-1/+1
|
* Fully enable some dependent Layout copsDavid Rodríguez2019-03-041-4/+4
| | | | | | These cops leave weird styling if enabled separately, but do what you want if enabled all together. So fix all remaining style issues for them at once.
* Use newest interface to `bundle config` everywhereDavid Rodríguez2019-02-191-2/+2
|
* add feature flag to use https for :git in the dslcolby/git-https-defaultColby Swandale2018-11-251-1/+1
|
* Extract injected gems into const variableAgrim Mittal2018-07-021-3/+2
|
* Update message based on dep requirementAgrim Mittal2018-07-021-2/+8
|
* Fix failing specsAgrim Mittal2018-07-021-4/+10
|
* Add failing tests for install command and fix error message for addAgrim Mittal2018-07-021-10/+7
|
* Add tests for version specificationsAgrim Mittal2018-07-021-2/+2
|
* Separate conditions for version specificationAgrim Mittal2018-07-021-4/+10
|
* Update message descriptionAgrim Mittal2018-07-021-1/+1
|
* Update error message on bundle add in case of duplicationAgrim Mittal2018-07-021-1/+2
|
* Add gemfile method to dependencyAgrim Mittal2018-06-281-1/+2
|
* Moved remove_gems to Injector and update some regexAgrim Mittal2018-06-281-19/+0
|
* Rearrange remove functions to injectorAgrim Mittal2018-06-281-1/+1
|
* Add support for mutiple gems and add failing specsAgrim Mittal2018-06-281-8/+14
|
* Add remove class and related functionsAgrim Mittal2018-06-281-0/+13
|
* improve rubocop_todo.ymlKeiji Yoshimi2017-09-241-3/+1
| | | | | | | | | | | | | | - Style/EmptyLinesAroundExceptionHandlingKeywords - Style/SpaceAroundOperators - Style/SpaceInsideBlockBraces - Lint/DuplicateMethods - Lint/Void - Style/IfUnlessModifier - Style/MixinGrouping - Style/NestedParenthesizedCalls - Style/OrAssignment - Style/RedundantParentheses - Style/TernaryParentheses
* Ensure deprecations become a hard error in Bundler 2Samuel Giddins2017-08-201-5/+5
|
* [Env] Print all gemfiles that have been evaledseg-env-eval-gemfileSamuel Giddins2017-07-271-3/+5
|
* add more clear error message for user when adding a gem in the Gemfile with ↵colby/gem-empty-name-validationColby Swandale2017-07-251-0/+3
| | | | an empty name
* [RuboCop] Enable Layout/EmptyLineAfterMagicComment copKoichi ITO2017-07-161-0/+1
|
* [DSL] Remove default git sources on 2.0seg-no-default-git-sourcesSamuel Giddins2017-06-281-0/+3
|
* Fix plugin installation when the plugin depends upon BundlerSamuel Giddins2017-06-231-1/+1
|
* Get the Bundler 2 specs passing with transitive source pinningSamuel Giddins2017-06-231-5/+9
|
* Implement source pinning for 2.0Samuel Giddins2017-06-231-3/+16
|
* Disable mutisource gemfiles by default on 2.0Samuel Giddins2017-06-231-2/+1
|
* [DSL] Deprecate the github source for 2.0seg-deprecate-github-git-sourceSamuel Giddins2017-06-141-15/+24
|
* [RuboCop] Enable Style/PercentLiteralDelimitersKoichi ITO2017-05-281-4/+4
| | | | Run `rubocop -a --only Style/PercentLiteralDelimiters` and `rubocop --auto-gen-config`.
* Replace Github with GitHubKoichi ITO2017-04-251-1/+1
|
* use guard clause instead of big conditional if expressionColby Swandale2017-04-171-14/+14
|
* use yield when calling a block with no argumentsColby Swandale2017-04-171-2/+2
|
* move list of dsl valid keys to constantColby Swandale2017-04-171-1/+4
|
* fix whitespaceColby Swandale2017-04-171-2/+2
|
* handle option handling in `group` just like `gem` and `source`Colby Swandale2017-04-161-3/+3
|
* normalize `source` in all cases for 'source' declaractionColby Swandale2017-04-161-2/+2
|
* remove duplicate code replacing existing dep with a development depColby Swandale2017-04-161-6/+4
|
* fix using branch with git_source with specColby Swandale2017-04-081-1/+2
|
* move validation into #validate_keysColby Swandale2017-04-041-4/+5
|
* print an error message when a non-git gem is given a `branch` optionColby Swandale2017-04-031-0/+4
|