Sha256: 833ee5a9dd5606ce446335700806dc8c34d2572dd5bbc716beccc13e14eef1e9

Contents?: true

Size: 838 Bytes

Versions: 8

Compression:

Stored size: 838 Bytes

Contents

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

require "bundler/setup"
require "dotenv/load"
require "notion-ruby-client"

# 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

require "irb"

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

IRB.start(__FILE__)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
notion-ruby-client-1.2.2 bin/console
notion-ruby-client-1.2.1 bin/console
notion-ruby-client-1.2.0 bin/console
notion-ruby-client-1.1.0 bin/console
notion-ruby-client-1.0.0 bin/console
notion-ruby-client-1.0.0.pre.beta2 bin/console
notion-ruby-client-1.0.0.pre.beta1 bin/console
notion-ruby-client-0.1.0.pre.beta1 bin/console