graphql-pagination 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/.rubocop.yml +7 -57
- data/.ruby-version +1 -1
- data/.travis.yml +6 -4
- data/Gemfile.lock +32 -29
- data/README.md +1 -1
- data/graphql-pagination.gemspec +4 -1
- data/lib/graphql_pagination/version.rb +1 -1
- metadata +18 -7
- data/.hound.yml +0 -4
- data/bin/console +0 -8
- data/bin/setup +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 338fc0497792b1bd3ca3fff2daf6200978f7c4bfaf43722e834dc29dd629f0c2
|
4
|
+
data.tar.gz: 62430fbde2facf0586e6f898930b01aa49c71bfa77db842bd88fece8ebc4dbe5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7f95879e8249e61a19624ecf0c73146fd8264997fc9e7d35b49008bc557447e2afd1f20bc65be8b3c3dcc6f0ef21e055bb92cf53c5b6e3bcd351407a3d0fb68
|
7
|
+
data.tar.gz: b37539d880b78d498815f5c6b88966dfefe557f14c2d4a4dc514a7d7e6de8551368e1d6789fd45de3fe889290e34440ff39f8add2bc0c4313fee6eae4eaede6b
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,62 +1,12 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
- 2.4
|
4
|
-
- 2.5
|
5
|
-
- 2.6
|
1
|
+
require:
|
2
|
+
- rubocop-performance
|
6
3
|
|
7
|
-
|
8
|
-
|
4
|
+
inherit_from:
|
5
|
+
- https://raw.githubusercontent.com/RenoFi/rubocop/master/0.77.yml
|
9
6
|
|
10
|
-
|
11
|
-
|
7
|
+
AllCops:
|
8
|
+
TargetRubyVersion: 2.5
|
12
9
|
|
13
10
|
Naming/FileName:
|
14
|
-
Enabled: false
|
15
|
-
|
16
|
-
Metrics/BlockLength:
|
17
|
-
Max: 30
|
18
|
-
Exclude:
|
19
|
-
- '**/*_spec.rb'
|
20
|
-
|
21
|
-
Metrics/LineLength:
|
22
|
-
Max: 140
|
23
|
-
|
24
|
-
Metrics/MethodLength:
|
25
|
-
Max: 20
|
26
|
-
|
27
|
-
Security/YAMLLoad:
|
28
|
-
Enabled: false
|
29
|
-
|
30
|
-
Style/BlockDelimiters:
|
31
|
-
EnforcedStyle: braces_for_chaining
|
32
|
-
|
33
|
-
Style/Documentation:
|
34
|
-
Enabled: false
|
35
|
-
|
36
|
-
Style/GuardClause:
|
37
|
-
Enabled: false
|
38
|
-
|
39
|
-
Style/EachWithObject:
|
40
|
-
Enabled: false
|
41
|
-
|
42
|
-
Style/MethodMissingSuper:
|
43
|
-
Enabled: false
|
44
|
-
|
45
|
-
Style/MissingRespondToMissing:
|
46
|
-
Enabled: false
|
47
|
-
|
48
|
-
Style/FrozenStringLiteralComment:
|
49
|
-
Enabled: false
|
50
|
-
|
51
|
-
Style/PercentLiteralDelimiters:
|
52
|
-
Enabled: false
|
53
|
-
|
54
|
-
Style/RescueStandardError:
|
55
11
|
Exclude:
|
56
|
-
- '
|
57
|
-
|
58
|
-
Style/SymbolArray:
|
59
|
-
EnforcedStyle: brackets
|
60
|
-
|
61
|
-
Style/TrivialAccessors:
|
62
|
-
Enabled: false
|
12
|
+
- 'lib/*.rb'
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.6.
|
1
|
+
2.6.5
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,71 +1,73 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
graphql-pagination (0.2.
|
4
|
+
graphql-pagination (0.2.3)
|
5
5
|
graphql (~> 1.9.4)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activemodel (
|
11
|
-
activesupport (=
|
12
|
-
activerecord (
|
13
|
-
activemodel (=
|
14
|
-
activesupport (=
|
15
|
-
|
16
|
-
activesupport (5.2.3)
|
10
|
+
activemodel (6.0.1)
|
11
|
+
activesupport (= 6.0.1)
|
12
|
+
activerecord (6.0.1)
|
13
|
+
activemodel (= 6.0.1)
|
14
|
+
activesupport (= 6.0.1)
|
15
|
+
activesupport (6.0.1)
|
17
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
17
|
i18n (>= 0.7, < 2)
|
19
18
|
minitest (~> 5.1)
|
20
19
|
tzinfo (~> 1.1)
|
21
|
-
|
20
|
+
zeitwerk (~> 2.2)
|
22
21
|
ast (2.4.0)
|
23
22
|
coderay (1.1.2)
|
24
23
|
concurrent-ruby (1.1.5)
|
25
24
|
diff-lcs (1.3)
|
26
|
-
graphql (1.9.
|
27
|
-
i18n (1.
|
25
|
+
graphql (1.9.15)
|
26
|
+
i18n (1.7.0)
|
28
27
|
concurrent-ruby (~> 1.0)
|
29
|
-
jaro_winkler (1.5.
|
28
|
+
jaro_winkler (1.5.4)
|
30
29
|
kaminari-activerecord (1.1.1)
|
31
30
|
activerecord
|
32
31
|
kaminari-core (= 1.1.1)
|
33
32
|
kaminari-core (1.1.1)
|
34
33
|
method_source (0.9.2)
|
35
|
-
minitest (5.
|
36
|
-
parallel (1.
|
37
|
-
parser (2.6.
|
34
|
+
minitest (5.13.0)
|
35
|
+
parallel (1.19.1)
|
36
|
+
parser (2.6.5.0)
|
38
37
|
ast (~> 2.4.0)
|
39
38
|
pry (0.12.2)
|
40
39
|
coderay (~> 1.1.0)
|
41
40
|
method_source (~> 0.9.0)
|
42
41
|
rainbow (3.0.0)
|
43
|
-
rake (
|
44
|
-
rspec (3.
|
45
|
-
rspec-core (~> 3.
|
46
|
-
rspec-expectations (~> 3.
|
47
|
-
rspec-mocks (~> 3.
|
48
|
-
rspec-core (3.
|
49
|
-
rspec-support (~> 3.
|
50
|
-
rspec-expectations (3.
|
42
|
+
rake (13.0.1)
|
43
|
+
rspec (3.9.0)
|
44
|
+
rspec-core (~> 3.9.0)
|
45
|
+
rspec-expectations (~> 3.9.0)
|
46
|
+
rspec-mocks (~> 3.9.0)
|
47
|
+
rspec-core (3.9.0)
|
48
|
+
rspec-support (~> 3.9.0)
|
49
|
+
rspec-expectations (3.9.0)
|
51
50
|
diff-lcs (>= 1.2.0, < 2.0)
|
52
|
-
rspec-support (~> 3.
|
53
|
-
rspec-mocks (3.
|
51
|
+
rspec-support (~> 3.9.0)
|
52
|
+
rspec-mocks (3.9.0)
|
54
53
|
diff-lcs (>= 1.2.0, < 2.0)
|
55
|
-
rspec-support (~> 3.
|
56
|
-
rspec-support (3.
|
57
|
-
rubocop (0.
|
54
|
+
rspec-support (~> 3.9.0)
|
55
|
+
rspec-support (3.9.0)
|
56
|
+
rubocop (0.77.0)
|
58
57
|
jaro_winkler (~> 1.5.1)
|
59
58
|
parallel (~> 1.10)
|
60
59
|
parser (>= 2.6)
|
61
60
|
rainbow (>= 2.2.2, < 4.0)
|
62
61
|
ruby-progressbar (~> 1.7)
|
63
62
|
unicode-display_width (>= 1.4.0, < 1.7)
|
63
|
+
rubocop-performance (1.5.1)
|
64
|
+
rubocop (>= 0.71.0)
|
64
65
|
ruby-progressbar (1.10.1)
|
65
66
|
thread_safe (0.3.6)
|
66
67
|
tzinfo (1.2.5)
|
67
68
|
thread_safe (~> 0.1)
|
68
69
|
unicode-display_width (1.6.0)
|
70
|
+
zeitwerk (2.2.2)
|
69
71
|
|
70
72
|
PLATFORMS
|
71
73
|
ruby
|
@@ -78,6 +80,7 @@ DEPENDENCIES
|
|
78
80
|
rake
|
79
81
|
rspec
|
80
82
|
rubocop
|
83
|
+
rubocop-performance
|
81
84
|
|
82
85
|
BUNDLED WITH
|
83
|
-
2.0.
|
86
|
+
2.0.2
|
data/README.md
CHANGED
data/graphql-pagination.gemspec
CHANGED
@@ -17,12 +17,14 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.metadata['source_code_uri'] = 'https://github.com/RenoFi/graphql-pagination'
|
18
18
|
|
19
19
|
spec.files = Dir.chdir(__dir__) do
|
20
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(
|
20
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin|spec)/}) }
|
21
21
|
end
|
22
22
|
spec.bindir = 'exe'
|
23
23
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
24
|
spec.require_paths = ['lib']
|
25
25
|
|
26
|
+
spec.required_ruby_version = '>= 2.5'
|
27
|
+
|
26
28
|
spec.add_dependency 'graphql', '~> 1.9.4'
|
27
29
|
|
28
30
|
spec.add_development_dependency 'kaminari-activerecord'
|
@@ -31,4 +33,5 @@ Gem::Specification.new do |spec|
|
|
31
33
|
spec.add_development_dependency 'rake'
|
32
34
|
spec.add_development_dependency 'rspec'
|
33
35
|
spec.add_development_dependency 'rubocop'
|
36
|
+
spec.add_development_dependency 'rubocop-performance'
|
34
37
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql-pagination
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krzysztof Knapik
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-12-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: graphql
|
@@ -109,6 +109,20 @@ dependencies:
|
|
109
109
|
- - ">="
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '0'
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: rubocop-performance
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
112
126
|
description: Page-based kaminari pagination for graphql returning collection and pagination
|
113
127
|
metadata.
|
114
128
|
email:
|
@@ -119,7 +133,6 @@ extensions: []
|
|
119
133
|
extra_rdoc_files: []
|
120
134
|
files:
|
121
135
|
- ".gitignore"
|
122
|
-
- ".hound.yml"
|
123
136
|
- ".rspec"
|
124
137
|
- ".rubocop.yml"
|
125
138
|
- ".ruby-gemset"
|
@@ -130,8 +143,6 @@ files:
|
|
130
143
|
- LICENSE
|
131
144
|
- README.md
|
132
145
|
- Rakefile
|
133
|
-
- bin/console
|
134
|
-
- bin/setup
|
135
146
|
- graphql-pagination.gemspec
|
136
147
|
- lib/graphql-pagination.rb
|
137
148
|
- lib/graphql_pagination.rb
|
@@ -152,14 +163,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
152
163
|
requirements:
|
153
164
|
- - ">="
|
154
165
|
- !ruby/object:Gem::Version
|
155
|
-
version: '
|
166
|
+
version: '2.5'
|
156
167
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
168
|
requirements:
|
158
169
|
- - ">="
|
159
170
|
- !ruby/object:Gem::Version
|
160
171
|
version: '0'
|
161
172
|
requirements: []
|
162
|
-
rubygems_version: 3.0.
|
173
|
+
rubygems_version: 3.0.6
|
163
174
|
signing_key:
|
164
175
|
specification_version: 4
|
165
176
|
summary: Page-based kaminari pagination for graphql.
|
data/.hound.yml
DELETED
data/bin/console
DELETED