Sha256: 331608d39fedc6aacfdf327a3c7c300e47f59141aecbde5f8d0dd1e78543faa9
Contents?: true
Size: 972 Bytes
Versions: 52
Compression:
Stored size: 972 Bytes
Contents
$:.unshift File.dirname(__FILE__) require "yaml" require "fileutils" module Sprockets class << self def running_on_windows? RUBY_PLATFORM =~ /(win|w)32$/ end def absolute?(location) same_when_expanded?(location) || platform_absolute_path?(location) end protected def same_when_expanded?(location) location[0, 1] == File.expand_path(location)[0, 1] end def platform_absolute_path?(location) false end if Sprockets.running_on_windows? def platform_absolute_path?(location) location[0, 1] == File::SEPARATOR && File.expand_path(location) =~ /[A-Za-z]:[\/\\]/ end end end end require "sprockets/version" require "sprockets/error" require "sprockets/environment" require "sprockets/pathname" require "sprockets/source_line" require "sprockets/source_file" require "sprockets/concatenation" require "sprockets/preprocessor" require "sprockets/secretary"
Version data entries
52 entries across 51 versions & 5 rubygems