couchpillow 0.4.11 → 0.4.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/couchpillow/directives/attribute.rb +1 -1
- data/lib/couchpillow/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c9d5ee86912d171e065f6dc172b2bb0e18435b8
|
4
|
+
data.tar.gz: 8a16c36d7dfd16a10635885da99222e883ae99fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e4333383e5e02f9f0ec23fae37f1b197e69b98e60ac11bf50451e048fe8230c1e7e3ab084701f731c3a14aef81753f050215246e33b43247d714a5d42344e02
|
7
|
+
data.tar.gz: 0039fad90d3aeface4e0b50cc4a74325ff1cfc96acd5be8be233be665a842ae3cdc73eeb7fd828c3359ecb979ad7c7cab1c7158d6e9bbb1a85786bedde698eb2
|
@@ -162,7 +162,7 @@ module CouchPillow
|
|
162
162
|
value = String(value)
|
163
163
|
elsif @type == Array
|
164
164
|
value = Array(value)
|
165
|
-
elsif
|
165
|
+
elsif @type <= Time && !value.is_a?(Time)
|
166
166
|
value = @type.parse(value)
|
167
167
|
elsif @type == CouchPillow::Boolean
|
168
168
|
value = value == 0 || value.to_s.downcase == "false" || !value ? false : true
|
data/lib/couchpillow/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: couchpillow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Albert Tedja
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: couchbase
|
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
114
|
version: '0'
|
115
115
|
requirements: []
|
116
116
|
rubyforge_project:
|
117
|
-
rubygems_version: 2.4.
|
117
|
+
rubygems_version: 2.4.6
|
118
118
|
signing_key:
|
119
119
|
specification_version: 4
|
120
120
|
summary: Document wrapper for Couchbase
|