forked from ddnexus/pagy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpagy.gemspec
28 lines (26 loc) · 1.37 KB
/
pagy.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'pagy'
Gem::Specification.new do |s|
s.name = 'pagy'
s.version = Pagy::VERSION
s.authors = ['Domizio Demichelis']
s.email = ['[email protected]']
s.summary = 'The kick-ass pagination ruby gem'
s.description = 'Agnostic pagination in plain ruby. It does it all. Better.'
s.homepage = 'https://github.com/ddnexus/pagy'
s.license = 'MIT'
s.files = File.read('pagy.manifest').split
s.metadata = { 'rubygems_mfa_required' => 'true',
'homepage_uri' => 'https://github.com/ddnexus/pagy',
'documentation_uri' => 'https://ddnexus.github.io/pagy',
'bug_tracker_uri' => 'https://github.com/ddnexus/pagy/issues',
'changelog_uri' => 'https://github.com/ddnexus/pagy/blob/master/CHANGELOG.md',
'live_support' => 'https://gitter.im/ruby-pagy/Lobby' }
# Avoid breaking changes for the rare apps that use Pagy::Calendar without Rails
# It will be removed and replaced by a simple requirement in the calendar doc in Pagy 6.0
# because it is only used by the calendar extra, and it's not a core dependency
s.add_dependency('activesupport')
s.required_ruby_version = '>= 2.5'
end