0.0
No commit activity in last 3 years
No release in over 3 years
Bundler patches for Jets
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Jets Bundler

Bundler extensions for Jets.

#component method

Source

This helper method is used to define a component (engine) as a dependency when using a shared Gemfile.lock for all engines.

It does the following three things:

  • Define the comoponent as a dependency for :default and its own named group (gem "component", path: "engines/component", group: [ :default, :component ]).
  • Loads the component's Gemfile.runtime if any to the same groups (eval_gemfile "engines/component/Gemfile.runtime).
  • Adds all development dependencies from the component.gemspec only to the component group (gem "dev-dep", group: [:component])

#eval_gemfile patch

Source

This patch helps to avoid Bundler warnings regarding duplicate gems. It checks whether a Gemfile has already been included and skip it, if so.