Module: RelatonItu
- Defined in:
- lib/relaton_itu.rb,
lib/relaton_itu/hit.rb,
lib/relaton_itu/util.rb,
lib/relaton_itu/pubid.rb,
lib/relaton_itu/version.rb,
lib/relaton_itu/scrapper.rb,
lib/relaton_itu/itu_group.rb,
lib/relaton_itu/processor.rb,
lib/relaton_itu/xml_parser.rb,
lib/relaton_itu/data_fetcher.rb,
lib/relaton_itu/data_parser_r.rb,
lib/relaton_itu/document_type.rb,
lib/relaton_itu/hash_converter.rb,
lib/relaton_itu/hit_collection.rb,
lib/relaton_itu/editorial_group.rb,
lib/relaton_itu/itu_bibliography.rb,
lib/relaton_itu/structured_identifier.rb,
lib/relaton_itu/itu_bibliographic_item.rb
Defined Under Namespace
Modules: DataParserR, HashConverter, ItuBibliography, Scrapper, Util Classes: DataFetcher, DocumentType, EditorialGroup, Error, Hit, HitCollection, ItuBibliographicItem, ItuGroup, Processor, Pubid, StructuredIdentifier, XMLParser
Constant Summary collapse
- VERSION =
"1.20.0".freeze
Class Method Summary collapse
-
.grammar_hash ⇒ String
Returns hash of XML reammar.
Class Method Details
.grammar_hash ⇒ String
Returns hash of XML reammar
19 20 21 22 23 24 |
# File 'lib/relaton_itu.rb', line 19 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 RelatonItu::VERSION + RelatonBib::VERSION # grammars end |