capistrano-platform-resources 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,20 @@
1
+ v0.1.0 (Yamashita, Yuu)
2
+
3
+ * Add `platform.family()`.
4
+ * Add `platform.packages.uninstall()` to uninstall packages.
5
+ * Add `platform.packages.update()` and `platform.packages.upgrade()`.
6
+
7
+ v0.1.1 (Yamashita, Yuu)
8
+
9
+ * Ignore the exit status of `yum ckeck-update -q -y` on RedHat.
10
+
11
+ v0.1.2 (Yamashita, Yuu)
12
+
13
+ * Use `lsb_release` to obtain the distro information.
14
+ * Add `platform.release()` and `platform.codename()`.
15
+ * platform.packages: Do not invoke commands actually if it is not required. Use bang methods (like `platform.packages.install!`) if you want to invoke them forcibly.
16
+ * Remove useless gem development dependencies.
17
+
18
+ v0.1.3 (Yamashita, Yuu)
19
+
20
+ * Fixed support for Amazon Linux. Thanks @tk0miya. ([#1](https://github.com/yyuu/capistrano-platform-resources/pull/1))
@@ -15,5 +15,5 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Capistrano::Configuration::Resources::PlatformResources::VERSION
17
17
 
18
- gem.add_dependency("capistrano")
18
+ gem.add_dependency("capistrano", "< 3")
19
19
  end
@@ -15,6 +15,8 @@ module Capistrano
15
15
  echo debian;
16
16
  elif test -f /etc/redhat-release; then
17
17
  echo redhat;
18
+ elif test -f /etc/system-release; then
19
+ echo redhat;
18
20
  else
19
21
  echo unknown;
20
22
  fi;
@@ -2,7 +2,7 @@ module Capistrano
2
2
  class Configuration
3
3
  module Resources
4
4
  module PlatformResources
5
- VERSION = "0.1.2"
5
+ VERSION = "0.1.3"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-platform-resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
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-09 00:00:00.000000000 Z
12
+ date: 2013-04-25 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
  description: A sort of utilities which helps you to manage platform resources.
31
31
  email:
32
32
  - yamashita@geishatokyo.com
@@ -35,6 +35,7 @@ extensions: []
35
35
  extra_rdoc_files: []
36
36
  files:
37
37
  - .gitignore
38
+ - CHANGES.md
38
39
  - Gemfile
39
40
  - LICENSE
40
41
  - README.md