solrj_wrapper 1.0.2 → 1.1.0

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
- SHA1:
3
- metadata.gz: 01c719e707f38ed06d57cc2943e37945556bdea1
4
- data.tar.gz: 23bd2e08259eab6a18d67210cb87919a9e8cf590
2
+ SHA256:
3
+ metadata.gz: ff384a7b89b9021b201c847cf645e7e72512e2e05973aa73df250282e860c06d
4
+ data.tar.gz: a252bee4eae0171b6ea6ada001f0977d6838c6b0d937f02302e93b3b66c02b54
5
5
  SHA512:
6
- metadata.gz: a66cab510b96226c59bab713ccf52180ef2d77fdd82ad124c52cb71ecebe4d739d8931134184f302ebdba75225f51c4a22123b8372552b24c9d738371461ffa1
7
- data.tar.gz: 3fbf2831c572994085f0f179f9a722658962959037c41be9fd423c48f2069bf60035d54a725eb73a1af9f2cb8aff25891476e193255a8d09202996847dca48b7
6
+ metadata.gz: e0f399c1923a3df270aa062de4b750553447b3e2f93c4d08857432148c3d1707c722b21f5d68c77406db70befea6f7003d741deba9cb829c66f95e96070dd961
7
+ data.tar.gz: 9581934bc3f82160f1a7b36a3f5189ffb550db3c0db57bedaba64d40333bb26bdc0ff00c355a1d7e199b3373aaa5bd123db245d984816c322e9f1dbe9cd0a402
@@ -1,13 +1,12 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - jruby-19mode # JRuby in 1.9 mode
4
- - jruby-head
5
- script:
4
+ - jruby
5
+ before_script:
6
+ - rmdir solrmarc-sw >/dev/null 2>&1; true # possibly created by the cache directive below
7
+ - rake clone_solrmarc
8
+ script:
6
9
  rake rspec_wrapped SETTINGS='ci'
7
10
  cache:
8
11
  directories:
9
12
  - solrmarc-sw
10
- notifications:
11
- email:
12
- - ndushay@stanford.edu
13
- - laneymcg@stanford.edu
@@ -1,6 +1,6 @@
1
1
  = SolrjWrapper
2
2
 
