ugly_face 0.3 → 0.4

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: 849295788203e91db7708bdcec6857c3dac9457d
4
- data.tar.gz: 383cc57a9dc8f45ccb263814464a3f7ebd945e25
3
+ metadata.gz: e0cd3bbf017046f62eb1870b994d0f12a4921ace
4
+ data.tar.gz: 26dbf66742696f51e8a5cc8d5ac0530bcbc2ecfc
5
5
  SHA512:
6
- metadata.gz: 7c49af12c9f939b67b6f8e55bf138f4772aa28a229892f22971ac183352d329f21602087fa79a4f8bee913d325797efd711e46e212a738ccaddefa16ac2168c5
7
- data.tar.gz: 45708b31a9d4f3f34e5b64f1d0092cb2dfa99a0016ecc27cbe3800a1b1ae407366f133bf4123f2122b10e5a904e17fc5f36ff2e4de4bea817f0ddd9d3d1cd0e8
6
+ metadata.gz: c8109d81adf57ab428a2697a626c45e7dc7b0132ca6f75eae3331d0ee4fc2a1018b4391bc086bc23eb958153a10fc05f72a0e9f39b671a51a4611b3c359896fa
7
+ data.tar.gz: b9564fcac608a5f5c64c4defd8a81cf344d746ba6eba0fd0444c9a784bc893546f3245b40fb99e4e499dcdc5e2ec3aefaba7b357cc8674f95bce84b6beabd4a0
data/ChangeLog CHANGED
@@ -1,4 +1,7 @@
1
- === Release 0.2 / 2015-11-20
1
+ === Release 0.4 / 2015-11-20
2
+ Cleanup hashes before adding them to the debug output
3
+
4
+ === Release 0.3 / 2015-11-20
2
5
  Return the actual debug data rather than the index
3
6
 
4
7
  === Release 0.2 / 2015-11-20
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ugly_face
2
2
 
3
- Customized HTML report for cucumber.
3
+ A customized version of PrettyFace with new features (debug data, screenshot section, ENV var readouts)
4
4
 
5
5
 
6
6
  ## Getting Started
data/Rakefile CHANGED
@@ -13,6 +13,8 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
13
13
  end
14
14
  task :spec
15
15
 
16
+
17
+
16
18
  desc 'Run all specs and features'
17
19
  task :test => %w[spec features]
18
20
 
@@ -1,3 +1,3 @@
1
1
  module UglyFace
2
- VERSION = "0.3"
2
+ VERSION = "0.4"
3
3
  end
data/lib/ugly_face.rb CHANGED
@@ -9,9 +9,12 @@ module UglyFace
9
9
  @html_output=''
10
10
 
11
11
  def self.add_msg(key='', msg='')
12
- @scenario_msgs[:"#{key}"] = msg
12
+ hash_data=''
13
+ msg.each { |k, v| hash_data << "#{k}: #{v}+ " } if msg.is_a?(Hash)
14
+ @scenario_msgs[:"#{key}"] = "#{(hash_data == '') ? msg : hash_data}"
13
15
  end
14
16
 
17
+
15
18
  def self.process_scenario
16
19
  raw_output=''
17
20
  @scenario_msgs.each { |key, value| raw_output << "+#{key}:+ #{value}+" }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ugly_face
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.3'
4
+ version: '0.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Commmu