fwtoolkit 0.8.6 → 0.8.7

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.
@@ -39,7 +39,11 @@ module FWToolkit
39
39
  FWToolkit::Test::FrankCache.all_objects(klass).each do |o|
40
40
  match = true
41
41
  conditions.keys.each do |k|
42
- if not eval("o.#{k}").eql? conditions[k]
42
+ value = eval("o.#{k}")
43
+ if((value.class.name.eql? "String") and (not value.eql? conditions[k]))
44
+ match = false
45
+ break
46
+ elsif((value.class.name.eql? "Fixnum") and (not value == conditions[k].to_i))
43
47
  match = false
44
48
  break
45
49
  end
@@ -1,3 +1,3 @@
1
1
  module FWToolkit
2
- VERSION = "0.8.6"
2
+ VERSION = "0.8.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fwtoolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.6
4
+ version: 0.8.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-31 00:00:00.000000000 Z
12
+ date: 2013-06-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cucumber
@@ -328,7 +328,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
328
328
  version: '0'
329
329
  segments:
330
330
  - 0
331
- hash: 1946775998494865360
331
+ hash: -869933509531778951
332
332
  required_rubygems_version: !ruby/object:Gem::Requirement
333
333
  none: false
334
334
  requirements:
@@ -337,7 +337,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
337
337
  version: '0'
338
338
  segments:
339
339
  - 0
340
- hash: 1946775998494865360
340
+ hash: -869933509531778951
341
341
  requirements: []
342
342
  rubyforge_project:
343
343
  rubygems_version: 1.8.25