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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 650561181de106fc10bea00cc4b3622ab4032d6e
4
- data.tar.gz: 4798a7aa5f827736c99408c0e69f9f6456a38b5b
3
+ metadata.gz: 0d4484a08e43a62165f5a0c2dd874580bb7571e1
4
+ data.tar.gz: d0ad050b7f43f6039dafdd2af656061c94865e57
5
5
  SHA512:
6
- metadata.gz: eb42b4d67a64192bdfdd4658e2a339d8990a659f66f417e14367942254f1ed583026154f3cc524dbbed4b3e499ab6c753c78fde8c31010e7a8d6a4d80e8ecfeb
7
- data.tar.gz: 51ef2488ec8398ed371c5bf904da91ce98d7f2d0c533d8cb113ddb388f75905d89b7e2835959b135b0614550343886cac9296a86f4741be97d34cedc824c1b71
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
@@ -1,5 +1,5 @@
1
1
  module Softwear
2
2
  module Lib
3
- VERSION = "1.2.1"
3
+ VERSION = "1.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: softwear-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nigel Baillie