Sha256: b660c82328f04439b61d02f9846b3459a35c8d1a8ec35fffaf1af38653c08492

Contents?: true

Size: 999 Bytes

Versions: 7

Compression:

Stored size: 999 Bytes

Contents

# Bundler (rubygem)

The bundler source will detect dependencies `Gemfile` and `Gemfile.lock` files are found at an apps `source_path`.  The source uses the `Bundler` API to enumerate dependencies from `Gemfile` and `Gemfile.lock`.

### Excluding gem groups

The bundler source determines which gem groups to include or exclude with the following logic, in order of precedence.
1. Include all groups specified in the Gemfile
2. Exclude all groups from the `without` bundler configuration (e.g. `.bundle/config`)
3. Include all groups from the `with` bundler configuration (e.g. `.bundle/config`)
4. Exclude all groups from the `without` licensed configuration (`:development` and `:test` if not otherwise specified)

`licensed` can be configured to override the default "without" development and test groups in the configuration file.

Strings and string arrays are both :+1:

```yml
rubygems:
  without: development
```

or

```yml
rubygems:
  without:
    - build
    - development
    - test
```

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
licensed-1.4.0 docs/sources/bundler.md
licensed-1.3.4 docs/sources/bundler.md
licensed-1.3.3 docs/sources/bundler.md
licensed-1.3.2 docs/sources/bundler.md
licensed-1.3.1 docs/sources/bundler.md
licensed-1.3.0 docs/sources/bundler.md
licensed-1.2.0 docs/sources/bundler.md