sunspot_matchers 2.0.0.0 → 2.0.0.1
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.
- data/Gemfile +1 -1
- data/Gemfile.lock +2 -2
- data/lib/sunspot_matchers/matchers.rb +4 -0
- data/lib/sunspot_matchers/version.rb +1 -1
- metadata +6 -3
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -330,6 +330,10 @@ module SunspotMatchers
|
|
|
330
330
|
(@sunspot.all_text_fields + @sunspot.fields).collect(&:name).include?(@field)
|
|
331
331
|
end
|
|
332
332
|
|
|
333
|
+
def description
|
|
334
|
+
"should have searchable field #{@field}"
|
|
335
|
+
end
|
|
336
|
+
|
|
333
337
|
def failure_message_for_should
|
|
334
338
|
"expected class: #{@klass} to have searchable field: #{@field}"
|
|
335
339
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sunspot_matchers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.0.
|
|
4
|
+
version: 2.0.0.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-05-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|
|
@@ -109,6 +109,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
109
109
|
- - ! '>='
|
|
110
110
|
- !ruby/object:Gem::Version
|
|
111
111
|
version: '0'
|
|
112
|
+
segments:
|
|
113
|
+
- 0
|
|
114
|
+
hash: -144625072339712531
|
|
112
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
116
|
none: false
|
|
114
117
|
requirements:
|
|
@@ -117,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
117
120
|
version: 1.3.6
|
|
118
121
|
requirements: []
|
|
119
122
|
rubyforge_project:
|
|
120
|
-
rubygems_version: 1.8.
|
|
123
|
+
rubygems_version: 1.8.25
|
|
121
124
|
signing_key:
|
|
122
125
|
specification_version: 3
|
|
123
126
|
summary: RSpec matchers and Test::Unit assertions for testing Sunspot
|