capistrano-rbenv 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.
@@ -0,0 +1,30 @@
1
+ v1.0.0 (Yamashita, Yuu)
2
+
3
+ * Rename some of options
4
+ * `:rbnev_use_bundler` -> `:rbenv_install_bundler`
5
+ * `:rbenv_use_configure` -> `:rbenv_setup_shell`
6
+ * `:rbenv_define_default_environment` -> `:rbenv_setup_default_environment`
7
+ * Update default ruby version (1.9.3-p327 -> 1.9.3p392)
8
+ * Add rbenv convenience methods such like `rbenv.global()` and `rbenv.exec()`.
9
+ * Add `:rbenv_make_options` and `:rbenv_configure_options` to control `ruby-build`. By default, create `make` jobs as much as processor count.
10
+
11
+ v1.0.1 (Yamashita, Yuu)
12
+
13
+ * Use [capistrano-platform-resources](https://github.com/yyuu/capistrano-platform-resources) to manage platform packages.
14
+ * Add `rbenv:setup_default_environment` task.
15
+ * Join `PATH` variables with ':' on generating `:default_environment` to respect pre-defined values.
16
+ * Fix a problem during invoking rbenv via sudo with path.
17
+
18
+ v1.0.2 (Yamashita, Yuu)
19
+
20
+ * Set up `:default_environment` after the loading of the recipes, not after the task start up.
21
+ * Fix a problem on generating `:default_environment`.
22
+
23
+ v1.0.3 (Yamashita, Yuu)
24
+
25
+ * Add support for extra flavors of RedHat.
26
+ * Remove useless gem dependencies.
27
+
28
+ v1.0.4 (Yamashita, Yuu)
29
+
30
+ * 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::RbEnv::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(:rbenv) {
11
11
  _cset(:rbenv_root, "$HOME/.rbenv")
12
12
  _cset(:rbenv_path) {
13
- # expand to actual path to use this value since rbenv may be executed by users other than `:user`.
13
+ # expand to actual path since rbenv may be executed by users other than `:user`.
14
14
  capture("echo #{rbenv_root.dump}").strip
15
15
  }
16
16
  _cset(:rbenv_bin_path) { File.join(rbenv_path, "bin") }
@@ -265,8 +265,8 @@ 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, :fedora, :centos, :amazon
269
- %w(git-core autoconf glibc-devel patch readline readline-devel zlib zlib-devel openssl bison)
268
+ when :redhat, :fedora, :centos, :amazon, :amazonami
269
+ %w(git-core autoconf gcc-c++ glibc-devel patch readline readline-devel zlib zlib-devel openssl bison)
270
270
  else
271
271
  []
272
272
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module RbEnv
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-rbenv
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 rubies with rbenv.
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
72
57
  - README.md