berkeley_library-tind 0.4.0 → 0.4.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: 45e5cb4582c39cf8970c635a80d62613a64fd18fed34d6aed5ee69056dbcef75
4
- data.tar.gz: 27d48c5c119a66e56e3cdbc0d89460cc66cc44a92653704e0c4991a9ad5bfa3b
3
+ metadata.gz: f2c86b743e236805c476a20d5c9c6e6599488072a60ed536b4118ad702c78be2
4
+ data.tar.gz: ab80cc155018e274118bf8e761912848b629bf81f711a2e486b76f10e7d04ca5
5
5
  SHA512:
6
- metadata.gz: e7b5c185fce614223b4290cc55db8c888b02f08d835cecdb6927b4b775ea968c3db97dc0993295a1ded15282bc87bcc8e2e311f1058a85211c07f8ddc742ad31
7
- data.tar.gz: 905fa0971f1ce7a9fd460e5a59719892f9abbfa5bf2210f5f40de30c80ea2b745d272181ddbb625f6925b0909e262a7820963a230e560be396805bf137d9ba40
6
+ metadata.gz: 877f071c79c71896a3f5e30480297ced5e2c759bff5a81e7bb32e715fec299f32e57fd0717a4944f4039f7528109836c6a604876cd25c5d1c751395ade320ee9
7
+ data.tar.gz: ab07a8052677ec0ef7cf8d91d5b15a411c3c2d8c2adaa4c45d4794b3e866b73f697b3b23f25dcf7839c2d44ba8fffcca3ccec17507d67761d99142d5245c2d56
@@ -6,7 +6,7 @@ jobs:
6
6
  fail-fast: false
7
7
  matrix:
8
8
  os: [ ubuntu-latest, macos-latest ]
9
- ruby-version: [ '2.7', '3.0' ]
9
+ ruby: [ '2.7', '3.0' ]
10
10
  runs-on: ${{ matrix.os }}
11
11
 
12
12
  steps:
data/CHANGES.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.4.1 (2021-08-26)
2
+
3
+ - Add explicit double splat to prevent
4
+ `BerkeleyLibrary::TIND::Search.perform_single_search` from raising
5
+ `ArgumentError` on Ruby 3+ due to positional / keyword ambiguity
6
+
1
7
  # 0.4.0 (2021-08-19)
2
8
 
3
9
  - Rename to `BerkeleyLibrary::TIND` in prep for move to GitHub
@@ -36,7 +36,6 @@ Gem::Specification.new do |spec|
36
36
  spec.add_development_dependency 'ci_reporter_rspec', '~> 1.0'
37
37
  spec.add_development_dependency 'colorize', '~> 0.8'
38
38
  spec.add_development_dependency 'dotenv', '~> 2.7'
39
- spec.add_development_dependency 'listen', '>= 3.0.5', '< 3.2'
40
39
  spec.add_development_dependency 'rake', '~> 13.0'
41
40
  spec.add_development_dependency 'roo', '~> 2.8'
42
41
  spec.add_development_dependency 'rspec', '~> 3.10'
@@ -66,7 +66,7 @@ module BerkeleyLibrary
66
66
  end
67
67
 
68
68
  def perform_single_search(params, freeze, &block)
69
- API.get(:search, params) do |body|
69
+ API.get(:search, **params) do |body|
70
70
  process_body(body, freeze, &block)
71
71
  ensure
72
72
  body.close
@@ -7,7 +7,7 @@ module BerkeleyLibrary
7
7
  SUMMARY = 'TIND DA utilities for the UC Berkeley Library'.freeze
8
8
  DESCRIPTION = 'UC Berkeley Library utility gem for working with the TIND DA digital archive.'.freeze
9
9
  LICENSE = 'MIT'.freeze
10
- VERSION = '0.4.0'.freeze
10
+ VERSION = '0.4.1'.freeze
11
11
  HOMEPAGE = 'https://github.com/BerkeleyLibrary/tind'.freeze
12
12
  end
13
13
  end
@@ -130,7 +130,9 @@ module BerkeleyLibrary
130
130
 
131
131
  before(:each) do
132
132
  search = instance_double(BerkeleyLibrary::TIND::API::Search)
133
- empty_enumerator = Enumerator.new({})
133
+ # rubocop:disable Lint/EmptyBlock
134
+ empty_enumerator = Enumerator.new {}
135
+ # rubocop:enable Lint/EmptyBlock
134
136
  allow(search).to receive(:each_result).and_return(empty_enumerator)
135
137
  allow(BerkeleyLibrary::TIND::API::Search).to receive(:new).with(collection: collection).and_return(search)
136
138
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: berkeley_library-tind
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Moles
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-19 00:00:00.000000000 Z
11
+ date: 2021-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: berkeley_library-logging
@@ -178,26 +178,6 @@ dependencies:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
180
  version: '2.7'
181
- - !ruby/object:Gem::Dependency
182
- name: listen
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - ">="
186
- - !ruby/object:Gem::Version
187
- version: 3.0.5
188
- - - "<"
189
- - !ruby/object:Gem::Version
190
- version: '3.2'
191
- type: :development
192
- prerelease: false
193
- version_requirements: !ruby/object:Gem::Requirement
194
- requirements:
195
- - - ">="
196
- - !ruby/object:Gem::Version
197
- version: 3.0.5
198
- - - "<"
199
- - !ruby/object:Gem::Version
200
- version: '3.2'
201
181
  - !ruby/object:Gem::Dependency
202
182
  name: rake
203
183
  requirement: !ruby/object:Gem::Requirement
@@ -360,7 +340,6 @@ files:
360
340
  - CHANGES.md
361
341
  - Dockerfile
362
342
  - Gemfile
363
- - Jenkinsfile
364
343
  - LICENSE.md
365
344
  - README.md
366
345
  - Rakefile
@@ -525,7 +504,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
525
504
  - !ruby/object:Gem::Version
526
505
  version: '0'
527
506
  requirements: []
528
- rubygems_version: 3.1.6
507
+ rubygems_version: 3.1.4
529
508
  signing_key:
530
509
  specification_version: 4
531
510
  summary: TIND DA utilities for the UC Berkeley Library
data/Jenkinsfile DELETED
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env groovy
2
-
3
- dockerComposePipeline(
4
- commands: [
5
- 'bundle exec rake coverage',
6
- 'bundle exec rake rubocop',
7
- 'bundle exec rake bundle:audit',
8
- 'bundle exec rake gem'
9
- ],
10
- artifacts: [
11
- junit: 'artifacts/rspec/**/*.xml',
12
- html : [
13
- 'Code Coverage': 'artifacts/rcov',
14
- 'RuboCop' : 'artifacts/rubocop'
15
- ],
16
- raw : ['artifacts/**/*.gem']
17
- ]
18
- )