Sha256: 17471567ac19e5959488d0f524a01d0d5d82688cecfdf53315650bc303dca072

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'paginator/version'

Gem::Specification.new do |spec|
  spec.name          = "paginator"
  spec.version       = Paginator::VERSION
  spec.authors       = ["Bruce Williams"]
  spec.email         = ["bruce.williams@livingsocial.com"]
  spec.summary       = 'A generic paginator object for use in any Ruby program'
  spec.description   = "Paginator doesn't make any assumptions as to how data is retrieved; you just have to provide it with tee total number of objects and a way to pull a specific set of objects based on the offset and number of objects per page."
  spec.homepage      = "http://github.com/bruce/paginator"
  spec.license       = "MIT"

  spec.files         = `git ls-files`.split($/)
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 1.3"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paginator-1.2.0 paginator.gemspec