rvm1-capistrano3 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ data.tar.gz: cb08c6ff2dee688a10bcd970da166c19768a582e
4
+ metadata.gz: 753a06823043b90aa60fb138acf8bca7a033c228
5
+ SHA512:
6
+ data.tar.gz: 21aff3413d8a5f12902f6c675b9b3adeb46544415302aa6385210b028876b8b13f5d7018a8fcd5670a5f2a4cdfeb34460ba7818ed7b550cb6a03efcd4e690528
7
+ metadata.gz: 0fea0390529b600ef2d676a096804ddef37fad4b16a8ddf9fc3343a3755dc175bdb346b3e147491919e486e3a6ca5421270b8529b70e8182d7da11d3d3063664
@@ -1,5 +1,5 @@
1
1
  module RVM1
2
2
  class Capistrano3
3
- VERSION="1.2.2"
3
+ VERSION="1.2.3"
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  namespace :rvm1 do
2
2
  desc "Runs the RVM1 hook - use it before any custom tasks if necessary"
3
3
  task :hook do
4
- on roles(:all) do
4
+ on roles(fetch(:rvm1_roles, :all)) do
5
5
  execute :mkdir, "-p", "#{fetch(:tmp_dir)}/#{fetch(:application)}/"
6
6
  upload! File.expand_path("../../../../script/rvm-auto.sh", __FILE__), "#{fetch(:tmp_dir)}/#{fetch(:application)}/rvm-auto.sh"
7
7
  execute :chmod, "+x", "#{fetch(:tmp_dir)}/#{fetch(:application)}/rvm-auto.sh"
@@ -17,7 +17,7 @@ namespace :rvm1 do
17
17
 
18
18
  desc "Prints the RVM1 and Ruby version on the target host"
19
19
  task :check do
20
- on roles(:all) do
20
+ on roles(fetch(:rvm1_roles, :all)) do
21
21
  puts capture(:rvm, "version")
22
22
  puts capture(:rvm, "list")
23
23
  puts capture(:rvm, "current")
@@ -2,7 +2,7 @@ namespace :rvm1 do
2
2
  namespace :install do
3
3
  desc "Installs RVM 1.x user mode"
4
4
  task :rvm do
5
- on roles(:all) do
5
+ on roles(fetch(:rvm1_roles, :all)) do
6
6
  execute :mkdir, "-p", "#{fetch(:tmp_dir)}/#{fetch(:application)}/"
7
7
  upload! File.expand_path("../../../../../script/install-rvm.sh", __FILE__), "#{fetch(:tmp_dir)}/#{fetch(:application)}/install-rvm.sh"
8
8
  execute :chmod, "+x", "#{fetch(:tmp_dir)}/#{fetch(:application)}/install-rvm.sh"
@@ -13,7 +13,7 @@ namespace :rvm1 do
13
13
 
14
14
  desc "Installs Ruby for the given ruby project"
15
15
  task :ruby do
16
- on roles(:all) do
16
+ on roles(fetch(:rvm1_roles, :all)) do
17
17
  within fetch(:release_path) do
18
18
  execute "#{fetch(:tmp_dir)}/#{fetch(:application)}/rvm-auto.sh", "rvm", "install", fetch(:rvm1_ruby_version)
19
19
  end
@@ -24,7 +24,7 @@ namespace :rvm1 do
24
24
 
25
25
  desc "Install gems from Gemfile into gemset using rubygems."
26
26
  task :gems do
27
- on roles(:all) do
27
+ on roles(fetch(:rvm1_roles, :all)) do
28
28
  within release_path do
29
29
  execute :gem, "install", "--file", "Gemfile"
30
30
  end
metadata CHANGED
@@ -1,13 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rvm1-capistrano3
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease:
6
- segments:
7
- - 1
8
- - 2
9
- - 2
10
- version: 1.2.2
4
+ version: 1.2.3
11
5
  platform: ruby
12
6
  authors:
13
7
  - Michal Papis
@@ -15,20 +9,15 @@ autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
11
 
18
- date: 2014-03-07 00:00:00 Z
12
+ date: 2014-06-21 00:00:00 Z
19
13
  dependencies:
20
14
  - !ruby/object:Gem::Dependency
21
15
  name: capistrano
22
16
  prerelease: false
23
17
  requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
18
  requirements:
26
19
  - - ~>
27
20
  - !ruby/object:Gem::Version
28
- hash: 7
29
- segments:
30
- - 3
31
- - 0
32
21
  version: "3.0"
33
22
  type: :runtime
34
23
  version_requirements: *id001
@@ -36,14 +25,9 @@ dependencies:
36
25
  name: sshkit
37
26
  prerelease: false
38
27
  requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
28
  requirements:
41
29
  - - ">="
42
30
  - !ruby/object:Gem::Version
43
- hash: 11
44
- segments:
45
- - 1
46
- - 2
47
31
  version: "1.2"
48
32
  type: :runtime
49
33
  version_requirements: *id002
@@ -51,15 +35,9 @@ dependencies:
51
35
  name: tf
52
36
  prerelease: false
53
37
  requirement: &id003 !ruby/object:Gem::Requirement
54
- none: false
55
38
  requirements:
56
39
  - - ~>
57
40
  - !ruby/object:Gem::Version
58
- hash: 9
59
- segments:
60
- - 0
61
- - 4
62
- - 3
63
41
  version: 0.4.3
64
42
  type: :development
65
43
  version_requirements: *id003
@@ -73,45 +51,38 @@ extensions: []
73
51
  extra_rdoc_files: []
74
52
 
75
53
  files:
76
- - lib/rvm1/capistrano3.rb
77
54
  - lib/rvm1/capistrano3/version.rb
78
- - lib/rvm1/tasks/capistrano3.rake
55
+ - lib/rvm1/capistrano3.rb
79
56
  - lib/rvm1/tasks/capistrano3/install.rake
57
+ - lib/rvm1/tasks/capistrano3.rake
80
58
  - script/install-rvm.sh
81
59
  - script/rvm-auto.sh
82
60
  - test/script_rvm-auto_comment_test.sh
83
61
  homepage: https://github.com/rvm/rvm1-capistrano3
84
62
  licenses:
85
63
  - Apache 2
64
+ metadata: {}
65
+
86
66
  post_install_message:
87
67
  rdoc_options: []
88
68
 
89
69
  require_paths:
90
70
  - lib
91
71
  required_ruby_version: !ruby/object:Gem::Requirement
92
- none: false
93
72
  requirements:
94
- - - ">="
73
+ - &id004
74
+ - ">="
95
75
  - !ruby/object:Gem::Version
96
- hash: 3
97
- segments:
98
- - 0
99
76
  version: "0"
100
77
  required_rubygems_version: !ruby/object:Gem::Requirement
101
- none: false
102
78
  requirements:
103
- - - ">="
104
- - !ruby/object:Gem::Version
105
- hash: 3
106
- segments:
107
- - 0
108
- version: "0"
79
+ - *id004
109
80
  requirements: []
110
81
 
111
82
  rubyforge_project:
112
- rubygems_version: 1.8.29
83
+ rubygems_version: 2.0.14
113
84
  signing_key:
114
- specification_version: 3
85
+ specification_version: 4
115
86
  summary: RVM 1.x / Capistrano 3.x Integration Gem
116
87
  test_files:
117
88
  - test/script_rvm-auto_comment_test.sh