Sha256: e34fb284db20d16deb92e249bb78e9f12a07d710fa502ee0e47300a8e2651ce8
Contents?: true
Size: 749 Bytes
Versions: 3
Compression:
Stored size: 749 Bytes
Contents
require "nokogiri" require "open-uri" require "yaml" require "relaton/index" require "relaton_bib" require "relaton_ecma/version" require "relaton_ecma/util" require "relaton_ecma/bibliographic_item" require "relaton_ecma/xml_parser" require "relaton_ecma/hash_converter" require "relaton_ecma/ecma_bibliography" require "relaton_ecma/data_fetcher" require "relaton_ecma/data_parser" module RelatonEcma # Returns hash of XML reammar # @return [String] def self.grammar_hash # gem_path = File.expand_path "..", __dir__ # grammars_path = File.join gem_path, "grammars", "*" # grammars = Dir[grammars_path].sort.map { |gp| File.read gp }.join Digest::MD5.hexdigest RelatonEcma::VERSION + RelatonBib::VERSION # grammars end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
relaton-ecma-1.20.0 | lib/relaton_ecma.rb |
relaton-ecma-1.19.1 | lib/relaton_ecma.rb |
relaton-ecma-1.19.0 | lib/relaton_ecma.rb |