appbundler 0.12.4 → 0.12.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26e3280e87178c94ec01585647a28e6f76052491b1847005d46986d4889ef2f4
4
- data.tar.gz: ad2e9e65ae31eadeec4d634ab359bd2f01b8e01dc3e5bb17f8470a6345a26853
3
+ metadata.gz: 1dcd59c708dccfad8673c092b7242d954942edeca4485f63a7b0e52562c54dfa
4
+ data.tar.gz: bec45a212040f3d2da848076e4238b144281d95f3c86314df19fd5a62e6d62cf
5
5
  SHA512:
6
- metadata.gz: 1a3910fb29a86a4741d41817ba0d0f9bed3c957d7cdacfdee44b294033e893c63b8b883aead2c923562783bed56c7d49ea16a8d039e018700a057fae103c8e49
7
- data.tar.gz: 70b98db9c9c46732fdaa096cb3a94cb5cb507ab64660f798efc2c13cb406f11e0678f276bf134ee82f8a13e2b7d4c320a282c7716b843f038f0ef8e9e0edbbda
6
+ metadata.gz: '079b378d48e54ba64281ba9fe3b4d2e14ffd82a16efc5158871bfbc0ffe695c864e6f041965f4f6ba33b3286b522a62ff646ba90dea361b282da52646a08f71f'
7
+ data.tar.gz: 918cf1efe62553289fe763cef454ef32df723d9459ac9bbad9bc5160fbfdb5547ba180b5ee51b0ea449c82f0f29bdf826aebdcac5a903c4b2c0260c6796b2cbd
@@ -2,26 +2,31 @@
2
2
 
3
3
  This file is used to document the changes between releases of Appbundler
4
4
 
5
- <!-- latest_release 0.12.4 -->
6
- ## [v0.12.4](https://github.com/chef/appbundler/tree/v0.12.4) (2019-04-24)
5
+ <!-- latest_release 0.12.5 -->
6
+ ## [v0.12.5](https://github.com/chef/appbundler/tree/v0.12.5) (2019-04-24)
7
7
 
8
8
  #### Merged Pull Requests
9
- - add --binstub-source option [#53](https://github.com/chef/appbundler/pull/53) ([lamont-granquist](https://github.com/lamont-granquist))
9
+ - Pull binstubs from the app dir instead of gem dir [#54](https://github.com/chef/appbundler/pull/54) ([lamont-granquist](https://github.com/lamont-granquist))
10
10
  <!-- latest_release -->
11
11
 
12
- <!-- release_rollup since=0.12.3 -->
12
+ <!-- release_rollup since=0.12.4 -->
13
13
  ### Changes not yet released to rubygems.org
14
14
 
15
15
  #### Merged Pull Requests
16
- - add --binstub-source option [#53](https://github.com/chef/appbundler/pull/53) ([lamont-granquist](https://github.com/lamont-granquist)) <!-- 0.12.4 -->
16
+ - Pull binstubs from the app dir instead of gem dir [#54](https://github.com/chef/appbundler/pull/54) ([lamont-granquist](https://github.com/lamont-granquist)) <!-- 0.12.5 -->
17
17
  <!-- release_rollup -->
18
18
 
19
19
  <!-- latest_stable_release -->
20
+ ## [v0.12.4](https://github.com/chef/appbundler/tree/v0.12.4) (2019-04-24)
21
+
22
+ #### Merged Pull Requests
23
+ - add --binstub-source option [#53](https://github.com/chef/appbundler/pull/53) ([lamont-granquist](https://github.com/lamont-granquist))
24
+ <!-- latest_stable_release -->
25
+
20
26
  ## [v0.12.3](https://github.com/chef/appbundler/tree/v0.12.3) (2019-04-17)
21
27
 
22
28
  #### Merged Pull Requests
23
29
  - syntax fix [#52](https://github.com/chef/appbundler/pull/52) ([lamont-granquist](https://github.com/lamont-granquist))
24
- <!-- latest_stable_release -->
25
30
 
26
31
  ## [v0.12.2](https://github.com/chef/appbundler/tree/v0.12.2) (2019-04-16)
27
32
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.12.4
1
+ 0.12.5
@@ -19,8 +19,8 @@ module Appbundler
19
19
  attr_reader :name
20
20
  attr_reader :extra_bin_files
21
21
 
22
- # The bundle_path is always the path to the Gemfile.lock being used, e.g.
23
- # /var/cache/omnibus/src/chef/chef-14.10.9/Gemfile.lock or whatever. If
22
+ # The bundle_path is always the path to the directory containing the Gemfile.lock
23
+ # being used, e.g. /var/cache/omnibus/src/chef/chefor whatever. If
24
24
  # the name if the gem is not set then we behave like old style 2-arg appbundling
25
25
  # where the gem we are appbundling is in the gemspec in that directory.
26
26
  #
@@ -142,7 +142,7 @@ module Appbundler
142
142
  def copy_binstubs(binstubs_source)
143
143
  gem_path = installed_spec.gem_dir
144
144
  dst = "#{gem_path}/bin"
145
- src = "#{gem_path}/#{binstubs_source}/*"
145
+ src = File.join(bundle_path, binstubs_source, "*")
146
146
  FileUtils.cp_r(Dir.glob(src), dst)
147
147
  end
148
148
 
@@ -1,3 +1,3 @@
1
1
  module Appbundler
2
- VERSION = "0.12.4".freeze
2
+ VERSION = "0.12.5".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appbundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.4
4
+ version: 0.12.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Software, Inc.