wist 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 +4 -4
- data/Gemfile.lock +15 -11
- data/lib/wist.rb +1 -1
- data/wist.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfaaad59ca0b0c89e9e3d755bbc1347c1174bf02
|
4
|
+
data.tar.gz: 580560c6e11dd641a1b3fd0ba0352c22674e03fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba248af31d74208f2768cebbd01c98319e39d49bf9d22d4cf5deb53f6c69042c8d66036d8900cf960a3793db5285552b84ed4a934a96a041b48a0bd7cca8b4e7
|
7
|
+
data.tar.gz: 83b911fd3a80bdf6be97923e64205cea6cefab7a541109d87b6c3ec752cb46782631abeaea4e9f735a0c91d482266b192255c52d2909a21b72619b449810d574
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
wist (0.1.
|
4
|
+
wist (0.1.3)
|
5
5
|
capybara
|
6
6
|
selenium-webdriver
|
7
7
|
|
@@ -20,34 +20,37 @@ GEM
|
|
20
20
|
ffi (~> 1.0, >= 1.0.11)
|
21
21
|
coderay (1.0.9)
|
22
22
|
eventmachine (1.0.3)
|
23
|
-
faye-websocket (0.
|
23
|
+
faye-websocket (0.7.0)
|
24
24
|
eventmachine (>= 0.12.0)
|
25
|
+
websocket-driver (>= 0.3.0)
|
25
26
|
ffi (1.9.0)
|
26
27
|
http_parser.rb (0.5.3)
|
27
|
-
method_source (0.8.
|
28
|
-
mime-types (1.
|
28
|
+
method_source (0.8.2)
|
29
|
+
mime-types (1.25)
|
30
|
+
mini_portile (0.5.1)
|
29
31
|
minitest (4.3.3)
|
30
|
-
multi_json (1.
|
31
|
-
nokogiri (1.
|
32
|
+
multi_json (1.8.1)
|
33
|
+
nokogiri (1.6.0)
|
34
|
+
mini_portile (~> 0.5.0)
|
32
35
|
poltergeist (1.2.0)
|
33
36
|
capybara (~> 2.1.0)
|
34
37
|
faye-websocket (~> 0.4, >= 0.4.4)
|
35
38
|
http_parser.rb (~> 0.5.3)
|
36
|
-
pry (0.9.12)
|
39
|
+
pry (0.9.12.2)
|
37
40
|
coderay (~> 1.0.5)
|
38
41
|
method_source (~> 0.8)
|
39
42
|
slop (~> 3.4)
|
40
43
|
rack (1.5.2)
|
41
44
|
rack-test (0.6.2)
|
42
45
|
rack (>= 1.0)
|
43
|
-
rake (10.0
|
46
|
+
rake (10.1.0)
|
44
47
|
rubyzip (0.9.9)
|
45
|
-
selenium-webdriver (2.
|
48
|
+
selenium-webdriver (2.35.1)
|
46
49
|
childprocess (>= 0.2.5)
|
47
50
|
multi_json (~> 1.0)
|
48
|
-
rubyzip
|
51
|
+
rubyzip (< 1.0.0)
|
49
52
|
websocket (~> 1.0.4)
|
50
|
-
slop (3.4.
|
53
|
+
slop (3.4.6)
|
51
54
|
tconsole (1.2.8)
|
52
55
|
chattyproc (~> 1.0.0)
|
53
56
|
minitest (~> 4.3.0)
|
@@ -56,6 +59,7 @@ GEM
|
|
56
59
|
turn (0.9.6)
|
57
60
|
ansi
|
58
61
|
websocket (1.0.7)
|
62
|
+
websocket-driver (0.3.0)
|
59
63
|
xpath (2.0.0)
|
60
64
|
nokogiri (~> 1.3)
|
61
65
|
|
data/lib/wist.rb
CHANGED
@@ -79,7 +79,7 @@ module Wist
|
|
79
79
|
|
80
80
|
def set_input_and_press_enter(selector, val)
|
81
81
|
wait_til_element_visible(selector)
|
82
|
-
page.execute_script("#{jquery_selector(selector)}.val('#{val}').trigger({type: 'keydown', which: 13})")
|
82
|
+
page.execute_script("#{jquery_selector(selector)}.val('#{val}').trigger({type: 'keydown', which: 13}).trigger({ type: 'keypress', which: 13})")
|
83
83
|
end
|
84
84
|
|
85
85
|
def has_class?(el, class_name)
|
data/wist.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lihan Li
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|