protester 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/tester/parse/plain_text.rb +1 -1
  2. metadata +3 -3
@@ -54,7 +54,7 @@ module Tester
54
54
  [values, headers].transpose.map do |value, header|
55
55
  self.instance_eval <<-EOF
56
56
  def #{header}
57
- #{value} rescue #{value.inspect}
57
+ @#{header} ||= #{value} rescue #{value.inspect}
58
58
  end
59
59
  EOF
60
60
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protester
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jinzhu