repomen 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4020039b7ac018c20a0f9bc14735cc9ebcb14c2c
4
- data.tar.gz: 8318af8f6b30f861d40e3e463022be2b20b8be9f
3
+ metadata.gz: 36c86eb1614177b953d7a0e09f77b98844d8fea0
4
+ data.tar.gz: 267c4b897b1045f50ebfe7d8acc0d09424c38e66
5
5
  SHA512:
6
- metadata.gz: d917a25470c62535284a42550c4eef1b4daf2c5ce44d1315cfc5039b2841f49b18717fb6203beb2fe5570595cc3e691eaca4828af630004b2f545052aaa390a6
7
- data.tar.gz: 06fb35b937b360a739e73f172ea2ee6909ae5dd567a1675c7f7f4c6a742a92a415e30af3dd7ac96cc164302780f2b9e9508c1a148f5b79cde6847e1c78325369
6
+ metadata.gz: 0c9837d01c9c8fd403e45bfe0d3706e27c7e8ad91cb5fe812ed6069c478340766f37e4b86d583d6884456ae4c499c343da41e3c580b3e3eed434a17f8b3964d0
7
+ data.tar.gz: 8c0ecacbfdfe147443debd6c3fe1a9383abb6bff2bdf369c8f4d88fa62eb71ed6181aee0ea8d64f00deb9e9d8a8bcc4fce0c90f1bbac83f85b58a56445c6aac9
@@ -103,7 +103,9 @@ module Repomen
103
103
  text.lines.each do |str|
104
104
  break if str.strip.empty?
105
105
  list = str.partition(': ')
106
- info[list.first] = list.last.gsub(/\n$/, '')
106
+ info[list.first] = list.last
107
+ .encode('UTF-8', 'binary', invalid: :replace, undef: :replace, replace: '')
108
+ .gsub(/\n$/, '')
107
109
  end
108
110
  info
109
111
  end
@@ -1,3 +1,3 @@
1
1
  module Repomen
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: repomen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - René Föhring
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-25 00:00:00.000000000 Z
11
+ date: 2014-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  requirements: []
138
138
  rubyforge_project:
139
- rubygems_version: 2.2.2
139
+ rubygems_version: 2.2.0
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Interface wrapper for retrieving repos