capybara 2.0.2 → 2.0.3
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.
- data/lib/capybara/helpers.rb +1 -4
- data/lib/capybara/rails.rb +1 -1
- data/lib/capybara/version.rb +1 -1
- metadata +3 -3
data/lib/capybara/helpers.rb
CHANGED
@@ -13,10 +13,7 @@ module Capybara
|
|
13
13
|
# @return [String] Normalized text
|
14
14
|
#
|
15
15
|
def normalize_whitespace(text)
|
16
|
-
|
17
|
-
# We should have a better reference.
|
18
|
-
# See also http://stackoverflow.com/a/11758133/525872
|
19
|
-
text.to_s.gsub(/[\s\u0085\u00a0\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000]+/, ' ').strip
|
16
|
+
text.to_s.gsub(/[[:space:]]+/, ' ').strip
|
20
17
|
end
|
21
18
|
|
22
19
|
##
|
data/lib/capybara/rails.rb
CHANGED
data/lib/capybara/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-03-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -362,7 +362,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
362
362
|
version: '0'
|
363
363
|
requirements: []
|
364
364
|
rubyforge_project: capybara
|
365
|
-
rubygems_version: 1.8.
|
365
|
+
rubygems_version: 1.8.25
|
366
366
|
signing_key:
|
367
367
|
specification_version: 3
|
368
368
|
summary: Capybara aims to simplify the process of integration testing Rack applications,
|