rvm1-capistrano3 0.9.1 → 1.0.0

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
- SHA512:
3
- metadata.gz: 8316f9b32801d6b053b8248c7486279eb04c8564ade25b69219f14788c627cefb996a010d4910f27e74655fe0ce1e3a4e237785389439635479e6c2b4276702a
4
- data.tar.gz: c91b828fed835aa7280796a5c555b570341dccd682d36371de481e1e1316ad5a7f37e70160d970deea3fd326a66f37077330868ead4b533e557b660939a19aac
5
2
  SHA1:
6
- metadata.gz: d9b752bc3b3a467c551b771281c92499a38e7547
7
- data.tar.gz: 72c4355e209295c793704ad907562c5010f54007
3
+ metadata.gz: 1602b624aabc15402fff15cbe48c5debf0579e89
4
+ data.tar.gz: c649c754fb280fa7b784d6168bf75df9625861e5
5
+ SHA512:
6
+ metadata.gz: 46a5f4460875bf47947af2c3fa844005f29fdfd7ae7d4f45f0b16962d1e73b079bd9b506ee8120659a37e49f9632166a3a8d7e04c5e7c86371c1e8df7d546e53
7
+ data.tar.gz: 63057d626f9af19996c5a216ef0953551467f54955f397c134ae6d2a554a0188ddd81595d13eb886f709e16d896c3a6ad5548fc33056a37bfdf7f575321befa0
@@ -1,5 +1,5 @@
1
1
  module RVM1
2
2
  class Capistrano3
3
- VERSION="0.9.1"
3
+ VERSION="1.0.0"
4
4
  end
5
5
  end
@@ -9,16 +9,29 @@ namespace :rvm1 do
9
9
  execute "#{fetch(:tmp_dir)}/#{fetch(:application)}/install-rvm.sh"
10
10
  end
11
11
  end
12
+ before :rvm, 'rvm1:hook'
12
13
 
13
14
  desc "Installs Ruby for the given ruby project"
14
15
  task :ruby do
15
16
  on roles(:all) do
16
17
  within fetch(:release_path) do
17
- execute "#{fetch(:tmp_dir)}/#{fetch(:application)}/rvm-auto.sh", "rvm", "use", "--install", fetch(:rvm1_ruby_version)
18
+ execute "#{fetch(:tmp_dir)}/#{fetch(:application)}/rvm-auto.sh", "rvm", "install", fetch(:rvm1_ruby_version)
18
19
  end
19
20
  end
20
21
  end
21
22
  before :ruby, "deploy:updating"
22
23
  before :ruby, 'rvm1:hook'
24
+
25
+ desc "Install gems from Gemfile into gemset using rubygems."
26
+ task :gems do
27
+ on roles(:all) do
28
+ within release_path do
29
+ execute :gem, "install", "--file", "Gemfile"
30
+ end
31
+ end
32
+ end
33
+ before :gems, "deploy:updating"
34
+ before :gems, 'rvm1:hook'
35
+
23
36
  end
24
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rvm1-capistrano3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Papis
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2013-11-11 00:00:00 Z
12
+ date: 2013-12-02 00:00:00 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  requirements: []
71
71
 
72
72
  rubyforge_project:
73
- rubygems_version: 2.0.12
73
+ rubygems_version: 2.0.14
74
74
  signing_key:
75
75
  specification_version: 4
76
76
  summary: RVM 1.x / Capistrano 3.x Integration Gem