archivist 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- segments:
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-06-26 00:00:00 Z
13
+ date: 2012-07-17 00:00:00 Z
19
14
  dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: activerecord
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 7
29
- segments:
30
- - 3
31
- - 0
32
- - 0
33
- version: 3.0.0
34
- type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: minitest
38
- prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
40
- none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 3
45
- segments:
46
- - 0
47
- version: "0"
48
- type: :development
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: rake
52
- prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
54
- none: false
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- hash: 3
59
- segments:
60
- - 0
61
- version: "0"
62
- type: :development
63
- version_requirements: *id003
64
- - !ruby/object:Gem::Dependency
65
- name: shoulda
66
- prerelease: false
67
- requirement: &id004 !ruby/object:Gem::Requirement
68
- none: false
69
- requirements:
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- hash: 3
73
- segments:
74
- - 0
75
- version: "0"
76
- type: :development
77
- version_requirements: *id004
78
- - !ruby/object:Gem::Dependency
79
- name: appraisal
80
- prerelease: false
81
- requirement: &id005 !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- hash: 3
87
- segments:
88
- - 0
89
- version: "0"
90
- type: :development
91
- version_requirements: *id005
92
- - !ruby/object:Gem::Dependency
93
- name: mysql2
94
- prerelease: false
95
- requirement: &id006 !ruby/object:Gem::Requirement
96
- none: false
97
- requirements:
98
- - - ">="
99
- - !ruby/object:Gem::Version
100
- hash: 3
101
- segments:
102
- - 0
103
- version: "0"
104
- type: :development
105
- version_requirements: *id006
106
- - !ruby/object:Gem::Dependency
107
- name: ruby-debug
108
- prerelease: false
109
- requirement: &id007 !ruby/object:Gem::Requirement
110
- none: false
111
- requirements:
112
- - - ">="
113
- - !ruby/object:Gem::Version
114
- hash: 3
115
- segments:
116
- - 0
117
- version: "0"
118
- type: :development
119
- version_requirements: *id007
120
- - !ruby/object:Gem::Dependency
121
- name: factory_girl
122
- prerelease: false
123
- requirement: &id008 !ruby/object:Gem::Requirement
124
- none: false
125
- requirements:
126
- - - <
127
- - !ruby/object:Gem::Version
128
- hash: 7
129
- segments:
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/archive.rb
165
- - lib/archivist/base/db.rb
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/db/migrate/01_add_to_some_models.rb
178
- - test/db_test.rb
179
- - test/dummy/app/assets/javascripts/application.js
180
- - test/dummy/app/assets/stylesheets/application.css
181
- - test/dummy/app/controllers/application_controller.rb
182
- - test/dummy/app/helpers/application_helper.rb
183
- - test/dummy/app/models/another_model.rb
184
- - test/dummy/app/models/some_model.rb
185
- - test/dummy/app/views/layouts/application.html.erb
186
- - test/dummy/config/application.rb
187
- - test/dummy/config/boot.rb
188
- - test/dummy/config/database.yml
189
- - test/dummy/config/environment.rb
190
- - test/dummy/config/environments/development.rb
191
- - test/dummy/config/environments/production.rb
192
- - test/dummy/config/environments/test.rb
193
- - test/dummy/config/initializers/backtrace_silencers.rb
194
- - test/dummy/config/initializers/inflections.rb
195
- - test/dummy/config/initializers/mime_types.rb
196
- - test/dummy/config/initializers/secret_token.rb
197
- - test/dummy/config/initializers/session_store.rb
198
- - test/dummy/config/initializers/wrap_parameters.rb
199
- - test/dummy/config/locales/en.yml
200
- - test/dummy/config/routes.rb
201
- - test/dummy/config.ru
202
- - test/dummy/db/schema.rb
203
- - test/dummy/db/test.sqlite3
204
- - test/dummy/lib/this_module.rb
205
- - test/dummy/log/development.log
206
- - test/dummy/log/test.log
207
- - test/dummy/public/404.html
208
- - test/dummy/public/422.html
209
- - test/dummy/public/500.html
210
- - test/dummy/public/favicon.ico
211
- - test/dummy/Rakefile
212
- - test/dummy/README.rdoc
213
- - test/dummy/script/rails
214
- - test/dummy/test/fixtures/another_models.yml
215
- - test/dummy/test/fixtures/some_models.yml
216
- - test/dummy/test/unit/another_model_test.rb
217
- - test/dummy/test/unit/some_model_test.rb
218
- - test/factories/some_model_factory.rb
219
- - test/migration_test.rb
220
- - test/test_helper.rb
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
- - !ruby/object:Gem::Version
234
- hash: 3
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
- - !ruby/object:Gem::Version
243
- hash: 3
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.17
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/db/migrate/01_add_to_some_models.rb
259
- - test/db_test.rb
260
- - test/dummy/app/assets/javascripts/application.js
261
- - test/dummy/app/assets/stylesheets/application.css
262
- - test/dummy/app/controllers/application_controller.rb
263
- - test/dummy/app/helpers/application_helper.rb
264
- - test/dummy/app/models/another_model.rb
265
- - test/dummy/app/models/some_model.rb
266
- - test/dummy/app/views/layouts/application.html.erb
267
- - test/dummy/config/application.rb
268
- - test/dummy/config/boot.rb
269
- - test/dummy/config/database.yml
270
- - test/dummy/config/environment.rb
271
- - test/dummy/config/environments/development.rb
272
- - test/dummy/config/environments/production.rb
273
- - test/dummy/config/environments/test.rb
274
- - test/dummy/config/initializers/backtrace_silencers.rb
275
- - test/dummy/config/initializers/inflections.rb
276
- - test/dummy/config/initializers/mime_types.rb
277
- - test/dummy/config/initializers/secret_token.rb
278
- - test/dummy/config/initializers/session_store.rb
279
- - test/dummy/config/initializers/wrap_parameters.rb
280
- - test/dummy/config/locales/en.yml
281
- - test/dummy/config/routes.rb
282
- - test/dummy/config.ru
283
- - test/dummy/db/schema.rb
284
- - test/dummy/db/test.sqlite3
285
- - test/dummy/lib/this_module.rb
286
- - test/dummy/log/development.log
287
- - test/dummy/log/test.log
288
- - test/dummy/public/404.html
289
- - test/dummy/public/422.html
290
- - test/dummy/public/500.html
291
- - test/dummy/public/favicon.ico
292
- - test/dummy/Rakefile
293
- - test/dummy/README.rdoc
294
- - test/dummy/script/rails
295
- - test/dummy/test/fixtures/another_models.yml
296
- - test/dummy/test/fixtures/some_models.yml
297
- - test/dummy/test/unit/another_model_test.rb
298
- - test/dummy/test/unit/some_model_test.rb
299
- - test/factories/some_model_factory.rb
300
- - test/migration_test.rb
301
- - test/test_helper.rb
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