capistrano-rbenv 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -22,8 +22,11 @@ This recipe will install [rbenv](https://github.com/sstephenson/rbenv) and [ruby
22
22
 
23
23
  To setup rbenv for your application, add following in you `config/deploy.rb`.
24
24
 
25
- # in "config/deploy.rb"
26
- require 'capistrano-rbenv'
25
+ ```ruby
26
+ # config/deploy.rb
27
+ require "capistrano-rbenv"
28
+ set :rbenv_ruby_version, "1.9.3-p392"
29
+ ```
27
30
 
28
31
  Following options are available to manage your rbenv.
29
32
 
@@ -17,7 +17,5 @@ Gem::Specification.new do |gem|
17
17
 
18
18
  gem.add_dependency("capistrano")
19
19
  gem.add_dependency("capistrano-platform-resources", ">= 0.1.0")
20
- gem.add_development_dependency("net-scp", "~> 1.0.4")
21
- gem.add_development_dependency("net-ssh", "~> 2.2.2")
22
20
  gem.add_development_dependency("vagrant", "~> 1.0.6")
23
21
  end
@@ -265,7 +265,7 @@ module Capistrano
265
265
  case rbenv_platform.to_sym
266
266
  when :debian, :ubuntu
267
267
  %w(git-core build-essential libreadline6-dev zlib1g-dev libssl-dev bison)
268
- when :redhat, :centos
268
+ when :redhat, :fedora, :centos, :amazon
269
269
  %w(git-core autoconf glibc-devel patch readline readline-devel zlib zlib-devel openssl bison)
270
270
  else
271
271
  []
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module RbEnv
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.3"
4
4
  end
5
5
  end
@@ -8,7 +8,11 @@ set :scm, :none
8
8
  set :use_sudo, false
9
9
  set :user, "vagrant"
10
10
  set :password, "vagrant"
11
- set :ssh_options, {:user_known_hosts_file => "/dev/null"}
11
+ set :ssh_options, {
12
+ :auth_methods => %w(publickey password),
13
+ :keys => File.join(ENV["HOME"], ".vagrant.d", "insecure_private_key"),
14
+ :user_known_hosts_file => "/dev/null"
15
+ }
12
16
 
13
17
  role :web, "192.168.33.10"
14
18
  role :app, "192.168.33.10"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-rbenv
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-01 00:00:00.000000000 Z
12
+ date: 2013-04-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -43,38 +43,6 @@ dependencies:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: 0.1.0
46
- - !ruby/object:Gem::Dependency
47
- name: net-scp
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: 1.0.4
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: 1.0.4
62
- - !ruby/object:Gem::Dependency
63
- name: net-ssh
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: 2.2.2
70
- type: :development
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- version: 2.2.2
78
46
  - !ruby/object:Gem::Dependency
79
47
  name: vagrant
80
48
  requirement: !ruby/object:Gem::Requirement