report_builder 1.0 → 1.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: 330d350552316c577bff8a52a168924822c724e6
4
- data.tar.gz: 5fb29cd31933f0233d164c468929da923a7abc98
3
+ metadata.gz: 00892c5d6224e96d04466699112d44d4eee6b076
4
+ data.tar.gz: 95dbf46bed166d49d13a6f39808e5b406549da83
5
5
  SHA512:
6
- metadata.gz: ad9ca0719bc60179d1bd9368c3a9f27c57bcc53efdced8e5ed06b21ed8607f9b83d0782b651b207e716e43861a3a057211b55b0f313c5b81b77cfa7e2426b70b
7
- data.tar.gz: 9e2aa291fa26ab62aacd0940ca006c66bcf0dcd48a891a958f7b001cafdf9c3e15e490bd0d82285aeb449c5f013ba7be90e4815e0d0ab3a76d5a216a90a07026
6
+ metadata.gz: 5b193aaf917a4c6663cacae2059c8c0f251c8f1121d8685c88e865be3dd8831e95e1dfef083288720e9b70b7f4ae103045379790bd71d0056e2c28669d17ba5e
7
+ data.tar.gz: d2ce2da99c3926e012e3d63a88ecc84f3825756aeefb792ab0e6a78fd120be618fbc8b9f4edb23fc03b6dfa712da59425a58a7a9e3cc5260f51e6dbf641684a1
@@ -56,7 +56,7 @@ module ReportBuilder
56
56
  end
57
57
 
58
58
  def decode(data)
59
- Base64.decode64(data) rescue data
59
+ (Base64.decode64(data) rescue data).gsub(/^data:image\/(png|gif|jpg|jpeg)\;base64,/, '')
60
60
  end
61
61
 
62
62
  private
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'report_builder'
3
- s.version = '1.0'
3
+ s.version = '1.1'
4
4
  s.bindir = 'bin'
5
5
  s.summary = 'ReportBuilder'
6
6
  s.description = 'Ruby gem to merge Cucumber JSON reports and build mobile friendly HTML Test Report, JSON report and retry file.'
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: '1.0'
4
+ version: '1.1'
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-10-04 00:00:00.000000000 Z
11
+ date: 2017-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json