polygallery 0.0.8 → 0.0.9
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/polygallery/galleries.js +1 -1
- data/app/models/concerns/polygallery/customized_gallery.rb +8 -0
- data/app/models/concerns/polygallery/customized_photo.rb +8 -0
- data/app/models/polygallery/gallery.rb +25 -12
- data/app/models/polygallery/photo.rb +14 -17
- data/db/migrate/20141001192141_add_sti_to_galleries_and_photos.rb +6 -0
- data/lib/generators/polygallery/install/templates/polygallery_migration.rb +2 -0
- data/lib/polygallery/has_polygallery.rb +20 -5
- data/lib/polygallery/has_polyphotos.rb +22 -5
- data/lib/polygallery/version.rb +1 -1
- data/test/dummy/app/assets/javascripts/events.js +1 -1
- data/test/dummy/app/controllers/events_controller.rb +38 -3
- data/test/dummy/app/models/custom_gallery.rb +24 -0
- data/test/dummy/app/models/custom_photo.rb +11 -0
- data/test/dummy/app/models/event.rb +4 -0
- data/test/dummy/app/views/events/_form.html.haml +6 -0
- data/test/dummy/app/views/events/_simple_form.html.haml +6 -0
- data/test/dummy/app/views/events/edit.html.haml +5 -0
- data/test/dummy/app/views/events/index.html.haml +33 -0
- data/test/dummy/app/views/events/new.html.haml +5 -0
- data/test/dummy/app/views/events/show.html.haml +23 -0
- data/test/dummy/app/views/home/index.html.haml +2 -11
- data/test/dummy/app/views/layouts/application.html.haml +1 -11
- data/test/dummy/config/application.rb +1 -1
- data/test/dummy/db/schema.rb +3 -1
- data/test/dummy/log/development.log +15954 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/011/medium/piece2.jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/011/original/piece2.jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/011/thumb/piece2.jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/012/medium/piece6.jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/012/original/piece6.jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/012/thumb/piece6.jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/029/medium/piece4.jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/029/original/piece4.jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/029/thumb/piece4.jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/032/medium/piece8.jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/032/original/piece8.jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/032/thumb/piece8.jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/033/medium/piece10.jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/033/original/piece10.jpg +0 -0
- data/test/dummy/public/system/polygallery/photos/photos/000/000/033/thumb/piece10.jpg +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/30e3552cad42917377b8675173b87d6d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5714323f471f9980adfb3529d2e01f04 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/65dccf676de4439612547abc6451ba65 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/69bda14eaa1d8ad1ea1235abb619e366 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/81bf3a1b16f593a309cc121596c7cf23 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b08b14449d0c760863c75b163f3d2ea0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- metadata +57 -2
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polygallery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MacKinley Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -162,6 +162,8 @@ files:
|
|
162
162
|
- app/helpers/polygallery/application_helper.rb
|
163
163
|
- app/helpers/polygallery/galleries_helper.rb
|
164
164
|
- app/helpers/polygallery/photos_helper.rb
|
165
|
+
- app/models/concerns/polygallery/customized_gallery.rb
|
166
|
+
- app/models/concerns/polygallery/customized_photo.rb
|
165
167
|
- app/models/polygallery/gallery.rb
|
166
168
|
- app/models/polygallery/photo.rb
|
167
169
|
- app/models/polygallery/polygallery.rb
|
@@ -173,6 +175,7 @@ files:
|
|
173
175
|
- config/routes.rb
|
174
176
|
- db/migrate/20140803171516_create_polygallery_galleries.rb
|
175
177
|
- db/migrate/20140803171534_create_polygallery_photos.rb
|
178
|
+
- db/migrate/20141001192141_add_sti_to_galleries_and_photos.rb
|
176
179
|
- lib/generators/polygallery/install/install_generator.rb
|
177
180
|
- lib/generators/polygallery/install/templates/polygallery_migration.rb
|
178
181
|
- lib/polygallery.rb
|
@@ -205,7 +208,15 @@ files:
|
|
205
208
|
- test/dummy/app/helpers/application_helper.rb
|
206
209
|
- test/dummy/app/helpers/events_helper.rb
|
207
210
|
- test/dummy/app/helpers/home_helper.rb
|
211
|
+
- test/dummy/app/models/custom_gallery.rb
|
212
|
+
- test/dummy/app/models/custom_photo.rb
|
208
213
|
- test/dummy/app/models/event.rb
|
214
|
+
- test/dummy/app/views/events/_form.html.haml
|
215
|
+
- test/dummy/app/views/events/_simple_form.html.haml
|
216
|
+
- test/dummy/app/views/events/edit.html.haml
|
217
|
+
- test/dummy/app/views/events/index.html.haml
|
218
|
+
- test/dummy/app/views/events/new.html.haml
|
219
|
+
- test/dummy/app/views/events/show.html.haml
|
209
220
|
- test/dummy/app/views/home/index.html.haml
|
210
221
|
- test/dummy/app/views/layouts/application.html.haml
|
211
222
|
- test/dummy/bin/bundle
|
@@ -288,6 +299,21 @@ files:
|
|
288
299
|
- test/dummy/public/system/polygallery/photos/photos/000/000/010/original/SALON_RUNWAY_(1).jpg
|
289
300
|
- test/dummy/public/system/polygallery/photos/photos/000/000/010/slide/SALON_RUNWAY_(1).jpg
|
290
301
|
- test/dummy/public/system/polygallery/photos/photos/000/000/010/thumb/SALON_RUNWAY_(1).jpg
|
302
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/011/medium/piece2.jpg
|
303
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/011/original/piece2.jpg
|
304
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/011/thumb/piece2.jpg
|
305
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/012/medium/piece6.jpg
|
306
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/012/original/piece6.jpg
|
307
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/012/thumb/piece6.jpg
|
308
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/029/medium/piece4.jpg
|
309
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/029/original/piece4.jpg
|
310
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/029/thumb/piece4.jpg
|
311
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/032/medium/piece8.jpg
|
312
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/032/original/piece8.jpg
|
313
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/032/thumb/piece8.jpg
|
314
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/033/medium/piece10.jpg
|
315
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/033/original/piece10.jpg
|
316
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/033/thumb/piece10.jpg
|
291
317
|
- test/dummy/test/controllers/events_controller_test.rb
|
292
318
|
- test/dummy/test/controllers/home_controller_test.rb
|
293
319
|
- test/dummy/test/fixtures/events.yml
|
@@ -313,12 +339,14 @@ files:
|
|
313
339
|
- test/dummy/tmp/cache/assets/development/sprockets/4d1647c172443398b0d023245fb13877
|
314
340
|
- test/dummy/tmp/cache/assets/development/sprockets/4daff1d5b8e6da6d2ed55886db193ef2
|
315
341
|
- test/dummy/tmp/cache/assets/development/sprockets/4ea33e825e6e38bd22dccab488a0255b
|
342
|
+
- test/dummy/tmp/cache/assets/development/sprockets/5714323f471f9980adfb3529d2e01f04
|
316
343
|
- test/dummy/tmp/cache/assets/development/sprockets/61cd6f9b2dc23f35478fc14d5fb4f7df
|
317
344
|
- test/dummy/tmp/cache/assets/development/sprockets/650d6a1ba71368c14b9fced6b6180b2d
|
318
345
|
- test/dummy/tmp/cache/assets/development/sprockets/65dccf676de4439612547abc6451ba65
|
319
346
|
- test/dummy/tmp/cache/assets/development/sprockets/69bda14eaa1d8ad1ea1235abb619e366
|
320
347
|
- test/dummy/tmp/cache/assets/development/sprockets/6f562a48c0e855e0e4fdab624ba41eb9
|
321
348
|
- test/dummy/tmp/cache/assets/development/sprockets/7be9086c960bb4384c9d23a52e489f29
|
349
|
+
- test/dummy/tmp/cache/assets/development/sprockets/81bf3a1b16f593a309cc121596c7cf23
|
322
350
|
- test/dummy/tmp/cache/assets/development/sprockets/86f909bf5baee50515afadaa3ce2df8f
|
323
351
|
- test/dummy/tmp/cache/assets/development/sprockets/88f812810562f1bc315ee991f8a30c4e
|
324
352
|
- test/dummy/tmp/cache/assets/development/sprockets/8e5a9738e9bc15478e026d98335454f9
|
@@ -327,6 +355,7 @@ files:
|
|
327
355
|
- test/dummy/tmp/cache/assets/development/sprockets/a32fea9e0a124a0fbd82afec0c27e0d4
|
328
356
|
- test/dummy/tmp/cache/assets/development/sprockets/a995a3b95e4a7b0e5b9fa7c49efd6b74
|
329
357
|
- test/dummy/tmp/cache/assets/development/sprockets/a9f028f7a492b5907ed80268be8f50f4
|
358
|
+
- test/dummy/tmp/cache/assets/development/sprockets/b08b14449d0c760863c75b163f3d2ea0
|
330
359
|
- test/dummy/tmp/cache/assets/development/sprockets/b878faf942403e313a5b103e5d80488e
|
331
360
|
- test/dummy/tmp/cache/assets/development/sprockets/ba56eb60d599a0ca3d2f6b67772774c2
|
332
361
|
- test/dummy/tmp/cache/assets/development/sprockets/c0a32ddd5941d7ff3aca0ad92298608c
|
@@ -395,7 +424,15 @@ test_files:
|
|
395
424
|
- test/dummy/app/helpers/application_helper.rb
|
396
425
|
- test/dummy/app/helpers/events_helper.rb
|
397
426
|
- test/dummy/app/helpers/home_helper.rb
|
427
|
+
- test/dummy/app/models/custom_gallery.rb
|
428
|
+
- test/dummy/app/models/custom_photo.rb
|
398
429
|
- test/dummy/app/models/event.rb
|
430
|
+
- test/dummy/app/views/events/_form.html.haml
|
431
|
+
- test/dummy/app/views/events/_simple_form.html.haml
|
432
|
+
- test/dummy/app/views/events/edit.html.haml
|
433
|
+
- test/dummy/app/views/events/index.html.haml
|
434
|
+
- test/dummy/app/views/events/new.html.haml
|
435
|
+
- test/dummy/app/views/events/show.html.haml
|
399
436
|
- test/dummy/app/views/home/index.html.haml
|
400
437
|
- test/dummy/app/views/layouts/application.html.haml
|
401
438
|
- test/dummy/bin/bundle
|
@@ -478,6 +515,21 @@ test_files:
|
|
478
515
|
- test/dummy/public/system/polygallery/photos/photos/000/000/010/original/SALON_RUNWAY_(1).jpg
|
479
516
|
- test/dummy/public/system/polygallery/photos/photos/000/000/010/slide/SALON_RUNWAY_(1).jpg
|
480
517
|
- test/dummy/public/system/polygallery/photos/photos/000/000/010/thumb/SALON_RUNWAY_(1).jpg
|
518
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/011/medium/piece2.jpg
|
519
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/011/original/piece2.jpg
|
520
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/011/thumb/piece2.jpg
|
521
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/012/medium/piece6.jpg
|
522
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/012/original/piece6.jpg
|
523
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/012/thumb/piece6.jpg
|
524
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/029/medium/piece4.jpg
|
525
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/029/original/piece4.jpg
|
526
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/029/thumb/piece4.jpg
|
527
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/032/medium/piece8.jpg
|
528
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/032/original/piece8.jpg
|
529
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/032/thumb/piece8.jpg
|
530
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/033/medium/piece10.jpg
|
531
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/033/original/piece10.jpg
|
532
|
+
- test/dummy/public/system/polygallery/photos/photos/000/000/033/thumb/piece10.jpg
|
481
533
|
- test/dummy/Rakefile
|
482
534
|
- test/dummy/README.rdoc
|
483
535
|
- test/dummy/test/controllers/events_controller_test.rb
|
@@ -505,12 +557,14 @@ test_files:
|
|
505
557
|
- test/dummy/tmp/cache/assets/development/sprockets/4d1647c172443398b0d023245fb13877
|
506
558
|
- test/dummy/tmp/cache/assets/development/sprockets/4daff1d5b8e6da6d2ed55886db193ef2
|
507
559
|
- test/dummy/tmp/cache/assets/development/sprockets/4ea33e825e6e38bd22dccab488a0255b
|
560
|
+
- test/dummy/tmp/cache/assets/development/sprockets/5714323f471f9980adfb3529d2e01f04
|
508
561
|
- test/dummy/tmp/cache/assets/development/sprockets/61cd6f9b2dc23f35478fc14d5fb4f7df
|
509
562
|
- test/dummy/tmp/cache/assets/development/sprockets/650d6a1ba71368c14b9fced6b6180b2d
|
510
563
|
- test/dummy/tmp/cache/assets/development/sprockets/65dccf676de4439612547abc6451ba65
|
511
564
|
- test/dummy/tmp/cache/assets/development/sprockets/69bda14eaa1d8ad1ea1235abb619e366
|
512
565
|
- test/dummy/tmp/cache/assets/development/sprockets/6f562a48c0e855e0e4fdab624ba41eb9
|
513
566
|
- test/dummy/tmp/cache/assets/development/sprockets/7be9086c960bb4384c9d23a52e489f29
|
567
|
+
- test/dummy/tmp/cache/assets/development/sprockets/81bf3a1b16f593a309cc121596c7cf23
|
514
568
|
- test/dummy/tmp/cache/assets/development/sprockets/86f909bf5baee50515afadaa3ce2df8f
|
515
569
|
- test/dummy/tmp/cache/assets/development/sprockets/88f812810562f1bc315ee991f8a30c4e
|
516
570
|
- test/dummy/tmp/cache/assets/development/sprockets/8e5a9738e9bc15478e026d98335454f9
|
@@ -519,6 +573,7 @@ test_files:
|
|
519
573
|
- test/dummy/tmp/cache/assets/development/sprockets/a32fea9e0a124a0fbd82afec0c27e0d4
|
520
574
|
- test/dummy/tmp/cache/assets/development/sprockets/a995a3b95e4a7b0e5b9fa7c49efd6b74
|
521
575
|
- test/dummy/tmp/cache/assets/development/sprockets/a9f028f7a492b5907ed80268be8f50f4
|
576
|
+
- test/dummy/tmp/cache/assets/development/sprockets/b08b14449d0c760863c75b163f3d2ea0
|
522
577
|
- test/dummy/tmp/cache/assets/development/sprockets/b878faf942403e313a5b103e5d80488e
|
523
578
|
- test/dummy/tmp/cache/assets/development/sprockets/ba56eb60d599a0ca3d2f6b67772774c2
|
524
579
|
- test/dummy/tmp/cache/assets/development/sprockets/c0a32ddd5941d7ff3aca0ad92298608c
|