actionset 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +2 -0
- data/Gemfile.lock +109 -112
- data/actionset.gemspec +1 -1
- data/lib/active_set/paginating/active_record_strategy.rb +0 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21803f62c8dc2bb44f5874c054dfb0e6ce02c2d6
|
4
|
+
data.tar.gz: 4434f51ffb36e00bcc2f4653d2470d68e393b6cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89ab3bb66e3bed9a16fe3a10119d8afe7f447222e0d2b3bc92ba1f6dc7039f3c47a237a4ee8b9f808dbf9f4c15c00f237d2a47d68b98a2ccb26258c3bc1345e2
|
7
|
+
data.tar.gz: 4c01159e0767446c421823d1f168829a2b9f107a9da6d6610cf128053960aea7fd799143224d1d7ab20c3a1bf9883e41450e81d347c9be47152de0dfc58086f2
|
data/CHANGELOG
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,50 +1,50 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
actionset (0.
|
4
|
+
actionset (0.11.0)
|
5
5
|
activesupport (>= 4.0.2)
|
6
6
|
railties
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actioncable (5.2.
|
12
|
-
actionpack (= 5.2.
|
11
|
+
actioncable (5.2.5)
|
12
|
+
actionpack (= 5.2.5)
|
13
13
|
nio4r (~> 2.0)
|
14
14
|
websocket-driver (>= 0.6.1)
|
15
|
-
actionmailer (5.2.
|
16
|
-
actionpack (= 5.2.
|
17
|
-
actionview (= 5.2.
|
18
|
-
activejob (= 5.2.
|
15
|
+
actionmailer (5.2.5)
|
16
|
+
actionpack (= 5.2.5)
|
17
|
+
actionview (= 5.2.5)
|
18
|
+
activejob (= 5.2.5)
|
19
19
|
mail (~> 2.5, >= 2.5.4)
|
20
20
|
rails-dom-testing (~> 2.0)
|
21
|
-
actionpack (5.2.
|
22
|
-
actionview (= 5.2.
|
23
|
-
activesupport (= 5.2.
|
21
|
+
actionpack (5.2.5)
|
22
|
+
actionview (= 5.2.5)
|
23
|
+
activesupport (= 5.2.5)
|
24
24
|
rack (~> 2.0, >= 2.0.8)
|
25
25
|
rack-test (>= 0.6.3)
|
26
26
|
rails-dom-testing (~> 2.0)
|
27
27
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
28
|
-
actionview (5.2.
|
29
|
-
activesupport (= 5.2.
|
28
|
+
actionview (5.2.5)
|
29
|
+
activesupport (= 5.2.5)
|
30
30
|
builder (~> 3.1)
|
31
31
|
erubi (~> 1.4)
|
32
32
|
rails-dom-testing (~> 2.0)
|
33
33
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
34
|
-
activejob (5.2.
|
35
|
-
activesupport (= 5.2.
|
34
|
+
activejob (5.2.5)
|
35
|
+
activesupport (= 5.2.5)
|
36
36
|
globalid (>= 0.3.6)
|
37
|
-
activemodel (5.2.
|
38
|
-
activesupport (= 5.2.
|
39
|
-
activerecord (5.2.
|
40
|
-
activemodel (= 5.2.
|
41
|
-
activesupport (= 5.2.
|
37
|
+
activemodel (5.2.5)
|
38
|
+
activesupport (= 5.2.5)
|
39
|
+
activerecord (5.2.5)
|
40
|
+
activemodel (= 5.2.5)
|
41
|
+
activesupport (= 5.2.5)
|
42
42
|
arel (>= 9.0)
|
43
|
-
activestorage (5.2.
|
44
|
-
actionpack (= 5.2.
|
45
|
-
activerecord (= 5.2.
|
46
|
-
marcel (~> 0.
|
47
|
-
activesupport (5.2.
|
43
|
+
activestorage (5.2.5)
|
44
|
+
actionpack (= 5.2.5)
|
45
|
+
activerecord (= 5.2.5)
|
46
|
+
marcel (~> 1.0.0)
|
47
|
+
activesupport (5.2.5)
|
48
48
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
49
49
|
i18n (>= 0.7, < 2)
|
50
50
|
minitest (~> 5.1)
|
@@ -53,9 +53,9 @@ GEM
|
|
53
53
|
public_suffix (>= 2.0.2, < 5.0)
|
54
54
|
ansi (1.5.0)
|
55
55
|
arel (9.0.0)
|
56
|
-
ast (2.4.
|
56
|
+
ast (2.4.2)
|
57
57
|
builder (3.2.4)
|
58
|
-
capybara (3.
|
58
|
+
capybara (3.32.2)
|
59
59
|
addressable
|
60
60
|
mini_mime (>= 0.1.3)
|
61
61
|
nokogiri (~> 1.8)
|
@@ -63,145 +63,142 @@ GEM
|
|
63
63
|
rack-test (>= 0.6.3)
|
64
64
|
regexp_parser (~> 1.5)
|
65
65
|
xpath (~> 3.2)
|
66
|
-
codecov (0.1
|
67
|
-
|
68
|
-
|
69
|
-
url
|
70
|
-
combustion (1.1.2)
|
66
|
+
codecov (0.5.1)
|
67
|
+
simplecov (>= 0.15, < 0.22)
|
68
|
+
combustion (1.3.1)
|
71
69
|
activesupport (>= 3.0.0)
|
72
70
|
railties (>= 3.0.0)
|
73
71
|
thor (>= 0.14.6)
|
74
|
-
concurrent-ruby (1.1.
|
72
|
+
concurrent-ruby (1.1.8)
|
75
73
|
crass (1.0.6)
|
76
|
-
database_cleaner (
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
74
|
+
database_cleaner (2.0.1)
|
75
|
+
database_cleaner-active_record (~> 2.0.0)
|
76
|
+
database_cleaner-active_record (2.0.0)
|
77
|
+
activerecord (>= 5.a)
|
78
|
+
database_cleaner-core (~> 2.0.0)
|
79
|
+
database_cleaner-core (2.0.1)
|
80
|
+
diff-lcs (1.4.4)
|
81
|
+
docile (1.3.5)
|
82
|
+
erubi (1.10.0)
|
83
|
+
factory_bot (5.2.0)
|
81
84
|
activesupport (>= 4.2.0)
|
82
|
-
faker (2.
|
85
|
+
faker (2.12.0)
|
83
86
|
i18n (>= 1.6, < 2)
|
84
87
|
globalid (0.4.2)
|
85
88
|
activesupport (>= 4.2.0)
|
86
|
-
i18n (1.8.
|
89
|
+
i18n (1.8.10)
|
87
90
|
concurrent-ruby (~> 1.0)
|
88
|
-
|
89
|
-
json (2.3.0)
|
90
|
-
loofah (2.5.0)
|
91
|
+
loofah (2.9.1)
|
91
92
|
crass (~> 1.0.2)
|
92
93
|
nokogiri (>= 1.5.9)
|
93
94
|
mail (2.7.1)
|
94
95
|
mini_mime (>= 0.1.1)
|
95
|
-
marcel (0.
|
96
|
-
mimemagic (~> 0.3.2)
|
96
|
+
marcel (1.0.1)
|
97
97
|
method_source (1.0.0)
|
98
|
-
|
99
|
-
mini_mime (1.0.2)
|
98
|
+
mini_mime (1.1.0)
|
100
99
|
mini_portile2 (2.4.0)
|
101
|
-
minitest (5.14.
|
102
|
-
nio4r (2.5.
|
103
|
-
nokogiri (1.10.
|
100
|
+
minitest (5.14.4)
|
101
|
+
nio4r (2.5.7)
|
102
|
+
nokogiri (1.10.10)
|
104
103
|
mini_portile2 (~> 2.4.0)
|
105
|
-
parallel (1.
|
106
|
-
parser (
|
107
|
-
ast (~> 2.4.
|
108
|
-
|
109
|
-
|
110
|
-
public_suffix (4.0.3)
|
111
|
-
rack (2.2.2)
|
104
|
+
parallel (1.20.1)
|
105
|
+
parser (3.0.1.0)
|
106
|
+
ast (~> 2.4.1)
|
107
|
+
public_suffix (4.0.6)
|
108
|
+
rack (2.2.3)
|
112
109
|
rack-test (1.1.0)
|
113
110
|
rack (>= 1.0, < 3)
|
114
|
-
rails (5.2.
|
115
|
-
actioncable (= 5.2.
|
116
|
-
actionmailer (= 5.2.
|
117
|
-
actionpack (= 5.2.
|
118
|
-
actionview (= 5.2.
|
119
|
-
activejob (= 5.2.
|
120
|
-
activemodel (= 5.2.
|
121
|
-
activerecord (= 5.2.
|
122
|
-
activestorage (= 5.2.
|
123
|
-
activesupport (= 5.2.
|
111
|
+
rails (5.2.5)
|
112
|
+
actioncable (= 5.2.5)
|
113
|
+
actionmailer (= 5.2.5)
|
114
|
+
actionpack (= 5.2.5)
|
115
|
+
actionview (= 5.2.5)
|
116
|
+
activejob (= 5.2.5)
|
117
|
+
activemodel (= 5.2.5)
|
118
|
+
activerecord (= 5.2.5)
|
119
|
+
activestorage (= 5.2.5)
|
120
|
+
activesupport (= 5.2.5)
|
124
121
|
bundler (>= 1.3.0)
|
125
|
-
railties (= 5.2.
|
122
|
+
railties (= 5.2.5)
|
126
123
|
sprockets-rails (>= 2.0.0)
|
127
124
|
rails-dom-testing (2.0.3)
|
128
125
|
activesupport (>= 4.2.0)
|
129
126
|
nokogiri (>= 1.6)
|
130
127
|
rails-html-sanitizer (1.3.0)
|
131
128
|
loofah (~> 2.3)
|
132
|
-
railties (5.2.
|
133
|
-
actionpack (= 5.2.
|
134
|
-
activesupport (= 5.2.
|
129
|
+
railties (5.2.5)
|
130
|
+
actionpack (= 5.2.5)
|
131
|
+
activesupport (= 5.2.5)
|
135
132
|
method_source
|
136
133
|
rake (>= 0.8.7)
|
137
134
|
thor (>= 0.19.0, < 2.0)
|
138
135
|
rainbow (3.0.0)
|
139
|
-
rake (13.0.
|
140
|
-
ransack (2.
|
141
|
-
|
142
|
-
|
143
|
-
activesupport (>= 5.0)
|
136
|
+
rake (13.0.3)
|
137
|
+
ransack (2.4.1)
|
138
|
+
activerecord (>= 5.2.4)
|
139
|
+
activesupport (>= 5.2.4)
|
144
140
|
i18n
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
rspec-
|
150
|
-
rspec-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
rspec-expectations (3.9.1)
|
141
|
+
regexp_parser (1.8.2)
|
142
|
+
rexml (3.2.5)
|
143
|
+
rspec (3.10.0)
|
144
|
+
rspec-core (~> 3.10.0)
|
145
|
+
rspec-expectations (~> 3.10.0)
|
146
|
+
rspec-mocks (~> 3.10.0)
|
147
|
+
rspec-core (3.10.1)
|
148
|
+
rspec-support (~> 3.10.0)
|
149
|
+
rspec-expectations (3.10.1)
|
155
150
|
diff-lcs (>= 1.2.0, < 2.0)
|
156
|
-
rspec-support (~> 3.
|
157
|
-
rspec-mocks (3.
|
151
|
+
rspec-support (~> 3.10.0)
|
152
|
+
rspec-mocks (3.10.2)
|
158
153
|
diff-lcs (>= 1.2.0, < 2.0)
|
159
|
-
rspec-support (~> 3.
|
160
|
-
rspec-rails (
|
161
|
-
actionpack (>=
|
162
|
-
activesupport (>=
|
163
|
-
railties (>=
|
164
|
-
rspec-core (~> 3.
|
165
|
-
rspec-expectations (~> 3.
|
166
|
-
rspec-mocks (~> 3.
|
167
|
-
rspec-support (~> 3.
|
168
|
-
rspec-support (3.
|
169
|
-
rubocop (
|
170
|
-
jaro_winkler (~> 1.5.1)
|
154
|
+
rspec-support (~> 3.10.0)
|
155
|
+
rspec-rails (5.0.1)
|
156
|
+
actionpack (>= 5.2)
|
157
|
+
activesupport (>= 5.2)
|
158
|
+
railties (>= 5.2)
|
159
|
+
rspec-core (~> 3.10)
|
160
|
+
rspec-expectations (~> 3.10)
|
161
|
+
rspec-mocks (~> 3.10)
|
162
|
+
rspec-support (~> 3.10)
|
163
|
+
rspec-support (3.10.2)
|
164
|
+
rubocop (1.12.1)
|
171
165
|
parallel (~> 1.10)
|
172
|
-
parser (>=
|
166
|
+
parser (>= 3.0.0.0)
|
173
167
|
rainbow (>= 2.2.2, < 4.0)
|
168
|
+
regexp_parser (>= 1.8, < 3.0)
|
174
169
|
rexml
|
170
|
+
rubocop-ast (>= 1.2.0, < 2.0)
|
175
171
|
ruby-progressbar (~> 1.7)
|
176
|
-
unicode-display_width (>= 1.4.0, <
|
177
|
-
|
172
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
173
|
+
rubocop-ast (1.4.1)
|
174
|
+
parser (>= 2.7.1.5)
|
175
|
+
ruby-progressbar (1.11.0)
|
178
176
|
simplecov (0.18.5)
|
179
177
|
docile (~> 1.1)
|
180
178
|
simplecov-html (~> 0.11)
|
181
|
-
simplecov-console (0.
|
179
|
+
simplecov-console (0.9.1)
|
182
180
|
ansi
|
183
181
|
simplecov
|
184
182
|
terminal-table
|
185
|
-
simplecov-html (0.12.
|
183
|
+
simplecov-html (0.12.3)
|
186
184
|
sprockets (3.7.2)
|
187
185
|
concurrent-ruby (~> 1.0)
|
188
186
|
rack (> 1, < 3)
|
189
|
-
sprockets-rails (3.2.
|
187
|
+
sprockets-rails (3.2.2)
|
190
188
|
actionpack (>= 4.0)
|
191
189
|
activesupport (>= 4.0)
|
192
190
|
sprockets (>= 3.0.0)
|
193
191
|
sqlite3 (1.4.2)
|
194
|
-
terminal-table (
|
192
|
+
terminal-table (3.0.0)
|
195
193
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
196
|
-
thor (1.0
|
194
|
+
thor (1.1.0)
|
197
195
|
thread_safe (0.3.6)
|
198
|
-
tzinfo (1.2.
|
196
|
+
tzinfo (1.2.9)
|
199
197
|
thread_safe (~> 0.1)
|
200
|
-
unicode-display_width (1.
|
201
|
-
|
202
|
-
websocket-driver (0.7.1)
|
198
|
+
unicode-display_width (1.7.0)
|
199
|
+
websocket-driver (0.7.3)
|
203
200
|
websocket-extensions (>= 0.1.0)
|
204
|
-
websocket-extensions (0.1.
|
201
|
+
websocket-extensions (0.1.5)
|
205
202
|
xpath (3.2.0)
|
206
203
|
nokogiri (~> 1.8)
|
207
204
|
|
data/actionset.gemspec
CHANGED
@@ -6,7 +6,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.platform = Gem::Platform::RUBY
|
8
8
|
spec.name = 'actionset'
|
9
|
-
spec.version = '0.
|
9
|
+
spec.version = '0.11.0'
|
10
10
|
spec.authors = ['Stephen Margheim']
|
11
11
|
spec.email = ['stephen.margheim@gmail.com']
|
12
12
|
|
@@ -10,8 +10,6 @@ class ActiveSet
|
|
10
10
|
|
11
11
|
def execute
|
12
12
|
return false unless @set.respond_to? :to_sql
|
13
|
-
return @set.none if @set.length <= @operation_instructions[:size] &&
|
14
|
-
@operation_instructions[:page] > 1
|
15
13
|
|
16
14
|
@set.limit(@operation_instructions[:size]).offset(page_offset)
|
17
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionset
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Margheim
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -316,7 +316,7 @@ homepage: https://github.com/fractaledmind/actionset
|
|
316
316
|
licenses:
|
317
317
|
- MIT
|
318
318
|
metadata: {}
|
319
|
-
post_install_message:
|
319
|
+
post_install_message:
|
320
320
|
rdoc_options: []
|
321
321
|
require_paths:
|
322
322
|
- lib
|
@@ -331,9 +331,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
331
331
|
- !ruby/object:Gem::Version
|
332
332
|
version: '0'
|
333
333
|
requirements: []
|
334
|
-
rubyforge_project:
|
334
|
+
rubyforge_project:
|
335
335
|
rubygems_version: 2.6.14.4
|
336
|
-
signing_key:
|
336
|
+
signing_key:
|
337
337
|
specification_version: 4
|
338
338
|
summary: A toolkit for working with collections.
|
339
339
|
test_files: []
|