Sha256: 5ca24e5c806fc9328177982ddc05f73f7fb4a5c71ad666635bc7d53fd1821e3b

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

# frozen_string_literal: true

# Inspired from https://guides.rubygems.org/make-your-own-gem/#introduction

module Storazzo
  # VERSION = File.read('./VERSION').chomp # "10.0.0"
  # require 'storazzo/translator'

  def latest_parser_version
    '1.2'
  end

  # Finds RAILS_ROOT for Storazzo Gem. Copied from:
  # https://stackoverflow.com/questions/10132949/finding-the-gem-root
  def self.root
    File.expand_path '..', __dir__
  end

  def self.version
    File.read("#{root}/VERSION").chomp # "10.0.0"
  end

  #    alias_method :VERSION, :version
  def self.VERSION
    version
  end

  def self.storazzo_classes
    [42, 43]
  end
end

# nice to paste nice output
require 'pp'

# require_rel '.', 'media'
Dir["#{File.dirname(__FILE__)}/../lib/*.rb"].each do |file|
  puts "+ Requiring... #{file}"
  require File.basename(file, File.extname(file))
end

require 'storazzo'
require 'storazzo/common'
require 'storazzo/colors'
require 'storazzo/hashify'
require 'storazzo/ric_disk'          # NEW and will build from ground up using multiple files..
require 'storazzo/media/abstract_ric_disk'
require 'storazzo/media/gcs_bucket'
require 'storazzo/media/local_folder'
require 'storazzo/media/mount_point'
require 'storazzo/ric_disk_ugly'     # OLD and 90% working
require 'storazzo/ric_disk_config' # => RicDiskConfif
require 'storazzo/ric_disk_sample_config'   # => NOTHING!!
require 'storazzo/ric_disk_statsfile'
require 'storazzo/main'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
storazzo-0.6.1 lib/storazzo.rb