Fixed paypal express gem location
This commit is contained in:
parent
1bbf4608d0
commit
5d1f20b2b9
@ -54,13 +54,15 @@ def capture_html(distance_from_root = 3)
|
|||||||
end
|
end
|
||||||
|
|
||||||
def attempt_to(refresh_on_fail = false, &block)
|
def attempt_to(refresh_on_fail = false, &block)
|
||||||
|
exception = nil
|
||||||
begin
|
begin
|
||||||
retries ||= 0
|
retries ||= 0
|
||||||
timeout ||= 0
|
timeout ||= 0
|
||||||
timeout += 1
|
timeout += 1
|
||||||
yield
|
yield
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
raise e unless (retries += 1) <= 4
|
exception ||= e
|
||||||
|
raise exception unless (retries += 1) <= 4
|
||||||
visit TestState.last_page if TestState.last_page && refresh_on_fail
|
visit TestState.last_page if TestState.last_page && refresh_on_fail
|
||||||
sleep(timeout * timeout)
|
sleep(timeout * timeout)
|
||||||
retry
|
retry
|
||||||
|
@ -251,54 +251,6 @@ Portland OR: !ruby/object:Geocoder::Result::Google
|
|||||||
- locality
|
- locality
|
||||||
- political
|
- political
|
||||||
cache_hit:
|
cache_hit:
|
||||||
Prince Rupert BC: !ruby/object:Geocoder::Result::Google
|
|
||||||
data:
|
|
||||||
address_components:
|
|
||||||
- long_name: Prince Rupert
|
|
||||||
short_name: Prince Rupert
|
|
||||||
types:
|
|
||||||
- locality
|
|
||||||
- political
|
|
||||||
- long_name: Skeena-Queen Charlotte
|
|
||||||
short_name: Skeena-Queen Charlotte
|
|
||||||
types:
|
|
||||||
- administrative_area_level_2
|
|
||||||
- political
|
|
||||||
- long_name: British Columbia
|
|
||||||
short_name: BC
|
|
||||||
types:
|
|
||||||
- administrative_area_level_1
|
|
||||||
- political
|
|
||||||
- long_name: Canada
|
|
||||||
short_name: CA
|
|
||||||
types:
|
|
||||||
- country
|
|
||||||
- political
|
|
||||||
formatted_address: Prince Rupert, BC, Canada
|
|
||||||
geometry:
|
|
||||||
bounds:
|
|
||||||
northeast:
|
|
||||||
lat: 54.338083
|
|
||||||
lng: -130.2437961
|
|
||||||
southwest:
|
|
||||||
lat: 54.19392
|
|
||||||
lng: -130.3634291
|
|
||||||
location:
|
|
||||||
lat: 54.3150367
|
|
||||||
lng: -130.3208187
|
|
||||||
location_type: APPROXIMATE
|
|
||||||
viewport:
|
|
||||||
northeast:
|
|
||||||
lat: 54.3343706
|
|
||||||
lng: -130.2478032
|
|
||||||
southwest:
|
|
||||||
lat: 54.202669
|
|
||||||
lng: -130.3608029
|
|
||||||
place_id: ChIJaUV_axPVclQRElbZTQ_jB3E
|
|
||||||
types:
|
|
||||||
- locality
|
|
||||||
- political
|
|
||||||
cache_hit:
|
|
||||||
Regina, SK: !ruby/object:Geocoder::Result::Google
|
Regina, SK: !ruby/object:Geocoder::Result::Google
|
||||||
data:
|
data:
|
||||||
address_components:
|
address_components:
|
||||||
@ -501,3 +453,51 @@ Eldorado, MX: !ruby/object:Geocoder::Result::Google
|
|||||||
- locality
|
- locality
|
||||||
- political
|
- political
|
||||||
cache_hit:
|
cache_hit:
|
||||||
|
Prince Rupert BC: !ruby/object:Geocoder::Result::Google
|
||||||
|
data:
|
||||||
|
address_components:
|
||||||
|
- long_name: Prince Rupert
|
||||||
|
short_name: Prince Rupert
|
||||||
|
types:
|
||||||
|
- locality
|
||||||
|
- political
|
||||||
|
- long_name: Skeena-Queen Charlotte
|
||||||
|
short_name: Skeena-Queen Charlotte
|
||||||
|
types:
|
||||||
|
- administrative_area_level_2
|
||||||
|
- political
|
||||||
|
- long_name: British Columbia
|
||||||
|
short_name: BC
|
||||||
|
types:
|
||||||
|
- administrative_area_level_1
|
||||||
|
- political
|
||||||
|
- long_name: Canada
|
||||||
|
short_name: CA
|
||||||
|
types:
|
||||||
|
- country
|
||||||
|
- political
|
||||||
|
formatted_address: Prince Rupert, BC, Canada
|
||||||
|
geometry:
|
||||||
|
bounds:
|
||||||
|
northeast:
|
||||||
|
lat: 54.338083
|
||||||
|
lng: -130.2437961
|
||||||
|
southwest:
|
||||||
|
lat: 54.19392
|
||||||
|
lng: -130.3634291
|
||||||
|
location:
|
||||||
|
lat: 54.3150367
|
||||||
|
lng: -130.3208187
|
||||||
|
location_type: APPROXIMATE
|
||||||
|
viewport:
|
||||||
|
northeast:
|
||||||
|
lat: 54.3343706
|
||||||
|
lng: -130.2478032
|
||||||
|
southwest:
|
||||||
|
lat: 54.202669
|
||||||
|
lng: -130.3608029
|
||||||
|
place_id: ChIJaUV_axPVclQRElbZTQ_jB3E
|
||||||
|
types:
|
||||||
|
- locality
|
||||||
|
- political
|
||||||
|
cache_hit:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user