Sha256: dadb3e6ffa01e41a1987227384bcb5b1898db38749b9672351dba1106f090d65

Contents?: true

Size: 802 Bytes

Versions: 15

Compression:

Stored size: 802 Bytes

Contents

require "digest/md5"
require "yaml"
require "relaton_bib"
require "relaton_ieee/version"
require "relaton_ieee/ieee_bibliography"
require "relaton_ieee/hit_collection"
require "relaton_ieee/hit"
require "relaton_ieee/scrapper"
require "relaton_ieee/ieee_bibliographic_item"
require "relaton_ieee/committee"
require "relaton_ieee/xml_parser"
require "relaton_ieee/bibxml_parser"
require "relaton_ieee/hash_converter"
require "relaton_ieee/data_fetcher"

module RelatonIeee
  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

15 entries across 15 versions & 1 rubygems

Version Path
relaton-ieee-1.12.4 lib/relaton_ieee.rb
relaton-ieee-1.12.3 lib/relaton_ieee.rb
relaton-ieee-1.12.2 lib/relaton_ieee.rb
relaton-ieee-1.12.1 lib/relaton_ieee.rb
relaton-ieee-1.12.0 lib/relaton_ieee.rb
relaton-ieee-1.11.3 lib/relaton_ieee.rb
relaton-ieee-1.11.2 lib/relaton_ieee.rb
relaton-ieee-1.11.1 lib/relaton_ieee.rb
relaton-ieee-1.11.0 lib/relaton_ieee.rb
relaton-ieee-1.10.2 lib/relaton_ieee.rb
relaton-ieee-1.10.1 lib/relaton_ieee.rb
relaton-ieee-1.10.0 lib/relaton_ieee.rb
relaton-ieee-1.9.4 lib/relaton_ieee.rb
relaton-ieee-1.9.3 lib/relaton_ieee.rb
relaton-ieee-1.9.2 lib/relaton_ieee.rb