buildable 2.1.1 → 2.1.2

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
  SHA1:
3
- metadata.gz: ccb5fb6289db271474c441eb238feef89d060898
4
- data.tar.gz: 86169de2c08e491b93fc846ec5510680eb219924
3
+ metadata.gz: c1e355b07067c92fbdc85346fbe414f7941a9477
4
+ data.tar.gz: fbf092dc887c3209a21d7f07c659e0d27286e644
5
5
  SHA512:
6
- metadata.gz: 2770050105af81ce37735b2273197262f583927f8fca4cd00f17aa7643a0417e0cc6e5e14acbf487109f956c2b2708fb1c880f82d833aebab450326a06397d70
7
- data.tar.gz: e40c2379aaefbd945bf2554d82d0c586a6cfa50fe9e6329995c323d3f7e30191f1c0ceb4160c9c3e4c6f6c9a4929b447be8914c0944d96e96519e15c10ae0ecb
6
+ metadata.gz: db70513686c272196e73e142a0a9e9a516133b23025c595c7a148f8e9e5e79cdd6741478b1aacfa57ee82b5535cf9f80c094032778e924ff7ef490414cea6012
7
+ data.tar.gz: 03fe76591f0bfa41408c4c4447ce8235ae0d1135e2e1c1f4d7cc65af3661d57c9a277ce8816b10c3a5060efe4a85bbf0bbd7e6265beef184a9c16cf406edf806
@@ -60,12 +60,12 @@ module Buildable::Recipe
60
60
  '--prefix': '/',
61
61
  '--description': Buildable.config.description.inspect,
62
62
  '--force': nil,
63
- '-C': "#{Buildable::BUILD_ROOT_DIR} ."
64
63
  }
65
64
 
66
65
  params['--deb-user'] = Buildable.config.app_user if Buildable.config.app_user
67
66
  params['--deb-group'] = Buildable.config.app_group if Buildable.config.app_group
68
67
 
68
+ params['-C'] = "#{Buildable::BUILD_ROOT_DIR} ." # must be last parameter
69
69
  result = Buildable::Shell.do_quiet 'fpm', params
70
70
  raise "Can't create package, error:\n#{result}" unless Buildable::Shell.success?
71
71
  package_name = result.match(/:path=>"\.\/pkg\/([^"]*)/)[1]
@@ -1,3 +1,3 @@
1
1
  module Buildable
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildable
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandre Prates
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-21 00:00:00.000000000 Z
11
+ date: 2016-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake