sunspot_test 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +14 -1
- data/VERSION +1 -1
- data/sunspot_test.gemspec +58 -0
- metadata +5 -4
data/README.rdoc
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
= sunspot_test
|
2
2
|
|
3
|
+
== How to install
|
4
|
+
|
5
|
+
Install this sunspot_test from rubygems either directly:
|
6
|
+
|
7
|
+
gem install sunspot_test
|
8
|
+
|
9
|
+
Or through bundler
|
10
|
+
|
11
|
+
# in Gemfile
|
12
|
+
gem "sunspot_test"
|
13
|
+
|
14
|
+
== What does it do?
|
15
|
+
|
3
16
|
This gem will automatically start and stop solr for cucumber tests when using the @search tag. For instance, if you have a searchable book model this will allow you to create/query/destroy books.
|
4
17
|
|
5
18
|
@search
|
@@ -9,7 +22,7 @@ This gem will automatically start and stop solr for cucumber tests when using th
|
|
9
22
|
Given a book exists with a title of "Of Mice and Men"
|
10
23
|
|
11
24
|
|
12
|
-
Starting solr will depend on your settings in <b>config/sunspot.yml</b>. If you run into issues remember to look for existing java processes, starting solr may conflict with existing instances.
|
25
|
+
Starting solr will depend on your settings in <b>config/sunspot.yml</b>. If you run into issues remember to look for existing java processes, starting solr may conflict with existing instances. You can also check out http://collectiveidea.com/blog/archives/2011/05/25/testing-with-sunspot-and-cucumber/ which contains a little more information.
|
13
26
|
|
14
27
|
== Note on Patches/Pull Requests
|
15
28
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{sunspot_test}
|
8
|
+
s.version = "0.1.2"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Zach Moazeni"]
|
12
|
+
s.date = %q{2011-05-25}
|
13
|
+
s.description = %q{Testing sunspot with cucumber can be a pain. This gem will automatically start/stop solr with cucumber scenarios tagged with @solr}
|
14
|
+
s.email = %q{zach@collectiveidea.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"features/support/env.rb",
|
27
|
+
"lib/sunspot_test.rb",
|
28
|
+
"spec/spec.opts",
|
29
|
+
"spec/spec_helper.rb",
|
30
|
+
"spec/sunspot_test_spec.rb",
|
31
|
+
"sunspot_test.gemspec"
|
32
|
+
]
|
33
|
+
s.homepage = %q{https://github.com/collectiveidea/sunspot_test}
|
34
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
35
|
+
s.require_paths = ["lib"]
|
36
|
+
s.rubygems_version = %q{1.4.2}
|
37
|
+
s.summary = %q{Auto-starts solr for your cucumber tests}
|
38
|
+
s.test_files = [
|
39
|
+
"spec/spec_helper.rb",
|
40
|
+
"spec/sunspot_test_spec.rb"
|
41
|
+
]
|
42
|
+
|
43
|
+
if s.respond_to? :specification_version then
|
44
|
+
s.specification_version = 3
|
45
|
+
|
46
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
47
|
+
s.add_runtime_dependency(%q<sunspot_rails>, [">= 1.2.1"])
|
48
|
+
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
49
|
+
else
|
50
|
+
s.add_dependency(%q<sunspot_rails>, [">= 1.2.1"])
|
51
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
52
|
+
end
|
53
|
+
else
|
54
|
+
s.add_dependency(%q<sunspot_rails>, [">= 1.2.1"])
|
55
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sunspot_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Zach Moazeni
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-05-
|
18
|
+
date: 2011-05-25 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -71,6 +71,7 @@ files:
|
|
71
71
|
- spec/spec.opts
|
72
72
|
- spec/spec_helper.rb
|
73
73
|
- spec/sunspot_test_spec.rb
|
74
|
+
- sunspot_test.gemspec
|
74
75
|
has_rdoc: true
|
75
76
|
homepage: https://github.com/collectiveidea/sunspot_test
|
76
77
|
licenses: []
|