Module: Relaton::Iso
- Defined in:
- lib/relaton/iso.rb,
lib/relaton/iso/hit.rb,
lib/relaton/iso/util.rb,
lib/relaton/iso/queue.rb,
lib/relaton/iso/scraper.rb,
lib/relaton/iso/version.rb,
lib/relaton/iso/item_data.rb,
lib/relaton/iso/model/ext.rb,
lib/relaton/iso/processor.rb,
lib/relaton/iso/model/item.rb,
lib/relaton/iso/bibliography.rb,
lib/relaton/iso/data_fetcher.rb,
lib/relaton/iso/model/bibdata.rb,
lib/relaton/iso/model/bibitem.rb,
lib/relaton/iso/model/doctype.rb,
lib/relaton/iso/hash_parser_v1.rb,
lib/relaton/iso/hit_collection.rb,
lib/relaton/iso/model/relation.rb,
lib/relaton/iso/model/item_base.rb,
lib/relaton/iso/model/stagename.rb,
lib/relaton/iso/model/contributor.rb,
lib/relaton/iso/model/organization.rb,
lib/relaton/iso/model/docidentifier.rb,
lib/relaton/iso/model/project_number.rb,
lib/relaton/iso/model/contributor_info.rb,
lib/relaton/iso/model/structured_identifier.rb
Defined Under Namespace
Modules: Bibliography, HashParserV1, Util Classes: Bibdata, Bibitem, Contributor, ContributorInfo, DataFetcher, Docidentifier, Doctype, Ext, Hit, HitCollection, Item, ItemBase, ItemData, Organization, Processor, ProjectNumber, Queue, Relation, Scraper, Stagename, StructuredIdentifier
Constant Summary collapse
- INDEXFILE =
"index-v1"- VERSION =
"2.1.0"
Class Method Summary collapse
Class Method Details
.grammar_hash ⇒ Object
23 24 25 26 27 28 |
# File 'lib/relaton/iso.rb', line 23 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, encoding: "UTF-8" }.join Digest::MD5.hexdigest VERSION + Bib::VERSION # grammars end |