jsom-pagination 0.2.0 → 1.0.0

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: 27b6274de4e4cdc7a40b3b729be4b541648402b89a5d1226339df372c6d5926f
4
- data.tar.gz: c19be09cfa6e72aae8cd725d102999f5b40fafd56d2973405d4c9b40615342bb
3
+ metadata.gz: 6415e49a04f8885c064851aa701c1d27c15dd304cebb0c631d0b3940e8982bb0
4
+ data.tar.gz: c3504379d9aae6c6b719bf8bbd01a2cf7f7304a87f29e805f90d86a997851f29
5
5
  SHA512:
6
- metadata.gz: cb5be3723a23a0c13769a65aa9f0bdc73106348e14c3a970823435641764a2748837f0e8cb282830f652dc7dcc5ddb35c4f0c3aaf3d9e3408f9b52082d4340ad
7
- data.tar.gz: e1a3c291ca065a5fad11ae3705d1a60117ca36d82cfe4803f2f16d52d6f276396bc67860e56793f46a75be7527b488ecfa54733d25f1802829099f8a9e97eece
6
+ metadata.gz: 3d2e7ea3717ef733bbf6f582702dec2f91cae7794d39534fb6dc1e8f59c8e72524f091869a91d4c0cd0f1a719bce6a8e010a887d8137c7dbd5694f2e6542804f
7
+ data.tar.gz: ee117de26a9f788416e2f7c1658a732bee86beff2f02efb4240b72193c7336aceaf12724dfe4a5af97a6cda79defefd35bb8206569e769f9bc36c9e1b902018e
@@ -10,12 +10,12 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
  strategy:
12
12
  matrix:
13
- ruby-version: ['2.7', '3.0']
13
+ ruby-version: ['3.0', '3.1', '3.2']
14
14
 
15
15
  steps:
16
16
  - uses: actions/checkout@v2
17
17
  - name: Set up Ruby
18
- uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
18
+ uses: ruby/setup-ruby@v1.147.0
19
19
  with:
20
20
  ruby-version: ${{ matrix.ruby-version }}
21
21
  bundler-cache: true # runs 'bundle install' and caches installed gems automatically
@@ -12,12 +12,12 @@ jobs:
12
12
  runs-on: ubuntu-latest
13
13
  strategy:
14
14
  matrix:
15
- ruby-version: ['2.7', '3.0']
15
+ ruby-version: ['3.0', '3.1', '3.2']
16
16
 
17
17
  steps:
18
18
  - uses: actions/checkout@v2
19
19
  - name: Set up Ruby
20
- uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
20
+ uses: ruby/setup-ruby@v1.147.0
21
21
  with:
22
22
  ruby-version: ${{ matrix.ruby-version }}
23
23
  bundler-cache: true # runs 'bundle install' and caches installed gems automatically
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.7.1
1
+ ruby-3.2.2
@@ -37,10 +37,10 @@ Gem::Specification.new do |spec|
37
37
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
38
38
  spec.require_paths = ['lib']
39
39
 
40
- spec.add_dependency 'dry-struct', '~>1.3'
41
- spec.add_dependency 'pagy', '~>4.0'
40
+ spec.add_dependency 'dry-struct', '~>1'
41
+ spec.add_dependency 'pagy', '~> 6'
42
42
  spec.add_dependency 'rack'
43
- spec.add_dependency 'addressable', '~> 2.3', '>= 2.3.7'
43
+ spec.add_dependency 'addressable', '~> 2'
44
44
 
45
45
  spec.add_development_dependency 'simplecov'
46
46
  spec.add_development_dependency 'simplecov-cobertura'
@@ -18,4 +18,4 @@ require 'pagy/extras/array'
18
18
  # See https://ddnexus.github.io/pagy/extras/overflow
19
19
  require 'pagy/extras/overflow'
20
20
 
21
- Pagy::VARS[:overflow] = :empty_page
21
+ Pagy::DEFAULT[:overflow] = :empty_page
@@ -2,6 +2,6 @@
2
2
 
3
3
  module JSOM
4
4
  module Pagination
5
- VERSION = '0.2.0'
5
+ VERSION = '1.0.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsom-pagination
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Wilgosz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-25 00:00:00.000000000 Z
11
+ date: 2023-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.3'
19
+ version: '1'
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: '1.3'
26
+ version: '1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pagy
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '4.0'
33
+ version: '6'
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: '4.0'
40
+ version: '6'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rack
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,20 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.3'
62
- - - ">="
63
- - !ruby/object:Gem::Version
64
- version: 2.3.7
61
+ version: '2'
65
62
  type: :runtime
66
63
  prerelease: false
67
64
  version_requirements: !ruby/object:Gem::Requirement
68
65
  requirements:
69
66
  - - "~>"
70
67
  - !ruby/object:Gem::Version
71
- version: '2.3'
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- version: 2.3.7
68
+ version: '2'
75
69
  - !ruby/object:Gem::Dependency
76
70
  name: simplecov
77
71
  requirement: !ruby/object:Gem::Requirement
@@ -158,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
152
  - !ruby/object:Gem::Version
159
153
  version: '0'
160
154
  requirements: []
161
- rubygems_version: 3.2.3
155
+ rubygems_version: 3.4.10
162
156
  signing_key:
163
157
  specification_version: 4
164
158
  summary: A pagination support for JSON:API based web applications.