rast 0.6.0.pre → 0.6.1.pre

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
  SHA256:
3
- metadata.gz: 8b708941b4f497bb2d44a7cecc41bc844461668c0ddf9eb60a4b144f369dd52e
4
- data.tar.gz: 98d80de81bac24dad2758a067764dfd0ed94797bb287bd3123e73d3b1ded81f2
3
+ metadata.gz: d9c4a7088f327bf84d6eaf26c5a52b0e4f232522a0114e302b22bbc26bff8247
4
+ data.tar.gz: fcbbd503e41761eb57543b66940ba680bec5710f1c05ed69690858b103db8de4
5
5
  SHA512:
6
- metadata.gz: 6517e83a1f82f3882a85a8045b74e050e007bcab59d680b966c20653ab1c46b9b0b29d4279d8717ea390dc418ec0c77c010456fdd385ef5f46f1a0529773092c
7
- data.tar.gz: c30acef08531bd2abbdcfc01fa7ba972851c3e2e805b7e2f839b356f1d58113bb672849f27c18b335d53ab8f1e4f1afea6767cf569e7705df12e30fe93b214e2
6
+ metadata.gz: 106f21c7e0cb06bb010719fe1adc17923ff1753f74fba1691ed7f63d9b91580761b71d51c3abda0a1e978eb30b76f24a9a18274287ca11bf1204f9042e125b83
7
+ data.tar.gz: 194bbd079a183ee340edbeace605315227529e1d99374232494209cfcb91a3f3fa429d92b1988a798af7deccbbce1a40a525ebf3120e2e459b228deb2f497219
data/CHANGELOG.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # Change log
2
2
 
3
+ - 0.6.1.pre - Bugfix on the converters when used with rule exclusion.
3
4
  - 0.6.0.pre - Reverted redesign.
4
5
  - 0.5.0.pre - Redesigned to have subject as first block parameter. Everything inside
5
6
  the prepare block now runs under the context of RSpec.
@@ -2,11 +2,13 @@
2
2
 
3
3
  # Example
4
4
  class DoubleExample
5
- def sim();end
5
+ def sim; end
6
+
7
+ def product; end
6
8
 
7
9
  def process
8
- return false if sim.nil?
10
+ return false if sim.nil? || product.nil?
9
11
 
10
- sim.best?
12
+ sim.best? && product.key == 'ayg'
11
13
  end
12
14
  end
@@ -49,7 +49,7 @@ class ParameterGenerator
49
49
  rule_evaluator = RuleEvaluator.new(converters: spec.converters)
50
50
  rule_evaluator.parse(expression: exclude_clause)
51
51
 
52
- rule_evaluator.evaluate(scenario: scenario, rule_token_convert: spec.converters) == "false"
52
+ rule_evaluator.evaluate(scenario: scenario, rule_token_convert: spec.token_converter) == "false"
53
53
  end
54
54
 
55
55
  # add all fixtures to the list.
data/rast.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'rast'
5
- spec.version = '0.6.0.pre'
5
+ spec.version = '0.6.1.pre'
6
6
  spec.authors = ['Royce Remulla']
7
7
  spec.email = ['royce.com@gmail.com']
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rast
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0.pre
4
+ version: 0.6.1.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Royce Remulla