bets 0.0.7 → 0.0.8
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.
- data/lib/bets/version.rb +1 -1
- data/lib/bets.rb +2 -1
- metadata +2 -2
data/lib/bets/version.rb
CHANGED
data/lib/bets.rb
CHANGED
|
@@ -38,6 +38,7 @@ module Bets
|
|
|
38
38
|
'\ ИЛИ\ ' => ' || ',
|
|
39
39
|
'\ НЕТ\ ' => ' not ',
|
|
40
40
|
'ЕСЛИ\ ' => 'if ',
|
|
41
|
+
' TO ' => ' then ',
|
|
41
42
|
'\ ИНАЧЕ\ ' => ' else ',
|
|
42
43
|
'КОНЕЦ' => 'end',
|
|
43
44
|
'ЗАДЕРЖКА' => 'sleep ',
|
|
@@ -126,7 +127,7 @@ module Bets
|
|
|
126
127
|
instance_eval "@ff.wait_until{@ff.#{str}.exists?};@ff.#{str}.click"
|
|
127
128
|
end
|
|
128
129
|
def ff_set(str, value)
|
|
129
|
-
instance_eval "@ff.wait_until{@ff.#{str}.exists?};@ff.#{str}.set(#{value})"
|
|
130
|
+
instance_eval "@ff.wait_until{@ff.#{str}.exists?};@ff.#{str}.set('#{value}')"
|
|
130
131
|
rescue Exception => error
|
|
131
132
|
puts "Ошибка установки значения в поле #{str}: #{error}"
|
|
132
133
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bets
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.8
|
|
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-09-
|
|
12
|
+
date: 2012-09-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: Gem for get data from bets
|
|
15
15
|
email:
|