berkeley_library-tind 0.7.1 → 0.7.2

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: 5332f904f900b0625e2c8fd8053d82908dcbec81b0cd6b640a469d2f95444258
4
- data.tar.gz: 86712b729232b939c4bdcb80f4f777350f2dc2a54b961f55cf0f5044ec6e28ac
3
+ metadata.gz: 6a9fd385848aff55e56422bc3d3362edade2fb8038b450d84df73b1b9b58c79d
4
+ data.tar.gz: 0c0015397281e2962fda4ec38212dbc0e6cf8a093d1df63554d546c41a466202
5
5
  SHA512:
6
- metadata.gz: 128f6934601f62b3d4a62de941a3a059b23ff137d6385c0594cd4e7fe97d2cc43bfd3dd827a2cfe6c5e247ef1796f371ea6542c45ceb4849ac6235419a8c4ed3
7
- data.tar.gz: 6e98e778835b65d4a0f21affcdbeed11a6f0d835c300a478e62784c90912a31dddec47f24881e95fa6258ae43ed70f1146d3a5d855551fb22bea742f5a5903b2
6
+ metadata.gz: 479141fb298b6a5bab4fdcfd59ff796556980a3d012c0aac438669b71fe0ec4852069c17a2b55de362e65da518cdcbcb96a705cdf98d0f9cd7ec6fbf3f1fd7a3
7
+ data.tar.gz: 6b98bb655afc4a8c6a660a548165a089f4fe6f17473d020070451e3fd87f16528f14d010ec278df811f61cc93db311eafdc9c980573ce0a754dfec285a93536e
@@ -0,0 +1,33 @@
1
+ name: Ruby Gem
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ build:
9
+ name: Build + Publish
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ packages: write
14
+
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+
18
+ - name: Set up Ruby
19
+ uses: ruby/setup-ruby@v1
20
+ with:
21
+ ruby-version: '3.2'
22
+ bundler-cache: true
23
+
24
+ - name: Publish to RubyGems
25
+ run: |
26
+ mkdir -p $HOME/.gem
27
+ touch $HOME/.gem/credentials
28
+ chmod 0600 $HOME/.gem/credentials
29
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
30
+ gem build *.gemspec
31
+ gem push *.gem
32
+ env:
33
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
@@ -25,7 +25,7 @@ module BerkeleyLibrary
25
25
  # subfield6_with_small_no(values)
26
26
 
27
27
  # new implementation: keep the first subfield 6 value
28
- logger.warn("#{f[0].tag} have multiple datafields with multiple subfield 6, the first subfield 6 is kept") if values.length > 1
28
+ logger.warn("#{fields[0].tag} have multiple datafields with multiple subfield 6, the first subfield 6 is kept") if values.length > 1
29
29
  Util.subfield('6', values[0])
30
30
  end
31
31
 
@@ -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.7.1'.freeze
10
+ VERSION = '0.7.2'.freeze
11
11
  HOMEPAGE = 'https://github.com/BerkeleyLibrary/tind'.freeze
12
12
  end
13
13
  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.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Moles
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-19 00:00:00.000000000 Z
11
+ date: 2023-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: berkeley_library-alma
@@ -387,6 +387,7 @@ extensions: []
387
387
  extra_rdoc_files: []
388
388
  files:
389
389
  - ".github/workflows/build.yml"
390
+ - ".github/workflows/gem-push.yml"
390
391
  - ".gitignore"
391
392
  - ".idea/inspectionProfiles/Project_Default.xml"
392
393
  - ".idea/misc.xml"
@@ -603,7 +604,7 @@ homepage: https://github.com/BerkeleyLibrary/tind
603
604
  licenses:
604
605
  - MIT
605
606
  metadata: {}
606
- post_install_message:
607
+ post_install_message:
607
608
  rdoc_options: []
608
609
  require_paths:
609
610
  - lib
@@ -618,8 +619,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
618
619
  - !ruby/object:Gem::Version
619
620
  version: '0'
620
621
  requirements: []
621
- rubygems_version: 3.1.6
622
- signing_key:
622
+ rubygems_version: 3.4.10
623
+ signing_key:
623
624
  specification_version: 4
624
625
  summary: TIND DA utilities for the UC Berkeley Library
625
626
  test_files: []