cukerail 0.0.5 → 0.0.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: 79c5e89f98cbd32a30a5c8c31cb53b4fa08c0232
4
- data.tar.gz: 13482906ac92bab39a3dc309353e5ffbcccc72b9
3
+ metadata.gz: b1e554000dde37028d8c56234ca3caab980b6610
4
+ data.tar.gz: e848432946eb020cf5ce3ccdc1e132822c71e49f
5
5
  SHA512:
6
- metadata.gz: 5a89a120497a7f817c2eb70b64d7b8cbbf4551607eb6f645efa1d7600304067d8f76ea0e17e1b4774e40d5f772aace217b4914b05475d071ab8a2c2a8d950e05
7
- data.tar.gz: b5693a081caef579eb4268a6400e09bd1d65a30480f6aafaf93b6057ba2956645a52aa8365e68f3cb770bef9abdd0a7830e13f4e545c2a2776428e4d00fc1b79
6
+ metadata.gz: dcbcd20b7b4e58e7e70539844da6f9a335ed52da69d41658a71185ef769a0462e64f7c84b839494069d39ce37f98320bf24c60359a2781181d8e5156cfe4d4ba
7
+ data.tar.gz: 6b3c1597c6931a30c12e1d77e7450b6f2edebd80377b232f82df14d6cca8dc29fb01050b155ad468e4d4199b97b29ad0babf8384fa1263a337b4a17a6de69bdc
@@ -1,3 +1,3 @@
1
1
  module Cukerail
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
data/lib/cukerail.rb CHANGED
@@ -8,6 +8,8 @@ module Cukerail
8
8
  end
9
9
 
10
10
  def after_test_case(test_case,result)
11
+ #guard clause
12
+ return false unless test_case.tags.any?{|tag| tag.name =~/project/} && test_case.tags.any?{|tag| tag.name=~/suite/}
11
13
  feature = test_case.feature
12
14
  # ap feature.methods - Object.methods
13
15
  # ap feature.tags
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cukerail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Small