zombie_record 1.2.0 → 1.3.0

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: 5e85b5f05f1f16bf87dd233fffc48ce5de64b287
4
- data.tar.gz: 9fd0bbbceb85da7aa8059ddec935ae64d396ae71
3
+ metadata.gz: d3f8292fbf152824abdd2e88b7e565f883d591a6
4
+ data.tar.gz: e17a37b90ca66b26cc27330847cad5a9cd5e5bd3
5
5
  SHA512:
6
- metadata.gz: a3410a21df7c423829dc0256d411196aa6ac6a9db75d7ed85eaef31bfa32cec609a1bccca047d83873e9d11efc53884cc6cb3f1f882165335f2598cd5696a14a
7
- data.tar.gz: ef0ecdbc21fc042297e195a999efb8fe27cc10513f89761ee60b3af0ae77d4326b9e7dc71d32b2ea07c0568742e8ffd8087421c8bfcb6fdc6daed56270acc526
6
+ metadata.gz: 8b453ed7119257f5380b4b08e22228b1f27d05324c2bfeaae644f4118d40c9e91e0da5149cfa33920f748cfecc86c130cf3720e372d71075435f968d2d1d0af7
7
+ data.tar.gz: 6c9e58b70d2454fc1a09aa8fcd93196bf88aa48e424127d5a764ad87da0b8158e3e51f350a74656ac280aa218650b4d095cd1ff0406c03b34f9c435e9b4947ae
data/.travis.yml CHANGED
@@ -1,9 +1,14 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
3
+ - 2.1.8
4
+ - 2.2.4
4
5
  gemfile:
5
- - gemfiles/rails4.0.gemfile
6
6
  - gemfiles/rails4.1.gemfile
7
7
  - gemfiles/rails4.2.gemfile
8
+ - gemfiles/rails5.0.gemfile
8
9
  bundler_args: ""
9
10
  script: "bundle exec rake spec"
11
+ matrix:
12
+ exclude:
13
+ - rvm: 2.1.8
14
+ gemfile: gemfiles/rails5.0.gemfile
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ###### Unreleased
2
2
 
3
+ ###### v1.3.0
4
+
5
+ * Test against Rails 5.0.
6
+
3
7
  ###### v1.2.0
4
8
 
5
9
  * Fix counter_cache behavior in Rails 4.2.
data/README.md CHANGED
@@ -46,7 +46,7 @@ Book.find(42) # returns the Book record.
46
46
 
47
47
  ## Compatibility
48
48
 
49
- Zombie Record only works with Active Record 4. For Active Record 3 compatibility, check out the activerecord-3 branch of this gem.
49
+ Zombie Record only works with Active Record >= 4. For Active Record 3 compatibility, check out the activerecord-3 branch of this gem.
50
50
 
51
51
  ## Contributing
52
52
 
@@ -3,3 +3,4 @@ source 'https://rubygems.org'
3
3
  gemspec path: "../"
4
4
 
5
5
  gem "activerecord", "~> 4.1.8"
6
+ gem "mysql2", "~> 0.3.0"
@@ -1,21 +1,21 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- zombie_record (1.2.0)
5
- activerecord (~> 4.0)
4
+ zombie_record (1.3.0)
5
+ activerecord (>= 4.0, < 5.1)
6
6
  mysql2
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (4.1.8)
12
- activesupport (= 4.1.8)
11
+ activemodel (4.1.14)
12
+ activesupport (= 4.1.14)
13
13
  builder (~> 3.1)
14
- activerecord (4.1.8)
15
- activemodel (= 4.1.8)
16
- activesupport (= 4.1.8)
14
+ activerecord (4.1.14)
15
+ activemodel (= 4.1.14)
16
+ activesupport (= 4.1.14)
17
17
  arel (~> 5.0.0)
18
- activesupport (4.1.8)
18
+ activesupport (4.1.14)
19
19
  i18n (~> 0.6, >= 0.6.9)
20
20
  json (~> 1.7, >= 1.7.7)
21
21
  minitest (~> 5.1)
@@ -23,18 +23,13 @@ GEM
23
23
  tzinfo (~> 1.1)
24
24
  arel (5.0.1.20140414130214)
25
25
  builder (3.2.2)
26
- byebug (3.5.1)
27
- columnize (~> 0.8)
28
- debugger-linecache (~> 1.2)
29
- slop (~> 3.6)
30
- columnize (0.8.9)
31
- debugger-linecache (1.2.0)
26
+ byebug (8.2.1)
32
27
  diff-lcs (1.2.5)
33
- i18n (0.6.11)
34
- json (1.8.1)
35
- minitest (5.4.3)
36
- mysql2 (0.3.19)
37
- rake (10.3.2)
28
+ i18n (0.7.0)
29
+ json (1.8.3)
30
+ minitest (5.8.3)
31
+ mysql2 (0.3.20)
32
+ rake (10.4.2)
38
33
  rspec (2.14.1)
39
34
  rspec-core (~> 2.14.0)
40
35
  rspec-expectations (~> 2.14.0)
@@ -43,12 +38,11 @@ GEM
43
38
  rspec-expectations (2.14.5)
