revs-utils 2.1.17 → 2.1.18

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: c5cbe1a1d76fbb35f067148111eb1e41c66e01ad
4
- data.tar.gz: 0351f389fa2eafd16327d1b3ec9668d18be01224
3
+ metadata.gz: 170425e22310cfdd277f42b925838820b6c6126d
4
+ data.tar.gz: 89c39d86c31c65d6f09dd5099570b771afb46a49
5
5
  SHA512:
6
- metadata.gz: c323d4d3ae69f86e861282ac5d4b53298681478327f4bff78cec1fcc00554d99891900738bf2940ba9fc98e55fca01bf3c1bb2e44000453e14e289a2f0fc3649
7
- data.tar.gz: 1defdb449ecdc5228c12d89ebffd77828d001d22387bad16dda3cef5c51b8248265c55e0e3981119713a4aa0f4d58f6a47893dbb7b0be3472a93b9855b520f63
6
+ metadata.gz: 178b3e1294b3dd202f5bc40968878da3f88a5f65aa2d13ca56694b7efca8b706684c6023272f9e5e1fe4945a149214680855b4b3be59db81af2d044ac63883fe
7
+ data.tar.gz: 9538a85db03530229a8158f9580be159eda14a1528d5691202d069ed1f3c6a85faf901356d2843bfd9686344e7bd2938d4f7680c0d3371933c7405f50473ef77
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  group :development,:test do
4
4
  gem 'rake'
data/Gemfile.lock CHANGED
@@ -1,30 +1,30 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- revs-utils (2.1.16)
5
- actionpack (>= 4.1.6)
4
+ revs-utils (2.1.18)
5
+ actionpack (~> 4)
6
6
  chronic
7
7
  countries (= 0.9.2)
8
8
  rake
9
9
  rdf
10
10
 
11
11
  GEM
12
- remote: http://rubygems.org/
12
+ remote: https://rubygems.org/
13
13
  specs:
14
- actionpack (4.2.6)
15
- actionview (= 4.2.6)
16
- activesupport (= 4.2.6)
14
+ actionpack (4.2.7)
15
+ actionview (= 4.2.7)
16
+ activesupport (= 4.2.7)
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.6)
22
- activesupport (= 4.2.6)
21
+ actionview (4.2.7)
22
+ activesupport (= 4.2.7)
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.6)
27
+ activesupport (4.2.7)
28
28
  i18n (~> 0.7)
29
29
  json (~> 1.7, >= 1.7.7)
30
30
  minitest (~> 5.1)
@@ -32,33 +32,32 @@ GEM
32
32
  tzinfo (~> 1.1)
33
33
  builder (3.2.2)
34
34
  chronic (0.10.2)
35
+ concurrent-ruby (1.0.2)
35
36
  countries (0.9.2)
36
37
  currencies (>= 0.4.0)
37
- coveralls (0.8.2)
38
- json (~> 1.8)
39
- rest-client (>= 1.6.8, < 2)
40
- simplecov (~> 0.10.0)
38
+ coveralls (0.8.14)
39
+ json (>= 1.8, < 3)
40
+ simplecov (~> 0.12.0)
41
41
  term-ansicolor (~> 1.3)
42
42
  thor (~> 0.19.1)
43
+ tins (~> 1.6.0)
43
44
  currencies (0.4.2)
44
45
  diff-lcs (1.2.5)
45
46
  docile (1.1.5)
46
- domain_name (0.5.24)
47
- unf (>= 0.0.5, < 1.0.0)
48
47
  erubis (2.7.0)
49
- http-cookie (1.0.2)
50
- domain_name (~> 0.5)
48
+ hamster (3.0.0)
49
+ concurrent-ruby (~> 1.0)
51
50
  i18n (0.7.0)
52
51
  json (1.8.3)
53
52
  link_header (0.0.8)
54
53
  loofah (2.0.3)
55
54
  nokogiri (>= 1.5.9)
56
- mime-types (2.6.2)
57
- mini_portile2 (2.0.0)
55
+ mini_portile2 (2.1.0)
58
56
  minitest (5.9.0)
59
- netrc (0.10.3)
60
- nokogiri (1.6.7.2)
61
- mini_portile2 (~> 2.0.0.rc2)
57
+ nokogiri (1.6.8)
58
+ mini_portile2 (~> 2.1.0)
59
+ pkg-config (~> 1.1.7)
60
+ pkg-config (1.1.7)
62
61
  rack (1.6.4)
63
62
  rack-test (0.6.3)
