Browse files

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

  • Loading branch information...
1 parent 0ca5df9 commit 5206d396223fdaf9439e45dee94a7e98f3760b06 @kashif committed Apr 20, 2011
Showing with 25 additions and 15 deletions.
  1. +3 −0 .gitignore
  2. +4 −0 Gemfile
  3. +2 −0 Rakefile
  4. +1 −1 lib/postgres-pr/version.rb
  5. +15 −14 postgres-pr.gemspec
View
3 .gitignore
@@ -0,0 +1,3 @@
+Gemfile.lock
+*.gem
+.DS_Store
View
4 Gemfile
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in postgres-pr.gemspec
+gemspec
View
2 Rakefile
@@ -0,0 +1,2 @@
+require 'bundler'
+Bundler::GemHelper.install_tasks
View
2 lib/postgres-pr/version.rb
@@ -1,3 +1,3 @@
module PostgresPR
- Version = "0.6.4"
+ VERSION = "0.6.5"
end
View
29 postgres-pr.gemspec
@@ -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

0 comments on commit 5206d39

Please sign in to comment.