Sha256: 7f8b0ef3069f1ad60c7a526ef055583315b402485e31bbf3a9c6356a6dc16a6f

Contents?: true

Size: 714 Bytes

Versions: 11

Compression:

Stored size: 714 Bytes

Contents

require "relaton_iso_bib"
require "relaton_calconnect/version"
require "relaton_calconnect/cc_bibliography"
require "relaton_calconnect/hit_collection"
require "relaton_calconnect/hit"
require "relaton_calconnect/scrapper"
require "relaton_calconnect/cc_bibliographic_item"
require "relaton_calconnect/xml_parser"
require "relaton_calconnect/hash_converter"

module RelatonCalconnect
  class Error < StandardError; end

  # 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 grammars
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
relaton-calconnect-1.1.0 lib/relaton_calconnect.rb
relaton-calconnect-1.0.1 lib/relaton_calconnect.rb
relaton-calconnect-1.0.0 lib/relaton_calconnect.rb
relaton-calconnect-0.7.0 lib/relaton_calconnect.rb
relaton-calconnect-0.6.1 lib/relaton_calconnect.rb
relaton-calconnect-0.6.0 lib/relaton_calconnect.rb
relaton-calconnect-0.5.0 lib/relaton_calconnect.rb
relaton-calconnect-0.4.0 lib/relaton_calconnect.rb
relaton-calconnect-0.3.0 lib/relaton_calconnect.rb
relaton-calconnect-0.2.1 lib/relaton_calconnect.rb
relaton-calconnect-0.2.0 lib/relaton_calconnect.rb