gem2rpm 0.9.1 → 0.9.2

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.
Files changed (3) hide show
  1. data/lib/gem2rpm/distro.rb +1 -1
  2. data/lib/gem2rpm.rb +1 -1
  3. metadata +1 -1
@@ -9,7 +9,7 @@ module Gem2Rpm
9
9
  versions = []
10
10
 
11
11
  release_files.each do |file|
12
- /\d+/ =~ File.open(file).readline
12
+ /\d+/ =~ File.open(file, "r:UTF-8").readline
13
13
  versions << Regexp.last_match.to_s if Regexp.last_match
14
14
  end
15
15
 
data/lib/gem2rpm.rb CHANGED
@@ -7,7 +7,7 @@ require 'gem2rpm/spec_fetcher'
7
7
  require 'gem2rpm/specification'
8
8
 
9
9
  module Gem2Rpm
10
- Gem2Rpm::VERSION = "0.9.1"
10
+ Gem2Rpm::VERSION = "0.9.2"
11
11
 
12
12
  class Exception < RuntimeError; end
13
13
  class DownloadUrlError < Exception; end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem2rpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: