rgem2rpm 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/rgem2rpm/gem.rb CHANGED
@@ -87,7 +87,7 @@ class RGem2Rpm::Gem
87
87
  # define name and platform
88
88
  def name_and_platform(gemname)
89
89
  name = gemname
90
- if gemname =~ /jruby|jars|java/ or @spec[:platform] == 'java'
90
+ if gemname =~ /jruby|jars|java/ or @spec[:platform].to_s == 'java'
91
91
  @platform = 'jruby'
92
92
  name = "jruby-#{gemname}" unless gemname =~ /jruby/
93
93
  elsif @platform == 'jruby' and !@spec[:executables].nil? and !@spec[:executables].empty?
@@ -1,3 +1,3 @@
1
1
  module RGem2Rpm
2
- VERSION = '1.4.0'
2
+ VERSION = '1.4.1'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rgem2rpm
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.4.0
5
+ version: 1.4.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Joao Peixoto
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-02-14 00:00:00 Z
13
+ date: 2012-02-15 00:00:00 Z
14
14
  dependencies: []
15
15
 
16
16
  description: Application that enables conversion of rubygems to rpms.