revs-utils 2.1.24 → 2.1.25

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
  SHA1:
3
- metadata.gz: bd5c3129b58d2c793521ac3b8bc72f40ff57b00b
4
- data.tar.gz: d867f58ece64fb935d0fa7340f54bbe73954f289
3
+ metadata.gz: 5dc28e1e6dc66e8c47ab7ec1858f4173c97bfaec
4
+ data.tar.gz: a46a78e48e746a66663d88715e693ec4b69a156b
5
5
  SHA512:
6
- metadata.gz: 6000156706af2e0acaaf05e0aff21bfe370eccd0df87844a34b56ee3d32b41ffebd889c77c3a4d1c9fe0dac29b625dffb949b72a2114180dd5fed84bceb5583d
7
- data.tar.gz: bcaa1bbae4ca854629af114c0665655721e26a4a52b0209e34a0b0cefa1d352f48a02b41ccf30f8767e5e6fdf77a9cd974557f6bef503a19fc794c4c2e6ce884
6
+ metadata.gz: 1eed970d0dab510515805552a240f29de9fc0ecdcdffd036c6e11b9d721b27e91169c97d1474164b61c7bf96562797ad4ce052f9f8106ae58e5291271afb03e6
7
+ data.tar.gz: cd75ed227f7c2b5d2acbc25cbfffaa2525530492d28f95960a89c05c80d6df9a26679653603a1ccc91d710c281715e01e924fec97be55b9473f4ce81008156b4
@@ -29,7 +29,8 @@ module Revs
29
29
  REVS_MANIFEST_HEADERS = YAML.load( REVS_MANIFEST_HEADERS_FILE)
30
30
 
31
31
  ARCHIVE_DRUIDS={:revs=>'nt028fd5773',:roadandtrack=>'mr163sv5231'} # a hash of druids of the master archives, keys are arbitrary but druids must match the druids in DOR
32
- # these druids will be used to set the archive name in each document
32
+ ARCHIVE_NAMES={:revs=>'Revs Institute® Archives',:roadandtrack=>'Road & Track Archive'} # the names of the archives (will be used when indexing instead of the title of the collection itself)
33
+
33
34
  MULTI_COLLECTION_ARCHIVES=[:revs] # list the keys from the hash above for any archives that contain multiple collections (like Revs), for which each item in DOR belongs to both a parent collection and the master archive collection ... since we do not want to also add the master archive name as another collection druid to each record, we skip them
34
35
 
35
36
  # these are used in the revs solr document in the main revs digital library rails app, as well as the revs-indexing-service app
@@ -1,5 +1,5 @@
1
1
  module Revs
2
2
  module Utils
3
- VERSION = "2.1.24"
3
+ VERSION = "2.1.25"
4
4
  end
5
5
  end
@@ -24,7 +24,7 @@ Gem::Specification.new do |gem|
24
24
  gem.add_dependency "chronic"
25
25
  gem.add_dependency "rake"
26
26
 
27
- gem.add_development_dependency "rspec", "~> 2.6"
27
+ gem.add_development_dependency "rspec"
28
28
  gem.add_development_dependency "yard"
29
29
 
30
30
  end
@@ -4,6 +4,12 @@ require bootfile
4
4
  require 'coveralls'
5
5
  Coveralls.wear!
6
6
 
7
+ RSpec.configure do |config|
8
+
9
+ config.expect_with(:rspec) { |c| c.syntax = :should }
10
+
11
+ end
12
+
7
13
  class RevsUtilsTester
8
14
 
9
15
  include Revs::Utils
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: revs-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.24
4
+ version: 2.1.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Mangiafico
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-13 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: countries
@@ -84,16 +84,16 @@ dependencies:
84
84
  name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '2.6'
89
+ version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: '2.6'
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: yard
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -169,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  version: '0'
170
170
  requirements: []
171
171
  rubyforge_project:
172
- rubygems_version: 2.6.10
172
+ rubygems_version: 2.6.11
173
173
  signing_key:
174
174
  specification_version: 4
175
175
  summary: Shared methods and functions used by revs-indexer, pre-assembly and bulk
@@ -189,4 +189,3 @@ test_files:
189
189
  - spec/sample-csv-files/no-sourceid.csv
190
190
  - spec/sample-csv-files/space-sourceid.csv
191
191
  - spec/spec_helper.rb
192
- has_rdoc: