renovate/lib/manager/bundler
renovate[bot] ccf286240e
chore(deps): update linters (major) (#6769)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-10 16:18:08 +02:00
..
__fixtures__ refactor(test): move manager tests to lib (#5300) 2020-02-05 01:14:31 +01:00
__snapshots__ feat(bundler): use renovate cache (#6289) 2020-05-20 16:08:07 +02:00
artifacts.spec.ts build(deps): update dependency simple-git to v2 (#6783) 2020-07-21 14:52:24 +02:00
artifacts.ts chore(deps): update linters (major) (#6769) 2020-08-10 16:18:08 +02:00
extract.spec.ts refactor: Separate 'git' and 'fs' util modules (#6665) 2020-07-03 16:47:00 +02:00
extract.ts refactor: Separate 'git' and 'fs' util modules (#6665) 2020-07-03 16:47:00 +02:00
gemfile.spec.ts refactor(test): move manager tests to lib (#5300) 2020-02-05 01:14:31 +01:00
host-rules.spec.ts chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
host-rules.ts feat(bundler): authentication support using hostRules (#5269) 2020-03-29 09:20:38 +02:00
index.ts chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
locked-version.spec.ts refactor(test): move manager tests to lib (#5300) 2020-02-05 01:14:31 +01:00
locked-version.ts chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
range.spec.ts feat(bundler): Allow setting different rangeStrategy (#6274) 2020-05-20 18:28:11 +02:00
range.ts feat(bundler): Allow setting different rangeStrategy (#6274) 2020-05-20 18:28:11 +02:00
readme.md docs: fix bundler auth readme 2020-03-30 21:23:50 +02:00
utils.ts refactor: Separate 'git' and 'fs' util modules (#6665) 2020-07-03 16:47:00 +02:00

The bundler manager is used to extract dependencies from Gemfile and Gemfile.lock files.

Authenticating private registry

If you need Bundler to authenticate with a private registry - and it's not the same host as your GitHub/GitLab/etc - then you should do so with hostRules and be sure to set the hostType value to be "bundler". e.g.

{
  "hostRules": [
    {
      "hostName": "private-registry.company.com",
      "hostType": "bundler",
      "token": "abc123"
    }
  ]
}

Important notes regarding the above:

hostType=bundler is essential. If the registry is used for multiple package types then you may need multiple hostRules. You cannot leave off hostType.

Instead of token, you may also supply username and password instead.

If you don't want to commit raw secrets to your repository, either:

  • If self hosting, add the hostRules to your bot's configuration file rather than the repository's configuration file, or
  • If using the hosted WhiteSource Renovate app, make use of the encrypted capability