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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0037caf23b15c884315fe6a5c1b9980c5a090133
4
- data.tar.gz: d4230eccd57eb777a52ceed3bd433cf75f3f624e
3
+ metadata.gz: f8f3fa288a782f710160f5423dc60a37b0b66ed8
4
+ data.tar.gz: 3d7880126514583ae129b91d2d02514e1555adb2
5
5
  SHA512:
6
- metadata.gz: 58be25747927e6719e1bb3bb04f3a195c24221aab7d357a2073667188f04bb3b696a76d959aaff2d109f6c4173ccdd73f678c7b866e91a65e588d526a404940f
7
- data.tar.gz: ac660b1c962b03a8784c4de974395386b04d3f9d53695f97bbe1becfd0305ab4fd4f9dd0630c629d8e9c99f54afd3cf9e80f63b42e869808afe60068d8d2dc5a
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
@@ -1,3 +1,3 @@
1
1
  module MediawikiSelenium
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  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.0
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-05-28 00:00:00.000000000 Z
16
+ date: 2015-06-02 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: cucumber