capybara-mechanize 1.7.0 → 1.8.0

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: bbcaf089697d02f46804612f0acefd46a1a65202
4
- data.tar.gz: c66e9eb863b1aae03917ebd0e3c5b1a291e74899
3
+ metadata.gz: 491552a5494391cfbb9d3e28707cc1586f39b7b8
4
+ data.tar.gz: b9cc4123d82577ed2f8daabbb3c96087671227a2
5
5
  SHA512:
6
- metadata.gz: 24c08aad652998b4e36278aa232c34b6c625cbf2fc2695ef6748f82cd6522a29f610cc76062878a4f21057b46883112cbfd67646cd91c21776de2a397a68e520
7
- data.tar.gz: ca45b110befa9b67dddcfc309c0d67c006c9f4440c5417ed916d73b6049e1fc0ce611f4a86144b733d912af6e974832ce999a25314578650adc1a6f4e2bfb5e5
6
+ metadata.gz: 09fdcf5d2d5addcbb8c67a6792addb7cd84fac6e6cf6f8b35e9aaf04e427585098361bcba177932343a76a1dbe01d7e209ff2e795667a20f40e3251814a72245
7
+ data.tar.gz: 3ca37587af71ae0206d95e8bf0f926998ea0fda5de778439ffa0d92b37ed69380d04bd0a86cac72f963d18b1f7f852898f20e1982eb032e2ee7f0c347b2934f9
@@ -47,6 +47,18 @@ class Capybara::Mechanize::Browser < Capybara::RackTest::Browser
47
47
  end
48
48
 
49
49
  @last_path = path
50
+ @last_method = method
51
+ @last_params = params
52
+ @last_env = env
53
+ end
54
+ end
55
+
56
+ def refresh
57
+ if last_request_remote?
58
+ process_remote_request(@last_method, @last_remote_uri.to_s, @last_params, @last_env)
59
+ else
60
+ register_local_request
61
+ super
50
62
  end
51
63
  end
52
64
 
@@ -1,5 +1,5 @@
1
1
  module Capybara
2
2
  module Mechanize
3
- VERSION = '1.7.0'
3
+ VERSION = '1.8.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-mechanize
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeroen van Dijk
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: 2.4.4
48
48
  - - "<"
49
49
  - !ruby/object:Gem::Version
50
- version: '2.14'
50
+ version: '2.16'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +57,7 @@ dependencies:
57
57
  version: 2.4.4
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
- version: '2.14'
60
+ version: '2.16'
61
61
  description: RackTest driver for Capybara, but with remote request support thanks
62
62
  to mechanize
63
63
  email: jeroen@jeevidee.nl