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 +4 -4
- data/lib/relaton_bib/version.rb +1 -1
- data/lib/relaton_bib.rb +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 737ba2114b24020ae8ff872d210b8b49e3327306d6574ec124b4951e83391545
|
4
|
+
data.tar.gz: 22a5b6f6f0446edab9500ca51e3aa5dc55644a530476fe84d0b5d66f4955feba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f93e407ad0fceea997a9b4565f9e54edf4e2abb6d83e13c3e6f98a5d194dca9782f1772d232f3054941c3cbfc52f3ef5fcba3362860745b18d9875278acd942
|
7
|
+
data.tar.gz: 22925839d4ad765bc233952991e5b5bf5864f7e925e6da90ad5d9c5b4bcebf68eec604fe3ffafab7acf46ff1e63b9c043baa8cbf0ee920bbf9fb8c833f417819
|
data/lib/relaton_bib/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2022-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|