kaminari-api-meta-data 1.0.0 → 2.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: 9cee8a432e9b112eca2cb0605d8bd5ae160d2569f31ea1f40ac96a1faaf670fb
4
- data.tar.gz: e654992c753a2424800bb5847290a9753901238124217846643542fd708427dc
3
+ metadata.gz: 00f673dec8cc7e71f8f05aecc8ef453c061d801e55f1435b56e654659b39d3cd
4
+ data.tar.gz: b7d8ef1c317859e94293b244e9ff95dea9fac4bdcfa38b5846b5a4f881ad9e84
5
5
  SHA512:
6
- metadata.gz: 4305d055a3cb2575d7458942b91350427e4459d066557c92e1efde915dcfda684c015a75e68628985f962165df212e88a8ac8b39ec019a0ad709121e34bda31c
7
- data.tar.gz: 8e59ec10a0695539e3b56771c00c243c63be62e71b7e2435ac831ba3eb059d14142af076061323df4709a546f0c9e1da0b47f6cccfae0e9d92da9964ccf00016
6
+ metadata.gz: 3b2ff3165ed9e3b558b696bcec78c0fad7bad7432125624e64e63da84933c5ec89307da1c4059ea4e6c8241fedf62f3ea464e3d8bc4ea13d0a8556deb4fd828b
7
+ data.tar.gz: eb326b0a571737879ca2b6bd7038d07c46caaefd50062d1eddfbf63e97d6d01f026fb0cd67ffd2ff529201f28508758dfb9301c6f410c6501791c84518d1cde5
data/README.md CHANGED
@@ -3,7 +3,11 @@
3
3
  A gem for adding [Kaminari](https://github.com/kaminari/kaminari) collection meta data to your API responses that matches the format that works with the Kaminari [`paginate`](https://github.com/kaminari/kaminari#the-paginate-helper-method) helper method.
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/kaminari-api-meta-data.svg)](https://badge.fury.io/rb/kaminari-api-meta-data)
6
- [![CircleCI](https://circleci.com/gh/boxt/kaminari-api-meta-data.svg?style=svg)](https://circleci.com/gh/boxt/kaminari-api-meta-data)
6
+ [![CI](https://github.com/boxt/kaminari-api-meta-data/actions/workflows/ci.yml/badge.svg)](https://github.com/boxt/kaminari-api-meta-data/actions/workflows/ci.yml)
7
+
8
+ ## Requirements
9
+
10
+ - Ruby >= 3.0
7
11
 
8
12
  ## Installation
9
13
 
data/Rakefile CHANGED
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "bundler/gem_tasks"
2
4
  require "rake/testtask"
5
+ require "rspec/core/rake_task"
3
6
 
4
- Rake::TestTask.new(:test) do |t|
5
- t.libs << "test"
6
- t.libs << "lib"
7
- t.test_files = FileList['test/**/*_test.rb']
7
+ RSpec::Core::RakeTask.new(:spec) do |t|
8
+ t.pattern = Dir.glob("spec/**/*_spec.rb")
8
9
  end
9
10
 
10
- task :default => :test
11
+ desc "Map rake test to rake spec"
12
+ task test: :spec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 2.0.0
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "kaminari_api_meta_data/version"
2
4
 
3
5
  module KaminariApiMetaData
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kaminari-api-meta-data
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BOXT Developers
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-07 00:00:00.000000000 Z
11
+ date: 2024-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kaminari
@@ -24,146 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.1'
27
- - !ruby/object:Gem::Dependency
28
- name: boxt_ruby_style_guide
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '4.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '4.0'
41
- - !ruby/object:Gem::Dependency
42
- name: bundler
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '2.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '2.0'
55
- - !ruby/object:Gem::Dependency
56
- name: minitest
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '5.13'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '5.13'
69
- - !ruby/object:Gem::Dependency
70
- name: minitest-bang
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '1.0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '1.0'
83
- - !ruby/object:Gem::Dependency
84
- name: minitest-fail-fast
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '0.1'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '0.1'
97
- - !ruby/object:Gem::Dependency
98
- name: minitest-macos-notification
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '0.2'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '0.2'
111
- - !ruby/object:Gem::Dependency
112
- name: minitest-reporters
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '1.4'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '1.4'
125
- - !ruby/object:Gem::Dependency
126
- name: mocha
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '1.8'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: '1.8'
139
- - !ruby/object:Gem::Dependency
140
- name: rake
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: '13.0'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: '13.0'
153
- - !ruby/object:Gem::Dependency
154
- name: simplecov
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '0.17'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '0.17'
167
27
  description: A gem for adding Kaminari collection meta data to your API responses
168
28
  that matches the format that works with Kaminari paginate method.
169
29
  email:
@@ -181,8 +41,9 @@ files:
181
41
  homepage: https://github.com/boxt/kaminari-api-meta-data
182
42
  licenses:
183
43
  - MIT
184
- metadata: {}
185
- post_install_message:
44
+ metadata:
45
+ rubygems_mfa_required: 'true'
46
+ post_install_message:
186
47
  rdoc_options: []
187
48
  require_paths:
188
49
  - lib
@@ -190,15 +51,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
190
51
  requirements:
191
52
  - - ">="
192
53
  - !ruby/object:Gem::Version
193
- version: '0'
54
+ version: '3.0'
194
55
  required_rubygems_version: !ruby/object:Gem::Requirement
195
56
  requirements:
196
57
  - - ">="
197
58
  - !ruby/object:Gem::Version
198
59
  version: '0'
199
60
  requirements: []
200
- rubygems_version: 3.1.2
201
- signing_key:
61
+ rubygems_version: 3.5.3
62
+ signing_key:
202
63
  specification_version: 4
203
64
  summary: A gem for adding Kaminari collection meta data to your API responses
204
65
  test_files: []