condition 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/condition/param_item.rb +3 -1
- data/lib/condition/version.rb +1 -1
- data/spec/files/t_user.ods +0 -0
- data/spec/spec_helper.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cad7ee79b223ee79d74b13beeb86b2150bb64cb
|
4
|
+
data.tar.gz: 442b388404b070bd2c1fdf208ee4485f18a2cc60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02e4b7028a5862dba7afb7136f9ccb3b53712081053a913eb5c6ebff22c00dfdd8c9c85980cfc079924a26596c1f593f3d381382160decd60b81c75e68217575
|
7
|
+
data.tar.gz: 232dcc50345ce8c2a0e0ef3d49adb03dc04e8e42725e27b8830256ea5814cc57fbb6cd9bb05f432c506b1a8819c25ec3812236624c27b3b7d890f12e81569591
|
data/README.md
CHANGED
data/lib/condition/param_item.rb
CHANGED
@@ -143,8 +143,10 @@ module Condition
|
|
143
143
|
end
|
144
144
|
elsif Integer === expected
|
145
145
|
real.to_i == expected
|
146
|
+
elsif Array === expected && real.respond_to?("to_a")
|
147
|
+
real.to_a == expected
|
146
148
|
else
|
147
|
-
real.to_s == expected
|
149
|
+
real.to_s == expected.to_s
|
148
150
|
end
|
149
151
|
end
|
150
152
|
|
data/lib/condition/version.rb
CHANGED
data/spec/files/t_user.ods
CHANGED
Binary file
|
data/spec/spec_helper.rb
CHANGED
@@ -10,6 +10,7 @@ require 'condition/storage/mongo'
|
|
10
10
|
require 'redis'
|
11
11
|
require 'condition/reader/redis_reader'
|
12
12
|
require 'condition/reader/convert_sheet'
|
13
|
+
require "sequel/extensions/pg_array"
|
13
14
|
|
14
15
|
FILES = File.dirname(__FILE__) + "/files"
|
15
16
|
FILES2 = File.dirname(__FILE__) + "/files2"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: condition
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- aoyagikouhei
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|