revs-utils 2.1.18 → 2.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 170425e22310cfdd277f42b925838820b6c6126d
4
- data.tar.gz: 89c39d86c31c65d6f09dd5099570b771afb46a49
3
+ metadata.gz: cc7be52c4e6e465925f43de2241a971cc903431e
4
+ data.tar.gz: 98463a5dba6b3463c47ca26bf0df2348c552ee24
5
5
  SHA512:
6
- metadata.gz: 178b3e1294b3dd202f5bc40968878da3f88a5f65aa2d13ca56694b7efca8b706684c6023272f9e5e1fe4945a149214680855b4b3be59db81af2d044ac63883fe
7
- data.tar.gz: 9538a85db03530229a8158f9580be159eda14a1528d5691202d069ed1f3c6a85faf901356d2843bfd9686344e7bd2938d4f7680c0d3371933c7405f50473ef77
6
+ metadata.gz: 5880b28a263f008ec6979e67c903d7365c3603b94239d07ed83dc70dcaa70982217e66e8848a4c0feb04082de26b55c3e8e4ff302806127e9df133998f933195
7
+ data.tar.gz: effead01cf97ed0fbfd2fa7420a3771c86931305e867b05a544f0e3a42fea26fb909e2ae46de525f840f1dcf287a20c5a63d36c10d6573fc84fa300f83aad9f1
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ Gemfile.lock
1
2
  .rvmrc
2
3
  *.gem
3
4
  .DS_Store
