capistrano-pyenv 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 [pyenv](https://github.com/yyuu/pyenv) during `deploy:s
22
22
 
23
23
  To setup pyenv for your application, add following in you `config/deploy.rb`.
24
24
 
25
- # in "config/deploy.rb"
26
- require 'capistrano-pyenv'
25
+ ```ruby
26
+ # config/deploy.rb
27
+ require "capistrano-pyenv"
28
+ set :pyenv_python_version, "2.7.3"
29
+ ```
27
30
 
28
31
  Following options are available to manage your pyenv.
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
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module PyEnv
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.3"
4
4
  end
5
5
  end
@@ -256,7 +256,7 @@ module Capistrano
256
256
  case pyenv_platform.to_sym
257
257
  when :debian, :ubuntu
258
258
  %w(git-core build-essential libreadline6-dev zlib1g-dev libssl-dev)
259
- when :redhat, :centos
259
+ when :redhat, :fedora, :centos, :amazon
260
260
  %w(git-core autoconf glibc-devel patch readline readline-devel zlib zlib-devel openssl)
261
261
  else
262
262
  []
@@ -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-pyenv
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