softwear-lib 0.0.10 → 0.0.11

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: 8809d6cb5340fadec07b3faf2405ebba956edd04
4
- data.tar.gz: 99133336d8c68e7167b8bb1854995144846a3a0f
3
+ metadata.gz: ed3777f75b4444f72c0d19f0ae7028091c36d2c3
4
+ data.tar.gz: 91e13812ad0e24155e7c0c9a06793c9af5c5fb24
5
5
  SHA512:
6
- metadata.gz: efc2f5f6af04636377de725eb69efd8e7b6597882efd43d3f2c137305d80620e5553645d3c9a2c3d9811e2744a2b32fa2aae67c1213302c5ca4603b2117c9b8a
7
- data.tar.gz: aa13933e1597c2bb7fef2fead150e670dff2577953fcffc4d13fc4e52ae943824b7de14405d76c6426fa27351e2b84d762f0cae6fcd505f68cc1e8115a7dc659
6
+ metadata.gz: 509d856cc6a7e237a77b0d92291684b971048b39d28636f9e6b21764d8a6f120603dfb75f4e7d49a03218d09ad36fbaf37bc08255540bbe679a8868b26cf1502
7
+ data.tar.gz: 72cf6fd5aa62d4629014aecf268c55d109ab76ae9fe9d22fd820ff443939f7c5fc4429a8dc45b3e07046c8bc657607641ad546bec02a2a8737885dc7c06b781b
@@ -1,5 +1,5 @@
1
1
  module Softwear
2
2
  module Lib
3
- VERSION = "0.0.10"
3
+ VERSION = "0.0.11"
4
4
  end
5
5
  end
data/lib/softwear/lib.rb CHANGED
@@ -62,15 +62,16 @@ module Softwear
62
62
 
63
63
  def self.capistrano(context)
64
64
  context.instance_eval do
65
- gem_home = fetch(:gems_path) || "~/.rvm/rubies/#{fetch(:rvm_ruby_string)}/gems/gems"
65
+ ruby = fetch(:rvm_ruby_string)
66
+ gem_home = fetch(:gems_path) || "~/.rvm/rubies/#{ruby}/gems/gems"
66
67
 
67
68
  namespace :deploy do
68
69
 
69
70
  desc 'Assure softwear-lib is up to date before deploying'
70
71
  task :update_softwear_lib do
71
72
  on roles(:app), in: :sequence do
72
- execute "gem install softwear-lib"
73
- execute "gem install -i #{gem_home} softwear-lib"
73
+ execute "(rvm use #{ruby}; gem install softwear-lib)"
74
+ execute "(rvm use #{ruby}; gem install -i #{gem_home} softwear-lib)"
74
75
  end
75
76
  end
76
77
 
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: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nigel Baillie