Sha256: e065df0cc7e9d29b0bb14b00453df410470ae0027ad60880a8398af64fdc3344

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

# frozen_string_literal: true

$LOAD_PATH.unshift(::File.join(::File.dirname(__FILE__), 'lib'))

require 'pagy_mongoid_cursor/version'

Gem::Specification.new do |s|
  s.name = 'pagy_mongoid_cursor'
  s.version = PagyMongoidCursor::VERSION
  s.summary = 'Pagy Mongoid Cursor'
  s.description = 'Pagy Extra to do cursor based pagination for Mongoid.'
  s.homepage = 'https://github.com/jclusso/pagy_mongoid_cursor/'
  s.author = 'Jarrett Lusso'
  s.email = 'jclusso@gmail.com'
  s.license = 'MIT'
  s.metadata = {
    "bug_tracker_uri" => "https://github.com/jclusso/pagy_mongoid_cursor/issues",
    "documentation_uri" => "https://github.com/jclusso/pagy_mongoid_cursor/README.md",
    "source_code_uri" => "https://github.com/jclusso/pagy_mongoid_cursor"
  }

  s.files = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- test/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map do |f|
    ::File.basename(f)
  end
  s.require_paths = ['lib']
  s.add_dependency "pagy", ">= 6", "< 7"
  s.add_dependency "mongoid"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pagy_mongoid_cursor-0.2.0 pagy_mongoid_cursor.gemspec
pagy_mongoid_cursor-0.1.0 pagy_mongoid_cursor.gemspec