Sha256: 6f4b0dccb45b6e07b10e07c1611127bdb87beb6cbb35900cdfc7e41a3f9337e8

Contents?: true

Size: 608 Bytes

Versions: 15

Compression:

Stored size: 608 Bytes

Contents

require "relaton_iso_bib"
require "relaton_iec/hit"
require "nokogiri"
require "net/http"
require "relaton_iec/version"
require "relaton_iec/iec_bibliography"
require "relaton_iec/iec_bibliographic_item"
require "relaton_iec/xml_parser"
require "relaton_iec/hash_converter"
require "digest/md5"

module RelatonIec
  # 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 & 2 rubygems

Version Path
relaton-iec-1.7.5 lib/relaton_iec.rb
relaton-iec-1.7.4 lib/relaton_iec.rb
relaton-iec-1.7.3 lib/relaton_iec.rb
relaton-iec-1.7.2 lib/relaton_iec.rb
relaton-iec-1.7.1 lib/relaton_iec.rb
relaton-iec-1.7.0 lib/relaton_iec.rb
relaton-iec-1.6.0 lib/relaton_iec.rb
relaton-iec-1.6.pre1 lib/relaton_iec.rb
relaton-iec-1.5.0 lib/relaton_iec.rb
relaton-iec-1.5.pre lib/relaton_iec.rb
relaton-iec-1.4.0 lib/relaton_iec.rb
relaton-iec-1.3.0 lib/relaton_iec.rb
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/relaton-iec-1.2.0/lib/relaton_iec.rb
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/relaton-iec-1.2.0/lib/relaton_iec.rb
relaton-iec-1.2.0 lib/relaton_iec.rb