fpm-cookery 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/lib/fpm/cookery/package/maintainer.rb +4 -0
- data/lib/fpm/cookery/path.rb +1 -1
- data/lib/fpm/cookery/version.rb +1 -1
- metadata +4 -4
data/CHANGELOG.md
CHANGED
@@ -28,6 +28,10 @@ module FPM
|
|
28
28
|
useremail = git_config('user.email')
|
29
29
|
|
30
30
|
username && useremail ? "#{username} <#{useremail}>" : nil
|
31
|
+
rescue
|
32
|
+
# This might fail if git is not installed or if the current
|
33
|
+
# dir is not a git repository.
|
34
|
+
nil
|
31
35
|
end
|
32
36
|
|
33
37
|
def git_config(key)
|
data/lib/fpm/cookery/path.rb
CHANGED
@@ -62,7 +62,7 @@ module FPM
|
|
62
62
|
raise "#{src} does not exist" unless File.symlink? src or File.exist? src
|
63
63
|
|
64
64
|
mkpath
|
65
|
-
FileUtils.cp_r src, dst
|
65
|
+
FileUtils.cp_r src, dst
|
66
66
|
|
67
67
|
# if File.symlink? src
|
68
68
|
# # we use the BSD mv command because FileUtils copies the target and
|
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.16.
|
4
|
+
version: 0.16.1
|
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: 2013-09-
|
12
|
+
date: 2013-09-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
@@ -238,7 +238,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
238
238
|
version: '0'
|
239
239
|
segments:
|
240
240
|
- 0
|
241
|
-
hash:
|
241
|
+
hash: -1095322893557635482
|
242
242
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
243
243
|
none: false
|
244
244
|
requirements:
|
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
247
|
version: '0'
|
248
248
|
segments:
|
249
249
|
- 0
|
250
|
-
hash:
|
250
|
+
hash: -1095322893557635482
|
251
251
|
requirements: []
|
252
252
|
rubyforge_project: fpm-cookery
|
253
253
|
rubygems_version: 1.8.25
|