wist 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +15 -11
  3. data/lib/wist.rb +1 -1
  4. data/wist.gemspec +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7439a5bcb03e1a2577707a5e76bbee40ef06fbd6
4
- data.tar.gz: ed8c0b5063c2e6a20eb8e0efb5a614dca719df09
3
+ metadata.gz: cfaaad59ca0b0c89e9e3d755bbc1347c1174bf02
4
+ data.tar.gz: 580560c6e11dd641a1b3fd0ba0352c22674e03fc
5
5
  SHA512:
6
- metadata.gz: 211881ab4f431cb26301f73ab501eecebe11e6f765b23b92c73d0b1736bbbfc6fc4c403903fb50c873fd8ed3438c102c25db06e4ed47114d8af46fe883f55177
7
- data.tar.gz: 479620cc67965f306c964426a2011554296b5a39257f1f4d5af50fdf7473eeeb10bac8d0616672f6d0d951f5c47e26a22943a0e1adb041cb178ab7f7646e276c
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.2)
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.4.7)
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.1)
28
- mime-types (1.22)
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.7.7)
31
- nokogiri (1.5.9)
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.4)
46
+ rake (10.1.0)
44
47
  rubyzip (0.9.9)
45
- selenium-webdriver (2.33.0)
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.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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'wist'
3
- gem.version = '0.1.3'
3
+ gem.version = '0.1.4'
4
4
  gem.summary = 'capybara helpers'
5
5
  gem.author = 'Lihan Li'
6
6
  gem.email = 'frankieteardrop@gmail.com'
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.3
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-07-16 00:00:00.000000000 Z
11
+ date: 2013-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara