after_commit_action 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -2
- data/Gemfile.lock +0 -17
- data/Rakefile +2 -1
- data/VERSION +1 -1
- data/after_commit_action.gemspec +5 -5
- metadata +19 -19
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,29 +1,14 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activemodel (3.2.3)
|
5
|
-
activesupport (= 3.2.3)
|
6
|
-
builder (~> 3.0.0)
|
7
|
-
activerecord (3.2.3)
|
8
|
-
activemodel (= 3.2.3)
|
9
|
-
activesupport (= 3.2.3)
|
10
|
-
arel (~> 3.0.2)
|
11
|
-
tzinfo (~> 0.3.29)
|
12
|
-
activesupport (3.2.3)
|
13
|
-
i18n (~> 0.6)
|
14
|
-
multi_json (~> 1.0)
|
15
|
-
arel (3.0.2)
|
16
|
-
builder (3.0.0)
|
17
4
|
diff-lcs (1.1.3)
|
18
5
|
git (1.2.5)
|
19
|
-
i18n (0.6.0)
|
20
6
|
jeweler (1.8.3)
|
21
7
|
bundler (~> 1.0)
|
22
8
|
git (>= 1.2.5)
|
23
9
|
rake
|
24
10
|
rdoc
|
25
11
|
json (1.7.3)
|
26
|
-
multi_json (1.3.5)
|
27
12
|
rake (0.9.2.2)
|
28
13
|
rdoc (3.12)
|
29
14
|
json (~> 1.4)
|
@@ -35,13 +20,11 @@ GEM
|
|
35
20
|
rspec-expectations (2.8.0)
|
36
21
|
diff-lcs (~> 1.1.2)
|
37
22
|
rspec-mocks (2.8.0)
|
38
|
-
tzinfo (0.3.33)
|
39
23
|
|
40
24
|
PLATFORMS
|
41
25
|
ruby
|
42
26
|
|
43
27
|
DEPENDENCIES
|
44
|
-
activerecord (>= 3.2.0)
|
45
28
|
bundler (>= 1.1.3)
|
46
29
|
jeweler (~> 1.8.3)
|
47
30
|
rdoc (~> 3.12)
|
data/Rakefile
CHANGED
@@ -21,7 +21,8 @@ Jeweler::Tasks.new do |gem|
|
|
21
21
|
gem.description = %Q{Use this module to defer actions to the after-commit hook. This is useful if you want to trigger actions in after_create, after_destroy and after_update callbacks but want to execute them outside of the transaction (for example, to avoid deadlocks).}
|
22
22
|
gem.email = "magnus@bestvendor.com"
|
23
23
|
gem.authors = ["BestVendor"]
|
24
|
-
|
24
|
+
|
25
|
+
gem.add_dependency 'activerecord', '>= 3.0.0'
|
25
26
|
end
|
26
27
|
Jeweler::RubygemsDotOrgTasks.new
|
27
28
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/after_commit_action.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "after_commit_action"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["BestVendor"]
|
12
|
-
s.date = "2012-05-
|
12
|
+
s.date = "2012-05-24"
|
13
13
|
s.description = "Use this module to defer actions to the after-commit hook. This is useful if you want to trigger actions in after_create, after_destroy and after_update callbacks but want to execute them outside of the transaction (for example, to avoid deadlocks)."
|
14
14
|
s.email = "magnus@bestvendor.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -41,24 +41,24 @@ Gem::Specification.new do |s|
|
|
41
41
|
s.specification_version = 3
|
42
42
|
|
43
43
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
44
|
-
s.add_runtime_dependency(%q<activerecord>, [">= 3.2.0"])
|
45
44
|
s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
|
46
45
|
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
47
46
|
s.add_development_dependency(%q<bundler>, [">= 1.1.3"])
|
48
47
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
48
|
+
s.add_runtime_dependency(%q<activerecord>, [">= 3.0.0"])
|
49
49
|
else
|
50
|
-
s.add_dependency(%q<activerecord>, [">= 3.2.0"])
|
51
50
|
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
|
52
51
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
53
52
|
s.add_dependency(%q<bundler>, [">= 1.1.3"])
|
54
53
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
54
|
+
s.add_dependency(%q<activerecord>, [">= 3.0.0"])
|
55
55
|
end
|
56
56
|
else
|
57
|
-
s.add_dependency(%q<activerecord>, [">= 3.2.0"])
|
58
57
|
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
|
59
58
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
60
59
|
s.add_dependency(%q<bundler>, [">= 1.1.3"])
|
61
60
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
61
|
+
s.add_dependency(%q<activerecord>, [">= 3.0.0"])
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: after_commit_action
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,24 +9,8 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: activerecord
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 3.2.0
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 3.2.0
|
30
14
|
- !ruby/object:Gem::Dependency
|
31
15
|
name: rspec
|
32
16
|
requirement: !ruby/object:Gem::Requirement
|
@@ -91,6 +75,22 @@ dependencies:
|
|
91
75
|
- - ~>
|
92
76
|
- !ruby/object:Gem::Version
|
93
77
|
version: 1.8.3
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: activerecord
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 3.0.0
|
86
|
+
type: :runtime
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 3.0.0
|
94
94
|
description: Use this module to defer actions to the after-commit hook. This is useful
|
95
95
|
if you want to trigger actions in after_create, after_destroy and after_update callbacks
|
96
96
|
but want to execute them outside of the transaction (for example, to avoid deadlocks).
|
@@ -129,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: '0'
|
130
130
|
segments:
|
131
131
|
- 0
|
132
|
-
hash: -
|
132
|
+
hash: -3218439365481640895
|
133
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
134
|
none: false
|
135
135
|
requirements:
|