amazon_auth 0.4.2 → 0.4.3

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: 1dbb0da03518895958625aac116361d7066be7cc
4
- data.tar.gz: b84f4bc692e5d72c30490b1a16f01ae5c63b0f60
3
+ metadata.gz: ea1813a746339a62a99590ceb61c86c4e26a50b1
4
+ data.tar.gz: 71a1511fe0582cf36b1a3226a6efca496cdaf755
5
5
  SHA512:
6
- metadata.gz: 8195b7eed62aaee754064d81f730c9fd693da277de2b61aea7a3e0790003f471929f7f33f366b01e115cff56b422983baf8616b23869d65db599efe36fe7b3b8
7
- data.tar.gz: 74ea3466c4edbad675f93d1ae6bfa909550fcc2105982f9a7af9ca03d2ec6474eb463deade4448d31c87058e6760d9fda012e329839b7de7baa72d40e58825b5
6
+ metadata.gz: ed72f566bc716cc31fccbae412889faa255fb1cdb93247d3328ecd5cd2d21b0a94d6d0ce0f1f9d44fabe87dfc90dd765b6d85324c83f5b4f03034478f1943a29
7
+ data.tar.gz: 651537cd232764dbfe1fe6f2eab87197e4f55b9cfea98ad3b022be0452ddf8005f91e6eb8f622930406e96100d8c51888eedc556cd4ae9d41b313dc0d7e62185
@@ -12,7 +12,7 @@ module AmazonAuth
12
12
 
13
13
  def wait_for_selector(selector, options = {})
14
14
  options.fetch(:wait_time, 3).times do
15
- if session.first(selector)
15
+ if session.first(selector, minimum: 0)
16
16
  break
17
17
  else
18
18
  sleep(1)
@@ -56,7 +56,7 @@ module AmazonAuth
56
56
  log "signInSubmit button not found in this page"
57
57
  return false
58
58
  end
59
- session.fill_in 'ap_email', with: login if session.first('#ap_email') && session.first('#ap_email').value.blank?
59
+ session.fill_in 'ap_email', with: login if session.first('#ap_email', minimum: 0) && session.first('#ap_email').value.blank?
60
60
  session.fill_in 'ap_password', with: password
61
61
  session.first('#signInSubmit').click
62
62
  log "Clicked signInSubmit"
@@ -1,3 +1,3 @@
1
1
  module AmazonAuth
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amazon_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuho Yamaguchi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-09 00:00:00.000000000 Z
11
+ date: 2018-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  version: '0'
198
198
  requirements: []
199
199
  rubyforge_project:
200
- rubygems_version: 2.6.13
200
+ rubygems_version: 2.6.8
201
201
  signing_key:
202
202
  specification_version: 4
203
203
  summary: Login amazon.