appbundle-updater 0.2.7 → 0.2.8

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: 72d98e1c651cb8c2452c903c322337ea76f93ac7
4
- data.tar.gz: fc6d813f6a5ea78e07664e99dd4ecee955f610ca
3
+ metadata.gz: bb4859dc5ffa025d33dd18194e7a3ab65fb52896
4
+ data.tar.gz: bfe872da38983ca54c0159295347b9b8dfe5ece8
5
5
  SHA512:
6
- metadata.gz: 4d4c5273e6871720cc7872cdfa8598bad374c928a6fadad429e0c89ee4037e53a4e211b7de5b9050c6c30b3e54562be937fde07b3fd701e3e51c5511612ede80
7
- data.tar.gz: a18a1d54246a076834b31fc94e34b7b1fa0d82b15216e18d5448c5ec066548cda467b18412d72381009d92ba8cbf004bfe97babe8524219ced0e5a00f145422c
6
+ metadata.gz: b478e29a6cd5bf74683b5f921a7176007a1570567cbc32b53a581609f957bc1ea8cb84fe65f5edf9a28d34120985b7a75244e91b14b7f12f08f15d94ed0017f6
7
+ data.tar.gz: be1252403db6d1b3358df63c345bdfa6f51df5d6677f037c2efbefa1b4929fe5f4e41a2eea1645150dcf6857f309569a27719be94b92053d222f6c7cf72f21fb
data/CHANGELOG.md CHANGED
@@ -2,7 +2,31 @@
2
2
 
3
3
  ## [Unreleased](https://github.com/chef/appbundle-updater/tree/HEAD)
4
4
 
5
- [Full Changelog](https://github.com/chef/appbundle-updater/compare/v0.2.2...HEAD)
5
+ [Full Changelog](https://github.com/chef/appbundle-updater/compare/v0.2.7...HEAD)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - fix for chef-12.6.0 and version bump [\#11](https://github.com/chef/appbundle-updater/pull/11) ([lamont-granquist](https://github.com/lamont-granquist))
10
+
11
+ ## [v0.2.7](https://github.com/chef/appbundle-updater/tree/v0.2.7) (2015-12-30)
12
+ [Full Changelog](https://github.com/chef/appbundle-updater/compare/v0.2.6...v0.2.7)
13
+
14
+ ## [v0.2.6](https://github.com/chef/appbundle-updater/tree/v0.2.6) (2015-10-26)
15
+ [Full Changelog](https://github.com/chef/appbundle-updater/compare/v0.2.5...v0.2.6)
16
+
17
+ ## [v0.2.5](https://github.com/chef/appbundle-updater/tree/v0.2.5) (2015-09-29)
18
+ [Full Changelog](https://github.com/chef/appbundle-updater/compare/v0.2.4...v0.2.5)
19
+
20
+ **Merged pull requests:**
21
+
22
+ - correct windows fix is setting binmode [\#10](https://github.com/chef/appbundle-updater/pull/10) ([lamont-granquist](https://github.com/lamont-granquist))
23
+ - remove stray Dir.chdir call on windows [\#9](https://github.com/chef/appbundle-updater/pull/9) ([lamont-granquist](https://github.com/lamont-granquist))
24
+
25
+ ## [v0.2.4](https://github.com/chef/appbundle-updater/tree/v0.2.4) (2015-09-29)
26
+ [Full Changelog](https://github.com/chef/appbundle-updater/compare/v0.2.3...v0.2.4)
27
+
28
+ ## [v0.2.3](https://github.com/chef/appbundle-updater/tree/v0.2.3) (2015-09-29)
29
+ [Full Changelog](https://github.com/chef/appbundle-updater/compare/v0.2.2...v0.2.3)
6
30
 
7
31
  **Merged pull requests:**
8
32
 
@@ -60,6 +60,18 @@ end
60
60
 
61
61
  TAR_LONGLINK = '././@LongLink'
62
62
 
63
+ def install_package_dependencies
64
+ banner("Installing Packages")
65
+ case `ohai platform_family`
66
+ when /debian/
67
+ run("apt-get install build-essential git")
68
+ when /fedora/, /rhel/
69
+ run("yum install gcc make git")
70
+ else
71
+ puts "i do not know how to install compilers and git on this platform..."
72
+ end
73
+ end
74
+
63
75
  # pure ruby `tar xzf`, handles longlinks and directories ending in '/'
64
76
  # (http://stackoverflow.com/a/31310593/506908)
65
77
  def extract_tgz(file, destination = '.')
@@ -174,6 +186,8 @@ class Updater
174
186
  FileUtils.mkdir_p top_dir
175
187
  end
176
188
 
189
+ install_package_dependencies
190
+
177
191
  if ( tarball )
178
192
  # NOTE: THIS IS DELIBERATELY PURE RUBY USING NO NATIVE GEMS AND ONLY
179
193
  # THE RUBY STDLIB BY DESIGN
@@ -1,3 +1,3 @@
1
1
  module AppbundleUpdater
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
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.7
4
+ version: 0.2.8
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-12-30 00:00:00.000000000 Z
11
+ date: 2016-01-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Updates appbundled apps in Chef's omnibus packages
14
14
  email:
@@ -50,11 +50,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
50
50
  version: '0'
51
51
  requirements: []
52
52
  rubyforge_project:
53
- rubygems_version: 2.4.5.1
53
+ rubygems_version: 2.4.8
54
54
  signing_key:
55
55
  specification_version: 4
56
56
  summary: Updates appbundled apps in Chef's omnibus packages
57
57
  test_files:
58
58
  - test/integration/bootstrap.ps1
59
59
  - test/integration/bootstrap.sh
60
- has_rdoc: