fpm 0.2.7 → 0.2.8
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/lib/fpm/source/dir.rb +3 -2
- metadata +3 -17
data/lib/fpm/source/dir.rb
CHANGED
|
@@ -8,9 +8,10 @@ class FPM::Source::Dir < FPM::Source
|
|
|
8
8
|
|
|
9
9
|
def make_tarball!(tar_path, builddir)
|
|
10
10
|
if self[:prefix]
|
|
11
|
+
# Trim leading '/' from prefix
|
|
11
12
|
self[:prefix] = self[:prefix][1..-1] if self[:prefix] =~ /^\//
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
|
|
14
|
+
# Prefix all files with a path if given.
|
|
14
15
|
@paths.each do |path|
|
|
15
16
|
# Trim @root (--chdir)
|
|
16
17
|
path = path[@root.size .. -1] if path.start_with?(@root)
|
metadata
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fpm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash: 25
|
|
5
4
|
prerelease:
|
|
6
|
-
|
|
7
|
-
- 0
|
|
8
|
-
- 2
|
|
9
|
-
- 7
|
|
10
|
-
version: 0.2.7
|
|
5
|
+
version: 0.2.8
|
|
11
6
|
platform: ruby
|
|
12
7
|
authors:
|
|
13
8
|
- Jordan Sissel
|
|
@@ -15,7 +10,7 @@ autorequire:
|
|
|
15
10
|
bindir: bin
|
|
16
11
|
cert_chain: []
|
|
17
12
|
|
|
18
|
-
date: 2011-03-
|
|
13
|
+
date: 2011-03-21 00:00:00 -07:00
|
|
19
14
|
default_executable:
|
|
20
15
|
dependencies:
|
|
21
16
|
- !ruby/object:Gem::Dependency
|
|
@@ -26,9 +21,6 @@ dependencies:
|
|
|
26
21
|
requirements:
|
|
27
22
|
- - ">="
|
|
28
23
|
- !ruby/object:Gem::Version
|
|
29
|
-
hash: 3
|
|
30
|
-
segments:
|
|
31
|
-
- 0
|
|
32
24
|
version: "0"
|
|
33
25
|
type: :runtime
|
|
34
26
|
version_requirements: *id001
|
|
@@ -72,23 +64,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
72
64
|
requirements:
|
|
73
65
|
- - ">="
|
|
74
66
|
- !ruby/object:Gem::Version
|
|
75
|
-
hash: 3
|
|
76
|
-
segments:
|
|
77
|
-
- 0
|
|
78
67
|
version: "0"
|
|
79
68
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
69
|
none: false
|
|
81
70
|
requirements:
|
|
82
71
|
- - ">="
|
|
83
72
|
- !ruby/object:Gem::Version
|
|
84
|
-
hash: 3
|
|
85
|
-
segments:
|
|
86
|
-
- 0
|
|
87
73
|
version: "0"
|
|
88
74
|
requirements: []
|
|
89
75
|
|
|
90
76
|
rubyforge_project:
|
|
91
|
-
rubygems_version: 1.
|
|
77
|
+
rubygems_version: 1.6.0
|
|
92
78
|
signing_key:
|
|
93
79
|
specification_version: 3
|
|
94
80
|
summary: fpm - package building and mangling
|