ar_transaction_changes 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d955fbf768a1e7ee34f34f116e57391650cd3c36
4
- data.tar.gz: d0ebf9173f2b24e511564694b884d2109dab6ef7
3
+ metadata.gz: dee69d077e80d97ea14b3bfd42f5c72b29efe5cb
4
+ data.tar.gz: 3cdaee8e653e2887654511ba94f7ce0472a2a05d
5
5
  SHA512:
6
- metadata.gz: d07c753b3c0e2dbc84b4914aadf47457541b2c494d6f7d3f9754d798e769bf09303b078b747b0fc1804639374ee1e74d411e1221a9c0253fe50748c2cc554a7d
7
- data.tar.gz: f02d83027de58832ebdad0f4ce65dc7c759ee7f885669e5228b48a065475a6c2d8218e229b301bf2262cd434da80d879ec03a5490333de6a406b35e207d928b5
6
+ metadata.gz: 6f16fa2f099397788016cbdd12ed8af5d2bf5fea01584de3b2750e495800794b8604abc0f42f85810098ed020380b9e370cd4f697d27d41f6cb9a1661daaff23
7
+ data.tar.gz: 607698eba2112879f2b49b52c08e8fa51648fe6bf03ac221389ef3a33f740643b8f0a05c1d4cefaa75585061dd8b2e16d86ec599be1e2d740e2b3a56207e2829
data/Appraisals CHANGED
@@ -1,13 +1,16 @@
1
1
  appraise "rails-3-2" do
2
2
  gem "rails", "~> 3.2.21"
3
+ gem "mysql2", "~> 0.3.20"
3
4
  end
4
5
 
5
6
  appraise "rails-4-0" do
6
7
  gem "rails", "~> 4.0.12"
8
+ gem "mysql2", "~> 0.3.20"
7
9
  end
8
10
 
9
11
  appraise "rails-4-1" do
10
12
  gem "rails", "~> 4.1.8"
13
+ gem "mysql2", "~> 0.3.20"
11
14
  end
12
15
 
13
16
  appraise "rails-4-2" do
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.email = ["Dylan.Smith@shopify.com"]
11
11
  gem.description = %q{Solves the problem of trying to get all the changes to an object during a transaction in an after_commit callbacks.}
12
12
  gem.summary = %q{Store transaction changes for active record objects}
13
- gem.homepage = ""
13
+ gem.homepage = "https://github.com/dylanahsmith/ar_transaction_changes"
14
14
 
15
15
  gem.files = `git ls-files`.split($/)
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -3,5 +3,6 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~> 3.2.21"
6
+ gem "mysql2", "~> 0.3.20"
6
7
 
7
8
  gemspec :path => "../"
@@ -3,5 +3,6 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~> 4.0.12"
6
+ gem "mysql2", "~> 0.3.20"
6
7
 
7
8
  gemspec :path => "../"
@@ -3,5 +3,6 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~> 4.1.8"
6
+ gem "mysql2", "~> 0.3.20"
6
7
 
7
8
  gemspec :path => "../"
@@ -40,7 +40,7 @@ module ArTransactionChanges
40
40
  end
41
41
 
42
42
  def transaction_changed_attributes
43
- changed_attributes.merge(@transaction_changed_attributes || {})
43
+ changed_attributes.merge(@transaction_changed_attributes ||= {})
44
44
  end
45
45
 
46
46
  private
@@ -1,3 +1,3 @@
1
1
  module ArTransactionChanges
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ar_transaction_changes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Thacker-Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-16 00:00:00.000000000 Z
11
+ date: 2016-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -98,7 +98,7 @@ files:
98
98
  - test/models/user.rb
99
99
  - test/test_helper.rb
100
100
  - test/transaction_changes_test.rb
101
- homepage: ''
101
+ homepage: https://github.com/dylanahsmith/ar_transaction_changes
102
102
  licenses: []
103
103
  metadata: {}
104
104
  post_install_message:
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  requirements: []
119
119
  rubyforge_project:
120
- rubygems_version: 2.2.2
120
+ rubygems_version: 2.4.5.1
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Store transaction changes for active record objects