capistrano-pyenv 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGES.md ADDED
@@ -0,0 +1,28 @@
1
+ v1.0.0 (Yamashita, Yuu)
2
+
3
+ * Rename some of options
4
+ * `:pyenv_use_configure` -> `:pyenv_setup_shell`
5
+ * `:pyenv_define_default_environment` -> `:pyenv_setup_default_environment`
6
+ * Add pyenv convenience methods such like `pyenv.global()` and `pyenv.exec()`.
7
+ * Add `:pyenv_make_options` and `:pyenv_configure_options` to control `python-build`. By default, create `make` jobs as much as processor count.
8
+
9
+ v1.0.1 (Yamashita, Yuu)
10
+
11
+ * Use [capistrano-platform-resources](https://github.com/yyuu/capistrano-platform-resources) to manage platform packages.
12
+ * Add `pyenv:setup_default_environment` task.
13
+ * Join `PATH` variables with ':' on generating `:default_environment` to respect pre-defined values.
14
+ * Fix a problem during invoking pyenv via sudo with path.
15
+
16
+ v1.0.2 (Yamashita, Yuu)
17
+
18
+ * Set up `:default_environment` after the loading of the recipes, not after the task start up.
19
+ * Fix a problem on generating `:default_environment`.
20
+
21
+ v1.0.3 (Yamashita, Yuu)
22
+
23
+ * Add support for extra flavors of RedHat.
24
+ * Remove useless gem dependencies.
25
+
26
+ v1.0.4 (Yamashita, Yuu)
27
+
28
+ * Fixed support for Amazon Linux. Thanks @tk0miya.
@@ -15,7 +15,6 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Capistrano::PyEnv::VERSION
17
17
 
18
- gem.add_dependency("capistrano")
19
- gem.add_dependency("capistrano-platform-resources", ">= 0.1.0")
20
- gem.add_development_dependency("vagrant", "~> 1.0.6")
18
+ gem.add_dependency("capistrano", "< 3")
19
+ gem.add_dependency("capistrano-platform-resources", ">= 0.1.3")
21
20
  end
@@ -10,7 +10,7 @@ module Capistrano
10
10
  namespace(:pyenv) {
11
11
  _cset(:pyenv_root, "$HOME/.pyenv")
12
12
  _cset(:pyenv_path) {
13
- # expand to actual path to use this value since pyenv may be executed by users other than `:user`.
13
+ # expand to actual path since pyenv may be executed by users other than `:user`.
14
14
  capture("echo #{pyenv_root.dump}").strip
15
15
  }
16
16
  _cset(:pyenv_bin_path) { File.join(pyenv_path, "bin") }
@@ -256,8 +256,8 @@ 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, :fedora, :centos, :amazon
260
- %w(git-core autoconf glibc-devel patch readline readline-devel zlib zlib-devel openssl)
259
+ when :redhat, :fedora, :centos, :amazon, :amazonami
260
+ %w(git-core autoconf gcc-c++ glibc-devel patch readline readline-devel zlib zlib-devel openssl)
261
261
  else
262
262
  []
263
263
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module PyEnv
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  /.bundle
2
- /.vagrant
2
+ /.vagrant*
3
3
  /known_hosts
4
4
  /tmp
5
5
  /vendor
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh -e
2
2
 
3
- bundle exec vagrant up
3
+ vagrant up
4
4
  bundle exec cap test_all
5
- bundle exec vagrant halt
5
+ vagrant halt
6
6
 
7
7
  # vim:set ft=sh :
@@ -1,5 +1,5 @@
1
1
  /.bundle
2
- /.vagrant
2
+ /.vagrant*
3
3
  /known_hosts
4
4
  /tmp
5
5
  /vendor
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh -e
2
2
 
3
- bundle exec vagrant up
3
+ vagrant up
4
4
  bundle exec cap test_all
5
- bundle exec vagrant halt
5
+ vagrant halt
6
6
 
7
7
  # vim:set ft=sh :
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.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,24 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-08 00:00:00.000000000 Z
12
+ date: 2013-04-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ! '>='
19
+ - - <
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: '3'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ! '>='
27
+ - - <
28
28
  - !ruby/object:Gem::Version
29
- version: '0'
29
+ version: '3'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: capistrano-platform-resources
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: 0.1.0
37
+ version: 0.1.3
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,23 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: 0.1.0
46
- - !ruby/object:Gem::Dependency
47
- name: vagrant
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: 1.0.6
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.6
45
+ version: 0.1.3
62
46
  description: a capistrano recipe to manage pythons with pyenv.
63
47
  email:
64
48
  - yamashita@geishatokyo.com
@@ -67,6 +51,7 @@ extensions: []
67
51
  extra_rdoc_files: []
68
52
  files:
69
53
  - .gitignore
54
+ - CHANGES.md
70
55
  - Gemfile
71
56
  - LICENSE.txt
72
57
  - README.md