@@ -8,4 +9,4 @@ pkg/*
8
9
  tags
9
10
  tmp
10
11
  coverage
11
- .yardoc/*
12
+ .yardoc/*
data/README.rdoc CHANGED
@@ -34,6 +34,7 @@ Shared methods and functions used by revs-indexer, pre-assembly and bulk metadat
34
34
  - <b>2.1.13</b> Add more information when sourceIDs are not unique
35
35
  - <b>2.1.14-15</b> Add new engine-type field
36
36
  - <b>2.1.16-17</b> Add new format authority field and update acceptable formats
37
+ - <b>2.1.18-19</b> Add support for newly split apart group and class fields
37
38
 
38
39
  == Running tests
39
40
 
@@ -21,6 +21,8 @@ metadata:
21
21
  description: description
22
22
  model_year: model_year
23
23
  group_or_class: group_or_class
24
+ group: group
25
+ class: class
24
26
  race_data: race_data
25
27
  metadata_sources: metadata_sources
26
28
  vehicle_markings: vehicle_markings
@@ -1,5 +1,5 @@
1
1
  module Revs
2
2
  module Utils
3
- VERSION = "2.1.18"
3
+ VERSION = "2.1.19"
4
4
  end
5
5
  end
@@ -230,7 +230,7 @@ describe "Revs-Utils" do
230
230
  @revs.get_manifest_section(@revs.manifest_metadata_section_name()).size.should > 0
231
231
  (@revs.get_manifest_section(@revs.manifest_metadata_section_name()).keys - ["marque", "model", "people", "entrant", "photographer", "current_owner", "venue", "track", "event",
232
232
  "location", "year", "description", "model_year", "model_year", "group_or_class", "race_data", "metadata_sources","state", "country", "city", "date",
233
- "vehicle_markings", "inst_notes", "prod_notes", "has_more_metadata", "hide", "format", "format_authority", "collection_name", "engine_type"]).should == []
233
+ "vehicle_markings", "inst_notes", "prod_notes", "has_more_metadata", "hide", "format", "format_authority", "collection_name", "engine_type","group","class"]).should == []
234
234
  end
235
235
 
236
236
  it "should return when true when given a clean sheet to check for headers required for registration and metadata updating" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: revs-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.18
4
+ version: 2.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Mangiafico
@@ -123,7 +123,6 @@ files:
123
123
  - ".rvmrc.example"
124
124
  - ".travis.yml"
125
125
  - Gemfile
126
- - Gemfile.lock
127
126
  - LICENSE
128
127
  - README.rdoc
129
128
  - Rakefile
data/Gemfile.lock DELETED
@@ -1,109 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- revs-utils (2.1.18)
5
- actionpack (~> 4)
6
- chronic
7
- countries (= 0.9.2)
8
- rake
9
- rdf
10
-
11
- GEM
12
- remote: https://rubygems.org/
13
- specs:
14
- actionpack (4.2.7)
15
- actionview (= 4.2.7)
16
- activesupport (= 4.2.7)
17
- rack (~> 1.6)
18
- rack-test (~> 0.6.2)
19
- rails-dom-testing (~> 1.0, >= 1.0.5)
20
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
21
- actionview (4.2.7)
22
- activesupport (= 4.2.7)
23
- builder (~> 3.1)
24
- erubis (~> 2.7.0)
25
- rails-dom-testing (~> 1.0, >= 1.0.5)
26
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- activesupport (4.2.7)
28
- i18n (~> 0.7)
29
- json (~> 1.7, >= 1.7.7)
30
- minitest (~> 5.1)
31
- thread_safe (~> 0.3, >= 0.3.4)
32
- tzinfo (~> 1.1)
33
- builder (3.2.2)
34
- chronic (0.10.2)
35
- concurrent-ruby (1.0.2)
36
- countries (0.9.2)
37
- currencies (>= 0.4.0)
38
- coveralls (0.8.14)
39
- json (>= 1.8, < 3)
40
- simplecov (~> 0.12.0)
41
- term-ansicolor (~> 1.3)
42
- thor (~> 0.19.1)
43
- tins (~> 1.6.0)
44
- currencies (0.4.2)
45
- diff-lcs (1.2.5)
46
- docile (1.1.5)
47
- erubis (2.7.0)
48
- hamster (3.0.0)
49
- concurrent-ruby (~> 1.0)
50
- i18n (0.7.0)
51
- json (1.8.3)
52
- link_header (0.0.8)
53
- loofah (2.0.3)
54
- nokogiri (>= 1.5.9)
55
- mini_portile2 (2.1.0)
56
- minitest (5.9.0)
57
- nokogiri (1.6.8)
58
- mini_portile2 (~> 2.1.0)
59
- pkg-config (~> 1.1.7)
60
- pkg-config (1.1.7)
61
- rack (1.6.4)
62
- rack-test (0.6.3)
63
- rack (>= 1.0)
64
- rails-deprecated_sanitizer (1.0.3)
65
- activesupport (>= 4.2.0.alpha)
66
- rails-dom-testing (1.0.7)
67
- activesupport (>= 4.2.0.beta, < 5.0)
68
- nokogiri (~> 1.6.0)
69
- rails-deprecated_sanitizer (>= 1.0.1)
70
- rails-html-sanitizer (1.0.3)
71
- loofah (~> 2.0)
72
- rake (11.2.2)
73
- rdf (2.0.2)
74
- hamster (~> 3.0)
75
- link_header (~> 0.0, >= 0.0.8)
76
- rspec (2.99.0)
77
- rspec-core (~> 2.99.0)
78
- rspec-expectations (~> 2.99.0)
79
- rspec-mocks (~> 2.99.0)
80
- rspec-core (2.99.2)
81
- rspec-expectations (2.99.2)
82
- diff-lcs (>= 1.1.3, < 2.0)
83
- rspec-mocks (2.99.4)
84
- simplecov (0.12.0)
85
- docile (~> 1.1.0)
86
- json (>= 1.8, < 3)
87
- simplecov-html (~> 0.10.0)
88
- simplecov-html (0.10.0)
89
- term-ansicolor (1.3.2)
90
- tins (~> 1.0)
91
- thor (0.19.1)
92
- thread_safe (0.3.5)
93
- tins (1.6.0)
94
- tzinfo (1.2.2)
95
- thread_safe (~> 0.1)
96
- yard (0.9.0)
97
-
98
- PLATFORMS
99
- ruby
100
-
101
- DEPENDENCIES
102
- coveralls
103
- rake
104
- revs-utils!
105
- rspec (~> 2.6)
106
- yard
107
-
108
- BUNDLED WITH
109
- 1.12.5