Module: Pipely::Bundler

Defined in:
lib/pipely/bundler.rb,
lib/pipely/bundler/bundle.rb,
lib/pipely/bundler/project_gem.rb,
lib/pipely/bundler/gem_packager.rb

Overview

Module for packaging up a gem project and its dependencies, as they exist on your machine, for deployment.

None of this code is specific to AWS Data Pipelines, and it could be used anywhere else you want to an in-development gem with frozen dependencies.

Defined Under Namespace

Classes: Bundle, GemPackager, ProjectGem

Class Method Summary collapse

Class Method Details

.gem_files(vendor_dir = 'vendor/pipeline') ⇒ Object

List all the gems used in this project in the format:

{ name => path_to_cache_file }

For gems that are git- or path-sourced, it will first build a fresh cache file for the gem.



23
24
25
# File 'lib/pipely/bundler.rb', line 23

def self.gem_files(vendor_dir='vendor/pipeline')
  ProjectGem.load(vendor_dir).gem_files
end