Sha256: ccb77ac13ad4bbc4202ccc97600b301c382a46456b9075e3ca8c408899bbec59

Contents?: true

Size: 727 Bytes

Versions: 17

Compression:

Stored size: 727 Bytes

Contents

require 'rake_factory'
require 'ruby_easy_rsa'

require_relative '../../mixins/global_parameters'
require_relative '../../mixins/ssl_parameters'
require_relative '../../mixins/easy_rsa_ensure_prerequisite'

module RakeEasyRSA
  module Tasks
    module CRL
      class Generate < RakeFactory::Task
        include Mixins::GlobalParameters
        include Mixins::SSLParameters
        include Mixins::EasyRSAEnsurePrerequisite

        default_name :generate
        default_description(
            "Generate the certificate revocation list for the PKI")

        action do |t|
          puts "Generating CRL... "
          RubyEasyRSA.gen_crl(t.parameter_values)
          puts "Done."
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rake_easy_rsa-0.12.0.pre.1 lib/rake_easy_rsa/tasks/crl/generate.rb
rake_easy_rsa-0.11.0 lib/rake_easy_rsa/tasks/crl/generate.rb
rake_easy_rsa-0.10.0.pre.6 lib/rake_easy_rsa/tasks/crl/generate.rb
rake_easy_rsa-0.10.0.pre.5 lib/rake_easy_rsa/tasks/crl/generate.rb
rake_easy_rsa-0.10.0.pre.4 lib/rake_easy_rsa/tasks/crl/generate.rb
rake_easy_rsa-0.10.0.pre.3 lib/rake_easy_rsa/tasks/crl/generate.rb
rake_easy_rsa-0.10.0.pre.2 lib/rake_easy_rsa/tasks/crl/generate.rb
rake_easy_rsa-0.10.0.pre.1 lib/rake_easy_rsa/tasks/crl/generate.rb
rake_easy_rsa-0.9.0 lib/rake_easy_rsa/tasks/crl/generate.rb
rake_easy_rsa-0.8.0.pre.1 lib/rake_easy_rsa/tasks/crl/generate.rb
rake_easy_rsa-0.7.0 lib/rake_easy_rsa/tasks/crl/generate.rb
rake_easy_rsa-0.6.0.pre.2 lib/rake_easy_rsa/tasks/crl/generate.rb
rake_easy_rsa-0.6.0.pre.1 lib/rake_easy_rsa/tasks/crl/generate.rb
rake_easy_rsa-0.5.0 lib/rake_easy_rsa/tasks/crl/generate.rb
rake_easy_rsa-0.4.0.pre.1 lib/rake_easy_rsa/tasks/crl/generate.rb
rake_easy_rsa-0.3.0 lib/rake_easy_rsa/tasks/crl/generate.rb
rake_easy_rsa-0.2.0.pre.11 lib/rake_easy_rsa/tasks/crl/generate.rb