sequel_couchbase_model 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sequel_couchbase_model.rb +5 -4
- data/lib/sequel_couchbase_model/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: 2b1075fd68e3e18156b3dd23babc13bf5cf8333b
|
4
|
+
data.tar.gz: af0cf334557d9b55c60352bf2828a45a14ac7e5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 637a582f2eb5bb291e0aaec1858f0dccaa12e7cbc0f1a171916de8ba4016792e04926643e44b43e089ed44c1dc80242be4d449c26897560577f2a76eed414b3b
|
7
|
+
data.tar.gz: 83f466b39ad957a68892283a6f7693e772059ef5d709aefce4310d82d49195e4f022e5111415400004755495bfdf6d52ff69ba74ce993fa47f737c2d9eee4a35
|
@@ -18,11 +18,12 @@ module Sequel
|
|
18
18
|
m = plugin.is_a?(Module) ? plugin : plugin_module(plugin)
|
19
19
|
unless @@plugins.include?(m)
|
20
20
|
@@plugins << m
|
21
|
-
m.apply(self, *args, &block) if m.respond_to?(:apply)
|
22
|
-
include(m::InstanceMethods) if plugin_module_defined?(m, :InstanceMethods)
|
23
|
-
extend(m::ClassMethods) if plugin_module_defined?(m, :ClassMethods)
|
24
|
-
dataset_extend(m::DatasetMethods) if plugin_module_defined?(m, :DatasetMethods)
|
25
21
|
end
|
22
|
+
m.apply(self, *args, &block) if m.respond_to?(:apply)
|
23
|
+
include(m::InstanceMethods) if plugin_module_defined?(m, :InstanceMethods)
|
24
|
+
extend(m::ClassMethods) if plugin_module_defined?(m, :ClassMethods)
|
25
|
+
dataset_extend(m::DatasetMethods) if plugin_module_defined?(m, :DatasetMethods)
|
26
|
+
|
26
27
|
m.configure(self, *args, &block) if m.respond_to?(:configure)
|
27
28
|
end
|
28
29
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequel_couchbase_model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Misha Conway
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|