Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merged Jeremey and Alexander's forks and added a Gemfile and .gitignore.

  • Loading branch information...
commit 5206d396223fdaf9439e45dee94a7e98f3760b06 1 parent 0ca5df9
Dr. Kashif Rasul authored
3  .gitignore
View
@@ -0,0 +1,3 @@
+Gemfile.lock
+*.gem
+.DS_Store
4 Gemfile
View
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in postgres-pr.gemspec
+gemspec
2  Rakefile
View
@@ -0,0 +1,2 @@
+require 'bundler'
+Bundler::GemHelper.install_tasks
2  lib/postgres-pr/version.rb
View
@@ -1,3 +1,3 @@
module PostgresPR
- Version = "0.6.4"
+ VERSION = "0.6.5"
end
29 postgres-pr.gemspec
View
@@ -1,18 +1,19 @@
-require 'rubygems'
-
-if File.read('lib/postgres-pr/version.rb') =~ /Version\s+=\s+"(\d+\.\d+\.\d+)"/
- version = $1
-else
- raise "no version"
-end
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "postgres-pr/version"
spec = Gem::Specification.new do |s|
- s.name = 'jeremyevans-postgres-pr'
- s.version = version
- s.summary = 'A pure Ruby interface to the PostgreSQL (>= 7.4) database'
- s.requirements << 'PostgreSQL >= 7.4'
- s.files = (Dir['lib/**/*'] + Dir['test/**/*'] + Dir['examples/**/*'])
+ s.name = 'postgres-pr'
+ s.version = PostgresPR::VERSION
+ s.summary = %q{A pure Ruby interface to the PostgreSQL (>= 7.4) database.}
+
+ s.files = %w(README Rakefile) + Dir.glob("{lib,examples}/**/*")
+ s.test_files = `git ls-files -- {test}/*`.split("\n")
+
s.require_path = 'lib'
- s.author = "Jeremy Evans"
- s.email = "code@jeremyevans.net"
+
+ s.authors = ["Michael Neumann", "Jeremy Evans", "Alexander E. Fischer", "Aaron Hamid", "Rahim Packir Saibo", "Kashif Rasul"]
+ s.email = ["mneumann@ntecs.de", "code@jeremyevans.net", "aef@raxys.net", "kashif@nomad-labs.com"]
+ s.homepage = "https://github.com/kashif/em_postgresql"
+ s.licenses = ["Ruby", "GPL"]
end
Please sign in to comment.
Something went wrong with that request. Please try again.