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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6180a380880e394f4d1708aa67048db9adcfb18a
4
- data.tar.gz: 028684cab7ef06b41a5aecbfc56b29826fa85230
3
+ metadata.gz: 78ad08caf3572bf7e4f582150a3d3cb67d79a2df
4
+ data.tar.gz: 5af4a963629b58c6ad5bc056318e0b2332d6abfd
5
5
  SHA512:
6
- metadata.gz: 1302271d05d4302ec5c5a27c4d408d2c746fc3074b999e38533e0d9f3bc6fdd423ae30be0f84b4c36012b593a41a504960b2000a95929c5d18591f6a7a60d131
7
- data.tar.gz: 19f91c2fa122d7a212f2364c0b614af39b11ecba3ba5bcea1b361609fe88c265927a0c619bdd9ef13d24403fb78dfc803f3ea5bc37f52fe074d576ff98de4b16
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true, encoding: ASCII-8BIT
2
2
 
3
3
  module CouchbaseOrm
4
- VERSION = '0.0.8'
4
+ VERSION = '0.0.9'
5
5
  end
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.8
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-14 00:00:00.000000000 Z
11
+ date: 2016-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libcouchbase