wallaby-active_record 0.3.0.beta1 → 0.3.0.beta2
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0ffcff5694a2b37982d0e752e4208f026d09afd5f04f652a0e929ca4d7e56d1
|
4
|
+
data.tar.gz: 1bafa98bdb7c0c0d8a9cbcde34ee3adf395602e114c7eab7cd453220739208e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acf252735ca164597c15324ec2addacfa080ebe763e99e0830d8e7194acf69844e7b7daeaa8387fe9efe746d5d9a70a7d9a49ac26b608a34cb0c5fb9d6ea9dd7
|
7
|
+
data.tar.gz: d6357260a030a20f5a1300eed8836ee3907cc326c2a02d005e0f66e21afe954a4803af02f209de38de0c2f1f2ae3c881ae3d64a005fa910c813215a1941788d7
|
@@ -15,7 +15,7 @@ module Wallaby
|
|
15
15
|
|
16
16
|
# @return [Integer] total count for the collection
|
17
17
|
def total
|
18
|
-
@collection.unscope(:offset, :limit).count # rubocop:disable CodeReuse/ActiveRecord
|
18
|
+
@tatal ||= @collection.unscope(:offset, :limit).count # rubocop:disable CodeReuse/ActiveRecord
|
19
19
|
end
|
20
20
|
|
21
21
|
# @return [Integer] page size from parameters or Wallaby configuration
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wallaby-active_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.0.
|
4
|
+
version: 0.3.0.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tian Chen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 6.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 6.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: wallaby-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.3.0.
|
33
|
+
version: 0.3.0.beta2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.3.0.
|
40
|
+
version: 0.3.0.beta2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: cancancan
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|