Skip to content

Commit

Permalink
I GIVE UP ON YOU, ACTIVERECORD < 3.2.x.
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Jan 28, 2013
1 parent 7fc760e commit 2b8948e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 21 deletions.
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ env:
- DB=mysql
- DB=postgresql

gemfile:
- ci/Gemfile.activerecord-3.0.x
- ci/Gemfile.activerecord-3.1.x
- ci/Gemfile.activerecord-3.2.x

script: bundle exec rake

before_script:
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# with_advisory_lock [![Build Status](https://api.travis-ci.org/mceachen/with_advisory_lock.png?branch=master)](https://travis-ci.org/mceachen/with_advisory_lock)

Adds advisory locking to ActiveRecord 3.x.
Adds advisory locking to ActiveRecord 3.2.x.
[MySQL](http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_get-lock)
and [PostgreSQL](http://www.postgresql.org/docs/9.1/static/functions-admin.html#FUNCTIONS-ADVISORY-LOCKS)
are supported natively. SQLite resorts to file locking (which won't span hosts, of course!).
Expand Down Expand Up @@ -94,6 +94,11 @@ aren't going to be commonly applicable, and they can be a source of

## Changelog

### 0.0.3

* Fought with ActiveRecord 3.0.x and 3.1.x. You don't want them if you use threads—they fail
predictably.

### 0.0.2

* Added warning log message for nested MySQL lock calls
Expand Down
5 changes: 0 additions & 5 deletions ci/Gemfile.activerecord-3.0.x

This file was deleted.

4 changes: 0 additions & 4 deletions ci/Gemfile.activerecord-3.1.x

This file was deleted.

4 changes: 0 additions & 4 deletions ci/Gemfile.activerecord-3.2.x

This file was deleted.

2 changes: 1 addition & 1 deletion lib/with_advisory_lock/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module WithAdvisoryLock
VERSION = "0.0.2"
VERSION = "0.0.3"
end
2 changes: 1 addition & 1 deletion with_advisory_lock.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
gem.test_files = gem.files.grep(%r{^test/})
gem.require_paths = %w(lib)

gem.add_runtime_dependency 'activerecord', '>= 3.0.0'
gem.add_runtime_dependency 'activerecord', '>= 3.2.0'

gem.add_development_dependency 'rake'
gem.add_development_dependency 'yard'
Expand Down

0 comments on commit 2b8948e

Please sign in to comment.