betlinks 0.0.9 → 0.0.10

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.
@@ -1,3 +1,3 @@
1
1
  module Betlinks
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
data/lib/betlinks.rb CHANGED
@@ -24,12 +24,12 @@ module Betlinks
24
24
  forks.each do |f|
25
25
  next if f.strip.empty?
26
26
  @records << {
27
+ 'дата' => f.scan(/(\d{1,2}[^.].*?)\ в\ \d{1,2}\:\d{2}/).flatten(1)[0],
28
+ 'время' => f.scan(/в\ (\d{1,2}\:\d{2})/).flatten(1)[0],
27
29
  'игра' => f.scan(/\d+\:\d+\.\s(.*?)\:/).flatten(1)[0],
28
30
  'команда_1' => f.scan(/\d+\:\d+\.\s(.*?)\s\-/).flatten(1)[0],
29
31
  'команда_2' => f.scan(/\d+\:\d+\.\s.*?\-\s(.*?)\:/).flatten(1)[0],
30
32
  'прибыль' => f.scan(/\:\ (.*?)\%/).flatten(1)[0],
31
- 'дата' => f.scan(/(\d{1,2}[^.].*?)\ в\ \d{2}\:\d{2}/).flatten(1)[0],
32
- 'время' => f.scan(/в\ (\d{2}\:\d{2})/).flatten(1)[0],
33
33
  'брокер_1' => {
34
34
  'имя' => f.scan(/^1\.\ (.*?);\ /).flatten(1)[0],
35
35
  'вид_ставки' => f.scan(/^1\..*?ставка\ (.*?)\s[\;\(]/).flatten(1)[0],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: betlinks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-09 00:00:00.000000000 Z
12
+ date: 2012-10-10 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Plugin for bets
15
15
  email: