fpm 0.4.8 → 0.4.9

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.
data/CHANGELIST CHANGED
@@ -1,3 +1,6 @@
1
+ 0.4.9 (April 25, 2012)
2
+ - Fix --prefix support when building gems (#213, patch by Jan Vansteenkiste)
3
+
1
4
  0.4.8 (April 25, 2012)
2
5
  - RPM: use 'noreplace' option for config files (#194, patch by Steve Lum)
3
6
  - Python: Fix bug around exact dependency versions (#206, patch by Lars van
@@ -159,8 +159,8 @@ class FPM::Package::Gem < FPM::Package
159
159
  end # def load_package_info
160
160
 
161
161
  def install_to_staging(gem_path)
162
- if attributes.include?(:path_prefix)
163
- installdir = "#{staging_path}/#{attributes[:path_prefix]}"
162
+ if attributes.include?(:prefix) && ! attributes[:prefix].nil?
163
+ installdir = "#{staging_path}/#{attributes[:prefix]}"
164
164
  else
165
165
  installdir = File.join(staging_path, ::Gem::dir)
166
166
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-25 00:00:00.000000000 Z
12
+ date: 2012-04-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json