lobbyliste 0.1.3 → 0.1.4

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: 2e429467d8c905deade18b5c381198a5cea1f854
4
- data.tar.gz: 13ee08dcad9de5df79b6d809342e54411138592a
3
+ metadata.gz: ce0924a0fdcfbbab50aef56bd7252faa3d58c705
4
+ data.tar.gz: 6b51ef334fdfd48f2a409234ad238a5530c1f3f0
5
5
  SHA512:
6
- metadata.gz: 61905fa2da52ccb446da83625aec2c7a765b50cf416742aaffcd0e8bd2c17fc563d785af9f4d3b3edbd06212f1b29e777eabc02ded2bf8c1ec98721b65fdb09d
7
- data.tar.gz: e2bf6fd82b23152a8255119283f5a99ed8c8a4f1eb611f301979e08cf2bcaccac12227811cf54dce20a5163e176fe7534f69dee04d34238cc3d7be732eb6cad0
6
+ metadata.gz: 2afa814b500f48bcd5bdbc43533fa94ca5828996e93a30ae7e6faac191d6c95f49e29b18f6d6280e8b3e0249f34c7ff82a31569c37fa7d19c6aafae8cbd3c1de
7
+ data.tar.gz: 01d455966273c7e0ccf12f9898917850cfdedcb15c10f264254c13bbfad6b3b444b90454bc786ee0c784e2675fc3da47ea0139e129b8b09913c0f28643edeca2
@@ -82,7 +82,7 @@ module Lobbyliste
82
82
  end
83
83
 
84
84
  def last_update
85
- date = @text_data.match /^Stand: (\d\d\.\d\d\.\d\d\d\d)/
85
+ date = @text_data.match(/^Stand: (\d\d\.\d\d\.\d\d\d\d)/)
86
86
  Date.parse(date[1])
87
87
  end
88
88
 
@@ -67,7 +67,7 @@ module Lobbyliste
67
67
  line = interest_lines[i]
68
68
  next_line = interest_lines[i+1]
69
69
 
70
- if line =~ /[-–]$/ && !(next_line.start_with?("und"," und"))
70
+ if line =~ /[-–]$/ && !(next_line.start_with?("und"," und", "oder", " oder"))
71
71
  line.gsub!(/[-–]$/,"")
72
72
  next_line_words = next_line.split(" ")
73
73
 
@@ -79,7 +79,7 @@ module Lobbyliste
79
79
  interest_lines[i+1] = next_line
80
80
  end
81
81
 
82
- interest_lines.reject(&:blank?).join(" ")
82
+ interest_lines.reject(&:blank?).join("\n")
83
83
  end
84
84
 
85
85
  def members
@@ -1,3 +1,3 @@
1
1
  module Lobbyliste
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lobbyliste
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - DarthMax