revs-utils 2.1.14 → 2.1.15

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: b3a789d7280f0e88ed8e96f707d573f77b68837f
4
- data.tar.gz: b0d04db28185e3d3060ce44f66960865b34be7ac
3
+ metadata.gz: 04dec231527453b6b1fb18e51aa3bcab6a9225e0
4
+ data.tar.gz: 4cc364965546e031c9a1e47477398b0a09991212
5
5
  SHA512:
6
- metadata.gz: dc43d1111eab3e2138a78f4469955808c6b6f9085b2e846194c914d731a9e5f0bed3f32386c7794ff1fac2362af1f203977d1b1a2d7a8ba2e8edb2816ace9889
7
- data.tar.gz: fbf9bdbb4bd34b297cf8027d72ac5b26f1ee484b3531eb4eecc88fb0723ea13feed0c3d1ba2dafba206bf498814c58c62f24fb49139c1f768a3a92b376359d4f
6
+ metadata.gz: 050da1f4e7350dea217884a647be1d7786d5a9e01d093022c7c2d471cba3f82235fed8de2f2352479b46429e8cc5b8e4e9d212cae49316130d71d2348b8558a7
7
+ data.tar.gz: 119feaec580b26d209bdb97725a16b00856a9e610b0a58596b6989314d27de03d790ba2771a5d96403445d31bb976fc95ad545a7c78b8fbc9b748d9680ffa691
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- revs-utils (2.1.14)
4
+ revs-utils (2.1.15)
5
5
  actionpack (>= 4.1.6)
6
6
  chronic
7
7
  countries (= 0.9.2)
@@ -11,20 +11,20 @@ PATH
11
11
  GEM
12
12
  remote: http://rubygems.org/
13
13
  specs:
14
- actionpack (4.2.5.1)
15
- actionview (= 4.2.5.1)
16
- activesupport (= 4.2.5.1)
14
+ actionpack (4.2.6)
15
+ actionview (= 4.2.6)
16
+ activesupport (= 4.2.6)
17
17
  rack (~> 1.6)
18
18
  rack-test (~> 0.6.2)
19
19
  rails-dom-testing (~> 1.0, >= 1.0.5)
20
20
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
21
- actionview (4.2.5.1)
22
- activesupport (= 4.2.5.1)
21
+ actionview (4.2.6)
22
+ activesupport (= 4.2.6)
23
23
  builder (~> 3.1)
24
24
  erubis (~> 2.7.0)
25
25
  rails-dom-testing (~> 1.0, >= 1.0.5)
26
26
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- activesupport (4.2.5.1)
27
+ activesupport (4.2.6)
28
28
  i18n (~> 0.7)
29
29
  json (~> 1.7, >= 1.7.7)
30
30
  minitest (~> 5.1)
data/README.rdoc CHANGED
@@ -22,7 +22,7 @@ Shared methods and functions used by revs-indexer, pre-assembly and bulk metadat
22
22
  - <b>1.0.6</b> Add some more conditions to CSV header checks
23
23
  - <b>1.0.7</b> Label column needs to be there but does not need to have a value to register
24
24
  - <b>1.0.8</b> Update clean_collection_name method to deal with other possible names
25
- - <b>2.0.0</b> Updating to use ActionPack 4 for Rails 4 applications. For Rails 3, continue to use 1.x.y releases.
25
+ - <b>2.0.0</b> Updating to use ActionPack 4 for Rails 4 applications. For Rails 3, continue to use 1.x.y releases.
26
26
  - <b>2.0.1</b> Add more common format corrections
27
27
  - <b>2.0.2 and 2.0.3</b> Update valid for metadata method so it is not sensitive to blank or uppercase columns
28
28
  - <b>2.0.4</b> Fix issues with year parsing
@@ -32,6 +32,7 @@ Shared methods and functions used by revs-indexer, pre-assembly and bulk metadat
32
32
  - <b>2.1.11</b> Allow for optional metadata columns in the manifest
33
33
  - <b>2.1.12</b> Score computation should work with any kind of hash key
34
34
  - <b>2.1.13</b> Add more information when sourceIDs are not unique
35
+ - <b>2.1.14-15</b> Add new engine-type field
35
36
 
36
37
  == Running tests
37
38
 
@@ -70,6 +71,5 @@ Or install it yourself as:
70
71
 
71
72
  1. Check out Gem code.
72
73
  2. CD into Gem directory
73
- 3. ruby bin/revs_lc_automobile_terms.rb
74
+ 3. ruby bin/revs_lc_automobile_terms.rb
74
75
  4. Update Gem in git, bump version number and rake dlss_release
75
-
@@ -30,9 +30,10 @@ metadata:
30
30
  hide: hide
31
31
  format: format
32
32
  collection_name: collection_name
33
+ engine_type: engine_type
33
34
  metadata_optional:
34
35
  format_authority: format_authority
35
- known_formats:
36
+ known_formats:
36
37
  - black-and-white film
37
38
  - color film
38
39
  - slides
@@ -44,4 +45,4 @@ known_formats:
44
45
  - color negatives
45
46
  - black-and-white transparencies
46
47
  - color transparencies
47
- - Glass negatives
48
+ - Glass negatives
@@ -1,5 +1,5 @@
1
1
  module Revs
2
2
  module Utils
3
- VERSION = "2.1.14"
3
+ VERSION = "2.1.15"
4
4
  end
5
5
  end
@@ -228,7 +228,7 @@ describe "Revs-Utils" do
228
228
  @revs.get_manifest_section(@revs.manifest_metadata_section_name()).size.should > 0
229
229
  (@revs.get_manifest_section(@revs.manifest_metadata_section_name()).keys - ["marque", "model", "people", "entrant", "photographer", "current_owner", "venue", "track", "event",
230
230
  "location", "year", "description", "model_year", "model_year", "group_or_class", "race_data", "metadata_sources","state", "country", "city", "date",
231
- "vehicle_markings", "inst_notes", "prod_notes", "has_more_metadata", "hide", "format", "collection_name"]).should == []
231
+ "vehicle_markings", "inst_notes", "prod_notes", "has_more_metadata", "hide", "format", "collection_name", "engine_type"]).should == []
232
232
  end
233
233
 
234
234
  it "should return when true when given a clean sheet to check for headers required for registration and metadata updating" do
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.14
4
+ version: 2.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Mangiafico
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-05 00:00:00.000000000 Z
11
+ date: 2016-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: countries