relaton-bib 1.14.0 → 1.14.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fbae7bc96bcecd3287ff80420521dc68077b8379e0a901bfff6fc68eeb401abb
4
- data.tar.gz: ad35e800b40a3ad78d645bba084f4d0cc27ab492b15c2438282aeff2401b7a08
3
+ metadata.gz: 737ba2114b24020ae8ff872d210b8b49e3327306d6574ec124b4951e83391545
4
+ data.tar.gz: 22a5b6f6f0446edab9500ca51e3aa5dc55644a530476fe84d0b5d66f4955feba
5
5
  SHA512:
6
- metadata.gz: c28d3f0f63f6dd545fd74f54872425031137c2b40ae10f0e10512ff7651bba9321ff8602785e1a52941c072e26f61917d14aae99ca4a141adc678da522655516
7
- data.tar.gz: a4c21ab249c4993278cef4d3b63f7179fc1b5902752642cdcacb308f987efe67c558cdad97466c1955ceb8bbe016caac1301d3efd9d230c773b51f2a0d75a69d
6
+ metadata.gz: 6f93e407ad0fceea997a9b4565f9e54edf4e2abb6d83e13c3e6f98a5d194dca9782f1772d232f3054941c3cbfc52f3ef5fcba3362860745b18d9875278acd942
7
+ data.tar.gz: 22925839d4ad765bc233952991e5b5bf5864f7e925e6da90ad5d9c5b4bcebf68eec604fe3ffafab7acf46ff1e63b9c043baa8cbf0ee920bbf9fb8c833f417819
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "1.14.0".freeze
2
+ VERSION = "1.14.1".freeze
3
3
  end
data/lib/relaton_bib.rb CHANGED
@@ -79,6 +79,13 @@ module RelatonBib
79
79
  end
80
80
  end
81
81
 
82
+ def self.grammar_hash
83
+ gem_path = File.expand_path "..", __dir__
84
+ grammars_path = File.join gem_path, "grammars", "*"
85
+ grammars = Dir[grammars_path].sort.map { |gp| File.read gp }.join
86
+ Digest::MD5.hexdigest grammars
87
+ end
88
+
82
89
  private
83
90
 
84
91
  # @param array [Array]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-bib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-02 00:00:00.000000000 Z
11
+ date: 2022-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug