report_builder 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 184f283ec69740e687f12c9b7b26f9cb9275f458
4
- data.tar.gz: 6b21adf20f05196cfd30a1670b463e07a2237af5
3
+ metadata.gz: 4e3a824e02259c0bbfb4708f07ae0461ab094fbe
4
+ data.tar.gz: 12cf431d094ecdea35d0e8f968dc99ae7d731965
5
5
  SHA512:
6
- metadata.gz: 7b013fd71158d353e312e9dd38f568561be2d77da71d0acd67443bf0b6cebe33ea150174a23e11313f1953aa88ad88fd409ced416bcc00be47f3556a86f0f49d
7
- data.tar.gz: 8c4dea06ee1d8378d5214c7cb446369d7bcc6973a30ac38ff0cdc4587c22478f8f8dfe0d10850a415b663f2154535c37f17ea36bdc5006413096b35cd544c0b1
6
+ metadata.gz: 86f54fb802bca18a855cd201b700876b7c58780713e8671398fcf660e963f36fc2353b67356c104aeefe5c4a63a6b7f4a3d5fb13017403ba0d9dda84c14268fb
7
+ data.tar.gz: 65ad7213096af3316633aea421433e0da75ef49d81e5bbee6124724180e0112c711e47b3175a5601cd20d35b6d97e6ed489f892a315dfef1865210b4a1b31210
data/README.md CHANGED
@@ -121,11 +121,13 @@ Then run rake task report_builder
121
121
 
122
122
  We're open to any contribution. It has to be tested properly though.
123
123
 
124
- ## Maintainer
124
+ ## Collaborators
125
125
 
126
- * [Rajat Thareja](http://www.rajatthareja.com)
126
+ * [Rajat Thareja](https://github.com/rajatthareja)
127
127
  * [Justin Commu](https://github.com/tk8817)
128
+ * [Eric Kessler](https://github.com/enkessler)
129
+ * [Jeff Morgan](https://github.com/cheezy)
128
130
 
129
131
  ## License
130
132
 
131
- Copyright (c) 2016 [MIT LICENSE](LICENSE)
133
+ Copyright (c) 2017 [MIT LICENSE](LICENSE)
@@ -23,8 +23,7 @@ module ReportBuilder
23
23
  }
24
24
 
25
25
  def build_report(opts = nil)
26
-
27
- options = default_options.marshal_dump unless options
26
+ options = self.options || default_options.marshal_dump
28
27
  options.merge! opts if opts.is_a? Hash
29
28
 
30
29
  raise 'Error: Invalid report_types Use: [:json, :html]' unless options[:report_types].is_a? Array
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'report_builder'
3
- s.version = '0.1.5'
3
+ s.version = '0.1.6'
4
4
  s.bindir = 'bin'
5
5
  s.summary = 'ReportBuilder'
6
6
  s.description = 'Merge Cucumber JSON reports and build single HTML Test Report'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: report_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajat Thareja
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-11 00:00:00.000000000 Z
11
+ date: 2017-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: builder