deprec 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/deprec.rb +9 -0
  2. metadata +53 -0
data/lib/deprec.rb ADDED
@@ -0,0 +1,9 @@
1
+ Capistrano.configuration(:must_exist).load do
2
+ task :ssh_key_setup do
3
+ sudo "mkdir ~/.ssh"
4
+ sudo "chmod 0700 ~/.ssh"
5
+ put( File.read('~/.ssh/authorized_keys'),
6
+ "~/.ssh/authorized_keys",
7
+ :mode => 0600 )
8
+ end
9
+ end
metadata ADDED
@@ -0,0 +1,53 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.8.11
3
+ specification_version: 1
4
+ name: deprec
5
+ version: !ruby/object:Gem::Version
6
+ version: 0.0.1
7
+ date: 2006-11-16 00:00:00 +11:00
8
+ summary: deployment recipes for capistrano
9
+ require_paths:
10
+ - lib
11
+ email:
12
+ homepage:
13
+ rubyforge_project:
14
+ description: This project provides libraries of Capistrano tasks and extensions to remove the repetative manual work associated with installing services on linux servers.
15
+ autorequire:
16
+ default_executable:
17
+ bindir: bin
18
+ has_rdoc: false
19
+ required_ruby_version: !ruby/object:Gem::Version::Requirement
20
+ requirements:
21
+ - - ">"
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.0
24
+ version:
25
+ platform: ruby
26
+ signing_key:
27
+ cert_chain:
28
+ authors: []
29
+
30
+ files:
31
+ - lib/deprec.rb
32
+ test_files: []
33
+
34
+ rdoc_options: []
35
+
36
+ extra_rdoc_files: []
37
+
38
+ executables: []
39
+
40
+ extensions: []
41
+
42
+ requirements: []
43
+
44
+ dependencies:
45
+ - !ruby/object:Gem::Dependency
46
+ name: capistrano
47
+ version_requirement:
48
+ version_requirements: !ruby/object:Gem::Version::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 1.2.0
53
+ version: