touch_action 1.2.0 → 1.2.1

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: 077f7c6670440d15c9b7ad71bcc803aea8d37a8a
4
- data.tar.gz: 457853a034bcdb87a3bb100135fec0eb0fdeb8d0
3
+ metadata.gz: bfa947340d9b1adb9be7ed82fd79ecd464c860b5
4
+ data.tar.gz: 8cbef3fbadc44447983247c002980644a58d12b6
5
5
  SHA512:
6
- metadata.gz: d6f47ff42c9f1cefd26b047d2413a4d2eb4db5919dbb42b11b30bfd56129e22f8fb58cfcf9e73977fbef65f3a14f5dc8e86fc835bb6541e7001d455819b2b520
7
- data.tar.gz: 1ae8e9abb5da2a00bc3fa55683918de1f18bf4295812b1269e10a78b17afc89cdd4f4b92c2246502047bfc48454ce95cef2532cd7092f9c7dca8578f34f965c6
6
+ metadata.gz: 95c7a7bd87ef4983362ee27d2d27cdd16f3973772dc0f6a72d3aceb595eb0948b28ee53450c6e1a83c125955c392c0676a37061f72b5911f79e22f8783412950
7
+ data.tar.gz: 85d7accb204826af76f47dcba3429629e9593130ca3e9bd3ed5f4b5f01faef22473664a0e888953b7c43aa08eaf408d8f479742e7961b97b69178c3f34f8739b
@@ -1,3 +1,3 @@
1
1
  module TouchAction
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
@@ -17,7 +17,7 @@ module TouchAction
17
17
 
18
18
  def wait_for_page_ready_state
19
19
  sleep(0.5) # mobile browsers wait around 300ms when tapping to check if it isn's a double tap before triggering the link
20
- browser.wait
20
+ browser.wait(60)
21
21
  end
22
22
  end
23
23
 
data/spec/spec_helper.rb CHANGED
@@ -14,12 +14,12 @@ Dir["./spec/support/**/*.rb"].sort.each { |f| require f}
14
14
  end
15
15
 
16
16
 
17
- case ENV['platform']
17
+ case ENV['PLATFORM']
18
18
  when 'ios'
19
19
  capabilities = {
20
20
  :deviceName => 'iPhone 5s',
21
21
  :browserName => 'Safari',
22
- :platformVersion => '7.1',
22
+ :platformVersion => '8.1',
23
23
  :platformName => 'iOS',
24
24
  :app => 'safari',
25
25
  :newCommandTimeout => 9999
@@ -46,7 +46,7 @@ ENV['browser'] ||= 'firefox'
46
46
  RSpec.configure do |config|
47
47
 
48
48
  config.before(:each) do |example|
49
- if ENV['platform']
49
+ if ENV['PLATFORM']
50
50
  @browser = Watir::Browser.new(Selenium::WebDriver.for(:remote, :desired_capabilities => capabilities, :url => ENV['appium_url']))
51
51
  else
52
52
  case example.metadata[:use_webdriver]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: touch_action
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Nacif
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-07 00:00:00.000000000 Z
11
+ date: 2015-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: watir-webdriver