appbundle-updater 0.2.6 → 0.2.7

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
  SHA1:
3
- metadata.gz: 8a2ae5e08b6600876bbf9319aa49b16852ed3ec3
4
- data.tar.gz: 67c7ed259427f5de378b254e6ac505d484c8c8d7
3
+ metadata.gz: 72d98e1c651cb8c2452c903c322337ea76f93ac7
4
+ data.tar.gz: fc6d813f6a5ea78e07664e99dd4ecee955f610ca
5
5
  SHA512:
6
- metadata.gz: c95cea7def8e75c94440a7d714d89ce7b01fbef012962b02174e47d9c0a9d8cb89e541a507118504ce9b55a366b7c61f60a62884ed1fcc22526e36e4c2c376db
7
- data.tar.gz: df135ccb7cbf351be2a13231215b15035444bc7cd7085922fc7180603cfdd37c8271b52136f9597c58dd8e2f73df362ad8cf354ac9dcf481ec6adf5ce25449e3
6
+ metadata.gz: 4d4c5273e6871720cc7872cdfa8598bad374c928a6fadad429e0c89ee4037e53a4e211b7de5b9050c6c30b3e54562be937fde07b3fd701e3e51c5511612ede80
7
+ data.tar.gz: a18a1d54246a076834b31fc94e34b7b1fa0d82b15216e18d5448c5ec066548cda467b18412d72381009d92ba8cbf004bfe97babe8524219ced0e5a00f145422c
@@ -168,6 +168,12 @@ class Updater
168
168
  banner("Cleaning #{app} checkout")
169
169
  app_dir.rmtree if app_dir.directory?
170
170
 
171
+ top_dir = chefdk.join("embedded/apps")
172
+ unless File.exist?(top_dir)
173
+ banner("Creating #{top_dir} directory")
174
+ FileUtils.mkdir_p top_dir
175
+ end
176
+
171
177
  if ( tarball )
172
178
  # NOTE: THIS IS DELIBERATELY PURE RUBY USING NO NATIVE GEMS AND ONLY
173
179
  # THE RUBY STDLIB BY DESIGN
@@ -1,3 +1,3 @@
1
1
  module AppbundleUpdater
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appbundle-updater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - lamont-granquist
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-26 00:00:00.000000000 Z
11
+ date: 2015-12-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Updates appbundled apps in Chef's omnibus packages
14
14
  email:
@@ -50,7 +50,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
50
50
  version: '0'
51
51
  requirements: []
52
52
  rubyforge_project:
53
- rubygems_version: 2.4.8
53
+ rubygems_version: 2.4.5.1
54
54
  signing_key:
55
55
  specification_version: 4
56
56
  summary: Updates appbundled apps in Chef's omnibus packages