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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e338c8a016c8ae9315f7c8a0feb7174d4a3ecccf
4
- data.tar.gz: a3cfc2d08e16129a9f3db5c2327a10c471f97470
3
+ metadata.gz: 850ef70927a7765d7876310ac86e9f82b7862b7d
4
+ data.tar.gz: faffaad4a72335bdb0679c9ed65c82a949113938
5
5
  SHA512:
6
- metadata.gz: f303c98d45e4741ac6d1dcc7ac581309f39f2ecd10aa859533bcffbdf8762864114cd9f446b750e0ec3e10f919124dff8379e40daf7ac0a589df4767c9fc6231
7
- data.tar.gz: d498de3fd9603083ba9f6f990451f3c86ff4c816c3eeacda23f17ea8bc9467ae30064bea4d7bfac1a2bf580fbefa29e7e2457951fcc1fae40ae723ff6597f35e
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
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'h2ocube_rails_sunspot'
6
- s.version = '0.0.2'
6
+ s.version = '0.0.3'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ['Ben']
9
9
  s.email = ['ben@h2ocube.com']
@@ -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.2
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-04 00:00:00.000000000 Z
11
+ date: 2014-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sunspot_rails