capistrano-platform-recognizer 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -27,7 +27,7 @@ set platform informations to each hosts.
27
27
 
28
28
  - :osname (:linux, :darwin, etc)
29
29
  - :distro (:centos5, :rhel5, :amazon, etc)
30
- - :cpu (:i386 or :x86_64)
30
+ - :arch (:i386 or :x86_64)
31
31
 
32
32
  You can filter with platform infomation using :only filter:
33
33
 
@@ -39,6 +39,7 @@ Capistrano::Configuration.instance.load do
39
39
 
40
40
  machine_info = capture("uname -m", :hosts => server).chomp
41
41
  server.options[:cpu] = guess_cpu(machine_info)
42
+ server.options[:arch] = guess_cpu(machine_info)
42
43
  end
43
44
  end
44
45
  end
@@ -1,7 +1,7 @@
1
1
  module Capistrano
2
2
  module Platform
3
3
  module Recognizer
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-platform-recognizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: