Sha256: 5b3710171c9a7c5f698733bbe35faa2a5d927b1cd13261a9a90af13e98a9ba0d

Contents?: true

Size: 742 Bytes

Versions: 20

Compression:

Stored size: 742 Bytes

Contents

#!/usr/bin/env ruby

require "bundler/setup"
require "chronicle/etl"

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.

# (If you use this, don't forget to add pry to your Gemfile!)
require "pry"
Pry.start

def reload!(print = true)
  puts 'Reloading ...' if print
  # Main project directory.
  root_dir = File.expand_path('..', __dir__)
  # Directories within the project that should be reloaded.
  reload_dirs = %w{lib}
  # Loop through and reload every file in all relevant project directories.
  reload_dirs.each do |dir|
    Dir.glob("#{root_dir}/#{dir}/**/*.rb").each { |f| load(f) }
  end
  # Return true when complete.
  true
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
chronicle-etl-0.5.5 bin/console
chronicle-etl-0.5.4 bin/console
chronicle-etl-0.5.3 bin/console
chronicle-etl-0.5.2 bin/console
chronicle-etl-0.5.1 bin/console
chronicle-etl-0.5.0 bin/console
chronicle-etl-0.4.4 bin/console
chronicle-etl-0.4.3 bin/console
chronicle-etl-0.4.2 bin/console
chronicle-etl-0.4.1 bin/console
chronicle-etl-0.4.0 bin/console
chronicle-etl-0.3.1 bin/console
chronicle-etl-0.3.0 bin/console
chronicle-etl-0.2.4 bin/console
chronicle-etl-0.2.3 bin/console
chronicle-etl-0.2.2 bin/console
chronicle-etl-0.2.1 bin/console
chronicle-etl-0.2.0 bin/console
chronicle-etl-0.1.4 bin/console
chronicle-etl-0.1.3 bin/console