Skip to content

Commit

Permalink
Fixes previous commit, pg dependency removed
Browse files Browse the repository at this point in the history
Seems I had to do this in Rakefile as gemspec is autogenerated.

Oh Jeweler.
  • Loading branch information
afair committed Feb 20, 2013
1 parent b3f98a9 commit 5b24c77
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ begin
gem.homepage = "http://github.com/afair/postgresql_cursor"
gem.authors = ["Allen Fair"]
gem.add_dependency 'activerecord'
gem.add_dependency 'pg'
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
Expand Down
12 changes: 6 additions & 6 deletions postgresql_cursor.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

Gem::Specification.new do |s|
s.name = "postgresql_cursor"
s.version = "0.4.0"
s.version = "0.4.1"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Allen Fair"]
s.date = "2012-07-21"
s.date = "2013-02-20"
s.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 10_000 rows), buffers them, and returns the rows one at a time."
s.email = "allen.fair@gmail.com"
s.extra_rdoc_files = [
Expand All @@ -29,22 +29,22 @@ Gem::Specification.new do |s|
]
s.homepage = "http://github.com/afair/postgresql_cursor"
s.require_paths = ["lib"]
s.rubygems_version = "1.8.16"
s.rubygems_version = "1.8.24"
s.summary = "ActiveRecord PostgreSQL Adapter extension for using a cursor to return a large result set"

if s.respond_to? :specification_version then
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<activerecord>, [">= 0"])
#s.add_runtime_dependency(%q<pg>, [">= 0"])
s.add_runtime_dependency(%q<pg>, [">= 0"])
else
s.add_dependency(%q<activerecord>, [">= 0"])
#s.add_dependency(%q<pg>, [">= 0"])
s.add_dependency(%q<pg>, [">= 0"])
end
else
s.add_dependency(%q<activerecord>, [">= 0"])
#s.add_dependency(%q<pg>, [">= 0"])
s.add_dependency(%q<pg>, [">= 0"])
end
end

0 comments on commit 5b24c77

Please sign in to comment.