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 CHANGED
@@ -54,7 +54,7 @@ Or install it yourself as:
54
54
 
55
55
  UPDATE users SET money = money + 2 where id = 1
56
56
 
57
- Tested with rails 3.2.8.
57
+ Tested with rails 3.2.0, 3.2.8, 3.2.9.
58
58
 
59
59
  ## Contributing
60
60
 
@@ -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.8"
39
+ gem.add_dependency "rails", "~> 3.2.0"
40
40
  end
@@ -1,3 +1,3 @@
1
1
  module DeltaAttributes
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  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: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
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: 31
29
+ hash: 15
30
30
  segments:
31
31
  - 3
32
32
  - 2
33
- - 8
34
- version: 3.2.8
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 "