interage-query 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES +3 -0
- data/VERSION +1 -1
- data/lib/interage/application_query.rb +7 -1
- data/lib/interage/query/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd944a447104ccf65281efac5edc8d647fc8eb193edcfecec93f8005272584ff
|
4
|
+
data.tar.gz: 379233d6e1248a889773845b1b801a93efc39fc264ba40b2ae99743771541e84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 660dbc47d6c187a2065cbe4c52c24e1f9b6014ac0704a5ef976ad66d458b4adb3356e337dc6e1cd97aaa8d2e75a6da8c8fd168595ebb682bad4d741ec84882a6
|
7
|
+
data.tar.gz: bcd023a668acbe1963fb277e8f47cf84d58ee9648436fecd86bd72216eae3c7656064eed2dc77e8500502b6ee1c1862107f5a1c4dc2da00c3c78646472334a58
|
data/CHANGES
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
@@ -15,7 +15,7 @@ module Interage
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def find(id)
|
18
|
-
|
18
|
+
all.find_by(id: id)
|
19
19
|
end
|
20
20
|
|
21
21
|
def paginate(page = 1)
|
@@ -53,6 +53,12 @@ module Interage
|
|
53
53
|
self
|
54
54
|
end
|
55
55
|
|
56
|
+
def decorate
|
57
|
+
@relation = ActiveDecorator::Decorator.instance.decorate(relation)
|
58
|
+
|
59
|
+
self
|
60
|
+
end
|
61
|
+
|
56
62
|
protected
|
57
63
|
|
58
64
|
attr_accessor :relation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: interage-query
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Walmir Neto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
|
-
rubygems_version: 3.0.
|
112
|
+
rubygems_version: 3.0.6
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: Application Query for Interage
|