rake_github 0.2.0.pre.4 → 0.2.0.pre.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rake_github/task_sets/deploy_key.rb +33 -0
- data/lib/rake_github/task_sets.rb +1 -0
- data/lib/rake_github/version.rb +1 -1
- data/lib/rake_github.rb +4 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15e23d886d669f9a7abd0341cee4872f4aec52e5f60094b6bb356b4411b7d0ae
|
4
|
+
data.tar.gz: cae4417689cb18c8ab63df934644a1d27522dc351db3e02647d8cf73d715d2c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46d1b45e6e8c0d6b93dec88308429f45c4c02d67259f918e00a1715b1c96ceb232ee9ad318df9e69f2b66897bd98d2a68f057712605c45e9f2888f7c7340d1fe
|
7
|
+
data.tar.gz: c856fd5910666be0ff2cbcc6b55416fc6857618821e87fdec0581c0ac3d372fb5f31a6b29c3f92a7cf0a5ca446c2be3cd220a24d4989bdd930e8091567f519b2
|
data/Gemfile.lock
CHANGED
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'rake_factory'
|
2
|
+
|
3
|
+
require_relative '../tasks'
|
4
|
+
|
5
|
+
module RakeGithub
|
6
|
+
module TaskSets
|
7
|
+
class DeployKey < RakeFactory::TaskSet
|
8
|
+
prepend RakeFactory::Namespaceable
|
9
|
+
|
10
|
+
parameter :repository, required: true
|
11
|
+
parameter :title, required: true
|
12
|
+
parameter :access_token, required: true
|
13
|
+
parameter :public_key, required: true
|
14
|
+
|
15
|
+
parameter :destroy_task_name, default: :destroy
|
16
|
+
parameter :provision_task_name, default: :provision
|
17
|
+
parameter :ensure_task_name, default: :ensure
|
18
|
+
|
19
|
+
task Tasks::DeployKey::Provision,
|
20
|
+
name: RakeFactory::DynamicValue.new { |ts|
|
21
|
+
ts.provision_task_name
|
22
|
+
}
|
23
|
+
task Tasks::DeployKey::Destroy,
|
24
|
+
name: RakeFactory::DynamicValue.new { |ts|
|
25
|
+
ts.destroy_task_name
|
26
|
+
}
|
27
|
+
task Tasks::DeployKey::Ensure,
|
28
|
+
name: RakeFactory::DynamicValue.new { |ts|
|
29
|
+
ts.ensure_task_name
|
30
|
+
}
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require_relative 'task_sets/deploy_key'
|
data/lib/rake_github/version.rb
CHANGED
data/lib/rake_github.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake_github
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0.pre.
|
4
|
+
version: 0.2.0.pre.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toby Clemson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake_factory
|
@@ -197,6 +197,8 @@ files:
|
|
197
197
|
- config/secrets/rubygems/credentials
|
198
198
|
- go
|
199
199
|
- lib/rake_github.rb
|
200
|
+
- lib/rake_github/task_sets.rb
|
201
|
+
- lib/rake_github/task_sets/deploy_key.rb
|
200
202
|
- lib/rake_github/tasks.rb
|
201
203
|
- lib/rake_github/tasks/deploy_key.rb
|
202
204
|
- lib/rake_github/tasks/deploy_key/destroy.rb
|