Sha256: e70f90f51817fe6f543e5b3f8901ab9c527ce44ad45deb1357c07df83b29b00c
Contents?: true
Size: 365 Bytes
Versions: 43
Compression:
Stored size: 365 Bytes
Contents
require 'kafo/version' module Kafo class ParserCacheWriter def self.write(modules) { :version => PARSER_CACHE_VERSION, :files => Hash[modules.sort.map { |m| write_module(m) }] } end def self.write_module(mod) [mod.identifier, {:data => mod.raw_data, :mtime => File.mtime(mod.manifest_path).to_i}] end end end
Version data entries
43 entries across 43 versions & 1 rubygems
Version | Path |
---|---|
kafo-0.9.6 | lib/kafo/parser_cache_writer.rb |
kafo-0.9.5 | lib/kafo/parser_cache_writer.rb |
kafo-0.9.4 | lib/kafo/parser_cache_writer.rb |