cdmbl 0.2.11 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cdmbl.gemspec +1 -1
- data/lib/cdmbl/tasks/etl.rake +1 -0
- data/lib/cdmbl/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 205106670da9d0eb64b39e5079b3c885f0bc4e11
|
4
|
+
data.tar.gz: 45310207e4bbd256823f5ad35fb94378ee70e93c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d674a82a9c58a9891d90037f2c3614c93b6a8db14a2eb5f0a154ac2632823d694f9091995a1441416220f5edaae9d1c64ab892bb74e9994c5b86a2d3e928843
|
7
|
+
data.tar.gz: 9e4bdbe926771af0b9cac3185c6386fd2e8a4a8a7a8328d6f149c749ea7941e44a7db96bfbecebb48d1587edb5186c7829d80ba51d70b5410585aab5176cc0ae
|
data/cdmbl.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.require_paths = ['lib']
|
19
19
|
|
20
20
|
spec.add_dependency 'hash_at_path', '~> 0.1'
|
21
|
-
spec.add_dependency 'contentdm_api', '~> 0.3.
|
21
|
+
spec.add_dependency 'contentdm_api', '~> 0.3.4'
|
22
22
|
spec.add_dependency 'sidekiq', '~> 3.5.4'
|
23
23
|
spec.add_dependency 'titleize', '~> 1.4'
|
24
24
|
spec.add_dependency 'rsolr', '~> 1.0'
|
data/lib/cdmbl/tasks/etl.rake
CHANGED
@@ -5,6 +5,7 @@ namespace :cdmbl do
|
|
5
5
|
task :ingest, [:solr_url, :oai_endpoint, :cdm_endpoint, :minimum_date] do |t, args|
|
6
6
|
solr_config = { url: args[solr_url] }
|
7
7
|
etl_config = { oai_endpoint: args[:oai_endpoint], cdm_endpoint: args[:cdm_endpoint], minimum_date: args[:minimum_date] }
|
8
|
+
etl_config = (args[:resumption_token]) ? etl_cofig.merge(args[:resumption_token]) : etl_config
|
8
9
|
CDMBL::ETLWorker.perform_async(solr_config, etl_config)
|
9
10
|
end
|
10
11
|
end
|
data/lib/cdmbl/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cdmbl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- chadfennell
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hash_at_path
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.3.
|
33
|
+
version: 0.3.4
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.3.
|
40
|
+
version: 0.3.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sidekiq
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|