h2ocube_rails_sunspot 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -0
- data/h2ocube_rails_sunspot.gemspec +1 -1
- data/lib/capistrano/tasks/sunspot.cap +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 850ef70927a7765d7876310ac86e9f82b7862b7d
|
4
|
+
data.tar.gz: faffaad4a72335bdb0679c9ed65c82a949113938
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cdb8acbfc376c37ea02a18d3b1dc5799b8aae90862e9fa56f5daf4b730187c2163586b5a1e59b8fc28199bdca5277cf4116c558d03a6126458e791c2d845f9b
|
7
|
+
data.tar.gz: adadd61384f163ffe56474fbebab60998dfb3a44ed7fafee8ff06bde04e8beddac90540d88649a311f6709b24c5cc21daa80f03ba2896c489ce0a84168267438
|
data/README.md
CHANGED
@@ -28,6 +28,14 @@ Add sunspot to Capfile
|
|
28
28
|
|
29
29
|
require 'capistrano/sunspot'
|
30
30
|
|
31
|
+
Sunspot tasks for Capistrano v3:
|
32
|
+
|
33
|
+
cap sunspot:setup_solr_data_dir
|
34
|
+
cap sunspot:link_to_solr_shared_dirs
|
35
|
+
cap sunspot:start
|
36
|
+
cap sunspot:stop
|
37
|
+
cap sunspot:reindex
|
38
|
+
|
31
39
|
## Contributing
|
32
40
|
|
33
41
|
1. Fork it
|
@@ -1,4 +1,5 @@
|
|
1
1
|
namespace :sunspot do
|
2
|
+
desc 'setup solr data dir'
|
2
3
|
task :setup_solr_data_dir do
|
3
4
|
on roles :app do
|
4
5
|
within shared_path do
|
@@ -7,9 +8,11 @@ namespace :sunspot do
|
|
7
8
|
end
|
8
9
|
end
|
9
10
|
|
11
|
+
desc 'link to solr shared dirs'
|
10
12
|
task :link_to_solr_shared_dirs do
|
11
13
|
on roles :app do
|
12
14
|
within shared_path do
|
15
|
+
execute :rm, "-rf #{release_path}/solr/solr"
|
13
16
|
execute :ln, "-s #{shared_path}/solr #{release_path}/solr"
|
14
17
|
end
|
15
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: h2ocube_rails_sunspot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sunspot_rails
|