builderator 0.3.11 → 0.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/builderator/tasks/berks.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 46f0313ba16c68d4b20a1dcc7ff0eba8dffdc8b7
|
|
4
|
+
data.tar.gz: 0a694c31f4b316bc8cbb8b2f9252f1dfe88c2c3e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 77fcf43e3e4edc33d8571f392230634c7cd0e4dd8a18be546d780008c1ca9e91ee3424c281946c0696f02844a201072ef3e2a31bffffbc080655bb2f72913627
|
|
7
|
+
data.tar.gz: 5c1558e860840fe8495e88942421e0c23beaf9c1e212fa69a32eb31b92235f3c93c3828aecef1eba522053e93dc3e494c30cc505ca5b15438f1e1c427f5d5436
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.12
|
|
@@ -14,7 +14,7 @@ module Builderator
|
|
|
14
14
|
:desc => 'Write current verison to file'
|
|
15
15
|
|
|
16
16
|
desc "local [PATH = #{ Util::Cookbook::DEFAULT_VENDOR }]", 'Vendor the local cookbook source and its dependencies'
|
|
17
|
-
def local(path = Util::Cookbook::DEFAULT_VENDOR)
|
|
17
|
+
def local(path = Util::Cookbook::DEFAULT_VENDOR.to_s)
|
|
18
18
|
Util::Cookbook.path(options['cookbook'])
|
|
19
19
|
|
|
20
20
|
command = 'BERKS_INSTALL_FROM=source'
|
|
@@ -28,7 +28,7 @@ module Builderator
|
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
desc "vendor [PATH = #{ Util::Cookbook::DEFAULT_VENDOR }]", 'Vendor a cookbook release and its dependencies'
|
|
31
|
-
def vendor(path = Util::Cookbook::DEFAULT_VENDOR)
|
|
31
|
+
def vendor(path = Util::Cookbook::DEFAULT_VENDOR.to_s)
|
|
32
32
|
Util::Cookbook.path(options['cookbook'])
|
|
33
33
|
|
|
34
34
|
command = 'BERKS_INSTALL_FROM=release'
|
|
@@ -42,7 +42,7 @@ module Builderator
|
|
|
42
42
|
|
|
43
43
|
desc 'upload', 'Upload the local cookbook source and its dependencies to the Chef server'
|
|
44
44
|
option 'dry-run', :type => :boolean, :default => false
|
|
45
|
-
def upload(path = Util::Cookbook::DEFAULT_VENDOR)
|
|
45
|
+
def upload(path = Util::Cookbook::DEFAULT_VENDOR.to_s)
|
|
46
46
|
command = 'BERKS_INSTALL_FROM=source'
|
|
47
47
|
command << " berks upload"
|
|
48
48
|
command << " -c #{ options['config'] }" if options.include?('config')
|