pulitzer 0.1.10 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/pulitzer.js +19 -0
- data/app/controllers/pulitzer/content_elements_controller.rb +10 -4
- data/app/controllers/pulitzer/versions_controller.rb +2 -16
- data/app/interactions/pulitzer/clone_version.rb +15 -19
- data/app/interactions/pulitzer/update_version_status.rb +27 -0
- data/app/jobs/pulitzer/clone_version_job.rb +10 -0
- data/app/jobs/pulitzer/reprocess_content_image_job.rb +9 -0
- data/app/models/pulitzer/content_element.rb +42 -0
- data/app/models/pulitzer/post.rb +7 -0
- data/app/models/pulitzer/post_tag.rb +6 -0
- data/app/models/pulitzer/version.rb +1 -1
- data/app/uploaders/pulitzer/image_uploader.rb +16 -4
- data/app/views/pulitzer/content_elements/index_processing.html.erb +1 -0
- data/lib/pulitzer.rb +9 -1
- data/lib/pulitzer/content_element_helper.rb +46 -0
- data/lib/pulitzer/engine.rb +6 -0
- data/lib/pulitzer/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +12912 -0
- data/spec/dummy/public/uploads/tmp/1453327522-88240-8875/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327522-88240-8875/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327522-88240-8875/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327846-88664-1819/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327846-88664-1819/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327846-88664-1819/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327891-88742-0077/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327891-88742-0077/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327891-88742-0077/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327908-88792-8689/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327908-88792-8689/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327908-88792-8689/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327942-88859-9073/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327942-88859-9073/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327942-88859-9073/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328584-89616-8416/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328584-89616-8416/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328584-89616-8416/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328600-89648-3830/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328600-89648-3830/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328600-89648-3830/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328621-89685-3083/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328621-89685-3083/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328621-89685-3083/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328659-89747-3646/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328659-89747-3646/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328659-89747-3646/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328908-90227-0244/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328908-90227-0244/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328908-90227-0244/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328976-90335-7466/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328976-90335-7466/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328976-90335-7466/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453329010-90384-7488/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453329010-90384-7488/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453329010-90384-7488/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453329018-90436-7916/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453329018-90436-7916/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453329018-90436-7916/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393083-47505-1178/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393083-47505-1178/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393083-47505-1178/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393088-47594-1406/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393088-47594-1406/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393088-47594-1406/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393124-47630-8343/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393124-47630-8343/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393124-47630-8343/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393148-47674-3845/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393148-47674-3845/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393148-47674-3845/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393221-47816-8142/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393221-47816-8142/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393221-47816-8142/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393870-48546-6445/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393870-48546-6445/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393870-48546-6445/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393926-48624-7189/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393926-48624-7189/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393926-48624-7189/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393989-48708-0009/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393989-48708-0009/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393989-48708-0009/thumb_sam_and_snow.jpg +0 -0
- data/spec/interactions/clone_version_spec.rb +2 -4
- data/spec/interactions/update_version_status_spec.rb +29 -0
- data/spec/models/version_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- metadata +195 -2
@@ -2,17 +2,15 @@ require 'rails_helper'
|
|
2
2
|
|
3
3
|
describe Pulitzer::CloneVersion do
|
4
4
|
let(:version) { create(:version, :with_content_elements) }
|
5
|
-
let(:new_version) { create(:version)}
|
6
5
|
|
7
6
|
it 'Clones version content elements' do
|
8
7
|
expect(version.content_elements.size).to eq 3
|
9
|
-
|
10
|
-
Pulitzer::CloneVersion.new(version, new_version).call
|
8
|
+
new_version = Pulitzer::CloneVersion.new(version).call
|
11
9
|
expect(new_version.content_elements.size).to eq 3
|
12
10
|
end
|
13
11
|
|
14
12
|
it 'Clones a valid content element' do
|
15
|
-
Pulitzer::CloneVersion.new(version
|
13
|
+
new_version = Pulitzer::CloneVersion.new(version).call
|
16
14
|
content_element = new_version.content_elements.first
|
17
15
|
expect(content_element.title).to eq "Night's Watch"
|
18
16
|
expect(content_element.label).to match "Slide 1 content element"
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
describe Pulitzer::UpdateVersionStatus do
|
4
|
+
let(:version) { create(:version, :with_content_elements) }
|
5
|
+
let(:post) { version.post }
|
6
|
+
it 'activates a version' do
|
7
|
+
expect(version.status).to eq 'preview'
|
8
|
+
Pulitzer::UpdateVersionStatus.new(version,:active).call
|
9
|
+
expect(post.active_version.id).to eq version.id
|
10
|
+
expect(post.preview_version).to be_instance_of Pulitzer::Version
|
11
|
+
expect(post.preview_version.id).not_to eq version.id
|
12
|
+
expect(post.preview_version.content_elements.count).to eq 3
|
13
|
+
end
|
14
|
+
|
15
|
+
it 'abandons a version' do
|
16
|
+
expect(version.status).to eq 'preview'
|
17
|
+
Pulitzer::UpdateVersionStatus.new(version,:active).call
|
18
|
+
version.reload
|
19
|
+
expect(version.status).to eq 'active'
|
20
|
+
preview = post.preview_version
|
21
|
+
Pulitzer::UpdateVersionStatus.new(preview,:abandoned).call
|
22
|
+
preview.reload
|
23
|
+
abandoned = preview
|
24
|
+
expect(abandoned.status).to eq 'abandoned'
|
25
|
+
expect(post.preview_version).to be_instance_of Pulitzer::Version
|
26
|
+
expect(post.preview_version.id).not_to eq abandoned.id
|
27
|
+
expect(post.preview_version.content_elements.count).to eq 3
|
28
|
+
end
|
29
|
+
end
|
data/spec/models/version_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulitzer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Draut
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-01-
|
12
|
+
date: 2016-01-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -231,6 +231,66 @@ dependencies:
|
|
231
231
|
- - "~>"
|
232
232
|
- !ruby/object:Gem::Version
|
233
233
|
version: '8.0'
|
234
|
+
- !ruby/object:Gem::Dependency
|
235
|
+
name: pry-rails
|
236
|
+
requirement: !ruby/object:Gem::Requirement
|
237
|
+
requirements:
|
238
|
+
- - "~>"
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
version: '0.3'
|
241
|
+
- - "<"
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '1.0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - "~>"
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0.3'
|
251
|
+
- - "<"
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
version: '1.0'
|
254
|
+
- !ruby/object:Gem::Dependency
|
255
|
+
name: pry-nav
|
256
|
+
requirement: !ruby/object:Gem::Requirement
|
257
|
+
requirements:
|
258
|
+
- - "~>"
|
259
|
+
- !ruby/object:Gem::Version
|
260
|
+
version: 0.2.4
|
261
|
+
- - "<"
|
262
|
+
- !ruby/object:Gem::Version
|
263
|
+
version: '1.0'
|
264
|
+
type: :development
|
265
|
+
prerelease: false
|
266
|
+
version_requirements: !ruby/object:Gem::Requirement
|
267
|
+
requirements:
|
268
|
+
- - "~>"
|
269
|
+
- !ruby/object:Gem::Version
|
270
|
+
version: 0.2.4
|
271
|
+
- - "<"
|
272
|
+
- !ruby/object:Gem::Version
|
273
|
+
version: '1.0'
|
274
|
+
- !ruby/object:Gem::Dependency
|
275
|
+
name: pry-remote
|
276
|
+
requirement: !ruby/object:Gem::Requirement
|
277
|
+
requirements:
|
278
|
+
- - '='
|
279
|
+
- !ruby/object:Gem::Version
|
280
|
+
version: 0.1.8
|
281
|
+
- - "<"
|
282
|
+
- !ruby/object:Gem::Version
|
283
|
+
version: '1.0'
|
284
|
+
type: :development
|
285
|
+
prerelease: false
|
286
|
+
version_requirements: !ruby/object:Gem::Requirement
|
287
|
+
requirements:
|
288
|
+
- - '='
|
289
|
+
- !ruby/object:Gem::Version
|
290
|
+
version: 0.1.8
|
291
|
+
- - "<"
|
292
|
+
- !ruby/object:Gem::Version
|
293
|
+
version: '1.0'
|
234
294
|
- !ruby/object:Gem::Dependency
|
235
295
|
name: cancancan
|
236
296
|
requirement: !ruby/object:Gem::Requirement
|
@@ -335,6 +395,9 @@ files:
|
|
335
395
|
- app/interactions/pulitzer/destroy_post_type_content_elements.rb
|
336
396
|
- app/interactions/pulitzer/update_post_type_content_elements.rb
|
337
397
|
- app/interactions/pulitzer/update_singleton_post.rb
|
398
|
+
- app/interactions/pulitzer/update_version_status.rb
|
399
|
+
- app/jobs/pulitzer/clone_version_job.rb
|
400
|
+
- app/jobs/pulitzer/reprocess_content_image_job.rb
|
338
401
|
- app/models/pulitzer/content_element.rb
|
339
402
|
- app/models/pulitzer/content_element_type.rb
|
340
403
|
- app/models/pulitzer/post.rb
|
@@ -353,6 +416,7 @@ files:
|
|
353
416
|
- app/views/pulitzer/content_elements/_text_fields.html.erb
|
354
417
|
- app/views/pulitzer/content_elements/_video_fields.html.erb
|
355
418
|
- app/views/pulitzer/content_elements/index.html.erb
|
419
|
+
- app/views/pulitzer/content_elements/index_processing.html.erb
|
356
420
|
- app/views/pulitzer/post_tags/_new.html.erb
|
357
421
|
- app/views/pulitzer/post_tags/_show.html.erb
|
358
422
|
- app/views/pulitzer/post_tags/_show_wrapper.html.erb
|
@@ -396,6 +460,7 @@ files:
|
|
396
460
|
- db/migrate/20151116162508_change_template_to_pulitzer_post_types.rb
|
397
461
|
- db/migrate/20151118031237_add_kind_to_pulitzer_content_elements.rb
|
398
462
|
- lib/pulitzer.rb
|
463
|
+
- lib/pulitzer/content_element_helper.rb
|
399
464
|
- lib/pulitzer/engine.rb
|
400
465
|
- lib/pulitzer/version.rb
|
401
466
|
- lib/tasks/pulitzer_tasks.rake
|
@@ -451,6 +516,69 @@ files:
|
|
451
516
|
- spec/dummy/public/uploads/tmp/1452811005-24393-0063/thumb_sam_and_snow.jpg
|
452
517
|
- spec/dummy/public/uploads/tmp/1452811173-24792-0199/sam_and_snow.jpg
|
453
518
|
- spec/dummy/public/uploads/tmp/1452811173-24792-0199/thumb_sam_and_snow.jpg
|
519
|
+
- spec/dummy/public/uploads/tmp/1453327522-88240-8875/cms_sam_and_snow.jpg
|
520
|
+
- spec/dummy/public/uploads/tmp/1453327522-88240-8875/sam_and_snow.jpg
|
521
|
+
- spec/dummy/public/uploads/tmp/1453327522-88240-8875/thumb_sam_and_snow.jpg
|
522
|
+
- spec/dummy/public/uploads/tmp/1453327846-88664-1819/cms_sam_and_snow.jpg
|
523
|
+
- spec/dummy/public/uploads/tmp/1453327846-88664-1819/sam_and_snow.jpg
|
524
|
+
- spec/dummy/public/uploads/tmp/1453327846-88664-1819/thumb_sam_and_snow.jpg
|
525
|
+
- spec/dummy/public/uploads/tmp/1453327891-88742-0077/cms_sam_and_snow.jpg
|
526
|
+
- spec/dummy/public/uploads/tmp/1453327891-88742-0077/sam_and_snow.jpg
|
527
|
+
- spec/dummy/public/uploads/tmp/1453327891-88742-0077/thumb_sam_and_snow.jpg
|
528
|
+
- spec/dummy/public/uploads/tmp/1453327908-88792-8689/cms_sam_and_snow.jpg
|
529
|
+
- spec/dummy/public/uploads/tmp/1453327908-88792-8689/sam_and_snow.jpg
|
530
|
+
- spec/dummy/public/uploads/tmp/1453327908-88792-8689/thumb_sam_and_snow.jpg
|
531
|
+
- spec/dummy/public/uploads/tmp/1453327942-88859-9073/cms_sam_and_snow.jpg
|
532
|
+
- spec/dummy/public/uploads/tmp/1453327942-88859-9073/sam_and_snow.jpg
|
533
|
+
- spec/dummy/public/uploads/tmp/1453327942-88859-9073/thumb_sam_and_snow.jpg
|
534
|
+
- spec/dummy/public/uploads/tmp/1453328584-89616-8416/cms_sam_and_snow.jpg
|
535
|
+
- spec/dummy/public/uploads/tmp/1453328584-89616-8416/sam_and_snow.jpg
|
536
|
+
- spec/dummy/public/uploads/tmp/1453328584-89616-8416/thumb_sam_and_snow.jpg
|
537
|
+
- spec/dummy/public/uploads/tmp/1453328600-89648-3830/cms_sam_and_snow.jpg
|
538
|
+
- spec/dummy/public/uploads/tmp/1453328600-89648-3830/sam_and_snow.jpg
|
539
|
+
- spec/dummy/public/uploads/tmp/1453328600-89648-3830/thumb_sam_and_snow.jpg
|
540
|
+
- spec/dummy/public/uploads/tmp/1453328621-89685-3083/cms_sam_and_snow.jpg
|
541
|
+
- spec/dummy/public/uploads/tmp/1453328621-89685-3083/sam_and_snow.jpg
|
542
|
+
- spec/dummy/public/uploads/tmp/1453328621-89685-3083/thumb_sam_and_snow.jpg
|
543
|
+
- spec/dummy/public/uploads/tmp/1453328659-89747-3646/cms_sam_and_snow.jpg
|
544
|
+
- spec/dummy/public/uploads/tmp/1453328659-89747-3646/sam_and_snow.jpg
|
545
|
+
- spec/dummy/public/uploads/tmp/1453328659-89747-3646/thumb_sam_and_snow.jpg
|
546
|
+
- spec/dummy/public/uploads/tmp/1453328908-90227-0244/cms_sam_and_snow.jpg
|
547
|
+
- spec/dummy/public/uploads/tmp/1453328908-90227-0244/sam_and_snow.jpg
|
548
|
+
- spec/dummy/public/uploads/tmp/1453328908-90227-0244/thumb_sam_and_snow.jpg
|
549
|
+
- spec/dummy/public/uploads/tmp/1453328976-90335-7466/cms_sam_and_snow.jpg
|
550
|
+
- spec/dummy/public/uploads/tmp/1453328976-90335-7466/sam_and_snow.jpg
|
551
|
+
- spec/dummy/public/uploads/tmp/1453328976-90335-7466/thumb_sam_and_snow.jpg
|
552
|
+
- spec/dummy/public/uploads/tmp/1453329010-90384-7488/cms_sam_and_snow.jpg
|
553
|
+
- spec/dummy/public/uploads/tmp/1453329010-90384-7488/sam_and_snow.jpg
|
554
|
+
- spec/dummy/public/uploads/tmp/1453329010-90384-7488/thumb_sam_and_snow.jpg
|
555
|
+
- spec/dummy/public/uploads/tmp/1453329018-90436-7916/cms_sam_and_snow.jpg
|
556
|
+
- spec/dummy/public/uploads/tmp/1453329018-90436-7916/sam_and_snow.jpg
|
557
|
+
- spec/dummy/public/uploads/tmp/1453329018-90436-7916/thumb_sam_and_snow.jpg
|
558
|
+
- spec/dummy/public/uploads/tmp/1453393083-47505-1178/cms_sam_and_snow.jpg
|
559
|
+
- spec/dummy/public/uploads/tmp/1453393083-47505-1178/sam_and_snow.jpg
|
560
|
+
- spec/dummy/public/uploads/tmp/1453393083-47505-1178/thumb_sam_and_snow.jpg
|
561
|
+
- spec/dummy/public/uploads/tmp/1453393088-47594-1406/cms_sam_and_snow.jpg
|
562
|
+
- spec/dummy/public/uploads/tmp/1453393088-47594-1406/sam_and_snow.jpg
|
563
|
+
- spec/dummy/public/uploads/tmp/1453393088-47594-1406/thumb_sam_and_snow.jpg
|
564
|
+
- spec/dummy/public/uploads/tmp/1453393124-47630-8343/cms_sam_and_snow.jpg
|
565
|
+
- spec/dummy/public/uploads/tmp/1453393124-47630-8343/sam_and_snow.jpg
|
566
|
+
- spec/dummy/public/uploads/tmp/1453393124-47630-8343/thumb_sam_and_snow.jpg
|
567
|
+
- spec/dummy/public/uploads/tmp/1453393148-47674-3845/cms_sam_and_snow.jpg
|
568
|
+
- spec/dummy/public/uploads/tmp/1453393148-47674-3845/sam_and_snow.jpg
|
569
|
+
- spec/dummy/public/uploads/tmp/1453393148-47674-3845/thumb_sam_and_snow.jpg
|
570
|
+
- spec/dummy/public/uploads/tmp/1453393221-47816-8142/cms_sam_and_snow.jpg
|
571
|
+
- spec/dummy/public/uploads/tmp/1453393221-47816-8142/sam_and_snow.jpg
|
572
|
+
- spec/dummy/public/uploads/tmp/1453393221-47816-8142/thumb_sam_and_snow.jpg
|
573
|
+
- spec/dummy/public/uploads/tmp/1453393870-48546-6445/cms_sam_and_snow.jpg
|
574
|
+
- spec/dummy/public/uploads/tmp/1453393870-48546-6445/sam_and_snow.jpg
|
575
|
+
- spec/dummy/public/uploads/tmp/1453393870-48546-6445/thumb_sam_and_snow.jpg
|
576
|
+
- spec/dummy/public/uploads/tmp/1453393926-48624-7189/cms_sam_and_snow.jpg
|
577
|
+
- spec/dummy/public/uploads/tmp/1453393926-48624-7189/sam_and_snow.jpg
|
578
|
+
- spec/dummy/public/uploads/tmp/1453393926-48624-7189/thumb_sam_and_snow.jpg
|
579
|
+
- spec/dummy/public/uploads/tmp/1453393989-48708-0009/cms_sam_and_snow.jpg
|
580
|
+
- spec/dummy/public/uploads/tmp/1453393989-48708-0009/sam_and_snow.jpg
|
581
|
+
- spec/dummy/public/uploads/tmp/1453393989-48708-0009/thumb_sam_and_snow.jpg
|
454
582
|
- spec/factories/content_element.rb
|
455
583
|
- spec/factories/content_element_type.rb
|
456
584
|
- spec/factories/post.rb
|
@@ -461,6 +589,7 @@ files:
|
|
461
589
|
- spec/factories/version.rb
|
462
590
|
- spec/interactions/clone_version_spec.rb
|
463
591
|
- spec/interactions/create_post_content_elements_spec.rb
|
592
|
+
- spec/interactions/update_version_status_spec.rb
|
464
593
|
- spec/lib/pulitzer_spec.rb
|
465
594
|
- spec/models/content_element_spec.rb
|
466
595
|
- spec/models/post_spec.rb
|
@@ -547,6 +676,69 @@ test_files:
|
|
547
676
|
- spec/dummy/public/uploads/tmp/1452811005-24393-0063/thumb_sam_and_snow.jpg
|
548
677
|
- spec/dummy/public/uploads/tmp/1452811173-24792-0199/sam_and_snow.jpg
|
549
678
|
- spec/dummy/public/uploads/tmp/1452811173-24792-0199/thumb_sam_and_snow.jpg
|
679
|
+
- spec/dummy/public/uploads/tmp/1453327522-88240-8875/cms_sam_and_snow.jpg
|
680
|
+
- spec/dummy/public/uploads/tmp/1453327522-88240-8875/sam_and_snow.jpg
|
681
|
+
- spec/dummy/public/uploads/tmp/1453327522-88240-8875/thumb_sam_and_snow.jpg
|
682
|
+
- spec/dummy/public/uploads/tmp/1453327846-88664-1819/cms_sam_and_snow.jpg
|
683
|
+
- spec/dummy/public/uploads/tmp/1453327846-88664-1819/sam_and_snow.jpg
|
684
|
+
- spec/dummy/public/uploads/tmp/1453327846-88664-1819/thumb_sam_and_snow.jpg
|
685
|
+
- spec/dummy/public/uploads/tmp/1453327891-88742-0077/cms_sam_and_snow.jpg
|
686
|
+
- spec/dummy/public/uploads/tmp/1453327891-88742-0077/sam_and_snow.jpg
|
687
|
+
- spec/dummy/public/uploads/tmp/1453327891-88742-0077/thumb_sam_and_snow.jpg
|
688
|
+
- spec/dummy/public/uploads/tmp/1453327908-88792-8689/cms_sam_and_snow.jpg
|
689
|
+
- spec/dummy/public/uploads/tmp/1453327908-88792-8689/sam_and_snow.jpg
|
690
|
+
- spec/dummy/public/uploads/tmp/1453327908-88792-8689/thumb_sam_and_snow.jpg
|
691
|
+
- spec/dummy/public/uploads/tmp/1453327942-88859-9073/cms_sam_and_snow.jpg
|
692
|
+
- spec/dummy/public/uploads/tmp/1453327942-88859-9073/sam_and_snow.jpg
|
693
|
+
- spec/dummy/public/uploads/tmp/1453327942-88859-9073/thumb_sam_and_snow.jpg
|
694
|
+
- spec/dummy/public/uploads/tmp/1453328584-89616-8416/cms_sam_and_snow.jpg
|
695
|
+
- spec/dummy/public/uploads/tmp/1453328584-89616-8416/sam_and_snow.jpg
|
696
|
+
- spec/dummy/public/uploads/tmp/1453328584-89616-8416/thumb_sam_and_snow.jpg
|
697
|
+
- spec/dummy/public/uploads/tmp/1453328600-89648-3830/cms_sam_and_snow.jpg
|
698
|
+
- spec/dummy/public/uploads/tmp/1453328600-89648-3830/sam_and_snow.jpg
|
699
|
+
- spec/dummy/public/uploads/tmp/1453328600-89648-3830/thumb_sam_and_snow.jpg
|
700
|
+
- spec/dummy/public/uploads/tmp/1453328621-89685-3083/cms_sam_and_snow.jpg
|
701
|
+
- spec/dummy/public/uploads/tmp/1453328621-89685-3083/sam_and_snow.jpg
|
702
|
+
- spec/dummy/public/uploads/tmp/1453328621-89685-3083/thumb_sam_and_snow.jpg
|
703
|
+
- spec/dummy/public/uploads/tmp/1453328659-89747-3646/cms_sam_and_snow.jpg
|
704
|
+
- spec/dummy/public/uploads/tmp/1453328659-89747-3646/sam_and_snow.jpg
|
705
|
+
- spec/dummy/public/uploads/tmp/1453328659-89747-3646/thumb_sam_and_snow.jpg
|
706
|
+
- spec/dummy/public/uploads/tmp/1453328908-90227-0244/cms_sam_and_snow.jpg
|
707
|
+
- spec/dummy/public/uploads/tmp/1453328908-90227-0244/sam_and_snow.jpg
|
708
|
+
- spec/dummy/public/uploads/tmp/1453328908-90227-0244/thumb_sam_and_snow.jpg
|
709
|
+
- spec/dummy/public/uploads/tmp/1453328976-90335-7466/cms_sam_and_snow.jpg
|
710
|
+
- spec/dummy/public/uploads/tmp/1453328976-90335-7466/sam_and_snow.jpg
|
711
|
+
- spec/dummy/public/uploads/tmp/1453328976-90335-7466/thumb_sam_and_snow.jpg
|
712
|
+
- spec/dummy/public/uploads/tmp/1453329010-90384-7488/cms_sam_and_snow.jpg
|
713
|
+
- spec/dummy/public/uploads/tmp/1453329010-90384-7488/sam_and_snow.jpg
|
714
|
+
- spec/dummy/public/uploads/tmp/1453329010-90384-7488/thumb_sam_and_snow.jpg
|
715
|
+
- spec/dummy/public/uploads/tmp/1453329018-90436-7916/cms_sam_and_snow.jpg
|
716
|
+
- spec/dummy/public/uploads/tmp/1453329018-90436-7916/sam_and_snow.jpg
|
717
|
+
- spec/dummy/public/uploads/tmp/1453329018-90436-7916/thumb_sam_and_snow.jpg
|
718
|
+
- spec/dummy/public/uploads/tmp/1453393083-47505-1178/cms_sam_and_snow.jpg
|
719
|
+
- spec/dummy/public/uploads/tmp/1453393083-47505-1178/sam_and_snow.jpg
|
720
|
+
- spec/dummy/public/uploads/tmp/1453393083-47505-1178/thumb_sam_and_snow.jpg
|
721
|
+
- spec/dummy/public/uploads/tmp/1453393088-47594-1406/cms_sam_and_snow.jpg
|
722
|
+
- spec/dummy/public/uploads/tmp/1453393088-47594-1406/sam_and_snow.jpg
|
723
|
+
- spec/dummy/public/uploads/tmp/1453393088-47594-1406/thumb_sam_and_snow.jpg
|
724
|
+
- spec/dummy/public/uploads/tmp/1453393124-47630-8343/cms_sam_and_snow.jpg
|
725
|
+
- spec/dummy/public/uploads/tmp/1453393124-47630-8343/sam_and_snow.jpg
|
726
|
+
- spec/dummy/public/uploads/tmp/1453393124-47630-8343/thumb_sam_and_snow.jpg
|
727
|
+
- spec/dummy/public/uploads/tmp/1453393148-47674-3845/cms_sam_and_snow.jpg
|
728
|
+
- spec/dummy/public/uploads/tmp/1453393148-47674-3845/sam_and_snow.jpg
|
729
|
+
- spec/dummy/public/uploads/tmp/1453393148-47674-3845/thumb_sam_and_snow.jpg
|
730
|
+
- spec/dummy/public/uploads/tmp/1453393221-47816-8142/cms_sam_and_snow.jpg
|
731
|
+
- spec/dummy/public/uploads/tmp/1453393221-47816-8142/sam_and_snow.jpg
|
732
|
+
- spec/dummy/public/uploads/tmp/1453393221-47816-8142/thumb_sam_and_snow.jpg
|
733
|
+
- spec/dummy/public/uploads/tmp/1453393870-48546-6445/cms_sam_and_snow.jpg
|
734
|
+
- spec/dummy/public/uploads/tmp/1453393870-48546-6445/sam_and_snow.jpg
|
735
|
+
- spec/dummy/public/uploads/tmp/1453393870-48546-6445/thumb_sam_and_snow.jpg
|
736
|
+
- spec/dummy/public/uploads/tmp/1453393926-48624-7189/cms_sam_and_snow.jpg
|
737
|
+
- spec/dummy/public/uploads/tmp/1453393926-48624-7189/sam_and_snow.jpg
|
738
|
+
- spec/dummy/public/uploads/tmp/1453393926-48624-7189/thumb_sam_and_snow.jpg
|
739
|
+
- spec/dummy/public/uploads/tmp/1453393989-48708-0009/cms_sam_and_snow.jpg
|
740
|
+
- spec/dummy/public/uploads/tmp/1453393989-48708-0009/sam_and_snow.jpg
|
741
|
+
- spec/dummy/public/uploads/tmp/1453393989-48708-0009/thumb_sam_and_snow.jpg
|
550
742
|
- spec/dummy/Rakefile
|
551
743
|
- spec/dummy/README.rdoc
|
552
744
|
- spec/factories/content_element.rb
|
@@ -559,6 +751,7 @@ test_files:
|
|
559
751
|
- spec/factories/version.rb
|
560
752
|
- spec/interactions/clone_version_spec.rb
|
561
753
|
- spec/interactions/create_post_content_elements_spec.rb
|
754
|
+
- spec/interactions/update_version_status_spec.rb
|
562
755
|
- spec/lib/pulitzer_spec.rb
|
563
756
|
- spec/models/content_element_spec.rb
|
564
757
|
- spec/models/post_spec.rb
|