rake_easy_rsa 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98a3bd87696ecb276dbdf09cab498379897352d475abfda264df54ab732a7a92
4
- data.tar.gz: 3852029bcac84d1e8db4f7d45346110dc53d8a972bda2f7f5113fa77d7f53903
3
+ metadata.gz: 8afb7805ad7561f3ae883c5c8fd65561d16939661e1c2bb8eb73548d25fb1d05
4
+ data.tar.gz: 57a50ec7a231e9f0b05f28d30105e02b642c80076452f2cc2a0abf4273149cf9
5
5
  SHA512:
6
- metadata.gz: 443df0b328661fb4144dba9e10d80b34982939b12b6faef008991a589ec7f5049a5d0489e224c88c831c5785df2ebff13cc1fb6a9c0455bc3d2f364fe22ac52b
7
- data.tar.gz: 86342ab86fb46a9f62374f8cd23ab3d1aba1fe05d0c9a28b49ea384f0c3709db170e9787735ba69ac67c83d0f97ff6a835cbae223d40df19588b0cf1e5a2c456
6
+ metadata.gz: 51239727492d94050ebe37e44e65dfddd84d5058f1b5a2307f5032d0db5e0801c64d97839829adb7f3b43fc21a5ad39ecd186bd67cdae4e65f989d524b35e4e9
7
+ data.tar.gz: aa43c92a9079a5819d6e6318d5684d2966c52b54037176450048ffa6adf08252806ba7474702f03c80db2e192638d1e2b3abd9e95ecef412f05bb9d86583d17c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_easy_rsa (0.2.0.pre.4)
4
+ rake_easy_rsa (0.2.0.pre.5)
5
5
  rake_dependencies (~> 2, < 3)
6
6
  rake_factory (>= 0.23, < 1)
7
7
  ruby_easy_rsa (= 0.2.0.pre.10)
@@ -0,0 +1,20 @@
1
+ require 'rake_factory'
2
+ require 'ruby_easy_rsa'
3
+
4
+ module RakeEasyRSA
5
+ module Tasks
6
+ class Initialise < RakeFactory::Task
7
+ default_name :initialise
8
+ default_description "Initialise the PKI working directory"
9
+
10
+ parameter :directory
11
+
12
+ action do |t|
13
+ puts "Initialising PKI working directory... "
14
+ RubyEasyRSA.init_pki(
15
+ directory: t.directory)
16
+ puts "Done."
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,7 @@
1
+ require_relative 'tasks/initialise'
2
+
3
+ module RakeEasyRSA
4
+ module Tasks
5
+
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module RakeEasyRSA
2
- VERSION = '0.2.0.pre.4'
2
+ VERSION = '0.2.0.pre.5'
3
3
  end
data/lib/rake_easy_rsa.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  require 'rake_dependencies'
2
2
  require 'ruby_easy_rsa'
3
+ require 'rake_easy_rsa/version'
4
+ require 'rake_easy_rsa/tasks'
3
5
 
4
6
  module RakeEasyRSA
5
7
  def self.define_installation_tasks(opts = {})
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_easy_rsa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre.4
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-04-21 00:00:00.000000000 Z
11
+ date: 2020-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake_dependencies
@@ -254,6 +254,8 @@ files:
254
254
  - config/secrets/rubygems/credentials
255
255
  - go
256
256
  - lib/rake_easy_rsa.rb
257
+ - lib/rake_easy_rsa/tasks.rb
258
+ - lib/rake_easy_rsa/tasks/initialise.rb
257
259
  - lib/rake_easy_rsa/version.rb
258
260
  - rake_easy_rsa.gemspec
259
261
  - scripts/ci/common/configure-git.sh