prof 0.31.4 → 0.31.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/prof/external_spec/spec_helper.rb +12 -8
- data/lib/prof/version.rb +1 -1
- metadata +4 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d298f74c80065a52f5df6b80077a8a02fbc834f
|
4
|
+
data.tar.gz: c6cb8736ee927625b3ab5d35e709140fa40b3430
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f0dde8f4fc13d0ac8a19ca630ed41155f0e629ce41abfc28e089aae7bc434170b175454e6f963800863affe850e74f0437903abd6ca0ff4f3c9c9ddc8eb88f4
|
7
|
+
data.tar.gz: 05f16d61f55cc0b335f153fbb64a859047ebc559d3e129b5299eec511a6deef9913fd0b45faaf402fc66eb91b3c6f132368a326a1212d6b51b9a465b4905a91f
|
@@ -43,15 +43,19 @@ RSpec.configure do |config|
|
|
43
43
|
end
|
44
44
|
|
45
45
|
config.after(:each) do |example|
|
46
|
-
if
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
46
|
+
if Capybara.current_session.instance_variable_get(:@touched)
|
47
|
+
if example.exception
|
48
|
+
page = save_page
|
49
|
+
screenshot = save_screenshot(nil)
|
50
|
+
|
51
|
+
exception = example.exception
|
52
|
+
exception.define_singleton_method :message do
|
53
|
+
super() +
|
54
|
+
"\nHTML page: #{page}\nScreenshot: #{screenshot}"
|
55
|
+
end
|
54
56
|
end
|
57
|
+
|
58
|
+
Capybara.current_session.reset!
|
55
59
|
end
|
56
60
|
end
|
57
61
|
end
|
data/lib/prof/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prof
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.31.
|
4
|
+
version: 0.31.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CF London
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem-release
|
@@ -222,38 +222,18 @@ dependencies:
|
|
222
222
|
version: 0.8.3
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: net-ssh-gateway
|
225
|
-
requirement: !ruby/object:Gem::Requirement
|
226
|
-
requirements:
|
227
|
-
- - "~>"
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: 1.2.0
|
230
|
-
type: :runtime
|
231
|
-
prerelease: false
|
232
|
-
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
requirements:
|
234
|
-
- - "~>"
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: 1.2.0
|
237
|
-
- !ruby/object:Gem::Dependency
|
238
|
-
name: net-ssh
|
239
225
|
requirement: !ruby/object:Gem::Requirement
|
240
226
|
requirements:
|
241
227
|
- - ">="
|
242
228
|
- !ruby/object:Gem::Version
|
243
|
-
version:
|
244
|
-
- - "<="
|
245
|
-
- !ruby/object:Gem::Version
|
246
|
-
version: 3.1.1
|
229
|
+
version: '0'
|
247
230
|
type: :runtime
|
248
231
|
prerelease: false
|
249
232
|
version_requirements: !ruby/object:Gem::Requirement
|
250
233
|
requirements:
|
251
234
|
- - ">="
|
252
235
|
- !ruby/object:Gem::Version
|
253
|
-
version:
|
254
|
-
- - "<="
|
255
|
-
- !ruby/object:Gem::Version
|
256
|
-
version: 3.1.1
|
236
|
+
version: '0'
|
257
237
|
- !ruby/object:Gem::Dependency
|
258
238
|
name: nokogiri
|
259
239
|
requirement: !ruby/object:Gem::Requirement
|