fpm 0.2.13 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fpm/source/dir.rb +2 -0
- metadata +18 -4
data/lib/fpm/source/dir.rb
CHANGED
@@ -19,6 +19,8 @@ class FPM::Source::Dir < FPM::Source
|
|
19
19
|
|
20
20
|
# Copy to self[:prefix] (aka --prefix)
|
21
21
|
if File.directory?(path)
|
22
|
+
# Turn 'path' into 'path/' so rsync copies it properly.
|
23
|
+
path = "#{path}/" if path[-1,1] != "/"
|
22
24
|
dest = "#{builddir}/tarbuild/#{self[:prefix]}/#{path}"
|
23
25
|
else
|
24
26
|
dest = "#{builddir}/tarbuild/#{self[:prefix]}/#{File.dirname(path)}"
|
metadata
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
hash: 11
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 2
|
9
|
+
- 14
|
10
|
+
version: 0.2.14
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- Jordan Sissel
|
@@ -10,7 +15,7 @@ autorequire:
|
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date: 2011-04-
|
18
|
+
date: 2011-04-07 00:00:00 -07:00
|
14
19
|
default_executable:
|
15
20
|
dependencies:
|
16
21
|
- !ruby/object:Gem::Dependency
|
@@ -21,6 +26,9 @@ dependencies:
|
|
21
26
|
requirements:
|
22
27
|
- - ">="
|
23
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
24
32
|
version: "0"
|
25
33
|
type: :runtime
|
26
34
|
version_requirements: *id001
|
@@ -65,17 +73,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
73
|
requirements:
|
66
74
|
- - ">="
|
67
75
|
- !ruby/object:Gem::Version
|
76
|
+
hash: 3
|
77
|
+
segments:
|
78
|
+
- 0
|
68
79
|
version: "0"
|
69
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
81
|
none: false
|
71
82
|
requirements:
|
72
83
|
- - ">="
|
73
84
|
- !ruby/object:Gem::Version
|
85
|
+
hash: 3
|
86
|
+
segments:
|
87
|
+
- 0
|
74
88
|
version: "0"
|
75
89
|
requirements: []
|
76
90
|
|
77
91
|
rubyforge_project:
|
78
|
-
rubygems_version: 1.
|
92
|
+
rubygems_version: 1.3.7
|
79
93
|
signing_key:
|
80
94
|
specification_version: 3
|
81
95
|
summary: fpm - package building and mangling
|