Sha256: b3fe5ad8215ee83b66ef1bc622de64d225118259f2241f446fdad09cad2032d3
Contents?: true
Size: 899 Bytes
Versions: 2
Compression:
Stored size: 899 Bytes
Contents
# coding: utf-8 require 'fileutils' require 'jekyll' lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'jekyll-sass-converter' Jekyll.logger.log_level = Jekyll::Stevenson::ERROR RSpec.configure do |config| config.treat_symbols_as_metadata_keys_with_true_values = true config.run_all_when_everything_filtered = true config.filter_run :focus config.order = 'random' SOURCE_DIR = File.expand_path("../source", __FILE__) DEST_DIR = File.expand_path("../dest", __FILE__) FileUtils.rm_rf(DEST_DIR) FileUtils.mkdir_p(DEST_DIR) def source_dir(*files) File.join(SOURCE_DIR, *files) end def dest_dir(*files) File.join(DEST_DIR, *files) end def site_configuration(overrides = {}) Jekyll.configuration(overrides.merge({ "source" => source_dir, "destination" => dest_dir })) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-sass-converter-1.0.0 | spec/spec_helper.rb |
jekyll-sass-converter-1.0.0.rc4 | spec/spec_helper.rb |