Sha256: bc246de2a9899ddf4ac5f7ec2b6f741b46cf740b4e611fc40a91c98d21e37186
Contents?: true
Size: 1.53 KB
Versions: 3
Compression:
Stored size: 1.53 KB
Contents
# 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 '../..', __FILE__ end def self.version File.read(self.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 'require_all' #require_all './' , 'media/' #require_all 'lib/**/*.rb' #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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
storazzo-0.4.10 | lib/storazzo.rb |
storazzo-0.4.9 | lib/storazzo.rb |
storazzo-0.4.5 | lib/storazzo.rb |