fpm 0.3.8 → 0.3.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.
Files changed (3) hide show
  1. data/CHANGELIST +6 -0
  2. data/lib/fpm/source/dir.rb +1 -3
  3. metadata +4 -4
data/CHANGELIST CHANGED
@@ -1,3 +1,9 @@
1
+ 0.3.9 (Sep 8, 2011)
2
+ - Fix bug in 'dir' source that breaks full paths
3
+ - Added a bunch of tests (yaay)
4
+
5
+ 0.3.8 and earlier: I have not kept this file up to date very well... Sorry :(
6
+
1
7
  0.2.29 (May 20, 2011)
2
8
  - Add 'tar' source support. Useful for binary releases to repackage as rpms
3
9
  and debs. Example:
@@ -50,9 +50,7 @@ class FPM::Source::Dir < FPM::Source
50
50
  tar(tar_path, ".")
51
51
  end
52
52
  else
53
- # Prefix everything with "./" as per the Debian way if needed ...
54
- path = paths[0].match(/^(\.\/|\.)/) ? paths[0] : "./%s" % paths[0]
55
- tar(tar_path, path)
53
+ tar(tar_path, paths)
56
54
  end
57
55
 
58
56
  # TODO(sissel): Make a helper method.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fpm
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 8
10
- version: 0.3.8
9
+ - 9
10
+ version: 0.3.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jordan Sissel
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-06 00:00:00 Z
18
+ date: 2011-09-08 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: json