softwear-lib 1.2.5 → 1.2.6

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: 2ee09b7f33ec1ae3a4484a4711dc3f70ace4d0be
4
- data.tar.gz: 5d46fc579e0aa02eed653c8763b246796d8cf7bf
3
+ metadata.gz: 4fd3682d7edabf138ff75cedcafc377b7ab57434
4
+ data.tar.gz: 3b3a2c2ea39eec9f6f1b561687de1dde58f7953e
5
5
  SHA512:
6
- metadata.gz: 1b8d15e6e82c981ba3b84879d3852f24a8bc7f392ca311953c489f37c829a549da747cb7a33d1849a9ae34e17cd3f7883ac3a93385dd9274adefe7b0372e2baf
7
- data.tar.gz: 71f5519265c54a135da60a6f0718419e03fdd8c6ca7e204d6fd0af0a8b33496470f2be30f6d691da6a6df59c07d210921e2571bfcac94ddb6e1d11295357bf91
6
+ metadata.gz: a2fb6340846f17315ee168b624aa63e904106e443289f1ab89eeb6900dbec6e200e6c7c4067fdc09ca9bc374906a0057c0edd6c2e136376308bbe187489a3ea2
7
+ data.tar.gz: d670364c46c6d4843b67333c36bc74419aafb07b3de17c7b34bc2ec3e8b63c904220b11602b505c17a3abe619dff99cd30043e50f0fa9c9061e574cc5022299f
@@ -1,5 +1,5 @@
1
1
  module Softwear
2
2
  module Lib
3
- VERSION = "1.2.5"
3
+ VERSION = "1.2.6"
4
4
  end
5
5
  end
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
- within(release_path) do
98
- execute :rake, 'sunspot:solr:reindex'
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
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.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nigel Baillie