querylet-rails 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/querylet_rails/model/queryable.rb +4 -0
- data/lib/querylet_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b538b6b0c79fc05704c812ae0efadc9abba452fbe9a4a528918367149ff7ce0
|
4
|
+
data.tar.gz: 911f27123fc5ed36dc960c16c50241cc4b66419d5e2f344586cf95bdb70edd43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 491d161d381af74c0ffbfcb9be6409ee83653a5897cba99378902f12a4ebec9a2d8bedfdec7157cb59726de265be07369e05d5f38befd84fece409513c160dbd
|
7
|
+
data.tar.gz: 8df9b821f1eeecf603c072a6a2104054340617c36a313628b1acdf541f2e9c02f391e70ca1e4653c22d5f4dbee24fcf88e22f7297b6b3b5ebfe0fe4413f8e137
|
@@ -6,6 +6,10 @@ module QueryletRails
|
|
6
6
|
extend ActiveSupport::Concern
|
7
7
|
# override this function
|
8
8
|
|
9
|
+
def query relative_path, data={}
|
10
|
+
self.class.query relative_path, data
|
11
|
+
end
|
12
|
+
|
9
13
|
def select_value relative_path, data={}
|
10
14
|
self.class.select_value relative_path, data
|
11
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: querylet-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TeacherSeat
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: querylet
|