bbc-capybara-mechanize 0.4 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -242,6 +242,7 @@ class Capybara::Mechanize::Browser < Capybara::RackTest::Browser
|
|
242
242
|
def headers
|
243
243
|
# Hax the content-type contains utf8, so Capybara specs are failing, need to ask mailinglist
|
244
244
|
headers = page.response
|
245
|
+
headers["cache-control"] = "no-cache"
|
245
246
|
headers["content-type"].gsub!(';charset=utf-8', '') if headers["content-type"]
|
246
247
|
headers
|
247
248
|
end
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bbc-capybara-mechanize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
|
9
|
+
- 1
|
10
|
+
version: 0.4.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Jeroen van Dijk
|
@@ -15,7 +16,7 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2012-03-
|
19
|
+
date: 2012-03-30 00:00:00 Z
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|