archivist 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/archivist/base.rb +1 -0
- data/lib/archivist/version.rb +6 -1
- data/test/base_test.rb +2 -2
- data/test/dummy/config/database.yml +4 -10
- data/test/dummy/log/test.log +11603 -0
- data/test/test_helper.rb +2 -1
- metadata +226 -258
data/test/test_helper.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# Configure Rails Environment
|
2
2
|
ENV["RAILS_ENV"] = "test"
|
3
|
+
ENV['ADAPTER_TYPE'] = (RUBY_PLATFORM == 'java' ? 'jdbc' : 'native')
|
3
4
|
|
4
5
|
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
6
|
require "rails/test_help"
|
@@ -9,7 +10,7 @@ if FactoryGirl.factories.first.nil?
|
|
9
10
|
FactoryGirl.find_definitions
|
10
11
|
end
|
11
12
|
|
12
|
-
if RUBY_VERSION < "1.9"
|
13
|
+
if RUBY_VERSION < "1.9" || RUBY_PLATFORM == 'java'
|
13
14
|
require 'ruby-debug'
|
14
15
|
else
|
15
16
|
require 'debugger'
|
metadata
CHANGED
@@ -1,159 +1,133 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: archivist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 19
|
5
4
|
prerelease:
|
6
|
-
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 1.1.0
|
5
|
+
version: 1.1.1
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
|
-
- Tyler Pickett
|
8
|
+
- Tyler Pickett
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date: 2012-
|
13
|
+
date: 2012-07-17 00:00:00 Z
|
19
14
|
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
- !ruby/object:Gem::Dependency
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
- 3
|
131
|
-
- 0
|
132
|
-
version: "3.0"
|
133
|
-
type: :development
|
134
|
-
version_requirements: *id008
|
135
|
-
- !ruby/object:Gem::Dependency
|
136
|
-
name: rails
|
137
|
-
prerelease: false
|
138
|
-
requirement: &id009 !ruby/object:Gem::Requirement
|
139
|
-
none: false
|
140
|
-
requirements:
|
141
|
-
- - ">="
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
hash: 7
|
144
|
-
segments:
|
145
|
-
- 3
|
146
|
-
- 0
|
147
|
-
- 0
|
148
|
-
version: 3.0.0
|
149
|
-
type: :development
|
150
|
-
version_requirements: *id009
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: activerecord
|
17
|
+
prerelease: false
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 3.0.0
|
24
|
+
type: :runtime
|
25
|
+
version_requirements: *id001
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: minitest
|
28
|
+
prerelease: false
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: "0"
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id002
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: rake
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: "0"
|
46
|
+
type: :development
|
47
|
+
version_requirements: *id003
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: shoulda
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: "0"
|
57
|
+
type: :development
|
58
|
+
version_requirements: *id004
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: appraisal
|
61
|
+
prerelease: false
|
62
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: "0"
|
68
|
+
type: :development
|
69
|
+
version_requirements: *id005
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: jruby-openssl
|
72
|
+
prerelease: false
|
73
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: "0"
|
79
|
+
type: :development
|
80
|
+
version_requirements: *id006
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: activerecord-jdbcmysql-adapter
|
83
|
+
prerelease: false
|
84
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: "0"
|
90
|
+
type: :development
|
91
|
+
version_requirements: *id007
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: ruby-debug
|
94
|
+
prerelease: false
|
95
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
96
|
+
none: false
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: "0"
|
101
|
+
type: :development
|
102
|
+
version_requirements: *id008
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: factory_girl
|
105
|
+
prerelease: false
|
106
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
108
|
+
requirements:
|
109
|
+
- - <
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: "3.0"
|
112
|
+
type: :development
|
113
|
+
version_requirements: *id009
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
name: rails
|
116
|
+
prerelease: false
|
117
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
118
|
+
none: false
|
119
|
+
requirements:
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 3.0.0
|
123
|
+
type: :development
|
124
|
+
version_requirements: *id010
|
151
125
|
description: |-
|
152
126
|
This is a functional replacement for acts_as_archive in
|
153
127
|
rails 3 applications, the only functionality that is not
|
154
128
|
duplicated is the migration from acts_as_paranoid
|
155
129
|
email:
|
156
|
-
- t.pickett66@gmail.com
|
130
|
+
- t.pickett66@gmail.com
|
157
131
|
executables: []
|
158
132
|
|
159
133
|
extensions: []
|
@@ -161,63 +135,63 @@ extensions: []
|
|
161
135
|
extra_rdoc_files: []
|
162
136
|
|
163
137
|
files:
|
164
|
-
- lib/archivist
|
165
|
-
- lib/archivist/
|
166
|
-
- lib/archivist/base.rb
|
167
|
-
- lib/archivist/migration.rb
|
168
|
-
- lib/archivist/version.rb
|
169
|
-
- lib/archivist.rb
|
170
|
-
- lib/tasks/archivist_tasks.rake
|
171
|
-
- MIT-LICENSE
|
172
|
-
- Rakefile
|
173
|
-
- README.rdoc
|
174
|
-
- test/archive_test.rb
|
175
|
-
- test/archivist_test.rb
|
176
|
-
- test/base_test.rb
|
177
|
-
- test/
|
178
|
-
- test/
|
179
|
-
- test/
|
180
|
-
- test/
|
181
|
-
- test/dummy/
|
182
|
-
- test/dummy/
|
183
|
-
- test/dummy/
|
184
|
-
- test/dummy/app/
|
185
|
-
- test/dummy/app/
|
186
|
-
- test/dummy/
|
187
|
-
- test/dummy/
|
188
|
-
- test/dummy/
|
189
|
-
- test/dummy/
|
190
|
-
- test/dummy/
|
191
|
-
- test/dummy/config/
|
192
|
-
- test/dummy/config/
|
193
|
-
- test/dummy/config/
|
194
|
-
- test/dummy/config/
|
195
|
-
- test/dummy/config/
|
196
|
-
- test/dummy/config/
|
197
|
-
- test/dummy/config/
|
198
|
-
- test/dummy/config/
|
199
|
-
- test/dummy/config/
|
200
|
-
- test/dummy/config/
|
201
|
-
- test/dummy/config.
|
202
|
-
- test/dummy/
|
203
|
-
- test/dummy/
|
204
|
-
- test/dummy/
|
205
|
-
- test/dummy/
|
206
|
-
- test/dummy/
|
207
|
-
- test/dummy/
|
208
|
-
- test/dummy/
|
209
|
-
- test/dummy/
|
210
|
-
- test/dummy/
|
211
|
-
- test/dummy/
|
212
|
-
- test/dummy/
|
213
|
-
- test/dummy/
|
214
|
-
- test/dummy/
|
215
|
-
- test/dummy/
|
216
|
-
- test/dummy/test/
|
217
|
-
- test/dummy/test/
|
218
|
-
- test/
|
219
|
-
- test/
|
220
|
-
- test/
|
138
|
+
- lib/archivist.rb
|
139
|
+
- lib/archivist/archive.rb
|
140
|
+
- lib/archivist/base.rb
|
141
|
+
- lib/archivist/migration.rb
|
142
|
+
- lib/archivist/version.rb
|
143
|
+
- lib/archivist/base/db.rb
|
144
|
+
- lib/tasks/archivist_tasks.rake
|
145
|
+
- MIT-LICENSE
|
146
|
+
- Rakefile
|
147
|
+
- README.rdoc
|
148
|
+
- test/archive_test.rb
|
149
|
+
- test/archivist_test.rb
|
150
|
+
- test/base_test.rb
|
151
|
+
- test/db_test.rb
|
152
|
+
- test/migration_test.rb
|
153
|
+
- test/test_helper.rb
|
154
|
+
- test/db/migrate/01_add_to_some_models.rb
|
155
|
+
- test/dummy/config.ru
|
156
|
+
- test/dummy/Rakefile
|
157
|
+
- test/dummy/README.rdoc
|
158
|
+
- test/dummy/app/assets/javascripts/application.js
|
159
|
+
- test/dummy/app/assets/stylesheets/application.css
|
160
|
+
- test/dummy/app/controllers/application_controller.rb
|
161
|
+
- test/dummy/app/helpers/application_helper.rb
|
162
|
+
- test/dummy/app/models/another_model.rb
|
163
|
+
- test/dummy/app/models/some_model.rb
|
164
|
+
- test/dummy/app/views/layouts/application.html.erb
|
165
|
+
- test/dummy/config/application.rb
|
166
|
+
- test/dummy/config/boot.rb
|
167
|
+
- test/dummy/config/database.yml
|
168
|
+
- test/dummy/config/environment.rb
|
169
|
+
- test/dummy/config/routes.rb
|
170
|
+
- test/dummy/config/environments/development.rb
|
171
|
+
- test/dummy/config/environments/production.rb
|
172
|
+
- test/dummy/config/environments/test.rb
|
173
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
174
|
+
- test/dummy/config/initializers/inflections.rb
|
175
|
+
- test/dummy/config/initializers/mime_types.rb
|
176
|
+
- test/dummy/config/initializers/secret_token.rb
|
177
|
+
- test/dummy/config/initializers/session_store.rb
|
178
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
179
|
+
- test/dummy/config/locales/en.yml
|
180
|
+
- test/dummy/db/schema.rb
|
181
|
+
- test/dummy/db/test.sqlite3
|
182
|
+
- test/dummy/lib/this_module.rb
|
183
|
+
- test/dummy/log/development.log
|
184
|
+
- test/dummy/log/test.log
|
185
|
+
- test/dummy/public/404.html
|
186
|
+
- test/dummy/public/422.html
|
187
|
+
- test/dummy/public/500.html
|
188
|
+
- test/dummy/public/favicon.ico
|
189
|
+
- test/dummy/script/rails
|
190
|
+
- test/dummy/test/fixtures/another_models.yml
|
191
|
+
- test/dummy/test/fixtures/some_models.yml
|
192
|
+
- test/dummy/test/unit/another_model_test.rb
|
193
|
+
- test/dummy/test/unit/some_model_test.rb
|
194
|
+
- test/factories/some_model_factory.rb
|
221
195
|
homepage: http://github.com/tpickett66/archivist
|
222
196
|
licenses: []
|
223
197
|
|
@@ -225,77 +199,71 @@ post_install_message:
|
|
225
199
|
rdoc_options: []
|
226
200
|
|
227
201
|
require_paths:
|
228
|
-
- lib
|
202
|
+
- lib
|
229
203
|
required_ruby_version: !ruby/object:Gem::Requirement
|
230
204
|
none: false
|
231
205
|
requirements:
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
segments:
|
236
|
-
- 0
|
237
|
-
version: "0"
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: "0"
|
238
209
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
210
|
none: false
|
240
211
|
requirements:
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
segments:
|
245
|
-
- 0
|
246
|
-
version: "0"
|
212
|
+
- - ">="
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: "0"
|
247
215
|
requirements: []
|
248
216
|
|
249
217
|
rubyforge_project:
|
250
|
-
rubygems_version: 1.8.
|
218
|
+
rubygems_version: 1.8.15
|
251
219
|
signing_key:
|
252
220
|
specification_version: 3
|
253
221
|
summary: A rails 3 model archiving system based on acts_as_archive
|
254
222
|
test_files:
|
255
|
-
- test/archive_test.rb
|
256
|
-
- test/archivist_test.rb
|
257
|
-
- test/base_test.rb
|
258
|
-
- test/
|
259
|
-
- test/
|
260
|
-
- test/
|
261
|
-
- test/
|
262
|
-
- test/dummy/
|
263
|
-
- test/dummy/
|
264
|
-
- test/dummy/
|
265
|
-
- test/dummy/app/
|
266
|
-
- test/dummy/app/
|
267
|
-
- test/dummy/
|
268
|
-
- test/dummy/
|
269
|
-
- test/dummy/
|
270
|
-
- test/dummy/
|
271
|
-
- test/dummy/
|
272
|
-
- test/dummy/config/
|
273
|
-
- test/dummy/config/
|
274
|
-
- test/dummy/config/
|
275
|
-
- test/dummy/config/
|
276
|
-
- test/dummy/config/
|
277
|
-
- test/dummy/config/
|
278
|
-
- test/dummy/config/
|
279
|
-
- test/dummy/config/
|
280
|
-
- test/dummy/config/
|
281
|
-
- test/dummy/config/
|
282
|
-
- test/dummy/config.
|
283
|
-
- test/dummy/
|
284
|
-
- test/dummy/
|
285
|
-
- test/dummy/
|
286
|
-
- test/dummy/
|
287
|
-
- test/dummy/
|
288
|
-
- test/dummy/
|
289
|
-
- test/dummy/
|
290
|
-
- test/dummy/
|
291
|
-
- test/dummy/
|
292
|
-
- test/dummy/
|
293
|
-
- test/dummy/
|
294
|
-
- test/dummy/
|
295
|
-
- test/dummy/
|
296
|
-
- test/dummy/
|
297
|
-
- test/dummy/test/
|
298
|
-
- test/dummy/test/
|
299
|
-
- test/
|
300
|
-
- test/
|
301
|
-
- test/
|
223
|
+
- test/archive_test.rb
|
224
|
+
- test/archivist_test.rb
|
225
|
+
- test/base_test.rb
|
226
|
+
- test/db_test.rb
|
227
|
+
- test/migration_test.rb
|
228
|
+
- test/test_helper.rb
|
229
|
+
- test/db/migrate/01_add_to_some_models.rb
|
230
|
+
- test/dummy/config.ru
|
231
|
+
- test/dummy/Rakefile
|
232
|
+
- test/dummy/README.rdoc
|
233
|
+
- test/dummy/app/assets/javascripts/application.js
|
234
|
+
- test/dummy/app/assets/stylesheets/application.css
|
235
|
+
- test/dummy/app/controllers/application_controller.rb
|
236
|
+
- test/dummy/app/helpers/application_helper.rb
|
237
|
+
- test/dummy/app/models/another_model.rb
|
238
|
+
- test/dummy/app/models/some_model.rb
|
239
|
+
- test/dummy/app/views/layouts/application.html.erb
|
240
|
+
- test/dummy/config/application.rb
|
241
|
+
- test/dummy/config/boot.rb
|
242
|
+
- test/dummy/config/database.yml
|
243
|
+
- test/dummy/config/environment.rb
|
244
|
+
- test/dummy/config/routes.rb
|
245
|
+
- test/dummy/config/environments/development.rb
|
246
|
+
- test/dummy/config/environments/production.rb
|
247
|
+
- test/dummy/config/environments/test.rb
|
248
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
249
|
+
- test/dummy/config/initializers/inflections.rb
|
250
|
+
- test/dummy/config/initializers/mime_types.rb
|
251
|
+
- test/dummy/config/initializers/secret_token.rb
|
252
|
+
- test/dummy/config/initializers/session_store.rb
|
253
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
254
|
+
- test/dummy/config/locales/en.yml
|
255
|
+
- test/dummy/db/schema.rb
|
256
|
+
- test/dummy/db/test.sqlite3
|
257
|
+
- test/dummy/lib/this_module.rb
|
258
|
+
- test/dummy/log/development.log
|
259
|
+
- test/dummy/log/test.log
|
260
|
+
- test/dummy/public/404.html
|
261
|
+
- test/dummy/public/422.html
|
262
|
+
- test/dummy/public/500.html
|
263
|
+
- test/dummy/public/favicon.ico
|
264
|
+
- test/dummy/script/rails
|
265
|
+
- test/dummy/test/fixtures/another_models.yml
|
266
|
+
- test/dummy/test/fixtures/some_models.yml
|
267
|
+
- test/dummy/test/unit/another_model_test.rb
|
268
|
+
- test/dummy/test/unit/some_model_test.rb
|
269
|
+
- test/factories/some_model_factory.rb
|