tvd-gem 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/cookbooks/rubygems/recipes/default.rb +5 -4
- metadata +3 -3
@@ -7,8 +7,9 @@ node[:secrets] =
|
|
7
7
|
|
8
8
|
directory "#{ENV['HOME']}/.gem"
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
if node[:secrets][:rubygems]
|
11
|
+
template "#{ENV['HOME']}/.gem/credentials" do
|
12
|
+
source "credentials.erb"
|
13
|
+
mode 0400
|
14
|
+
end
|
13
15
|
end
|
14
|
-
|
metadata
CHANGED