Sha256: b184ff6c56f9c6bee7e244cb8548e1d32b7d19c28600a121e74998803ecaec09

Contents?: true

Size: 1.14 KB

Versions: 6

Compression:

Stored size: 1.14 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"
["Environment","Hash","SystemCall"].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

6 entries across 6 versions & 1 rubygems

Version Path
dev-1.0.133 lib/dev.rb
dev-1.0.132 lib/dev.rb
dev-1.0.131 lib/dev.rb
dev-1.0.130 lib/dev.rb
dev-1.0.129 lib/dev.rb
dev-1.0.128 lib/dev.rb