capistrano-one_time_key 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: cc4be8c2de3122934117151da242aba35f59dd5ab325a293ec22c3c87d20b0ac
|
4
|
+
data.tar.gz: 7f236f40b4b78e727a834d49d1a552e52e603b51cd22d70c126e730504f21b36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a02232091ebbdfbc49f950fbf91196d1cfbcd9ead3843ede86b53a94feac1a58797afed02a2ed696987c4d834fe78da336576993c36f665377188b4fe3c334ab
|
7
|
+
data.tar.gz: de622be669fdd154632b13f07fd8593d036931ae12562f1308b7afdbda7f919a5170fc3af99f108c0856af733f9d052bd47952d0c609268bf45fee98a764d8d4
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
|
20
20
|
spec.add_dependency "capistrano", "~> 3.0"
|
21
21
|
|
22
|
-
spec.add_development_dependency "bundler", "~>
|
22
|
+
spec.add_development_dependency "bundler", "~> 2"
|
23
23
|
spec.add_development_dependency "rake"
|
24
24
|
spec.add_development_dependency "rspec"
|
25
25
|
end
|
@@ -1,9 +1,21 @@
|
|
1
1
|
namespace :load do
|
2
|
-
task :defaults do
|
2
|
+
task :defaults do
|
3
3
|
set :ssh_options, {
|
4
4
|
keys: [Capistrano::OneTimeKey.temporary_ssh_private_key_path],
|
5
5
|
forward_agent: false,
|
6
6
|
auth_methods: %w(publickey password)
|
7
7
|
}
|
8
8
|
end
|
9
|
-
end
|
9
|
+
end
|
10
|
+
|
11
|
+
namespace :otk do
|
12
|
+
task :generate do
|
13
|
+
Capistrano::OneTimeKey.use_one_time_key!
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
namespace :deploy do
|
18
|
+
before :starting, :generate_otk do
|
19
|
+
invoke 'otk:generate'
|
20
|
+
end
|
21
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-one_time_key
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description:
|
69
|
+
description:
|
70
70
|
email:
|
71
71
|
- cabeer@stanford.edu
|
72
72
|
executables: []
|
@@ -87,7 +87,7 @@ homepage: ''
|
|
87
87
|
licenses:
|
88
88
|
- APACHE2
|
89
89
|
metadata: {}
|
90
|
-
post_install_message:
|
90
|
+
post_install_message:
|
91
91
|
rdoc_options: []
|
92
92
|
require_paths:
|
93
93
|
- lib
|
@@ -102,9 +102,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
|
-
|
106
|
-
|
107
|
-
signing_key:
|
105
|
+
rubygems_version: 3.5.9
|
106
|
+
signing_key:
|
108
107
|
specification_version: 4
|
109
108
|
summary: One time keys for capistrano
|
110
109
|
test_files:
|