Sha256: 238dd8911064262255d60ae1a9dce4c082efe36ab71b036e843a39812a7a510c

Contents?: true

Size: 407 Bytes

Versions: 24

Compression:

Stored size: 407 Bytes

Contents

# frozen_string_literal: true

require 'rake_factory'
require 'ruby_git_crypt'

module RakeGitCrypt
  module Tasks
    class Unlock < RakeFactory::Task
      default_name :unlock
      default_description 'Unlock git-crypt.'

      parameter :key_paths

      action do
        puts('Unlocking git-crypt...')
        RubyGitCrypt.unlock(
          key_files: key_paths
        )
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
rake_git_crypt-0.3.0.pre.2 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.3.0.pre.1 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.2.0 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.34 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.33 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.32 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.31 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.30 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.29 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.28 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.27 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.26 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.25 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.24 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.23 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.22 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.21 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.20 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.19 lib/rake_git_crypt/tasks/unlock.rb
rake_git_crypt-0.1.0.pre.18 lib/rake_git_crypt/tasks/unlock.rb