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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1fe630fa3e1b71d5015cb2585ddde54e3dfeb0b50557c9c21b8d99cf29d284f5
4
- data.tar.gz: dc21bfb4dda47648077f5195bd3b5fdd84cab5f7b9b62a77aa79422f4057476e
3
+ metadata.gz: c281ae3a9f26d58a6dcbbcaf72695e12d82b94d21fac9e2d9f48c22f45dde8ba
4
+ data.tar.gz: 5be14c74aa6e9c82f07f93965893b007dea86ee11618627226464ae4b0664062
5
5
  SHA512:
6
- metadata.gz: 2bf91d95623237aa5d3915023d7dbe1d872988d11c44f202e7f6924443f5caca31ad232a747415f77e1a2f9aee077664983b0c373841bb669706f294b42a1117
7
- data.tar.gz: f43db773f05d5975d04d17bcdbb4a049b8b0c73446c8332ac82d3031dec4fab267ed352ad5df09eac4fcc211ca564268144fbd3380dfee9b436e9a595c727c97
6
+ metadata.gz: c8cab9858a0b366fb02a8f4c29e3a915c654a8b52f6942e25023ba0b85fe8a804cfa6e076af356f9325e0cb685dcde8dddcce26677bc70b091fd9ca9ee3ddf73
7
+ data.tar.gz: 94feed4599a25d9aa374c834a351d93263dd4ac11e37a3643daa244ee9229869b1aa48c4048b3a5a1dc83fe44ba38dec57224f190b270edb6b57b8daa0e1f92d
data/.travis.yml CHANGED
@@ -4,6 +4,7 @@ language: ruby
4
4
  rvm:
5
5
  - 2.5
6
6
  - 2.4
7
+ - 2.3
7
8
  - ruby-head
8
9
  before_install:
9
10
  - gem install bundler -v 1.16.1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relaton (0.1.4)
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.3)
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.1)
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.7.0)
88
- rspec-core (~> 3.7.0)
89
- rspec-expectations (~> 3.7.0)
90
- rspec-mocks (~> 3.7.0)
91
- rspec-core (3.7.1)
92
- rspec-support (~> 3.7.0)
93
- rspec-expectations (3.7.0)
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.7.0)
96
- rspec-mocks (3.7.0)
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.7.0)
99
- rspec-support (3.7.1)
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.9.0)
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
 
@@ -1,3 +1,3 @@
1
1
  module Relaton
2
- VERSION = "0.1.4".freeze
2
+ VERSION = "0.1.5".freeze
3
3
  end
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.4.0")
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
@@ -7,8 +7,8 @@ end
7
7
 
8
8
  require "bundler/setup"
9
9
  require "relaton"
10
- require "isobib"
11
- require "gbbib"
10
+ # require "isobib"
11
+ # require "gbbib"
12
12
  require "rspec/matchers"
13
13
  require "equivalent-xml"
14
14
 
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
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-07-31 00:00:00.000000000 Z
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.4.0
285
+ version: 2.3.0
286
286
  required_rubygems_version: !ruby/object:Gem::Requirement
287
287
  requirements:
288
288
  - - ">="