64
63
  rack (>= 1.0)
@@ -70,13 +69,10 @@ GEM
70
69
  rails-deprecated_sanitizer (>= 1.0.1)
71
70
  rails-html-sanitizer (1.0.3)
72
71
  loofah (~> 2.0)
73
- rake (10.4.2)
74
- rdf (1.99.1)
72
+ rake (11.2.2)
73
+ rdf (2.0.2)
74
+ hamster (~> 3.0)
75
75
  link_header (~> 0.0, >= 0.0.8)
76
- rest-client (1.8.0)
77
- http-cookie (>= 1.0.2, < 2.0)
78
- mime-types (>= 1.16, < 3.0)
79
- netrc (~> 0.7)
80
76
  rspec (2.99.0)
81
77
  rspec-core (~> 2.99.0)
82
78
  rspec-expectations (~> 2.99.0)
@@ -84,10 +80,10 @@ GEM
84
80
  rspec-core (2.99.2)
85
81
  rspec-expectations (2.99.2)
86
82
  diff-lcs (>= 1.1.3, < 2.0)
87
- rspec-mocks (2.99.3)
88
- simplecov (0.10.0)
83
+ rspec-mocks (2.99.4)
84
+ simplecov (0.12.0)
89
85
  docile (~> 1.1.0)
90
- json (~> 1.8)
86
+ json (>= 1.8, < 3)
91
87
  simplecov-html (~> 0.10.0)
92
88
  simplecov-html (0.10.0)
93
89
  term-ansicolor (1.3.2)
@@ -97,10 +93,7 @@ GEM
97
93
  tins (1.6.0)
98
94
  tzinfo (1.2.2)
99
95
  thread_safe (~> 0.1)
100
- unf (0.1.4)
101
- unf_ext
102
- unf_ext (0.0.7.1)
103
- yard (0.8.7.6)
96
+ yard (0.9.0)
104
97
 
105
98
  PLATFORMS
106
99
  ruby
@@ -1,5 +1,5 @@
1
1
  module Revs
2
2
  module Utils
3
- VERSION = "2.1.17"
3
+ VERSION = "2.1.18"
4
4
  end
5
5
  end
data/lib/revs-utils.rb CHANGED
@@ -63,7 +63,9 @@ module Revs
63
63
  :engine_type=>{:field=>'engine_type_ssi'},
64
64
  :track=>{:field=>'track_ssi', :weight => 1},
65
65
  :event=>{:field=>'event_ssi'},
66
- :group_class=>{:field=>'group_class_tsi', :weight => 1},
66
+ :group_class=>{:field=>'group_class_tsi', :weight => 1}, # this field is being split into two separate fields, but we are keeping the old field until all data is migrated # July 2016 Peter Mangiafico
67
+ :car_group=>{:field=>'group_ssi', :weight => 1},
68
+ :car_class=>{:field=>'class_ssi', :weight => 1},
67
69
  :race_data=>{:field=>'race_data_tsi', :weight => 1},
68
70
  :priority=>{:field=>'priority_isi',:default=>0,:editstore=>false},
69
71
  :collections=>{:field=>'is_member_of_ssim', :multi_valued => true},
data/revs-utils.gemspec CHANGED
@@ -12,19 +12,19 @@ Gem::Specification.new do |gem|
12
12
  gem.summary = "Shared methods and functions used by revs-indexer, pre-assembly and bulk metadata loading code."
13
13
  gem.homepage = ""
14
14
  gem.license = "All rights reserved, Stanford University."
15
-
15
+
16
16
  gem.files = `git ls-files`.split($/)
17
17
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
-
20
+
21
21
  gem.add_dependency "countries", "0.9.2"
22
22
  gem.add_dependency "rdf"
23
- gem.add_dependency "actionpack", '>= 4.1.6'
23
+ gem.add_dependency "actionpack", '~> 4' # projects that depend on this may not have upgraded to rails 5 yet
24
24
  gem.add_dependency "chronic"
25
25
  gem.add_dependency "rake"
26
-
26
+
27
27
  gem.add_development_dependency "rspec", "~> 2.6"
28
28
  gem.add_development_dependency "yard"
29
-
29
+
30
30
  end
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.17
4
+ version: 2.1.18
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-06-06 00:00:00.000000000 Z
11
+ date: 2016-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: countries
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: actionpack
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 4.1.6
47
+ version: '4'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 4.1.6
54
+ version: '4'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: chronic
57
57
  requirement: !ruby/object:Gem::Requirement