rake_git_crypt 0.1.0.pre.3 → 0.1.0.pre.4

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: 28257f46a8ebc41fd5170de9a47bd74532049cd8adc1eb97afdecbadcb4407c9
4
- data.tar.gz: c7389f2a15dd808a964986f49c42333630fffaac6993ff8046d72350a01de93b
3
+ metadata.gz: aae83500c9c213d549612a58a4913639629f494b3ff69a7edec4385a06f5795a
4
+ data.tar.gz: 1a8f3ee47d52d978e1a8a7d07045254dbe015d6a9eae9764d890796f9bfca0b6
5
5
  SHA512:
6
- metadata.gz: f7b473a4b2e1b3ffe9719e875b7f62f3b1bc07bb509d47f8928baf5cb5c96b777385eede82763384a260571247ce89b50b7a68cdcd499cd0a54b34b2ac449a65
7
- data.tar.gz: 8ea110ae36e67ea42878e4262db708bbc08405498c2ddb909c71346c07b520125382a92512890c2634da5800f1bd481d64164bbcb3126a908e35840cc451204c
6
+ metadata.gz: 8854d1956d7f70b0652f40ce71ba861962a15987ea3e94c61455fb493a740aa2a6ad980c6f400c3b969178a62a41b5ba8fdb79159f5112ab900d3e9cd253e2ab
7
+ data.tar.gz: 6d75fe6709528ff8ca493bac002982899f3c01b3bf4419a7b2c89f518a59b63d70f68fd6824bf26cd386d419fc12d8e0b01d01fbfd9bc49a251b3aba52075972
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_git_crypt (0.1.0.pre.3)
4
+ rake_git_crypt (0.1.0.pre.4)
5
5
  colored2 (~> 3.1)
6
6
  rake_factory (~> 0.23)
7
7
  ruby_git_crypt (= 0.1.0.pre.2)
@@ -12,9 +12,13 @@ module RakeGitCrypt
12
12
 
13
13
  parameter :key_name
14
14
 
15
+ parameter :commit, default: false
16
+
15
17
  parameter :gpg_user_id
16
18
  parameter :gpg_user_key_path
17
19
 
20
+ parameter :gpg_home_directory
21
+
18
22
  action do
19
23
  validate
20
24
 
@@ -57,8 +61,12 @@ module RakeGitCrypt
57
61
 
58
62
  def add_gpg_user(gpg_user_id)
59
63
  RubyGitCrypt.add_gpg_user(
60
- key_name: key_name,
61
- gpg_user_id: gpg_user_id
64
+ {
65
+ key_name: key_name,
66
+ gpg_user_id: gpg_user_id,
67
+ no_commit: !commit
68
+ },
69
+ gpg_home_directory ? { GNUPGHOME: gpg_home_directory } : {}
62
70
  )
63
71
  end
64
72
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RakeGitCrypt
4
- VERSION = '0.1.0.pre.3'
4
+ VERSION = '0.1.0.pre.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_git_crypt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.3
4
+ version: 0.1.0.pre.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfraBlocks Maintainers