page-object 2.2.1 → 2.2.2

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: ed39bfdc657310a484fdead50fb7a3d060358a48
4
- data.tar.gz: 50e8d4e3a1c2669e0c2e3709372ae1c4422aa701
3
+ metadata.gz: ec336cbd489a527cd92bb76d7a5550cae76b8f5e
4
+ data.tar.gz: 46cf833d65c1e5b914d637c199e776e7b1779de9
5
5
  SHA512:
6
- metadata.gz: 79ca96731f54acc6e6bda50b0f6aea7b7a1d1ca830eb7ebdd0f2bd6625779bdf55a210d8ca80e5f3be2d860c9f821042e7284e33959f090247f28d38e1963257
7
- data.tar.gz: f7ffaa56092110c6f7abe3a2a30fa39157ba71fc001b56c428a5d2f9d8453c8059f54a8a80ea8ce89423bc7e8417b925042960869c132cb5f924ec0450d854d6
6
+ metadata.gz: 8d87477f85fa75995b164492352c2fc7aa0a32c5d444c162d121dcc0595f14272d128fa78d154add976ad858351c94b31405ed2e2a47e2c5312369870254c519
7
+ data.tar.gz: e8ca44ef832280d0e200180fd1096bf467211d415961b413e874db3a06abaafbf885749264b0103852e7faf8e7c70686f6cbc5c5939db03f81c9e00a02436bcb
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Version 2.2.2 / 2017-9-25
2
+ * Fixes
3
+ * Fixed issue when using text for table index with special characters (Thanks Jason Phebus)
4
+
1
5
  Version 2.2.1 / 2017-9-22
2
6
  * Enhancements
3
7
  * Moved some functionality from PageObject to Watir (Thanks Titus Fortner)
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # adding rake so travis-ci will build properly
4
4
  gem 'rake'
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # page-object
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/page-object.svg)](https://rubygems.org/gems/page-object)
4
- [![Build Status](https://travis-ci.org/cheezy/page-object.png)](https://travis-ci.org/cheezy/page-object)
4
+ [![Build Status](https://travis-ci.org/cheezy/page-object.svg)](https://travis-ci.org/cheezy/page-object)
5
5
  [![Coverage Status](https://coveralls.io/repos/cheezy/page-object/badge.svg?nocache)](https://coveralls.io/r/cheezy/page-object)
6
6
 
7
7
 
@@ -58,7 +58,7 @@ module PageObject
58
58
  def find_index(what)
59
59
  return what if what.is_a? Integer
60
60
  row_items.find_index do |row|
61
- row.cell(text: /#{what}/).exist?
61
+ row.cell(text: /#{Regexp.escape(what)}/).exist?
62
62
  end
63
63
  end
64
64
  end
@@ -1,4 +1,4 @@
1
1
  module PageObject
2
2
  # @private
3
- VERSION = "2.2.1"
3
+ VERSION = "2.2.2"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: page-object
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Morgan
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-23 00:00:00.000000000 Z
12
+ date: 2017-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: watir