softwear-lib 0.0.12 → 0.0.13
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/version.rb +1 -1
- data/lib/softwear/lib.rb +4 -4
- 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: c32b0bce2f952f8544eea7d3ea14df4d0c2783b6
|
4
|
+
data.tar.gz: e7b5b8f66bac6c4c2a6df6a717de39b755218cc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 603f5fe43dca607785ffbe826b964b61cfbd25105cae6f15befacd50cae2f9d1d7dc4257bca54df1c4442e5c8fc590889c0fe364679e805a84bb498d9124beb8
|
7
|
+
data.tar.gz: f02caebf1bb8571efb8dd793a3f4e4c393e454115b004c0892c6aba4e01a970fa2afab40c314043d2ac440198b41df7b8ed4593342596d6de7415bffa0935ca3
|
data/lib/softwear/lib/version.rb
CHANGED
data/lib/softwear/lib.rb
CHANGED
@@ -63,20 +63,20 @@ module Softwear
|
|
63
63
|
def self.capistrano(context)
|
64
64
|
context.instance_eval do
|
65
65
|
ruby = fetch(:rvm_ruby_string) || fetch(:rvm_ruby_version)
|
66
|
-
|
66
|
+
gem_home_1 = fetch(:gems_path) || "~/.rvm/rubies/#{ruby}/gems/gems"
|
67
|
+
gem_home_2 = "~/.rvm/gems/#{ruby}/gems"
|
67
68
|
|
68
69
|
namespace :deploy do
|
69
70
|
|
70
71
|
desc 'Assure softwear-lib is up to date before deploying'
|
71
72
|
task :update_softwear_lib do
|
72
73
|
on roles(:app), in: :sequence do
|
73
|
-
execute "
|
74
|
-
execute "
|
74
|
+
execute "gem install -i #{gem_home_1} softwear-lib"
|
75
|
+
execute "gem install -i #{gem_home_2} softwear-lib"
|
75
76
|
end
|
76
77
|
end
|
77
78
|
|
78
79
|
before :updating, :update_softwear_lib
|
79
|
-
|
80
80
|
end
|
81
81
|
end
|
82
82
|
end
|