Module: Relaton::Ietf
- Defined in:
- lib/relaton/ietf.rb,
lib/relaton/ietf/ext.rb,
lib/relaton/ietf/item.rb,
lib/relaton/ietf/util.rb,
lib/relaton/ietf/bibdata.rb,
lib/relaton/ietf/bibitem.rb,
lib/relaton/ietf/doctype.rb,
lib/relaton/ietf/scraper.rb,
lib/relaton/ietf/version.rb,
lib/relaton/ietf/relation.rb,
lib/relaton/ietf/item_base.rb,
lib/relaton/ietf/item_data.rb,
lib/relaton/ietf/processor.rb,
lib/relaton/ietf/rfc/entry.rb,
lib/relaton/ietf/rfc/index.rb,
lib/relaton/ietf/rfc/author.rb,
lib/relaton/ietf/rfc/format.rb,
lib/relaton/ietf/rfc/is_also.rb,
lib/relaton/ietf/bibliography.rb,
lib/relaton/ietf/data_fetcher.rb,
lib/relaton/ietf/rfc/abstract.rb,
lib/relaton/ietf/rfc/keywords.rb,
lib/relaton/ietf/bibxml_parser.rb,
lib/relaton/ietf/rfc/entry_date.rb,
lib/relaton/ietf/wg_name_resolver.rb,
lib/relaton/ietf/processing_instructions.rb,
lib/relaton/ietf/rfc/rfc_index_namespace.rb
Defined Under Namespace
Modules: BibXMLParser, Bibliography, Rfc, Scraper, Util, WgNameResolver Classes: Bibdata, Bibitem, DataFetcher, Doctype, Ext, Item, ItemBase, ItemData, ProcessingInstructions, Processor, Relation
Constant Summary collapse
- INDEXFILE =
"index-v1".freeze
- VERSION =
"2.1.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
20 21 22 23 24 25 |
# File 'lib/relaton/ietf.rb', line 20 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 Relaton::Ietf::VERSION + Relaton::Bib::VERSION # grammars end |