sdr-client 0.7.0 → 0.7.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: bb3f20e21233ef1ef0f4d72f4d7dcd0e4bb52968b955152e62259e023b730b7b
4
- data.tar.gz: ecbb08752fcd3c71b4868404bc48871eaba138c852304678a466cd85de3fe4bd
3
+ metadata.gz: 85bf3bb61e2edeca3fd59c4bcb72e65c0ca8a6fa2555095059c774d6adbb5cd9
4
+ data.tar.gz: 29ef71e2e7778c28b8db875e7c910ee4f477857422d61d59774ab09b0fdb5852
5
5
  SHA512:
6
- metadata.gz: '08307c141dd01737019f40e1a999b8fd9aa41abca57379f655a9ac5773eba55f974c4d3c34c804e44cd7c8a8792c292e84f5d8c7bf62dd2021b32dd87832420b'
7
- data.tar.gz: 928ba2d1377cf11bc1e1cfaff2891748ac916d3a3d9e83fca0ac07e0efdbd450ceb895a066bcc3c3a7a4355f186717efb4f5c4d6540867336a21095064f02cb2
6
+ metadata.gz: 61cc5ce0d28aeddbcd20273a7086d9b4dc0482b76f91b19002496b80e4db7d32471f9b8e827ffc800c58172fb3cf7d1f2ccdf920ca11bd88f5ac141002406703
7
+ data.tar.gz: c2149a463c52831fee474f8c43e00982fce4ea9f56da629f8b87f1889bb59630419ed6c8c5296b56b6985324195ff1bb700277cbdfa91e9de89388319689b461
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'logger'
4
+
3
5
  module SdrClient
4
6
  # The namespace for the "deposit" command
5
7
  module Deposit
@@ -13,7 +15,8 @@ module SdrClient
13
15
  url:,
14
16
  files: [],
15
17
  files_metadata: {},
16
- grouping_strategy: SingleFileGroupingStrategy)
18
+ grouping_strategy: SingleFileGroupingStrategy,
19
+ logger: Logger.new(STDOUT))
17
20
  token = Credentials.read
18
21
 
19
22
  metadata = Request.new(label: label,
@@ -22,8 +25,8 @@ module SdrClient
22
25
  collection: collection,
23
26
  source_id: source_id,
24
27
  catkey: catkey)
25
- Process.new(metadata: metadata, url: url, token: token,
26
- files: files, files_metadata: files_metadata, grouping_strategy: grouping_strategy).run
28
+ Process.new(metadata: metadata, url: url, token: token, files: files,
29
+ files_metadata: files_metadata, grouping_strategy: grouping_strategy, logger: logger).run
27
30
  end
28
31
  # rubocop:enable Metrics/ParameterLists
29
32
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SdrClient
4
- VERSION = '0.7.0'
4
+ VERSION = '0.7.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdr-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne