forked from dembskoi/pg_advisory_locker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpg_advisory_locker.gemspec
22 lines (20 loc) · 961 Bytes
/
pg_advisory_locker.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$LOAD_PATH.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "pg_advisory_locker/version"
Gem::Specification.new do |s|
s.name = 'pg_advisory_locker'
s.version = PgAdvisoryLocker::VERSION
s.license = 'New BSD License'
s.date = '2012-10-02'
s.summary = "Helper for calling PostgreSQL pg_advisory_lock, pg_advisory_try_lock, and pg_advisory_unlock."
s.description = "This gem provides a module that, when included in your ActiveRecord model, provides methods to acquire and release advisory locks for PostgreSQL connections."
s.authors = ["Keith Gabryelski"]
s.email = 'keith@fiksu.com'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.require_path = 'lib'
s.homepage = 'http://github.com/fiksu/pg_advisory_locker'
s.add_dependency "pg"
s.add_dependency "rails", '>= 3.0.0'
s.add_dependency 'rspec-rails'
end