kaminari-sinatra 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4fec598fd8d63563a8d139f51b64d024171bf243
4
+ data.tar.gz: ceffc543cafab67c63245e42f69a85052f0fef18
5
+ SHA512:
6
+ metadata.gz: 8e5bac3c9adea62733242d1583b580000a917bf4ca234d3713c8c05c0c6898bc7c8343efe543e77a32bf8d4079f5da0ae354a8eeca70392d95ea92a202c6753c
7
+ data.tar.gz: 8e736d8e881b76304b78cf5add500006aca08d7b956f8c84d34e3ab45fef853c75f9c4892fdd7bd61405b48309a657f03ff2961b91c421a812bb8b27970a0b4e
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ gemfiles/*.lock
5
+ /_yardoc/
6
+ /coverage/
7
+ /doc/
8
+ /pkg/
9
+ /spec/reports/
10
+ /tmp/
11
+ .byebug_history
@@ -0,0 +1,30 @@
1
+ language: ruby
2
+
3
+ before_install: gem install bundler -v 1.11.2
4
+
5
+ rvm:
6
+ - 2.0.0
7
+ - 2.1.10
8
+ - 2.2.4
9
+ - 2.3.1
10
+ - ruby-head
11
+ - jruby
12
+ - jruby-head
13
+ - rbx-2
14
+
15
+ gemfile:
16
+ - gemfiles/sinatra_14.gemfile
17
+
18
+ sudo: false
19
+
20
+ script: 'bundle exec rake spec'
21
+
22
+ cache: bundler
23
+
24
+ matrix:
25
+ allow_failures:
26
+ - rvm: ruby-head
27
+ - rvm: jruby
28
+ - rvm: jruby-head
29
+ - rvm: rbx-2
30
+ fast_finish: true
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in kaminari-sinatra.gemspec
4
+ gemspec
5
+
6
+ gem 'kaminari'
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Akira Matsuda
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,36 @@
1
+ # Kaminari::Sinatra
2
+
3
+ kaminari-sinatra is a Kaminari paginator's adapter gem for Sinatra and Sinatra-based frameworks.
4
+
5
+
6
+ ## Installation
7
+
8
+ Add this line to your Sinatra app's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'kaminari-sinatra'
12
+ ```
13
+
14
+ And bundle.
15
+
16
+
17
+ ## Usage
18
+
19
+ Bundling this gem just enables model-side features, such as <tt>Model#page</tt> and <tt>Model#per</tt>.
20
+ If you want to use view helpers, please explicitly <tt>register</tt> helpers in your Sinatra or Padrino app:
21
+
22
+ register Kaminari::Helpers::SinatraHelpers
23
+
24
+ Or, you can implement your own awesome helper :)
25
+
26
+ More features are coming, and again, this is still experimental. Please let us know if you found anything wrong with the Sinatra support.
27
+
28
+
29
+ ## Contributing
30
+
31
+ Pull requests are welcome on GitHub at https://github.com/kaminari/kaminari-sinatra.
32
+
33
+
34
+ ## License
35
+
36
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,9 @@
1
+ require "bundler/gem_tasks"
2
+ require 'rspec/core'
3
+ require 'rspec/core/rake_task'
4
+
5
+ RSpec::Core::RakeTask.new(:spec) do |spec|
6
+ spec.pattern = [FileList['spec/**/*_spec.rb'], "#{File.join(Gem.loaded_specs['kaminari'].gem_dir, 'spec')}/**/*_spec.rb"]
7
+ end
8
+
9
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "kaminari/sinatra"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,25 @@
1
+ source 'https://rubygems.org'
2
+
3
+ #FIXME bundle GH branch for now
4
+ gem 'kaminari', github: 'amatsuda/kaminari', branch: 'extract_adapters'
5
+
6
+ gem 'activerecord', '>= 4.0.0', :require => 'active_record'
7
+ gem 'sinatra', '~> 1.4.0'
8
+ gem 'rspec', '~> 2.14.1'
9
+ gem 'padrino-helpers', '~> 0.12.0'
10
+ gem 'rack-test', '>= 0'
11
+ gem 'sinatra-contrib', '~> 1.4.0'
12
+ gem 'mime-types', '2.99' if RUBY_VERSION < '2.0.0'
13
+
14
+ platforms :ruby do
15
+ if RUBY_VERSION > "2.1.0"
16
+ gem 'sqlite3'
17
+ else
18
+ gem 'sqlite3', '1.3.8'
19
+ end
20
+ end
21
+ platforms :jruby do
22
+ gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'
23
+ end
24
+
25
+ gemspec :path => '../'
@@ -0,0 +1,36 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'kaminari/sinatra/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "kaminari-sinatra"
8
+ spec.version = Kaminari::Sinatra::VERSION
9
+ spec.authors = ["Akira Matsuda"]
10
+ spec.email = ["ronnie@dio.jp"]
11
+
12
+ spec.summary = 'Kaminari Sinatra adapter'
13
+ spec.description = 'Kaminari Sinatra adapter'
14
+ spec.homepage = 'https://github.com/kaminari/kaminari-sinatra'
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.11"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency 'rspec', '< 2.9'
25
+ spec.add_development_dependency 'capybara'
26
+ spec.add_development_dependency 'rr'
27
+ spec.add_development_dependency 'sinatra-contrib'
28
+ spec.add_development_dependency 'activerecord'
29
+ spec.add_development_dependency 'sqlite3'
30
+ spec.add_development_dependency 'byebug'
31
+ spec.add_development_dependency 'database_cleaner'
32
+ spec.add_dependency 'kaminari'
33
+ spec.add_dependency 'sinatra'
34
+ spec.add_dependency 'actionview'
35
+ spec.add_dependency 'padrino-helpers'
36
+ end
@@ -0,0 +1,176 @@
1
+ require 'active_support/core_ext/object'
2
+ require 'active_support/core_ext/string'
3
+ require 'action_dispatch/http/mime_type'
4
+
5
+ begin
6
+
7
+ require 'padrino-helpers'
8
+ module Kaminari::Helpers
9
+ module SinatraHelpers
10
+ class << self
11
+ def registered(app)
12
+ app.register Padrino::Helpers
13
+ app.helpers HelperMethods
14
+ @app = app
15
+ end
16
+
17
+ def view_paths
18
+ @app.views
19
+ end
20
+
21
+ alias included registered
22
+ end
23
+
24
+ class ActionViewTemplateProxy
25
+ include Padrino::Helpers::OutputHelpers
26
+ include Padrino::Helpers::TagHelpers
27
+ include Padrino::Helpers::AssetTagHelpers
28
+ include Padrino::Helpers::FormatHelpers
29
+ include Padrino::Helpers::TranslationHelpers
30
+
31
+ def initialize(opts={})
32
+ @current_path = opts[:current_path]
33
+ @param_name = (opts[:param_name] || :page).to_sym
34
+ @current_params = opts[:current_params]
35
+ @current_params.delete(@param_name)
36
+ end
37
+
38
+ def render(*args)
39
+ base = ActionView::Base.new.tap do |a|
40
+ a.view_paths << SinatraHelpers.view_paths
41
+ a.view_paths << File.join(Gem.loaded_specs['kaminari'].gem_dir, 'app/views')
42
+ end
43
+ base.render(*args)
44
+ end
45
+
46
+ def url_for(params)
47
+ extra_params = {}
48
+ if (page = params[@param_name]) && (Kaminari.config.params_on_first_page || page != 1)
49
+ extra_params[@param_name] = page
50
+ end
51
+ query = @current_params.merge(extra_params)
52
+ @current_path + (query.empty? ? '' : "?#{query.to_query}")
53
+ end
54
+
55
+ def link_to_unless(condition, name, options = {}, html_options = {}, &block)
56
+ options = url_for(options) if options.is_a? Hash
57
+ if condition
58
+ if block_given?
59
+ block.arity <= 1 ? capture(name, &block) : capture(name, options, html_options, &block)
60
+ else
61
+ name
62
+ end
63
+ else
64
+ link_to(name, options, html_options)
65
+ end
66
+ end
67
+
68
+ def params
69
+ @current_params
70
+ end
71
+ end
72
+
73
+ module HelperMethods
74
+ # A helper that renders the pagination links - for Sinatra.
75
+ #
76
+ # <%= paginate @articles %>
77
+ #
78
+ # ==== Options
79
+ # * <tt>:window</tt> - The "inner window" size (4 by default).
80
+ # * <tt>:outer_window</tt> - The "outer window" size (0 by default).
81
+ # * <tt>:left</tt> - The "left outer window" size (0 by default).
82
+ # * <tt>:right</tt> - The "right outer window" size (0 by default).
83
+ # * <tt>:params</tt> - url_for parameters for the links (:id, :locale, etc.)
84
+ # * <tt>:param_name</tt> - parameter name for page number in the links (:page by default)
85
+ # * <tt>:remote</tt> - Ajax? (false by default)
86
+ # * <tt>:ANY_OTHER_VALUES</tt> - Any other hash key & values would be directly passed into each tag as :locals value.
87
+ def paginate(scope, options = {}, &block)
88
+ current_path = env['PATH_INFO'] rescue nil
89
+ current_params = Rack::Utils.parse_query(env['QUERY_STRING']).symbolize_keys rescue {}
90
+ paginator = Kaminari::Helpers::Paginator.new(
91
+ ActionViewTemplateProxy.new(:current_params => current_params, :current_path => current_path, :param_name => options[:param_name] || Kaminari.config.param_name),
92
+ options.reverse_merge(:current_page => scope.current_page, :total_pages => scope.total_pages, :per_page => scope.limit_value, :param_name => Kaminari.config.param_name, :remote => false)
93
+ )
94
+ paginator.to_s
95
+ end
96
+
97
+ # A simple "Twitter like" pagination link that creates a link to the previous page.
98
+ # Works on Sinatra.
99
+ #
100
+ # ==== Examples
101
+ # Basic usage:
102
+ #
103
+ # <%= link_to_previous_page @items, 'Previous Page' %>
104
+ #
105
+ # Ajax:
106
+ #
107
+ # <%= link_to_previous_page @items, 'Previous Page', :remote => true %>
108
+ #
109
+ # By default, it renders nothing if there are no more results on the previous page.
110
+ # You can customize this output by passing a parameter <tt>:placeholder</tt>.
111
+ #
112
+ # <%= link_to_previous_page @users, 'Previous Page', :placeholder => %{<span>At the Beginning</span>} %>
113
+ #
114
+ def link_to_previous_page(scope, name, options = {})
115
+ params = options.delete(:params) || (Rack::Utils.parse_query(env['QUERY_STRING']).symbolize_keys rescue {})
116
+ param_name = options.delete(:param_name) || Kaminari.config.param_name
117
+ placeholder = options.delete(:placeholder)
118
+
119
+ if scope.first_page?
120
+ placeholder.to_s.html_safe
121
+ else
122
+ query = params.merge(param_name => scope.prev_page)
123
+ link_to name, env['PATH_INFO'] + (query.empty? ? '' : "?#{query.to_query}"), options.reverse_merge(:rel => 'previous')
124
+ end
125
+ end
126
+
127
+ # A simple "Twitter like" pagination link that creates a link to the next page.
128
+ # Works on Sinatra.
129
+ #
130
+ # ==== Examples
131
+ # Basic usage:
132
+ #
133
+ # <%= link_to_next_page @items, 'Next Page' %>
134
+ #
135
+ # Ajax:
136
+ #
137
+ # <%= link_to_next_page @items, 'Next Page', :remote => true %>
138
+ #
139
+ # By default, it renders nothing if there are no more results on the next page.
140
+ # You can customize this output by passing a parameter <tt>:placeholder</tt>.
141
+ #
142
+ # <%= link_to_next_page @items, 'Next Page', :placeholder => %{<span>No More Pages</span>} %>
143
+ #
144
+ def link_to_next_page(scope, name, options = {})
145
+ params = options.delete(:params) || (Rack::Utils.parse_query(env['QUERY_STRING']).symbolize_keys rescue {})
146
+ param_name = options.delete(:param_name) || Kaminari.config.param_name
147
+ placeholder = options.delete(:placeholder)
148
+
149
+ if scope.last_page? || scope.out_of_range?
150
+ placeholder.to_s.html_safe
151
+ else
152
+ query = params.merge(param_name => scope.next_page)
153
+ link_to name, env['PATH_INFO'] + (query.empty? ? '' : "?#{query.to_query}"), options.reverse_merge(:rel => 'next')
154
+ end
155
+ end
156
+ end
157
+ end
158
+ end
159
+
160
+ if defined? I18n
161
+ I18n.load_path += Dir.glob(File.join(Gem.loaded_specs['kaminari'].gem_dir, 'config/locales/*.yml'))
162
+ end
163
+
164
+ rescue LoadError
165
+
166
+ $stderr.puts "[!]You should install `padrino-helpers' gem if you want to use kaminari's pagination helpers with Sinatra."
167
+ $stderr.puts "[!]Kaminari::Helpers::SinatraHelper does nothing now..."
168
+
169
+ module Kaminari::Helpers
170
+ module SinatraHelper
171
+ def self.registered(*)
172
+ end
173
+ end
174
+ end
175
+
176
+ end
@@ -0,0 +1,5 @@
1
+ require 'sinatra/base'
2
+ require 'kaminari'
3
+ require 'kaminari/helpers/sinatra_helpers'
4
+
5
+ Kaminari::Hooks.init
@@ -0,0 +1,5 @@
1
+ module Kaminari
2
+ module Sinatra
3
+ VERSION = "0.1.0"
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,253 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kaminari-sinatra
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Akira Matsuda
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-06-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "<"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.9'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "<"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.9'
55
+ - !ruby/object:Gem::Dependency
56
+ name: capybara
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rr
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: sinatra-contrib
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: activerecord
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: sqlite3
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: byebug
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: database_cleaner
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: kaminari
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: sinatra
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: actionview
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: padrino-helpers
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ description: Kaminari Sinatra adapter
210
+ email:
211
+ - ronnie@dio.jp
212
+ executables: []
213
+ extensions: []
214
+ extra_rdoc_files: []
215
+ files:
216
+ - ".gitignore"
217
+ - ".travis.yml"
218
+ - Gemfile
219
+ - MIT-LICENSE
220
+ - README.md
221
+ - Rakefile
222
+ - bin/console
223
+ - bin/setup
224
+ - gemfiles/sinatra_14.gemfile
225
+ - kaminari-sinatra.gemspec
226
+ - lib/kaminari/helpers/sinatra_helpers.rb
227
+ - lib/kaminari/sinatra.rb
228
+ - lib/kaminari/sinatra/version.rb
229
+ homepage: https://github.com/kaminari/kaminari-sinatra
230
+ licenses:
231
+ - MIT
232
+ metadata: {}
233
+ post_install_message:
234
+ rdoc_options: []
235
+ require_paths:
236
+ - lib
237
+ required_ruby_version: !ruby/object:Gem::Requirement
238
+ requirements:
239
+ - - ">="
240
+ - !ruby/object:Gem::Version
241
+ version: '0'
242
+ required_rubygems_version: !ruby/object:Gem::Requirement
243
+ requirements:
244
+ - - ">="
245
+ - !ruby/object:Gem::Version
246
+ version: '0'
247
+ requirements: []
248
+ rubyforge_project:
249
+ rubygems_version: 2.6.4
250
+ signing_key:
251
+ specification_version: 4
252
+ summary: Kaminari Sinatra adapter
253
+ test_files: []