44
39
  diff-lcs (>= 1.1.3, < 2.0)
45
40
  rspec-mocks (2.14.6)
46
- slop (3.6.0)
47
- thread_safe (0.3.4)
48
- timecop (0.7.1)
41
+ thread_safe (0.3.5)
42
+ timecop (0.7.4)
49
43
  tzinfo (1.2.2)
50
44
  thread_safe (~> 0.1)
51
- wwtd (0.5.5)
45
+ wwtd (1.3.0)
52
46
 
53
47
  PLATFORMS
54
48
  ruby
@@ -57,6 +51,7 @@ DEPENDENCIES
57
51
  activerecord (~> 4.1.8)
58
52
  bundler (~> 1.3)
59
53
  byebug
54
+ mysql2 (~> 0.3.0)
60
55
  rake
61
56
  rspec (~> 2.14.1)
62
57
  timecop (~> 0.7.0)
@@ -64,4 +59,4 @@ DEPENDENCIES
64
59
  zombie_record!
65
60
 
66
61
  BUNDLED WITH
67
- 1.10.6
62
+ 1.11.2
@@ -1,39 +1,34 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- zombie_record (1.2.0)
5
- activerecord (~> 4.0)
4
+ zombie_record (1.3.0)
5
+ activerecord (>= 4.0, < 5.1)
6
6
  mysql2
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (4.2.0)
12
- activesupport (= 4.2.0)
11
+ activemodel (4.2.5)
12
+ activesupport (= 4.2.5)
13
13
  builder (~> 3.1)
14
- activerecord (4.2.0)
15
- activemodel (= 4.2.0)
16
- activesupport (= 4.2.0)
14
+ activerecord (4.2.5)
15
+ activemodel (= 4.2.5)
16
+ activesupport (= 4.2.5)
17
17
  arel (~> 6.0)
18
- activesupport (4.2.0)
18
+ activesupport (4.2.5)
19
19
  i18n (~> 0.7)
20
20
  json (~> 1.7, >= 1.7.7)
21
21
  minitest (~> 5.1)
22
22
  thread_safe (~> 0.3, >= 0.3.4)
23
23
  tzinfo (~> 1.1)
24
- arel (6.0.0)
24
+ arel (6.0.3)
25
25
  builder (3.2.2)
26
- byebug (3.5.1)
27
- columnize (~> 0.8)
28
- debugger-linecache (~> 1.2)
29
- slop (~> 3.6)
30
- columnize (0.9.0)
31
- debugger-linecache (1.2.0)
26
+ byebug (8.2.1)
32
27
  diff-lcs (1.2.5)
33
28
  i18n (0.7.0)
34
- json (1.8.1)
35
- minitest (5.5.0)
36
- mysql2 (0.3.19)
29
+ json (1.8.3)
30
+ minitest (5.8.3)
31
+ mysql2 (0.4.2)
37
32
  rake (10.4.2)
38
33
  rspec (2.14.1)
39
34
  rspec-core (~> 2.14.0)
@@ -43,12 +38,11 @@ GEM
43
38
  rspec-expectations (2.14.5)
44
39
  diff-lcs (>= 1.1.3, < 2.0)
45
40
  rspec-mocks (2.14.6)
46
- slop (3.6.0)
47
- thread_safe (0.3.4)
48
- timecop (0.7.1)
41
+ thread_safe (0.3.5)
42
+ timecop (0.7.4)
49
43
  tzinfo (1.2.2)
50
44
  thread_safe (~> 0.1)
51
- wwtd (0.7.0)
45
+ wwtd (1.3.0)
52
46
 
53
47
  PLATFORMS
54
48
  ruby
@@ -64,4 +58,4 @@ DEPENDENCIES
64
58
  zombie_record!
65
59
 
66
60
  BUNDLED WITH
67
- 1.10.6
61
+ 1.11.2
@@ -2,4 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec path: "../"
4
4
 
