Sha256: f5d8c3dc77ffc049a05ff0f886e09b22aeb7ed529070b5e4cbb56cb3b0f01e4c
Contents?: true
Size: 531 Bytes
Versions: 3
Compression:
Stored size: 531 Bytes
Contents
require 'baldwin/version' module Baldwin autoload :Installer, 'baldwin/installer' RAILS_DIRNAME = 'spec/rails' RAILS_PATTERN = "#{RAILS_DIRNAME}/rails-*" def self.env! require 'rails/version' ENV[ 'BALDWIN_RAILS_NAME' ] = "rails-#{Rails::VERSION::STRING}" ENV[ 'BALDWIN_RAILS_PATH' ] = "#{RAILS_DIRNAME}/#{ENV[ 'BALDWIN_RAILS_NAME' ]}" end def self.root Pathname.new Dir.pwd end def self.rails root.join ENV[ 'BALDWIN_RAILS_PATH' ] end def self.apps Dir[ RAILS_PATTERN ] end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
baldwin-0.2.5 | lib/baldwin.rb |
baldwin-0.2.4 | lib/baldwin.rb |
baldwin-0.2.3 | lib/baldwin.rb |