Sha256: 917e55c0f0985ec75040aa4171d9a100569117ac31ee47b0bd6c42f2f53d284c
Contents?: true
Size: 518 Bytes
Versions: 4
Compression:
Stored size: 518 Bytes
Contents
$:.unshift File.expand_path("../..", __FILE__) require 'simplecov' SimpleCov.start do add_group 'XmlSitemap', 'lib/xml-sitemap' end require 'digest' require 'xml-sitemap' def fixture_path File.expand_path("../fixtures", __FILE__) end def fixture(file) File.read(File.join(fixture_path, file)) end def checksum(content) Digest::SHA1.hexdigest(content) end def gunzip(path) contents = nil File.open(path) do |f| gz = Zlib::GzipReader.new(f) contents = gz.read gz.close end contents end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
xml-sitemap-1.2.2 | spec/spec_helper.rb |
xml-sitemap-1.2.1 | spec/spec_helper.rb |
xml-sitemap-1.2.0 | spec/spec_helper.rb |
xml-sitemap-1.1.3 | spec/spec_helper.rb |