rspec-solr 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.travis.yml +2 -1
- data/README.rdoc +2 -1
- data/lib/rspec-solr/version.rb +1 -1
- data/spec/number_of_documents_spec.rb +4 -4
- metadata +21 -44
- data/.rvmrc +0 -1
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 29844b0eff6a43c4cdcdd5362f62415149f88c08
|
4
|
+
data.tar.gz: 484e4610bd1998ba05a32df00b501fed762bb1da
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8d6667795c37700d04732dc58adf51c9694d6076bead960f3cff38781084bd978bd56ef33b673ee4d26c93cc4c36fa6ca34a1599c3ffeceb481388ef37df8024
|
7
|
+
data.tar.gz: 5d293800c943c18e7dfe85629fe0d45f4f37e62b0ebb923aa88a6ec3eb8ec4fb769a24260c8b4500933f19a82a3c4770686aa9f45264336275d50b71f98330f2
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/README.rdoc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
= RSpec Solr
|
2
2
|
|
3
|
-
{<img src="https://secure.travis-ci.org/sul-dlss/rspec-solr.png?branch=master" alt="Build Status" />}[http://travis-ci.org/sul-dlss/rspec-solr]
|
3
|
+
{<img src="https://secure.travis-ci.org/sul-dlss/rspec-solr.png?branch=master" alt="Build Status" />}[http://travis-ci.org/sul-dlss/rspec-solr] {<img src="https://gemnasium.com/sul-dlss/rspec-solr.png" alt="Dependency Status" />}[https://gemnasium.com/sul-dlss/rspec-solr]
|
4
4
|
|
5
5
|
A Gem to provide RSpec custom matchers to be used with Solr response objects.
|
6
6
|
|
@@ -149,6 +149,7 @@ Please share yours!
|
|
149
149
|
5. Create new Pull Request
|
150
150
|
|
151
151
|
== Releases
|
152
|
+
- <b>1.0.1</b> fix spec failing in travis due to diff error message in later rspec version
|
152
153
|
- <b>1.0.0</b> declare victory and make 0.2.0 into 1.0.0
|
153
154
|
- <b>0.2.0</b> add facet support have_facet_field(fld_name).with_value(fld_value)
|
154
155
|
- <b>0.1.4</b> fix regex match to work with in_each_of_first(n)
|
data/lib/rspec-solr/version.rb
CHANGED
@@ -155,9 +155,9 @@ describe RSpecSolr do
|
|
155
155
|
my_matcher.failure_message_for_should_not.should eq <<-EOF
|
156
156
|
Isn't life confusing enough?
|
157
157
|
Instead of having to figure out the meaning of this:
|
158
|
-
|
158
|
+
expect(actual).not_to have_at_least(6).documents
|
159
159
|
We recommend that you use this instead:
|
160
|
-
|
160
|
+
expect(actual).to have_at_most(5).documents
|
161
161
|
EOF
|
162
162
|
end
|
163
163
|
end
|
@@ -192,9 +192,9 @@ EOF
|
|
192
192
|
my_matcher.failure_message_for_should_not.should eq <<-EOF
|
193
193
|
Isn't life confusing enough?
|
194
194
|
Instead of having to figure out the meaning of this:
|
195
|
-
|
195
|
+
expect(actual).not_to have_at_most(4).documents
|
196
196
|
We recommend that you use this instead:
|
197
|
-
|
197
|
+
expect(actual).to have_at_least(5).documents
|
198
198
|
EOF
|
199
199
|
end
|
200
200
|
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-solr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Naomi Dushay
|
@@ -10,118 +9,104 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2014-04-22 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rspec
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - '>='
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: '0'
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
|
-
- -
|
25
|
+
- - '>='
|
29
26
|
- !ruby/object:Gem::Version
|
30
27
|
version: '0'
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: rake
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
|
-
- -
|
32
|
+
- - '>='
|
37
33
|
- !ruby/object:Gem::Version
|
38
34
|
version: '0'
|
39
35
|
type: :development
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
|
-
- -
|
39
|
+
- - '>='
|
45
40
|
- !ruby/object:Gem::Version
|
46
41
|
version: '0'
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: rdoc
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
|
-
- -
|
46
|
+
- - '>='
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: '0'
|
55
49
|
type: :development
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
|
-
- -
|
53
|
+
- - '>='
|
61
54
|
- !ruby/object:Gem::Version
|
62
55
|
version: '0'
|
63
56
|
- !ruby/object:Gem::Dependency
|
64
57
|
name: yard
|
65
58
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
59
|
requirements:
|
68
|
-
- -
|
60
|
+
- - '>='
|
69
61
|
- !ruby/object:Gem::Version
|
70
62
|
version: '0'
|
71
63
|
type: :development
|
72
64
|
prerelease: false
|
73
65
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
66
|
requirements:
|
76
|
-
- -
|
67
|
+
- - '>='
|
77
68
|
- !ruby/object:Gem::Version
|
78
69
|
version: '0'
|
79
70
|
- !ruby/object:Gem::Dependency
|
80
71
|
name: simplecov
|
81
72
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
73
|
requirements:
|
84
|
-
- -
|
74
|
+
- - '>='
|
85
75
|
- !ruby/object:Gem::Version
|
86
76
|
version: '0'
|
87
77
|
type: :development
|
88
78
|
prerelease: false
|
89
79
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
80
|
requirements:
|
92
|
-
- -
|
81
|
+
- - '>='
|
93
82
|
- !ruby/object:Gem::Version
|
94
83
|
version: '0'
|
95
84
|
- !ruby/object:Gem::Dependency
|
96
85
|
name: simplecov-rcov
|
97
86
|
requirement: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
87
|
requirements:
|
100
|
-
- -
|
88
|
+
- - '>='
|
101
89
|
- !ruby/object:Gem::Version
|
102
90
|
version: '0'
|
103
91
|
type: :development
|
104
92
|
prerelease: false
|
105
93
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
-
none: false
|
107
94
|
requirements:
|
108
|
-
- -
|
95
|
+
- - '>='
|
109
96
|
- !ruby/object:Gem::Version
|
110
97
|
version: '0'
|
111
98
|
- !ruby/object:Gem::Dependency
|
112
99
|
name: travis-lint
|
113
100
|
requirement: !ruby/object:Gem::Requirement
|
114
|
-
none: false
|
115
101
|
requirements:
|
116
|
-
- -
|
102
|
+
- - '>='
|
117
103
|
- !ruby/object:Gem::Version
|
118
104
|
version: '0'
|
119
105
|
type: :development
|
120
106
|
prerelease: false
|
121
107
|
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
108
|
requirements:
|
124
|
-
- -
|
109
|
+
- - '>='
|
125
110
|
- !ruby/object:Gem::Version
|
126
111
|
version: '0'
|
127
112
|
description: Provides RSpec custom matchers to be used with Solr response objects.
|
@@ -136,7 +121,6 @@ extra_rdoc_files:
|
|
136
121
|
- MATCHERS.rdoc
|
137
122
|
files:
|
138
123
|
- .gitignore
|
139
|
-
- .rvmrc
|
140
124
|
- .travis.yml
|
141
125
|
- .yardopts
|
142
126
|
- Gemfile
|
@@ -168,33 +152,26 @@ files:
|
|
168
152
|
- spec/support/matchers.rb
|
169
153
|
homepage: http://github.com/sul-dlss/rspec-solr
|
170
154
|
licenses: []
|
155
|
+
metadata: {}
|
171
156
|
post_install_message:
|
172
157
|
rdoc_options: []
|
173
158
|
require_paths:
|
174
159
|
- - lib
|
175
160
|
required_ruby_version: !ruby/object:Gem::Requirement
|
176
|
-
none: false
|
177
161
|
requirements:
|
178
|
-
- -
|
162
|
+
- - '>='
|
179
163
|
- !ruby/object:Gem::Version
|
180
164
|
version: '0'
|
181
|
-
segments:
|
182
|
-
- 0
|
183
|
-
hash: 1221175710971418763
|
184
165
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
166
|
requirements:
|
187
|
-
- -
|
167
|
+
- - '>='
|
188
168
|
- !ruby/object:Gem::Version
|
189
169
|
version: '0'
|
190
|
-
segments:
|
191
|
-
- 0
|
192
|
-
hash: 1221175710971418763
|
193
170
|
requirements: []
|
194
171
|
rubyforge_project:
|
195
|
-
rubygems_version:
|
172
|
+
rubygems_version: 2.2.0
|
196
173
|
signing_key:
|
197
|
-
specification_version:
|
174
|
+
specification_version: 4
|
198
175
|
summary: RSpec custom matchers for Solr response objects
|
199
176
|
test_files:
|
200
177
|
- spec/comparing_num_docs_in_2_resp_spec.rb
|
data/.rvmrc
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rvm use ruby-1.9.3@rspec-solr --create
|