recipiez 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/recipiez/version.rb +1 -1
  2. data/recipes/ssl.rb +1 -11
  3. metadata +4 -4
@@ -1,3 +1,3 @@
1
1
  module Recipiez
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
3
3
  end
data/recipes/ssl.rb CHANGED
@@ -14,18 +14,8 @@ Capistrano::Configuration.instance(true).load do
14
14
  rescue
15
15
  # ignore
16
16
  end
17
-
18
- put File.read(ssl_cert_path), File.basename(ssl_cert_path)
19
- put File.read(ssl_key_path), File.basename(ssl_key_path)
20
17
 
21
- if exists? :ssl_chain_path
22
- put File.read(ssl_chain_path), File.basename(ssl_chain_path)
23
- sudo "mv #{File.basename(ssl_chain_path)} #{base_cert_path}/#{File.basename(ssl_chain_path)}"
24
- end
25
-
26
- sudo "mv #{File.basename(ssl_cert_path)} #{base_cert_path}/#{File.basename(ssl_cert_path)}"
27
- sudo "mv #{File.basename(ssl_key_path)} #{base_cert_path}/#{File.basename(ssl_key_path)}"
28
-
18
+ upload(ssl_certs_path, base_cert_path, :via => :scp, :recursive => true)
29
19
  end
30
20
 
31
21
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recipiez
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 2
10
- version: 0.2.2
9
+ - 3
10
+ version: 0.2.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alastair Brunton
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-21 00:00:00 +01:00
18
+ date: 2012-03-27 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency