module Bimble

Constants

VERSION

Public Class Methods

bundle_update() click to toggle source
# File lib/bimble/bundler.rb, line 3
def self.bundle_update
  if File.exists?("Gemfile")
    Bundler.with_clean_env do
      puts `sh -c "BUNDLE_IGNORE_CONFIG=true bundle update"`
    end
  end
end
create(strategy, options) click to toggle source
# File lib/bimble/factory.rb, line 3
def self.create(strategy, options)
  case strategy
  when :clone
    Bimble::GitStrategy::Clone.new(options[:git_url], options[:github_oauth_token])
  when :github_api
    Bimble::GitStrategy::GithubApi.new(options[:git_url], options[:github_oauth_token])
  end
end