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 CHANGED
@@ -1,3 +1,7 @@
1
+ # v0.16.1 (2013-09-26)
2
+ * Unbreak package building with broken symlinks.
3
+ * Do not fail if git is not installed.
4
+
1
5
  # v0.16.0 (2013-09-21)
2
6
  * Chain packager. (smasset)
3
7
  * Add show-depends CLI option. (unakatsuo)
@@ -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)
@@ -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, :preserve => true
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
@@ -1,5 +1,5 @@
1
1
  module FPM
2
2
  module Cookery
3
- VERSION = '0.16.0'
3
+ VERSION = '0.16.1'
4
4
  end
5
5
  end
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.0
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-21 00:00:00.000000000 Z
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: 4072366461725663513
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: 4072366461725663513
250
+ hash: -1095322893557635482
251
251
  requirements: []
252
252
  rubyforge_project: fpm-cookery
253
253
  rubygems_version: 1.8.25