softwear-lib 1.2.5 → 1.2.6
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 +4 -4
- data/lib/softwear/lib/version.rb +1 -1
- data/lib/softwear/lib.rb +4 -2
- 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: 4fd3682d7edabf138ff75cedcafc377b7ab57434
|
|
4
|
+
data.tar.gz: 3b3a2c2ea39eec9f6f1b561687de1dde58f7953e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a2fb6340846f17315ee168b624aa63e904106e443289f1ab89eeb6900dbec6e200e6c7c4067fdc09ca9bc374906a0057c0edd6c2e136376308bbe187489a3ea2
|
|
7
|
+
data.tar.gz: d670364c46c6d4843b67333c36bc74419aafb07b3de17c7b34bc2ec3e8b63c904220b11602b505c17a3abe619dff99cd30043e50f0fa9c9061e574cc5022299f
|
data/lib/softwear/lib/version.rb
CHANGED
data/lib/softwear/lib.rb
CHANGED
|
@@ -94,8 +94,10 @@ end
|
|
|
94
94
|
unless $LOAD_PATH.grep(/sunspot_solr/).empty?
|
|
95
95
|
before :publishing, :reindex_solr do
|
|
96
96
|
on roles(:db) do
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
with rails_env: fetch(:rails_env) || fetch(:stage) do
|
|
98
|
+
within(release_path) do
|
|
99
|
+
execute :rake, 'sunspot:solr:reindex'
|
|
100
|
+
end
|
|
99
101
|
end
|
|
100
102
|
end
|
|
101
103
|
end
|