Sha256: 3f9646643e2435d71c947004a436080e30355cb23455ea37831cf441b1b608d1
Contents?: true
Size: 913 Bytes
Versions: 2
Compression:
Stored size: 913 Bytes
Contents
require 'csv' require 'action_dispatch' require 'rails' require 'compass-rails' module ActiveList CSV = ::CSV # Build and returns a short UID def self.new_uid @@last_uid ||= 0 uid = @@last_uid.to_s(36).to_sym @@last_uid += 1 return uid end def self.version v = nil File.open(File.join(File.dirname(__FILE__), "..", "VERSION")) {|f| v = f.read.strip} return v end VERSION = self.version.freeze autoload :Helpers, 'active_list/helpers' autoload :Definition, 'active_list/definition' autoload :Renderers, 'active_list/renderers' autoload :Exporters, 'active_list/exporters' autoload :Generator, 'active_list/generator' autoload :ActionPack, 'active_list/action_pack' end unless "".respond_to? :dig class ::String def dig(depth = 1) return self.strip.gsub(/^/, ' ' * depth) + "\n" end end end require 'active_list/rails/engine'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active-list-5.0.1 | lib/active_list.rb |
active-list-5.0.0 | lib/active_list.rb |