recipiez 0.2.4 → 0.2.5

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 +5 -7
  3. metadata +40 -67
@@ -1,3 +1,3 @@
1
1
  module Recipiez
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end
data/recipes/ssl.rb CHANGED
@@ -3,24 +3,22 @@ Capistrano::Configuration.instance(true).load do
3
3
  namespace :ssl do
4
4
 
5
5
  desc "Uploads certificates to the server, default to /etc/certs, supports ssl_cert_path, ssl_key_path, ssl_chain_path"
6
- task :upload_certificate_pairs do
6
+ task :upload_certs do
7
7
 
8
8
  _cset :base_cert_path, "/etc/certs"
9
9
  _cset :ssl_cert_path, ""
10
10
  _cset :ssl_key_path, ""
11
-
11
+
12
12
  begin
13
13
  sudo "mkdir #{base_cert_path}"
14
14
  rescue
15
15
  # ignore
16
16
  end
17
-
18
- upload(ssl_certs_path, base_cert_path, :via => :sftp, :recursive => true)
17
+
18
+ upload(ssl_certs_path, "cap_certs", :via => :scp, :recursive => true)
19
+ sudo "cp -R cap_certs/* #{base_cert_path}"
19
20
  end
20
21
 
21
22
  end
22
23
 
23
-
24
-
25
-
26
24
  end
metadata CHANGED
@@ -1,61 +1,46 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: recipiez
3
- version: !ruby/object:Gem::Version
4
- hash: 31
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 2
9
- - 4
10
- version: 0.2.4
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.5
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Alastair Brunton
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-03-27 00:00:00 +02:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-03-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: xml-simple
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2158260180 !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
33
22
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: mechanize
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *2158260180
25
+ - !ruby/object:Gem::Dependency
26
+ name: mechanize
27
+ requirement: &2158259760 !ruby/object:Gem::Requirement
39
28
  none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
47
33
  type: :runtime
48
- version_requirements: *id002
49
- description: Capistrano recipies for DB Syncing, Logrotate, Apache, Thin, Basecamp, Activecollab, Monit, NodeJS, Nginx
50
- email:
34
+ prerelease: false
35
+ version_requirements: *2158259760
36
+ description: Capistrano recipies for DB Syncing, Logrotate, Apache, Thin, Basecamp,
37
+ Activecollab, Monit, NodeJS, Nginx
38
+ email:
51
39
  - info@simplyexcited.co.uk
52
40
  executables: []
53
-
54
41
  extensions: []
55
-
56
42
  extra_rdoc_files: []
57
-
58
- files:
43
+ files:
59
44
  - .gitignore
60
45
  - MIT-LICENSE
61
46
  - README.md
@@ -91,41 +76,29 @@ files:
91
76
  - recipes/thin.rb
92
77
  - recipes/tolk.rb
93
78
  - recipiez.gemspec
94
- has_rdoc: true
95
79
  homepage: http://github.com/pyrat/deployment_recipiez
96
80
  licenses: []
97
-
98
81
  post_install_message:
99
82
  rdoc_options: []
100
-
101
- require_paths:
83
+ require_paths:
102
84
  - lib
103
- required_ruby_version: !ruby/object:Gem::Requirement
85
+ required_ruby_version: !ruby/object:Gem::Requirement
104
86
  none: false
105
- requirements:
106
- - - ">="
107
- - !ruby/object:Gem::Version
108
- hash: 3
109
- segments:
110
- - 0
111
- version: "0"
112
- required_rubygems_version: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ! '>='
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ required_rubygems_version: !ruby/object:Gem::Requirement
113
92
  none: false
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- hash: 25
118
- segments:
119
- - 1
120
- - 3
121
- - 1
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
122
96
  version: 1.3.1
123
97
  requirements: []
124
-
125
98
  rubyforge_project:
126
- rubygems_version: 1.3.7
99
+ rubygems_version: 1.8.10
127
100
  signing_key:
128
101
  specification_version: 3
129
- summary: Capistrano recipies for DB Syncing, Logrotate, Apache, Thin, Basecamp, Activecollab, Monit, NodeJS, Nginx
102
+ summary: Capistrano recipies for DB Syncing, Logrotate, Apache, Thin, Basecamp, Activecollab,
103
+ Monit, NodeJS, Nginx
130
104
  test_files: []
131
-