transaction_retry 1.0.1 → 1.0.2
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 +5 -1
- data/lib/transaction_retry/version.rb +1 -1
- metadata +6 -6
data/README.md
CHANGED
|
@@ -16,7 +16,7 @@ Then run:
|
|
|
16
16
|
|
|
17
17
|
bundle
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
__It works out of the box with Ruby on Rails__.
|
|
20
20
|
|
|
21
21
|
If you have a standalone ActiveRecord-based project you'll need to call:
|
|
22
22
|
|
|
@@ -40,6 +40,10 @@ You can optionally configure transaction_retry gem in your config/initializers/t
|
|
|
40
40
|
* Configurable number of retries and sleep time between them.
|
|
41
41
|
* Use it in your Rails application or a standalone ActiveRecord-based project.
|
|
42
42
|
|
|
43
|
+
## Testimonials
|
|
44
|
+
|
|
45
|
+
This gem was initially developed for and successfully works in production at [Kontomierz.pl](http://kontomierz.pl) - the finest Polish personal finance app.
|
|
46
|
+
|
|
43
47
|
## Requirements
|
|
44
48
|
|
|
45
49
|
* ruby 1.9.2
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: transaction_retry
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-02-
|
|
12
|
+
date: 2012-02-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activerecord
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &9671100 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,10 +21,10 @@ dependencies:
|
|
|
21
21
|
version: 3.0.11
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *9671100
|
|
25
25
|
- !ruby/object:Gem::Dependency
|
|
26
26
|
name: transaction_isolation
|
|
27
|
-
requirement: &
|
|
27
|
+
requirement: &9688920 !ruby/object:Gem::Requirement
|
|
28
28
|
none: false
|
|
29
29
|
requirements:
|
|
30
30
|
- - ! '>='
|
|
@@ -32,7 +32,7 @@ dependencies:
|
|
|
32
32
|
version: 1.0.2
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
|
-
version_requirements: *
|
|
35
|
+
version_requirements: *9688920
|
|
36
36
|
description: Retries database transaction on deadlock and transaction serialization
|
|
37
37
|
errors. Supports MySQL, PostgreSQL and SQLite (as long as you are using new drivers
|
|
38
38
|
mysql2, pg, sqlite3).
|