sequel-page 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/CHANGELOG.md +7 -1
- data/Gemfile +1 -0
- data/README.md +2 -0
- data/lib/sequel-page.rb +3 -2
- data/lib/sequel-page/version.rb +3 -3
- data/lib/sequel/extensions/page.rb +2 -2
- metadata +46 -18
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
MjZjZWI1OTQ4NGYxYTgxOWEyNTdhNTQzZTExY2EzNzg3OGYzMGYxMw==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: fc6d3b4208326833690a35379ec062c11cd360eb
|
4
|
+
data.tar.gz: aa7954d249566756525d0fb7cae3e80ea337fdd6
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
ZmNmODRkNzMwMTdjMzU2MGM3ZDc2NTZjODk3YjJjMTJmZjQ3M2Q4NmQwNWMw
|
11
|
-
NjBkNDQwODZiODcwNDg0NDUwZTRjZWViZWEyZWFhNDVhZDQxYmU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
YWZmODM4OWZiMTYyOGYyNjYyMjYzZGRlNDE0YWJjODkxZWU0MDI5OWRmOWU2
|
14
|
-
N2E0YjUyZDU3MzcwMzVmNWExNWVhNjM1YmMwZjhmZjE3Y2YyMWEzODQxYWE1
|
15
|
-
ZDg4OWE0YzVmNjBhZmU3NTQ4ZThmM2NjZWQ3OTdlYjI2ZGIwZDY=
|
6
|
+
metadata.gz: a09891c69767b10ecc09c94f66271ea238f09f767d17d2d343bd45e1bc5902e3ce55531f65b5991388383bdc557748a4da135eb53b7e5e3bbb2ed7aed7aaceaa
|
7
|
+
data.tar.gz: f2f10e99861eb7aaed5354819bf6e649d163295df639ad4c5485fb3e00297ce2e3c15794a7c6b20c6765d6a55d3ae284dfb751be33a7b53fc7ab4f7d1b197207
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# SequelPage
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/sequel-page.svg)](http://badge.fury.io/rb/sequel-page)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/skopciewski/sequel-page/badges/gpa.svg)](https://codeclimate.com/github/skopciewski/sequel-page)
|
5
|
+
[![Dependency Status](https://gemnasium.com/badges/github.com/skopciewski/sequel-page.svg)](https://gemnasium.com/github.com/skopciewski/sequel-page)
|
4
6
|
|
5
7
|
This extension adds the `Sequel::Dataset#page` method, which returns paginated
|
6
8
|
(limited and offset) datasets. Instead the `limit` and the `offset`, you can
|
data/lib/sequel-page.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (C) 2015 Szymon Kopciewski
|
3
|
+
# Copyright (C) 2015, 2016, 2017 Szymon Kopciewski
|
4
4
|
#
|
5
5
|
# This file is part of SequelPage
|
6
6
|
#
|
@@ -18,6 +18,7 @@
|
|
18
18
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19
19
|
|
20
20
|
require "sequel/extensions/page"
|
21
|
+
require "sequel-page/version"
|
21
22
|
|
22
23
|
module SequelPage
|
23
24
|
end
|
data/lib/sequel-page/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (C) 2015 Szymon Kopciewski
|
3
|
+
# Copyright (C) 2015, 2016, 2017 Szymon Kopciewski
|
4
4
|
#
|
5
5
|
# This file is part of SequelPage
|
6
6
|
#
|
@@ -18,5 +18,5 @@
|
|
18
18
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19
19
|
|
20
20
|
module SequelPage
|
21
|
-
VERSION = "1.0.
|
21
|
+
VERSION = "1.0.1"
|
22
22
|
end
|
metadata
CHANGED
@@ -1,83 +1,111 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequel-page
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Szymon Kopciewski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sequel
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '4'
|
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: '4'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: pry
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
32
46
|
- !ruby/object:Gem::Version
|
33
47
|
version: '0'
|
34
48
|
type: :development
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
|
-
- -
|
52
|
+
- - ">="
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rspec
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- -
|
59
|
+
- - ">="
|
46
60
|
- !ruby/object:Gem::Version
|
47
61
|
version: '0'
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- -
|
66
|
+
- - ">="
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: rspec-given
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- -
|
73
|
+
- - ">="
|
60
74
|
- !ruby/object:Gem::Version
|
61
75
|
version: '0'
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- -
|
80
|
+
- - ">="
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: codeclimate-test-reporter
|
71
99
|
requirement: !ruby/object:Gem::Requirement
|
72
100
|
requirements:
|
73
|
-
- -
|
101
|
+
- - ">="
|
74
102
|
- !ruby/object:Gem::Version
|
75
103
|
version: '0'
|
76
104
|
type: :development
|
77
105
|
prerelease: false
|
78
106
|
version_requirements: !ruby/object:Gem::Requirement
|
79
107
|
requirements:
|
80
|
-
- -
|
108
|
+
- - ">="
|
81
109
|
- !ruby/object:Gem::Version
|
82
110
|
version: '0'
|
83
111
|
description: The Sequel extension which allow you to query the specific page
|
@@ -103,17 +131,17 @@ require_paths:
|
|
103
131
|
- lib
|
104
132
|
required_ruby_version: !ruby/object:Gem::Requirement
|
105
133
|
requirements:
|
106
|
-
- -
|
134
|
+
- - ">="
|
107
135
|
- !ruby/object:Gem::Version
|
108
136
|
version: '0'
|
109
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
138
|
requirements:
|
111
|
-
- -
|
139
|
+
- - ">="
|
112
140
|
- !ruby/object:Gem::Version
|
113
141
|
version: '0'
|
114
142
|
requirements: []
|
115
143
|
rubyforge_project:
|
116
|
-
rubygems_version: 2.
|
144
|
+
rubygems_version: 2.4.8
|
117
145
|
signing_key:
|
118
146
|
specification_version: 4
|
119
147
|
summary: The Sequel extension which allow you to query the specific page
|