with_advisory_lock 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -94,6 +94,10 @@ aren't going to be commonly applicable, and they can be a source of
94
94
 
95
95
  ## Changelog
96
96
 
97
+ ### 0.0.4
98
+
99
+ * Moved require into on_load, which should speed loading when AR doesn't have to spin up
100
+
97
101
  ### 0.0.3
98
102
 
99
103
  * Fought with ActiveRecord 3.0.x and 3.1.x. You don't want them if you use threads—they fail
@@ -1,5 +1,4 @@
1
- require 'with_advisory_lock/concern'
2
-
3
1
  ActiveSupport.on_load :active_record do
2
+ require 'with_advisory_lock/concern'
4
3
  ActiveRecord::Base.send :include, WithAdvisoryLock::Concern
5
4
  end
@@ -1,3 +1,3 @@
1
1
  module WithAdvisoryLock
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: with_advisory_lock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -214,7 +214,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
214
214
  version: '0'
215
215
  segments:
216
216
  - 0
217
- hash: 1855409000394633980
217
+ hash: -2231625769835238034
218
218
  required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  none: false
220
220
  requirements:
@@ -223,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
223
223
  version: '0'
224
224
  segments:
225
225
  - 0
226
- hash: 1855409000394633980
226
+ hash: -2231625769835238034
227
227
  requirements: []
228
228
  rubyforge_project:
229
229
  rubygems_version: 1.8.23