repomen 0.1.6 → 0.1.7

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: 86468f020931ff1c6dec02116a44d72a0eb358d2
4
- data.tar.gz: ae602c04a9b77f6b3f0408d761e51953e3d93981
3
+ metadata.gz: 4020039b7ac018c20a0f9bc14735cc9ebcb14c2c
4
+ data.tar.gz: 8318af8f6b30f861d40e3e463022be2b20b8be9f
5
5
  SHA512:
6
- metadata.gz: fd53d32e0b290e7e671bc4c769513851708cb4fffd7d1e24f4b430257d49a3bf8a3b02e22e4cc04c70b22c93d44676e6d70818ce7c32ed9fbf3c0b1780c8bbc8
7
- data.tar.gz: fb01f61a4e1bc2f9a9c28350c673a0ee9101befe9d380733410d9ee12669474eca1d7ff52048f5fb4f832b854b06cfb0233253a55b76930f73cbe1e1ffca145e
6
+ metadata.gz: d917a25470c62535284a42550c4eef1b4daf2c5ce44d1315cfc5039b2841f49b18717fb6203beb2fe5570595cc3e691eaca4828af630004b2f545052aaa390a6
7
+ data.tar.gz: 06fb35b937b360a739e73f172ea2ee6909ae5dd567a1675c7f7f4c6a742a92a415e30af3dd7ac96cc164302780f2b9e9508c1a148f5b79cde6847e1c78325369
@@ -103,7 +103,7 @@ 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
106
+ info[list.first] = list.last.gsub(/\n$/, '')
107
107
  end
108
108
  info
109
109
  end
@@ -1,3 +1,3 @@
1
1
  module Repomen
2
- VERSION = '0.1.6'
2
+ VERSION = '0.1.7'
3
3
  end
@@ -23,6 +23,7 @@ describe ::Repomen::Repo::Handler::Git do
23
23
  refute info["email"].nil?
24
24
  refute info["date"].nil?
25
25
  refute info["commit"].nil?
26
+ assert info["commit"] == info["commit"].strip
26
27
  refute info["message"].nil?
27
28
  end
28
29
 
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.6
4
+ version: 0.1.7
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-19 00:00:00.000000000 Z
11
+ date: 2014-05-25 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.0
139
+ rubygems_version: 2.2.2
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Interface wrapper for retrieving repos