test-unit-capybara 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84fa6f0c84122420c4d287a5d0d6b49488dd95ed35d03010054178f997414d43
4
- data.tar.gz: 19eed1234386a00dfcaf590badb17ca965fd3c046cb9fe0afdfc41a0f0b01171
3
+ metadata.gz: 2d190dfd844d16b73a084804761cfc1271c486518ed8c9d3f2ae53df5379e050
4
+ data.tar.gz: 185179a47db1185058c72146f7c15146c9fb4efc446962832fff17f3a45d5149
5
5
  SHA512:
6
- metadata.gz: f299c9576b8da573af74522a18c72423c890f3a3f9c6263dd1c0e0e0ce92b51386749ec67cc5d362def6b4b192882e12dd5d5628d02621e1d9c9addc4b537177
7
- data.tar.gz: 3ed71358a9b066c83186ada4c10beeb2d34869a718bb5465a7d7dfc823351e0fe293459fb662799840b62983c1f0f75e398d3cac0ac73bde90673458c72e3427
6
+ metadata.gz: c10565650c312b5ed69ba3d7ddf47248299744bb282795d9fa3248f2e1d4e212507aac9f3c990de9bbe10e140d0590605821403344cbd874705b26bfd8c100f6
7
+ data.tar.gz: c21104046cd4ca313f2ad3bef208fe2457d6c798b3e911d17c2106eaf73dabf09d9797e9d656dc6f78f9f5c49c56e69b12ad81b31684239782b6ea4a9ce92f6c
@@ -1,5 +1,11 @@
1
1
  # News
2
2
 
3
+ ## 1.0.9 - 2019-07-11
4
+
5
+ ### Fixes
6
+
7
+ * Fixed a bug that this doesn't work with `Rack::Test`.
8
+
3
9
  ## 1.0.8 - 2019-07-11
4
10
 
5
11
  ### Improvements
@@ -486,7 +486,8 @@ EOT
486
486
  node.base.source
487
487
  elsif node.base.respond_to?(:html)
488
488
  node.base.html
489
- elsif node.base.respond_to?(:driver)
489
+ elsif node.base.respond_to?(:driver) and
490
+ node.base.driver.respond_to?(:evaluate_script)
490
491
  node.base.driver.evaluate_script("arguments[0].outerHTML",
491
492
  node.base)
492
493
  else
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2011-2018 Kouhei Sutou <kou@clear-code.com>
1
+ # Copyright (C) 2011-2019 Sutou Kouhei <kou@clear-code.com>
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -17,7 +17,7 @@
17
17
  module Test
18
18
  module Unit
19
19
  module Capybara
20
- VERSION = "1.0.8"
20
+ VERSION = "1.0.9"
21
21
  end
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-unit-capybara
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou