gem2rpm 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ if HAS_REMOTE_INSTALLER
15
15
  end
16
16
 
17
17
  module Gem2Rpm
18
- Gem2Rpm::VERSION = "0.7.0"
18
+ Gem2Rpm::VERSION = "0.7.1"
19
19
 
20
20
  if HAS_REMOTE_INSTALLER
21
21
  def self.find_download_url(name, version)
@@ -20,6 +20,15 @@ module Gem2Rpm
20
20
  super.map {|d| Gem2Rpm::Dependency.new d}
21
21
  end
22
22
 
23
+ # The license(s) for the library. Each license must be a short name,
24
+ # no more than 64 characters. Returns empty array if RubyGems does not
25
+ # provide the field.
26
+ def licenses
27
+ super
28
+ rescue
29
+ []
30
+ end
31
+
23
32
  # List of dependencies that will automatically be activated at runtime.
24
33
  def runtime_dependencies
25
34
  super.map {|d| Gem2Rpm::Dependency.new d}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem2rpm
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 0
10
- version: 0.7.0
9
+ - 1
10
+ version: 0.7.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Lutterkort
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-06-29 00:00:00 Z
19
+ date: 2011-06-30 00:00:00 Z
20
20
  dependencies: []
21
21
 
22
22
  description: " Generate source rpms and rpm spec files from a Ruby Gem. \n The spec file tries to follow the gem as closely as possible\n"