softwear-lib 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d4484a08e43a62165f5a0c2dd874580bb7571e1
4
- data.tar.gz: d0ad050b7f43f6039dafdd2af656061c94865e57
3
+ metadata.gz: 7cb881526c2c71be6923f96dcea4438f3dac240d
4
+ data.tar.gz: e205980befa00c1de5dd6b6e5d26a3374ca3373c
5
5
  SHA512:
6
- metadata.gz: 0841c7037489a428bdfbe5f61a6790e9f8f342a1cfd150f9e58d6d4d21d5ef25d6a9ae2ac587525ad17b25d3604674d0433311e19fcfc977c03b109c87004274
7
- data.tar.gz: 850c37c7cdefb31af3d5bf47bd2b718cc88fcb7fcb5e1e8c9fb9ba93be347bc26bb7e01d59ca6d16c19e29fec2f3f34de854283e7c70a090abcf5d1725924712
6
+ metadata.gz: 4c9d94f551f8c986e657017be92bf0b12b2ef554c372a60290cde25a5dc18756ab6a7d6b487aac30fd45d7b20b7bc19343a23153e6d6517158f22fab3295b386
7
+ data.tar.gz: aaea05374dae1fff17494b82c62945d597f3feb685a13dd6c47a4d4a93df9ba4ef2b3de9beb334f3ce4bc9a1034fc42d31bd957b475500a8dd24549702caf19b
data/lib/softwear/lib.rb CHANGED
@@ -91,7 +91,7 @@ end
91
91
  end
92
92
  end
93
93
 
94
- if defined?(Sunspot)
94
+ unless $LOAD_PATH.grep(/sunspot_solr/).empty?
95
95
  before :publishing, :reindex_solr do
96
96
  on roles(:db) do
97
97
  execute :rake, 'sunspot:solr', 'reindex'
@@ -1,5 +1,5 @@
1
1
  module Softwear
2
2
  module Lib
3
- VERSION = "1.2.2"
3
+ VERSION = "1.2.3"
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.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nigel Baillie