Sha256: 4ee662bca440002788ceb8bb4a6d70dd75f920c5c85e4c9da9f2a73155dd3c12
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
Contents
require 'rubygems' Encoding.default_external=Encoding::UTF_8 Encoding.default_internal=Encoding::UTF_8 if !RUBY_PLATFORM.include?("darwin") begin require 'rainbow' rescue puts "require 'rainbow' threw an exception" end else puts "skipping rainbow on mac os" class String def foreground arg return self end def bright return self end end end require 'semver' # if DEV_DEBUG is defined, puts_debug will send message to the console def puts_debug msg if(defined?(DEV_DEBUG)) puts msg end end # if DEV_DEBUG_VERBOSE is defined, puts_debug_verbose will send message to the console def puts_debug_verbose msg if(defined?(DEV_DEBUG_VERBOSE)) puts msg end end puts_debug "read " + __FILE__.foreground(:green) #require "#{File.dirname(__FILE__)}/dev/Environment.rb" #require "#{File.dirname(__FILE__)}/dev/Hash.rb" #require "#{File.dirname(__FILE__)}/dev/SystemCall.rb" ["Tasks","Environment","Hash","SystemCall","Database"].each{ |f| require "#{File.dirname(__FILE__)}/dev/#{f}.rb" } Dir["#{File.dirname(__FILE__)}/dev/**/*.rb"].each{ |f| require f } DEV_ROOT=Dev::Environment.dev_root
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dev-1.0.145 | lib/dev.rb |
dev-1.0.144 | lib/dev.rb |