itamae-plugin-recipe-rbenv 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb9292338c00d7ead46195e4f995bb37c93f8973
4
- data.tar.gz: 73759500c3b9425efb201d3afe2a8f46c6aa6c61
3
+ metadata.gz: ed62e1c71183261045001ec1ed40d582993b5383
4
+ data.tar.gz: c3708d165828a2c0b48fa9a33f041ad9a163ff3f
5
5
  SHA512:
6
- metadata.gz: 92037e46f3e09c4a32c0a397463a072ee3eb1c2ca8afd50778bc14827d01a6ca53d7cf6f9f5dfdd211ce2d7df35fc03de4eb638d200f2b6d092627f6b36bf01b
7
- data.tar.gz: 487012d630682aae0c6fedc2d6483296c756e056134fc817c161675270b9d9ffcd5028f49ffb3834309fb9e4e4bb331c8dfb552ba51c2d0cb72020de27c8591e
6
+ metadata.gz: b3813e6e01481500db0947fcb758367e98ccae586205eefd680e09e5f26725b74a83f65c0b46acff49f04e1fb204ea36b6c30c5a47fd29691f8f30bfac0614db
7
+ data.tar.gz: efdebe882cbd7d2aed6adfe433af4398bc8866283e76c8ced48f50d7e68c1c9dcbe48c677bb89f18e99ed092758674c52dcf39cf7f8efaa09b81b24b73323ae5
@@ -1,6 +1,35 @@
1
- package "libffi-devel"
2
- package "openssl-devel"
3
- package "readline-devel"
1
+ # cf) https://github.com/sstephenson/ruby-build/wiki#suggested-build-environment
2
+ case os[:family]
3
+ when "debian", "ubuntu"
4
+ package "autoconf"
5
+ package "bison"
6
+ package "build-essential"
7
+ package "libssl-dev"
8
+ package "libyaml-dev"
9
+ package "libreadline6-dev"
10
+ package "zlib1g-dev"
11
+ package "libncurses5-dev"
12
+ package "libffi-dev"
13
+ package "libgdbm3"
14
+ package "libgdbm-dev"
15
+ package "libffi-dev"
16
+ when "redhat", "fedora"
17
+ # redhat is including CentOS
18
+ package "gcc"
19
+ package "openssl-devel"
20
+ package "libyaml-devel"
21
+ package "libffi-devel"
22
+ package "readline-devel"
23
+ package "zlib-devel"
24
+ package "gdbm-devel"
25
+ package "ncurses-devel"
26
+ package "libffi-devel"
27
+ else
28
+ # for backward compatibility (<= v0.2.1)
29
+ package "libffi-devel"
30
+ package "openssl-devel"
31
+ package "readline-devel"
32
+ end
4
33
 
5
34
  require "itamae/plugin/recipe/rbenv"
6
35
 
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Rbenv
5
- VERSION = "0.2.1"
5
+ VERSION = "0.2.2"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-rbenv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Kokubun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-16 00:00:00.000000000 Z
11
+ date: 2015-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -75,9 +75,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.2.2
78
+ rubygems_version: 2.4.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Itamae plugin to install ruby with rbenv
82
82
  test_files: []
83
- has_rdoc: