Sha256: 3465cc19afa7ef30a2c6770058a566ec18e88b6969bc73b9a0d8783d04962304

Contents?: true

Size: 511 Bytes

Versions: 8

Compression:

Stored size: 511 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'bundler/setup'
require 'gistory'
require 'pry'

root_path = "#{File.dirname(__FILE__)}/.."

# require all files in lib for quick access to them in the console
Dir["#{root_path}/lib/**/*.rb"].each { |file| require file }

def reload!
  verbosity = $VERBOSE
  begin
    $VERBOSE = nil
    files = $LOADED_FEATURES.select { |feat| feat =~ %r{/gistory/} }
    files.each { |file| load(file) }
  ensure
    $VERBOSE = verbosity
  end
  true
end

Pry.start

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gistory-0.1.8 bin/console
gistory-0.1.7 bin/console
gistory-0.1.6 bin/console
gistory-0.1.5 bin/console
gistory-0.1.4 bin/console
gistory-0.1.3 bin/console
gistory-0.1.2 bin/console
gistory-0.1.1 bin/console