has_moderated 1.0.rc4 → 1.0.rc5

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_moderated
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.rc4
4
+ version: 1.0.rc5
5
5
  prerelease: 4
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-07 00:00:00.000000000 Z
12
+ date: 2012-06-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -75,22 +75,6 @@ dependencies:
75
75
  - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
- - !ruby/object:Gem::Dependency
79
- name: rails3-generators
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: '0'
86
- type: :development
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
94
78
  - !ruby/object:Gem::Dependency
95
79
  name: pry
96
80
  requirement: !ruby/object:Gem::Requirement
@@ -197,6 +181,7 @@ files:
197
181
  - lib/has_moderated/moderated_create.rb
198
182
  - lib/has_moderated/moderated_destroy.rb
199
183
  - lib/has_moderated/moderation_model.rb
184
+ - lib/has_moderated/moderation_preview.rb
200
185
  - lib/has_moderated/user_hooks.rb
201
186
  - lib/has_moderated/version.rb
202
187
  - lib/has_moderated.rb
@@ -209,10 +194,6 @@ files:
209
194
  - test/dummy/app/controllers/application_controller.rb
210
195
  - test/dummy/app/helpers/application_helper.rb
211
196
  - test/dummy/app/models/moderation.rb
212
- - test/dummy/app/models/photo.rb
213
- - test/dummy/app/models/subtask.rb
214
- - test/dummy/app/models/task.rb
215
- - test/dummy/app/models/task_connection.rb
216
197
  - test/dummy/app/uploaders/generic_uploader.rb
217
198
  - test/dummy/app/views/layouts/application.html.erb
218
199
  - test/dummy/config/application.rb
@@ -231,24 +212,25 @@ files:
231
212
  - test/dummy/config/locales/en.yml
232
213
  - test/dummy/config/routes.rb
233
214
  - test/dummy/config.ru
215
+ - test/dummy/db/development.sqlite3
234
216
  - test/dummy/db/migrate/20120520215008_initial_schema.rb
235
217
  - test/dummy/db/migrate/20120520215224_create_photos.rb
236
218
  - test/dummy/db/schema.rb
237
219
  - test/dummy/db/test.sqlite3
238
220
  - test/dummy/Guardfile
221
+ - test/dummy/log/development.log
239
222
  - test/dummy/log/test.log
240
223
  - test/dummy/public/404.html
241
224
  - test/dummy/public/422.html
242
225
  - test/dummy/public/500.html
243
226
  - test/dummy/public/favicon.ico
244
227
  - test/dummy/public/test.jpg
245
- - test/dummy/public/uploads/photo/avatar/1/test.jpg
246
- - test/dummy/public/uploads/photo/avatar/1/thumb_test.jpg
247
228
  - test/dummy/Rakefile
248
229
  - test/dummy/script/rails
249
230
  - test/dummy/spec/models/photo_spec.rb
250
231
  - test/dummy/spec/models/task_spec.rb
251
232
  - test/dummy/spec/spec_helper.rb
233
+ - test/dummy/spec/support/crazy_models.rb
252
234
  - test/dummy/spec/support/photos.rb
253
235
  homepage: https://github.com/mrbrdo/has_moderated
254
236
  licenses: []
@@ -264,7 +246,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
264
246
  version: '0'
265
247
  segments:
266
248
  - 0
267
- hash: 1531856163626643736
249
+ hash: 1309660592926023235
268
250
  required_rubygems_version: !ruby/object:Gem::Requirement
269
251
  none: false
270
252
  requirements:
@@ -283,10 +265,6 @@ test_files:
283
265
  - test/dummy/app/controllers/application_controller.rb
284
266
  - test/dummy/app/helpers/application_helper.rb
285
267
  - test/dummy/app/models/moderation.rb
286
- - test/dummy/app/models/photo.rb
287
- - test/dummy/app/models/subtask.rb
288
- - test/dummy/app/models/task.rb
289
- - test/dummy/app/models/task_connection.rb
290
268
  - test/dummy/app/uploaders/generic_uploader.rb
291
269
  - test/dummy/app/views/layouts/application.html.erb
292
270
  - test/dummy/config/application.rb
@@ -305,22 +283,23 @@ test_files:
305
283
  - test/dummy/config/locales/en.yml
306
284
  - test/dummy/config/routes.rb
307
285
  - test/dummy/config.ru
286
+ - test/dummy/db/development.sqlite3
308
287
  - test/dummy/db/migrate/20120520215008_initial_schema.rb
309
288
  - test/dummy/db/migrate/20120520215224_create_photos.rb
310
289
  - test/dummy/db/schema.rb
311
290
  - test/dummy/db/test.sqlite3
312
291
  - test/dummy/Guardfile
292
+ - test/dummy/log/development.log
313
293
  - test/dummy/log/test.log
314
294
  - test/dummy/public/404.html
315
295
  - test/dummy/public/422.html
316
296
  - test/dummy/public/500.html
317
297
  - test/dummy/public/favicon.ico
318
298
  - test/dummy/public/test.jpg
319
- - test/dummy/public/uploads/photo/avatar/1/test.jpg
320
- - test/dummy/public/uploads/photo/avatar/1/thumb_test.jpg
321
299
  - test/dummy/Rakefile
322
300
  - test/dummy/script/rails
323
301
  - test/dummy/spec/models/photo_spec.rb
324
302
  - test/dummy/spec/models/task_spec.rb
325
303
  - test/dummy/spec/spec_helper.rb
304
+ - test/dummy/spec/support/crazy_models.rb
326
305
  - test/dummy/spec/support/photos.rb
@@ -1,4 +0,0 @@
1
- class Photo < ActiveRecord::Base
2
- mount_uploader :avatar, GenericUploader
3
- mount_uploader :picture, GenericUploader
4
- end
@@ -1,4 +0,0 @@
1
- class Subtask < ActiveRecord::Base
2
- attr_accessible :title, :desc
3
- belongs_to :task
4
- end
@@ -1,3 +0,0 @@
1
- class Task < ActiveRecord::Base
2
- attr_accessible :title, :desc
3
- end
@@ -1,4 +0,0 @@
1
- class TaskConnection < ActiveRecord::Base
2
- belongs_to :renamed_task, :class_name => "Task", :foreign_key => "m1_id"
3
- belongs_to :renamed_subtask, :class_name => "Subtask", :foreign_key => "m2_id"
4
- end