delta_attributes 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/delta_attributes.gemspec +1 -1
- data/lib/delta_attributes/version.rb +1 -1
- metadata +6 -6
data/README.md
CHANGED
data/delta_attributes.gemspec
CHANGED
@@ -36,5 +36,5 @@ Gem::Specification.new do |gem|
|
|
36
36
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
37
37
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
38
38
|
gem.require_paths = ["lib"]
|
39
|
-
gem.add_dependency "rails", "~> 3.2.
|
39
|
+
gem.add_dependency "rails", "~> 3.2.0"
|
40
40
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: delta_attributes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Oleh Novosad, Yuriy Lavryk, Arya
|
@@ -26,12 +26,12 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 15
|
30
30
|
segments:
|
31
31
|
- 3
|
32
32
|
- 2
|
33
|
-
-
|
34
|
-
version: 3.2.
|
33
|
+
- 0
|
34
|
+
version: 3.2.0
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
37
|
description: "\n This gem makes updating specified number fields by ActiveRecord in unusual way.\n\n Instead of generating sql script to update value in usual way like this:\n\n UPDATE users\n SET money = 10\n WHERE id = 1;\n\n It replaces it with\n\n UPDATE users\n SET money = money + d\n WHERE id = 1;\n\n where d is difference between old value and new value of that field.\n\n This solves problem with simultaneous updating of the same field by different threads.\n\n Source code: https://github.com/izbor/delta_attributes\n "
|