couchbase-orm 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/couchbase-orm/persistence.rb +2 -2
- data/lib/couchbase-orm/version.rb +1 -1
- 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: 78ad08caf3572bf7e4f582150a3d3cb67d79a2df
|
4
|
+
data.tar.gz: 5af4a963629b58c6ad5bc056318e0b2332d6abfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b02bdea9230b13c05c9010ac6ee33de13ebc9af4e17ac880e8cb28734219987c687083e41ce62169aec8874b2d6875454bf10546383645e343de110ca17cafe
|
7
|
+
data.tar.gz: 2726c43276a0ddbc2082e907ebcd50a44841877b691e7f2b2e5d80d428dd455a33619627bdd159e4ea39074f2bc9cb9c67c09a09e50507c3d9e54c9b6e23b194
|
@@ -87,8 +87,8 @@ module CouchbaseOrm
|
|
87
87
|
#
|
88
88
|
# By default, #save! always runs validations. If any of them fail
|
89
89
|
# CouchbaseOrm::Error::RecordInvalid gets raised, and the record won't be saved.
|
90
|
-
def save!
|
91
|
-
self.class.fail_validate!(self) unless self.save
|
90
|
+
def save!(**options)
|
91
|
+
self.class.fail_validate!(self) unless self.save(**options)
|
92
92
|
self
|
93
93
|
end
|
94
94
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: couchbase-orm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen von Takach
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: libcouchbase
|