5
- gem "activerecord", "~> 4.0.12"
5
+ gem "activerecord", "~> 5.0.0.beta1"
@@ -0,0 +1,64 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ zombie_record (1.3.0)
5
+ activerecord (>= 4.0, < 5.1)
6
+ mysql2
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (5.0.0.beta1)
12
+ activesupport (= 5.0.0.beta1)
13
+ builder (~> 3.1)
14
+ activerecord (5.0.0.beta1)
15
+ activemodel (= 5.0.0.beta1)
16
+ activesupport (= 5.0.0.beta1)
17
+ arel (~> 7.0)
18
+ activesupport (5.0.0.beta1)
19
+ concurrent-ruby (~> 1.0)
20
+ i18n (~> 0.7)
21
+ json (~> 1.7, >= 1.7.7)
22
+ method_source
23
+ minitest (~> 5.1)
24
+ tzinfo (~> 1.1)
25
+ arel (7.0.0)
26
+ builder (3.2.2)
27
+ byebug (8.2.1)
28
+ concurrent-ruby (1.0.0)
29
+ diff-lcs (1.2.5)
30
+ i18n (0.7.0)
31
+ json (1.8.3)
32
+ method_source (0.8.2)
33
+ minitest (5.8.3)
34
+ mysql2 (0.4.2)
35
+ rake (10.4.2)
36
+ rspec (2.14.1)
37
+ rspec-core (~> 2.14.0)
38
+ rspec-expectations (~> 2.14.0)
39
+ rspec-mocks (~> 2.14.0)
40
+ rspec-core (2.14.8)
41
+ rspec-expectations (2.14.5)
42
+ diff-lcs (>= 1.1.3, < 2.0)
43
+ rspec-mocks (2.14.6)
44
+ thread_safe (0.3.5)
45
+ timecop (0.7.4)
46
+ tzinfo (1.2.2)
47
+ thread_safe (~> 0.1)
48
+ wwtd (1.3.0)
49
+
50
+ PLATFORMS
51
+ ruby
52
+
53
+ DEPENDENCIES
54
+ activerecord (~> 5.0.0.beta1)
55
+ bundler (~> 1.3)
56
+ byebug
57
+ rake
58
+ rspec (~> 2.14.1)
59
+ timecop (~> 0.7.0)
60
+ wwtd (>= 0.5.3)
61
+ zombie_record!
62
+
63
+ BUNDLED WITH
64
+ 1.11.2
@@ -1,3 +1,3 @@
1
1
  module ZombieRecord
2
- VERSION = "1.2.0"
2
+ VERSION = "1.3.0"
3
3
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "activerecord", "~> 4.0"
21
+ spec.add_dependency "activerecord", ">= 4.0", "< 5.1"
22
22
  spec.add_dependency "mysql2"
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.3"
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zombie_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Schierbeck
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-24 00:00:00.000000000 Z
11
+ date: 2015-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.1'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '4.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.1'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: mysql2
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -137,12 +143,12 @@ files:
137
143
  - LICENSE.txt
138
144
  - README.md
139
145
  - Rakefile
140
- - gemfiles/rails4.0.gemfile
141
- - gemfiles/rails4.0.gemfile.lock
142
146
  - gemfiles/rails4.1.gemfile
143
147
  - gemfiles/rails4.1.gemfile.lock
144
148
  - gemfiles/rails4.2.gemfile
145
149
  - gemfiles/rails4.2.gemfile.lock
150
+ - gemfiles/rails5.0.gemfile
151
+ - gemfiles/rails5.0.gemfile.lock
146
152
  - lib/zombie_record.rb
147
153
  - lib/zombie_record/restorable.rb
148
154
  - lib/zombie_record/version.rb
@@ -169,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
175
  version: '0'
170
176
  requirements: []
171
177
  rubyforge_project:
172
- rubygems_version: 2.4.5
178
+ rubygems_version: 2.5.0
173
179
  signing_key:
174
180
  specification_version: 4
175
181
  summary: Allows restoring your Active Records from the dead!
@@ -1,68 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- zombie_record (1.2.0)
5
- activerecord (~> 4.0)
6
- mysql2
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- activemodel (4.0.12)
12
- activesupport (= 4.0.12)
13
- builder (~> 3.1.0)
14
- activerecord (4.0.12)
15
- activemodel (= 4.0.12)
16
- activerecord-deprecated_finders (~> 1.0.2)
17
- activesupport (= 4.0.12)
18
- arel (~> 4.0.0)
19
- activerecord-deprecated_finders (1.0.3)
20
- activesupport (4.0.12)
21
- i18n (~> 0.6, >= 0.6.9)
22
- minitest (~> 4.2)
23
- multi_json (~> 1.3)
24
- thread_safe (~> 0.1)
25
- tzinfo (~> 0.3.37)
26
- arel (4.0.2)
27
- builder (3.1.4)
28
- byebug (3.5.1)
29
- columnize (~> 0.8)
30
- debugger-linecache (~> 1.2)
31
- slop (~> 3.6)
32
- columnize (0.8.9)
33
- debugger-linecache (1.2.0)
34
- diff-lcs (1.2.5)
35
- i18n (0.6.11)
36
- minitest (4.7.5)
37
- multi_json (1.10.1)
38
- mysql2 (0.3.19)
39
- rake (10.3.2)
40
- rspec (2.14.1)
41
- rspec-core (~> 2.14.0)
42
- rspec-expectations (~> 2.14.0)
43
- rspec-mocks (~> 2.14.0)
44
- rspec-core (2.14.8)
45
- rspec-expectations (2.14.5)
46
- diff-lcs (>= 1.1.3, < 2.0)
47
- rspec-mocks (2.14.6)
48
- slop (3.6.0)
49
- thread_safe (0.3.4)
50
- timecop (0.7.1)
51
- tzinfo (0.3.42)
52
- wwtd (0.5.5)
53
-
54
- PLATFORMS
55
- ruby
56
-
57
- DEPENDENCIES
58
- activerecord (~> 4.0.12)
59
- bundler (~> 1.3)
60
- byebug
61
- rake
62
- rspec (~> 2.14.1)
63
- timecop (~> 0.7.0)
64
- wwtd (>= 0.5.3)
65
- zombie_record!
66
-
67
- BUNDLED WITH
68
- 1.10.6