activecube 0.1.37 → 0.1.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/activecube/query_methods.rb +1 -0
- data/lib/activecube/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 849b74aa2966edb904085a1ffe0f0ac9b0450dcb6bc21ab81741ab4b246c25a4
|
4
|
+
data.tar.gz: '05138c6ffd9311667dabfe3b98ff2c7e432f77e5a12a89d7675b75284ec3d696'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77c933cba35f04f5611d94da571db185505d81eda693d89b84ebbd952762095f2a561b2745a387bca9b61ce75ea2103a083975b96d3c8ae0f2707b73295df6be
|
7
|
+
data.tar.gz: 5998bae42643d1a360b354653d894238365d2079c0ee67571c1ef1a7c566432333ef4c39c26045847b98ab91b6cab83286a82a57c9a296133dee28201b1fc59d
|
data/Gemfile.lock
CHANGED
@@ -13,6 +13,7 @@ module Activecube
|
|
13
13
|
|
14
14
|
def connected_to database: nil, role: nil, &block
|
15
15
|
raise Activecube::InputArgumentError, "Must pass block to method" unless block_given?
|
16
|
+
raise "Database not defined" unless database
|
16
17
|
super_model.connected_to(database: database, role: role) do
|
17
18
|
@database = database
|
18
19
|
@role = role
|
data/lib/activecube/version.rb
CHANGED