zombie_record 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +4 -0
- data/gemfiles/rails4.0.gemfile.lock +1 -1
- data/gemfiles/rails4.1.gemfile.lock +1 -1
- data/gemfiles/rails4.2.gemfile +5 -0
- data/gemfiles/rails4.2.gemfile.lock +64 -0
- data/lib/zombie_record/version.rb +1 -1
- data/spec/spec_helper.rb +6 -6
- metadata +26 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2279da46085c6a22c53a3be53536ea888bb86673
|
4
|
+
data.tar.gz: f87bba4fbc5bcd4ffe74fceb3cb5996e9c2e702f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cb938c7087b92ff5e53078bfccf991d05bc96f78e22b97d3647461c2907d267e999f84e0c1fe0b366cffe0dd0bee6cd400ab0d8e844710489c780e4b6ac5a75
|
7
|
+
data.tar.gz: dfa50f92929de5e5e20248c7344b4373551eb89e7b43f0e196a12bdf5d32f568d8bb8348c8e8c71bc98d396e35287f04eb2dba0f862ed779ad56b66141ad05c4
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -0,0 +1,64 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../
|
3
|
+
specs:
|
4
|
+
zombie_record (1.1.1)
|
5
|
+
activerecord (~> 4.0)
|
6
|
+
mysql2
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activemodel (4.2.0)
|
12
|
+
activesupport (= 4.2.0)
|
13
|
+
builder (~> 3.1)
|
14
|
+
activerecord (4.2.0)
|
15
|
+
activemodel (= 4.2.0)
|
16
|
+
activesupport (= 4.2.0)
|
17
|
+
arel (~> 6.0)
|
18
|
+
activesupport (4.2.0)
|
19
|
+
i18n (~> 0.7)
|
20
|
+
json (~> 1.7, >= 1.7.7)
|
21
|
+
minitest (~> 5.1)
|
22
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
23
|
+
tzinfo (~> 1.1)
|
24
|
+
arel (6.0.0)
|
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)
|
32
|
+
diff-lcs (1.2.5)
|
33
|
+
i18n (0.7.0)
|
34
|
+
json (1.8.1)
|
35
|
+
minitest (5.5.0)
|
36
|
+
mysql2 (0.3.17)
|
37
|
+
rake (10.4.2)
|
38
|
+
rspec (2.14.1)
|
39
|
+
rspec-core (~> 2.14.0)
|
40
|
+
rspec-expectations (~> 2.14.0)
|
41
|
+
rspec-mocks (~> 2.14.0)
|
42
|
+
rspec-core (2.14.8)
|
43
|
+
rspec-expectations (2.14.5)
|
44
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
45
|
+
rspec-mocks (2.14.6)
|
46
|
+
slop (3.6.0)
|
47
|
+
thread_safe (0.3.4)
|
48
|
+
timecop (0.7.1)
|
49
|
+
tzinfo (1.2.2)
|
50
|
+
thread_safe (~> 0.1)
|
51
|
+
wwtd (0.7.0)
|
52
|
+
|
53
|
+
PLATFORMS
|
54
|
+
ruby
|
55
|
+
|
56
|
+
DEPENDENCIES
|
57
|
+
activerecord (~> 4.2.0)
|
58
|
+
bundler (~> 1.3)
|
59
|
+
byebug
|
60
|
+
rake
|
61
|
+
rspec (~> 2.14.1)
|
62
|
+
timecop (~> 0.7.0)
|
63
|
+
wwtd (>= 0.5.3)
|
64
|
+
zombie_record!
|
data/spec/spec_helper.rb
CHANGED
@@ -85,14 +85,14 @@ RSpec.configure do |config|
|
|
85
85
|
create_table :books do |t|
|
86
86
|
t.integer :author_id
|
87
87
|
t.integer :library_id
|
88
|
-
t.timestamps
|
88
|
+
t.timestamps null: false
|
89
89
|
t.string :title
|
90
90
|
t.timestamp :deleted_at
|
91
91
|
end
|
92
92
|
|
93
93
|
create_table :chapters do |t|
|
94
94
|
t.integer :book_id
|
95
|
-
t.timestamps
|
95
|
+
t.timestamps null: false
|
96
96
|
t.timestamp :deleted_at
|
97
97
|
end
|
98
98
|
|
@@ -104,7 +104,7 @@ RSpec.configure do |config|
|
|
104
104
|
|
105
105
|
create_table :notes do |t|
|
106
106
|
t.integer :book_id
|
107
|
-
t.timestamps
|
107
|
+
t.timestamps null: false
|
108
108
|
end
|
109
109
|
|
110
110
|
create_table :tags do |t|
|
@@ -116,17 +116,17 @@ RSpec.configure do |config|
|
|
116
116
|
|
117
117
|
create_table :covers do |t|
|
118
118
|
t.integer :book_id
|
119
|
-
t.timestamps
|
119
|
+
t.timestamps null: false
|
120
120
|
t.timestamp :deleted_at
|
121
121
|
end
|
122
122
|
|
123
123
|
create_table :authors do |t|
|
124
|
-
t.timestamps
|
124
|
+
t.timestamps null: false
|
125
125
|
t.timestamp :deleted_at
|
126
126
|
end
|
127
127
|
|
128
128
|
create_table :libraries do |t|
|
129
|
-
t.timestamps
|
129
|
+
t.timestamps null: false
|
130
130
|
t.timestamp :deleted_at
|
131
131
|
end
|
132
132
|
end
|
metadata
CHANGED
@@ -1,125 +1,125 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zombie_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Schierbeck
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-02 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
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mysql2
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.3'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: byebug
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 2.14.1
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 2.14.1
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: timecop
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 0.7.0
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 0.7.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: wwtd
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: 0.5.3
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 0.5.3
|
125
125
|
description: Allows restoring your Active Records from the dead!
|
@@ -129,9 +129,9 @@ executables: []
|
|
129
129
|
extensions: []
|
130
130
|
extra_rdoc_files: []
|
131
131
|
files:
|
132
|
-
- .gitignore
|
133
|
-
- .rspec
|
134
|
-
- .travis.yml
|
132
|
+
- ".gitignore"
|
133
|
+
- ".rspec"
|
134
|
+
- ".travis.yml"
|
135
135
|
- CHANGELOG.md
|
136
136
|
- Gemfile
|
137
137
|
- LICENSE.txt
|
@@ -141,6 +141,8 @@ files:
|
|
141
141
|
- gemfiles/rails4.0.gemfile.lock
|
142
142
|
- gemfiles/rails4.1.gemfile
|
143
143
|
- gemfiles/rails4.1.gemfile.lock
|
144
|
+
- gemfiles/rails4.2.gemfile
|
145
|
+
- gemfiles/rails4.2.gemfile.lock
|
144
146
|
- lib/zombie_record.rb
|
145
147
|
- lib/zombie_record/restorable.rb
|
146
148
|
- lib/zombie_record/version.rb
|
@@ -157,17 +159,17 @@ require_paths:
|
|
157
159
|
- lib
|
158
160
|
required_ruby_version: !ruby/object:Gem::Requirement
|
159
161
|
requirements:
|
160
|
-
- -
|
162
|
+
- - ">="
|
161
163
|
- !ruby/object:Gem::Version
|
162
164
|
version: '0'
|
163
165
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
164
166
|
requirements:
|
165
|
-
- -
|
167
|
+
- - ">="
|
166
168
|
- !ruby/object:Gem::Version
|
167
169
|
version: '0'
|
168
170
|
requirements: []
|
169
171
|
rubyforge_project:
|
170
|
-
rubygems_version: 2.
|
172
|
+
rubygems_version: 2.2.2
|
171
173
|
signing_key:
|
172
174
|
specification_version: 4
|
173
175
|
summary: Allows restoring your Active Records from the dead!
|