3
- {<img src="https://travis-ci.org/sul-dlss/solrj_wrapper.svg" alt="Build Status" />}[https://travis-ci.org/sul-dlss/solrj_wrapper] {<img src="https://coveralls.io/repos/sul-dlss/solrj_wrapper/badge.png?branch=master" alt="Coverage Status" />}[https://coveralls.io/r/sul-dlss/solrj_wrapper?branch=master] {<img src="https://gemnasium.com/sul-dlss/solrj_wrapper.png" alt="Dependency Status" />}[https://gemnasium.com/sul-dlss/solrj_wrapper] {<img src="https://badge.fury.io/rb/solrj_wrapper.svg" alt="Gem Version" />}[http://badge.fury.io/rb/solrj_wrapper]
3
+ {<img src="https://travis-ci.org/sul-dlss/solrj_wrapper.svg" alt="Build Status" />}[https://travis-ci.org/sul-dlss/solrj_wrapper] {<img src="https://badge.fury.io/rb/solrj_wrapper.svg" alt="Gem Version" />}[http://badge.fury.io/rb/solrj_wrapper]
4
4
 
5
5
 
6
6
  Ruby wrapper for interacting with Solrj objects, such as org.apache.solr.client.solrj.impl.HttpSolrServer.
@@ -107,7 +107,7 @@ protected
107
107
 
108
108
  # require all the necessary jars to use Solrj classes
109
109
  def load_solrj(solrj_jar_dir)
110
- Dir["#{solrj_jar_dir}/*.jar"].each {|jar_file| require jar_file }
110
+ Dir["#{solrj_jar_dir}/*.jar"].each {|jar_file| require File.expand_path(jar_file) }
111
111
  end
112
112
 
113
113
  end
@@ -1,3 +1,3 @@
1
1
  class SolrjWrapper
2
- VERSION = "1.0.2"
2
+ VERSION = "1.1.0"
3
3
  end
@@ -25,7 +25,6 @@ Gem::Specification.new do |gem|
25
25
  gem.add_development_dependency "yard"
26
26
  # tests
27
27
  gem.add_development_dependency 'rspec'
28
- gem.add_development_dependency 'coveralls'
29
28
  gem.add_development_dependency 'simplecov'
30
29
  gem.add_development_dependency "jettywrapper"
31
30
 
@@ -1,9 +1,5 @@
1
- require 'coveralls'
2
- Coveralls.wear!
3
-
4
1
  # for test coverage
5
2
  require 'simplecov'
6
- SimpleCov.formatter = Coveralls::SimpleCov::Formatter
7
3
  SimpleCov.start do
8
4
  add_filter "spec"
9
5
  add_filter "config"
metadata CHANGED
@@ -1,113 +1,99 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solrj_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naomi Dushay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-07 00:00:00.000000000 Z
11
+ date: 2018-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rake
15
- version_requirements: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '>='
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
14
  requirement: !ruby/object:Gem::Requirement
21
15
  requirements:
22
- - - '>='
16
+ - - ">="
23
17
  - !ruby/object:Gem::Version
24
18
  version: '0'
19
+ name: rake
25
20
  prerelease: false
26
21
  type: :development
27
- - !ruby/object:Gem::Dependency
28
- name: rdoc
29
22
  version_requirements: !ruby/object:Gem::Requirement
30
23
  requirements:
31
- - - '>='
24
+ - - ">="
32
25
  - !ruby/object:Gem::Version
33
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
34
28
  requirement: !ruby/object:Gem::Requirement
35
29
  requirements:
36
- - - '>='
30
+ - - ">="
37
31
  - !ruby/object:Gem::Version
38
32
  version: '0'
33
+ name: rdoc
39
34
  prerelease: false
40
35
  type: :development
41
- - !ruby/object:Gem::Dependency
42
- name: yard
43
36
  version_requirements: !ruby/object:Gem::Requirement
44
37
  requirements:
45
- - - '>='
38
+ - - ">="
46
39
  - !ruby/object:Gem::Version
47
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
48
42
  requirement: !ruby/object:Gem::Requirement
49
43
  requirements:
50
- - - '>='
44
+ - - ">="
51
45
  - !ruby/object:Gem::Version
52
46
  version: '0'
47
+ name: yard
53
48
  prerelease: false
54
49
  type: :development
55
- - !ruby/object:Gem::Dependency
56
- name: rspec
57
50
  version_requirements: !ruby/object:Gem::Requirement
58
51
  requirements:
59
- - - '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
62
56
  requirement: !ruby/object:Gem::Requirement
63
57
  requirements:
64
- - - '>='
58
+ - - ">="
65
59
  - !ruby/object:Gem::Version
66
60
  version: '0'
61
+ name: rspec
67
62
  prerelease: false
68
63
  type: :development
69
- - !ruby/object:Gem::Dependency
70
- name: coveralls
71
64
  version_requirements: !ruby/object:Gem::Requirement
72
65
  requirements:
73
- - - '>='
66
+ - - ">="
74
67
  - !ruby/object:Gem::Version
75
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
76
70
  requirement: !ruby/object:Gem::Requirement
77
71
  requirements:
78
- - - '>='
72
+ - - ">="
79
73
  - !ruby/object:Gem::Version
80
74
  version: '0'
75
+ name: simplecov
81
76
  prerelease: false
82
77
  type: :development
83
- - !ruby/object:Gem::Dependency
84
- name: simplecov
85
78
  version_requirements: !ruby/object:Gem::Requirement
86
79
  requirements:
87
- - - '>='
80
+ - - ">="
88
81
  - !ruby/object:Gem::Version
89
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
90
84
  requirement: !ruby/object:Gem::Requirement
91
85
  requirements:
92
- - - '>='
86
+ - - ">="
93
87
  - !ruby/object:Gem::Version
94
88
  version: '0'
89
+ name: jettywrapper
95
90
  prerelease: false
96
91
  type: :development
97
- - !ruby/object:Gem::Dependency
98
- name: jettywrapper
99
92
  version_requirements: !ruby/object:Gem::Requirement
100
93
  requirements:
101
- - - '>='
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- requirement: !ruby/object:Gem::Requirement
105
- requirements:
106
- - - '>='
94
+ - - ">="
107
95
  - !ruby/object:Gem::Version
108
96
  version: '0'
109
- prerelease: false
110
- type: :development
111
97
  description: Ruby wrapper for interacting with Solrj objects, such as org.apache.solr.client.solrj.impl.HttpSolrServer
112
98
  email:
113
99
  - ndushay@stanford.edu
@@ -115,12 +101,12 @@ executables: []
115
101
  extensions: []
116
102
  extra_rdoc_files: []
117
103
  files:
118
- - .coveralls.yml
119
- - .gitignore
120
- - .ruby-gemset
121
- - .ruby-version
122
- - .travis.yml
123
- - .yardopts
104
+ - ".coveralls.yml"
105
+ - ".gitignore"
106
+ - ".ruby-gemset"
107
+ - ".ruby-version"
108
+ - ".travis.yml"
109
+ - ".yardopts"
124
110
  - Gemfile
125
111
  - LICENSE
126
112
  - README.rdoc
@@ -146,22 +132,22 @@ require_paths:
146
132
  - lib
147
133
  required_ruby_version: !ruby/object:Gem::Requirement
148
134
  requirements:
149
- - - '>='
135
+ - - ">="
150
136
  - !ruby/object:Gem::Version
151
137
  version: '0'
152
138
  required_rubygems_version: !ruby/object:Gem::Requirement
153
139
  requirements:
154
- - - '>='
140
+ - - ">="
155
141
  - !ruby/object:Gem::Version
156
142
  version: '0'
157
143
  requirements: []
158
144
  rubyforge_project:
159
- rubygems_version: 2.2.0
145
+ rubygems_version: 2.6.13
160
146
  signing_key:
161
147
  specification_version: 4
162
- summary: This gem must be run under JRuby, and also requires a directory containing SolrJ jars and solr url (see lib/config/settings.yml)
148
+ summary: This gem must be run under JRuby, and also requires a directory containing
149
+ SolrJ jars and solr url (see lib/config/settings.yml)
163
150
  test_files:
164
151
  - spec/solr/solr.xml
165
152
  - spec/solrj_wrapper_spec.rb
166
153
  - spec/spec_helper.rb
167
- has_rdoc: