fpm-cookery 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/CHANGELOG.md +7 -0
- data/lib/fpm/cookery/log.rb +1 -0
- data/lib/fpm/cookery/package/dir.rb +2 -0
- data/lib/fpm/cookery/packager.rb +1 -0
- data/lib/fpm/cookery/source_handler/curl.rb +6 -0
- data/lib/fpm/cookery/version.rb +1 -1
- metadata +2 -8
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# v0.12.0 (2013-01-28)
|
2
|
+
* Copy source files with no or unknown file extension to
|
3
|
+
the source dir. (smasset)
|
4
|
+
* Set deb\_user and deb\_group attributes to root.
|
5
|
+
* Ensure passing the vendor attribute to fpm. (aussielunix)
|
6
|
+
* Unbreak logging with the latest fpm.
|
7
|
+
|
1
8
|
# v0.11.0 (2012-08-20)
|
2
9
|
* Add source handler to handle local source directories via file:// urls.
|
3
10
|
|
data/lib/fpm/cookery/log.rb
CHANGED
@@ -23,6 +23,8 @@ module FPM
|
|
23
23
|
attributes[:prefix] = '/'
|
24
24
|
attributes[:chdir] = recipe.destdir.to_s
|
25
25
|
attributes[:deb_compression] = 'gzip'
|
26
|
+
attributes[:deb_user] = 'root'
|
27
|
+
attributes[:deb_group] = 'root'
|
26
28
|
attributes[:rpm_compression] = 'gzip'
|
27
29
|
attributes[:rpm_digest] = 'md5'
|
28
30
|
attributes[:rpm_user] = 'root'
|
data/lib/fpm/cookery/packager.rb
CHANGED
@@ -30,6 +30,12 @@ module FPM
|
|
30
30
|
safesystem(local_path)
|
31
31
|
when '.zip'
|
32
32
|
safesystem('unzip', '-d', local_path.basename('.zip'), local_path)
|
33
|
+
else
|
34
|
+
unless local_path.basename.exist?
|
35
|
+
Dir.mkdir(local_path.basename)
|
36
|
+
end
|
37
|
+
|
38
|
+
safesystem('cp', '-f', local_path, local_path.basename)
|
33
39
|
end
|
34
40
|
extracted_source
|
35
41
|
end
|
data/lib/fpm/cookery/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fpm-cookery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
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:
|
12
|
+
date: 2013-01-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fpm
|
@@ -155,18 +155,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
155
155
|
- - ! '>='
|
156
156
|
- !ruby/object:Gem::Version
|
157
157
|
version: '0'
|
158
|
-
segments:
|
159
|
-
- 0
|
160
|
-
hash: -1591651962376197617
|
161
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
159
|
none: false
|
163
160
|
requirements:
|
164
161
|
- - ! '>='
|
165
162
|
- !ruby/object:Gem::Version
|
166
163
|
version: '0'
|
167
|
-
segments:
|
168
|
-
- 0
|
169
|
-
hash: -1591651962376197617
|
170
164
|
requirements: []
|
171
165
|
rubyforge_project: fpm-cookery
|
172
166
|
rubygems_version: 1.8.24
|