mediawiki-selenium 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mediawiki/selenium.rb +3 -1
- data/lib/mediawiki/selenium/sauce.rb +10 -0
- data/lib/mediawiki/selenium/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6012290cc0d5095d3bed985b963c6a9a7f8bb479
|
4
|
+
data.tar.gz: 1b4a1d9fdbabeebbe4e9682ce4a86123f2a6fe28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3563580df66ee26e38e5e4ba22ad4bf16d8864781ad93556ac7a2b3ef653a4049c8a3f8ec12d89d89b7eb93abb171b17bc2ec29248b380ddb7be9383abc05c06
|
7
|
+
data.tar.gz: c32980d817930e0684296d6fe976a3643c8e1a9c45eeb4b5feccef6c0354f5fa62ed066299abdb46fbfd08d47474412cb46d1558784b140ab60653844dbf801e
|
data/lib/mediawiki/selenium.rb
CHANGED
@@ -9,5 +9,7 @@ mediawiki-selenium top-level directory and at
|
|
9
9
|
https://github.com/zeljkofilipin/mediawiki-selenium/blob/master//CREDITS.
|
10
10
|
=end
|
11
11
|
|
12
|
-
require "mediawiki/selenium/version"
|
13
12
|
require "mediawiki/selenium/env"
|
13
|
+
require "mediawiki/selenium/sauce"
|
14
|
+
require "mediawiki/selenium/version"
|
15
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'cucumber/formatter/junit'
|
2
|
+
|
3
|
+
module Cucumber::Formatter
|
4
|
+
class Sauce < Junit
|
5
|
+
def format_exception(exception)
|
6
|
+
sauce_job_page = "Sauce Labs job URL: http://saucelabs.com/jobs/#{$session_id}\n"
|
7
|
+
([sauce_job_page] + ["#{exception.message} (#{exception.class})"] + exception.backtrace).join("\n")
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mediawiki-selenium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zeljko Filipin
|
@@ -55,6 +55,7 @@ files:
|
|
55
55
|
- Rakefile
|
56
56
|
- lib/mediawiki/selenium.rb
|
57
57
|
- lib/mediawiki/selenium/env.rb
|
58
|
+
- lib/mediawiki/selenium/sauce.rb
|
58
59
|
- lib/mediawiki/selenium/version.rb
|
59
60
|
- mediawiki-selenium.gemspec
|
60
61
|
homepage: https://github.com/zeljkofilipin/mediawiki-selenium
|