appbundle-updater 0.2.11 → 0.2.12

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: 36daa88489d400ea2a55aa62c2be12755d284f5d
4
- data.tar.gz: 901f54a4ac563155352b910c3a1ce98c071ae5df
3
+ metadata.gz: 8fc1ab361956a0cdd8344167a5bf16a9972b53ec
4
+ data.tar.gz: c669ea2bbc9bc97d6b970c758fb249ddeb100fe3
5
5
  SHA512:
6
- metadata.gz: 63ab27352e3b0e4dbd0abbfe8fe426cd8ca2ffaab66a876a9beb15441de7a5fb949ea9cc2d2dfcfc5ed8c907e13ec46e665b40b0b138274c81e7d1937a9266a9
7
- data.tar.gz: c033ceeef5bbfc43493659a20a3f0d1c1bf349ac5d6fdad7d29efa744510b4a9694713fd7f92babf2d8e2750481bed1b63cee5155f02d21d9e54ed43564a59ae
6
+ metadata.gz: d855b8f6b5206109e7da6e8020a16dd631e61bf4916599a3e38ef5c51631c66b16639ee750791cb36e30e61cd4f2dfdea96f764db8acb17050baa3655c5f38dd
7
+ data.tar.gz: 04635f5fa7a5c678e20c389f2843f490451049822bc24aa7899d7255ba6d47fa6faec6827fd56a2521b063a8875b12b2086af25702bad0e130ee147c4b8bfea4
@@ -43,6 +43,8 @@ def bin_dir
43
43
  chefdk.join("embedded/bin")
44
44
  end
45
45
 
46
+ ENV['PATH'] = ( [ bin_dir ] + ENV['PATH'].split(File::PATH_SEPARATOR) ).join(File::PATH_SEPARATOR)
47
+
46
48
  ENV_KEYS = %w[
47
49
  BUNDLE_BIN_PATH BUNDLE_GEMFILE GEM_HOME GEM_PATH GEM_ROOT IRBRC MY_RUBY_HOME RUBYLIB RUBYOPT RUBY_ENGINE RUBY_ROOT RUBY_VERSION _ORIGINAL_GEM_PATH PATH
48
50
  ].freeze
@@ -62,7 +64,7 @@ TAR_LONGLINK = '././@LongLink'
62
64
 
63
65
  def install_package_dependencies
64
66
  banner("Installing Packages")
65
- case `ohai platform_family`
67
+ case `#{bin_dir}/ohai platform_family`
66
68
  when /debian/
67
69
  ENV["DEBIAN_FRONTEND"] = "noninteractive"
68
70
  run("apt-get -y update")
@@ -1,3 +1,3 @@
1
1
  module AppbundleUpdater
2
- VERSION = "0.2.11"
2
+ VERSION = "0.2.12"
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.11
4
+ version: 0.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - lamont-granquist
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-17 00:00:00.000000000 Z
11
+ date: 2016-05-17 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.5.2
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