softwear-lib 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/softwear/lib.rb +8 -0
- data/lib/softwear/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d4484a08e43a62165f5a0c2dd874580bb7571e1
|
4
|
+
data.tar.gz: d0ad050b7f43f6039dafdd2af656061c94865e57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0841c7037489a428bdfbe5f61a6790e9f8f342a1cfd150f9e58d6d4d21d5ef25d6a9ae2ac587525ad17b25d3604674d0433311e19fcfc977c03b109c87004274
|
7
|
+
data.tar.gz: 850c37c7cdefb31af3d5bf47bd2b718cc88fcb7fcb5e1e8c9fb9ba93be347bc26bb7e01d59ca6d16c19e29fec2f3f34de854283e7c70a090abcf5d1725924712
|
data/lib/softwear/lib.rb
CHANGED
@@ -91,6 +91,14 @@ end
|
|
91
91
|
end
|
92
92
|
end
|
93
93
|
|
94
|
+
if defined?(Sunspot)
|
95
|
+
before :publishing, :reindex_solr do
|
96
|
+
on roles(:db) do
|
97
|
+
execute :rake, 'sunspot:solr', 'reindex'
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
94
102
|
# This is no longer necessary
|
95
103
|
# before :updating, :update_softwear_lib
|
96
104
|
after :publishing, :restart
|
data/lib/softwear/lib/version.rb
CHANGED