mediawiki_selenium 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/mediawiki_selenium/raita/logger.rb +8 -0
- data/lib/mediawiki_selenium/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8f3fa288a782f710160f5423dc60a37b0b66ed8
|
4
|
+
data.tar.gz: 3d7880126514583ae129b91d2d02514e1555adb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d98d2abdd75a93fef9374de705f0fabec8523418a31e413ce6fe2a8d773e9eedd9a3ffb5ebad8411ed219773e02783d68236797a81c0ac9790e08e9a1960fb7
|
7
|
+
data.tar.gz: 4a80cbbb66bdd9a019b9514cadc42225d88a0563e6e15bacfcd7ea3f8ad3af075ee55b42ca8d8f008fd696e07919c90a54d2dfa385930c657c6310044426da1e
|
data/README.md
CHANGED
@@ -199,6 +199,10 @@ See https://www.mediawiki.org/wiki/Gerrit
|
|
199
199
|
|
200
200
|
## Release notes
|
201
201
|
|
202
|
+
### 1.2.1 2015-06-02
|
203
|
+
* Fixed issue with inconsistent JSON output in Raita logger when using
|
204
|
+
scenario outlines
|
205
|
+
|
202
206
|
### 1.2.0 2015-05-28
|
203
207
|
* Support logging to a [Raita](http://git.wikimedia.org/summary/integration%2Fraita.git)
|
204
208
|
Elasticsearch database by setting `RAITA_URL`
|
@@ -5,7 +5,15 @@ module MediawikiSelenium
|
|
5
5
|
module Raita
|
6
6
|
class Logger < Cucumber::Formatter::GherkinFormatterAdapter
|
7
7
|
def initialize(_runtime, raita_options, options)
|
8
|
+
# Force expanded output of outlines. Note this will effect other
|
9
|
+
# formatters as well, but it's the only way to get a consistent JSON
|
10
|
+
# representation of feature elements with result status and duration.
|
11
|
+
#
|
12
|
+
# @see https://github.com/cucumber/gherkin/issues/165
|
13
|
+
options[:expand] = true
|
14
|
+
|
8
15
|
super(Formatter.new, false, options)
|
16
|
+
|
9
17
|
@db_url = URI.parse(raita_options[:url])
|
10
18
|
@build = raita_options[:build].merge(result: { status: 'passed', duration: 0 })
|
11
19
|
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: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris McMahon
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2015-
|
16
|
+
date: 2015-06-02 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: cucumber
|