amazon_auth 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -2
- data/lib/amazon_auth/client.rb +6 -3
- data/lib/amazon_auth/version.rb +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: 5372326bf8eb4d5ad7208f1012fb3637f0d75bfb
|
4
|
+
data.tar.gz: 1318f2610357e659f04a3054c62b6ff1da7aa9e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2faa1765823348febcb15dca571b5849a8ac5fd9454f8e944cccbd4290354acb11d0f90b1dd782fffaefc553cd5f39a118cde44b4ceab6e972ade7b5ac0d06bf
|
7
|
+
data.tar.gz: dd44a0edf4af32714802cd63d2f6c222993661114025b4bd3972e108855dc87f1c26cfa55dcece5e46dc58252215c1be3d84d5c5b53786ddb3aaf3502c20d357
|
data/README.md
CHANGED
data/lib/amazon_auth/client.rb
CHANGED
@@ -41,10 +41,13 @@ module AmazonAuth
|
|
41
41
|
|
42
42
|
def submit_signin_form
|
43
43
|
debug "Begin submit_signin_form"
|
44
|
-
|
45
|
-
|
44
|
+
unless session.has_selector?('#signInSubmit')
|
45
|
+
log "signInSubmit button not found"
|
46
|
+
return false
|
47
|
+
end
|
48
|
+
session.fill_in 'ap_email', with: @login if session.first('#ap_email').value.blank?
|
46
49
|
session.fill_in 'ap_password', with: @password
|
47
|
-
session.
|
50
|
+
session.first('#signInSubmit').click
|
48
51
|
log "Clicked signInSubmit"
|
49
52
|
|
50
53
|
raise('Failed on signin') if alert_displayed?
|
data/lib/amazon_auth/version.rb
CHANGED
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.3.
|
4
|
+
version: 0.3.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: 2017-
|
11
|
+
date: 2017-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|