relaton 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/Gemfile.lock +15 -15
- data/lib/relaton/db.rb +2 -2
- data/lib/relaton/version.rb +1 -1
- data/relaton.gemspec +1 -1
- data/spec/spec_helper.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c281ae3a9f26d58a6dcbbcaf72695e12d82b94d21fac9e2d9f48c22f45dde8ba
|
|
4
|
+
data.tar.gz: 5be14c74aa6e9c82f07f93965893b007dea86ee11618627226464ae4b0664062
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8cab9858a0b366fb02a8f4c29e3a915c654a8b52f6942e25023ba0b85fe8a804cfa6e076af356f9325e0cb685dcde8dddcce26677bc70b091fd9ca9ee3ddf73
|
|
7
|
+
data.tar.gz: 94feed4599a25d9aa374c834a351d93263dd4ac11e37a3643daa244ee9229869b1aa48c4048b3a5a1dc83fe44ba38dec57224f190b270edb6b57b8daa0e1f92d
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
relaton (0.1.
|
|
4
|
+
relaton (0.1.5)
|
|
5
5
|
algoliasearch
|
|
6
6
|
gbbib (~> 0.2.1)
|
|
7
7
|
iso-bib-item (~> 0.2.3)
|
|
@@ -44,11 +44,11 @@ GEM
|
|
|
44
44
|
guard-compat (~> 1.1)
|
|
45
45
|
rspec (>= 2.99.0, < 4.0)
|
|
46
46
|
httpclient (2.8.3)
|
|
47
|
-
iso-bib-item (0.2.
|
|
47
|
+
iso-bib-item (0.2.4)
|
|
48
48
|
isoics (~> 0.1.6)
|
|
49
49
|
nokogiri (~> 1.8.4)
|
|
50
50
|
ruby_deep_clone (~> 0.8.0)
|
|
51
|
-
isobib (0.2.
|
|
51
|
+
isobib (0.2.2)
|
|
52
52
|
algoliasearch
|
|
53
53
|
iso-bib-item (~> 0.2.3)
|
|
54
54
|
isoics (0.1.6)
|
|
@@ -84,19 +84,19 @@ GEM
|
|
|
84
84
|
ffi (>= 0.5.0, < 2)
|
|
85
85
|
rfcbib (0.2.2)
|
|
86
86
|
iso-bib-item (~> 0.2.0)
|
|
87
|
-
rspec (3.
|
|
88
|
-
rspec-core (~> 3.
|
|
89
|
-
rspec-expectations (~> 3.
|
|
90
|
-
rspec-mocks (~> 3.
|
|
91
|
-
rspec-core (3.
|
|
92
|
-
rspec-support (~> 3.
|
|
93
|
-
rspec-expectations (3.
|
|
87
|
+
rspec (3.8.0)
|
|
88
|
+
rspec-core (~> 3.8.0)
|
|
89
|
+
rspec-expectations (~> 3.8.0)
|
|
90
|
+
rspec-mocks (~> 3.8.0)
|
|
91
|
+
rspec-core (3.8.0)
|
|
92
|
+
rspec-support (~> 3.8.0)
|
|
93
|
+
rspec-expectations (3.8.1)
|
|
94
94
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
95
|
-
rspec-support (~> 3.
|
|
96
|
-
rspec-mocks (3.
|
|
95
|
+
rspec-support (~> 3.8.0)
|
|
96
|
+
rspec-mocks (3.8.0)
|
|
97
97
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
98
|
-
rspec-support (~> 3.
|
|
99
|
-
rspec-support (3.
|
|
98
|
+
rspec-support (~> 3.8.0)
|
|
99
|
+
rspec-support (3.8.0)
|
|
100
100
|
rubocop (0.58.2)
|
|
101
101
|
jaro_winkler (~> 1.5.1)
|
|
102
102
|
parallel (~> 1.10)
|
|
@@ -105,7 +105,7 @@ GEM
|
|
|
105
105
|
rainbow (>= 2.2.2, < 4.0)
|
|
106
106
|
ruby-progressbar (~> 1.7)
|
|
107
107
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
|
108
|
-
ruby-progressbar (1.
|
|
108
|
+
ruby-progressbar (1.10.0)
|
|
109
109
|
ruby_deep_clone (0.8.0)
|
|
110
110
|
ruby_dep (1.5.0)
|
|
111
111
|
shellany (0.0.1)
|
data/lib/relaton/db.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require "pstore"
|
|
2
|
-
require "iso_bib_item"
|
|
2
|
+
# require "iso_bib_item"
|
|
3
3
|
require_relative "registry"
|
|
4
4
|
|
|
5
5
|
module Relaton
|
|
@@ -11,11 +11,11 @@ module Relaton
|
|
|
11
11
|
# @param global_cache [String] filename of global DB
|
|
12
12
|
# @param local_cache [String] filename of local DB
|
|
13
13
|
def initialize(global_cache, local_cache)
|
|
14
|
+
register_gems
|
|
14
15
|
@db = open_cache_biblio(global_cache)
|
|
15
16
|
@local_db = open_cache_biblio(local_cache, global: false)
|
|
16
17
|
@db_name = global_cache
|
|
17
18
|
@local_db_name = local_cache
|
|
18
|
-
register_gems
|
|
19
19
|
@registry = Relaton::Registry.instance
|
|
20
20
|
end
|
|
21
21
|
|
data/lib/relaton/version.rb
CHANGED
data/relaton.gemspec
CHANGED
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
|
25
25
|
spec.require_paths = ["lib"]
|
|
26
26
|
spec.files = `git ls-files`.split("\n")
|
|
27
27
|
spec.test_files = `git ls-files -- {spec}/*`.split("\n")
|
|
28
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
|
28
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
|
29
29
|
|
|
30
30
|
spec.add_dependency "algoliasearch"
|
|
31
31
|
spec.add_dependency "gbbib", "~> 0.2.1"
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: relaton
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-08-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: algoliasearch
|
|
@@ -282,7 +282,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
282
282
|
requirements:
|
|
283
283
|
- - ">="
|
|
284
284
|
- !ruby/object:Gem::Version
|
|
285
|
-
version: 2.
|
|
285
|
+
version: 2.3.0
|
|
286
286
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
287
287
|
requirements:
|
|
288
288
|
- - ">="
|