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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rake_git_crypt/tasks/add_user.rb +10 -2
- data/lib/rake_git_crypt/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aae83500c9c213d549612a58a4913639629f494b3ff69a7edec4385a06f5795a
|
4
|
+
data.tar.gz: 1a8f3ee47d52d978e1a8a7d07045254dbe015d6a9eae9764d890796f9bfca0b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8854d1956d7f70b0652f40ce71ba861962a15987ea3e94c61455fb493a740aa2a6ad980c6f400c3b969178a62a41b5ba8fdb79159f5112ab900d3e9cd253e2ab
|
7
|
+
data.tar.gz: 6d75fe6709528ff8ca493bac002982899f3c01b3bf4419a7b2c89f518a59b63d70f68fd6824bf26cd386d419fc12d8e0b01d01fbfd9bc49a251b3aba52075972
|
data/Gemfile.lock
CHANGED
@@ -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
|
-
|
61
|
-
|
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
|
|