Sha256: 9119410cc31afd6b4b0dcfed78f4378a2392e10a2f2fcb4fb437bbea34dd9298

Contents?: true

Size: 1.78 KB

Versions: 4

Compression:

Stored size: 1.78 KB

Contents

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

Gem::Specification.new do |spec|
  spec.name          = "postgresql_cursor"
  spec.version       = PostgresqlCursor::VERSION
  spec.authors       = ["Allen Fair"]
  spec.email         = ["allen.fair@gmail.com"]
  spec.summary       = "ActiveRecord PostgreSQL Adapter extension for using a cursor to return a large result set"
  spec.description   = "PostgreSQL Cursor is an extension to the ActiveRecord PostgreSQLAdapter for very large result sets. It provides a cursor open/fetch/close interface to access data without loading all rows into memory, and instead loads the result rows in \"chunks\" (default of 1_000 rows), buffers them, and returns the rows one at a time."
  spec.homepage      = "http://github.com/afair/postgresql_cursor"
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0")
  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_dependency "pg" # Remove this for jruby, which should specify 'activerecord-jdbcpostgresql-adapter'
  spec.add_dependency "activerecord", ">= 3.1.0"
  #spec.add_dependency "activerecord", "~> 3.1.0"
  # Tests don't run on 4.0.0 since AR/AS have an older version of minitest as a run-time dependency(!) than our tests support
  #spec.add_dependency "activerecord", "~> 4.0.0";# spec.add_dependency "minitest", "~> 4.2.0"
  #spec.add_dependency "activerecord", "~> 4.1.0"
  #spec.add_dependency "activerecord", "~> 5.0.0.beta2"

  spec.add_development_dependency "pg"
  spec.add_development_dependency "rake"
  spec.add_development_dependency "minitest"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
postgresql_cursor-0.6.3 postgresql_cursor.gemspec
postgresql_cursor-0.6.2 postgresql_cursor.gemspec
postgresql_cursor-0.6.1 postgresql_cursor.gemspec
postgresql_cursor-0.6.0 postgresql_cursor.gemspec