family_gallery 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/omniauth.rb +1 -0
- data/lib/family_gallery/version.rb +1 -1
- data/spec/dummy/log/test.log +63 -0
- data/spec/test_files/0/family_gallery/pictures/000/000/003/original.jpg +0 -0
- data/spec/test_files/0/family_gallery/pictures/000/000/004/original.jpg +0 -0
- metadata +5 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5c0597e63e2ca90cba1d5f2078f52336b887ec2
|
4
|
+
data.tar.gz: bec42ea9a44ef8562eb5f5aabd7ce4f3d4ef20f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcdd1bd22b8199a3d71dad9f06da9ec2dd43ce8a5c75cd3bad57c0a93417b3c4f6cd770b6206316f2acc888c7d4ee7933c078ad432ec6e47e83d52981c09cc93
|
7
|
+
data.tar.gz: cf51968651566a62afb07959c27f0a14916fcd1913baf5c48495d6d8a80ae43361567890d394aa0aea2eb7bdb9452cbc8f8cbae4c740b060f1c8ba0084276735
|
data/spec/dummy/log/test.log
CHANGED
@@ -3518,3 +3518,66 @@ Command :: file -b --mime '/tmp/baa276aea63b66769df1f5dad6c13bf420150303-14676-1
|
|
3518
3518
|
[1m[36mSQL (0.3ms)[0m [1mUPDATE `family_gallery_pictures` SET `image_file_name` = 'sigrid.jpg', `image_content_type` = 'image/jpeg', `image_file_size` = 2361140, `image_updated_at` = '2015-03-03 10:18:39', `user_owner_id` = 2, `user_uploaded_id` = 3, `created_at` = '2015-03-03 10:18:39', `updated_at` = '2015-03-03 10:18:39', `id` = 2, `width` = 4128, `height` = 2322, `taken_at` = '2015-02-25 10:20:47', `latitude` = 54.7000236388889, `longitude` = 11.3945503055556 WHERE `family_gallery_pictures`.`id` = 2[0m
|
3519
3519
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3520
3520
|
[1m[36m (10.6ms)[0m [1mROLLBACK[0m
|
3521
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
3522
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3523
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3524
|
+
[1m[35mFamilyGallery::User Exists (0.4ms)[0m SELECT 1 AS one FROM `family_gallery_users` WHERE `family_gallery_users`.`email` = BINARY 'jford@digitube.com' LIMIT 1
|
3525
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `family_gallery_users` (`created_at`, `email`, `encrypted_password`, `updated_at`) VALUES ('2015-03-03 10:22:36', 'jford@digitube.com', '$2a$04$2whP54Vcx.N0GeYq6y/SI.X.k0l11L3Xav4649Jv8xAejn2hDOg.a', '2015-03-03 10:22:36')[0m
|
3526
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3527
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3528
|
+
[1m[35mFamilyGallery::UserRole Exists (0.2ms)[0m SELECT 1 AS one FROM `family_gallery_user_roles` WHERE (`family_gallery_user_roles`.`role` = BINARY 'administrator' AND `family_gallery_user_roles`.`user_id` = 4) LIMIT 1
|
3529
|
+
[1m[36mFamilyGallery::User Load (0.3ms)[0m [1mSELECT `family_gallery_users`.* FROM `family_gallery_users` WHERE `family_gallery_users`.`id` = 4 LIMIT 1[0m
|
3530
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `family_gallery_user_roles` (`created_at`, `role`, `updated_at`, `user_id`) VALUES ('2015-03-03 10:22:37', 'administrator', '2015-03-03 10:22:37', 4)
|
3531
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3532
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3533
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `family_gallery_groups` (`created_at`, `updated_at`) VALUES ('2015-03-03 10:22:37', '2015-03-03 10:22:37')[0m
|
3534
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `family_gallery_group_translations` (`created_at`, `description`, `family_gallery_group_id`, `locale`, `name`, `updated_at`) VALUES ('2015-03-03 10:22:37', 'vulputate justo in blandit ultrices enim lorem ipsum dolor sit', 2, 'en', 'mus vivamus', '2015-03-03 10:22:37')
|
3535
|
+
[1m[36mFamilyGallery::Group Load (0.5ms)[0m [1mSELECT `family_gallery_groups`.* FROM `family_gallery_groups` WHERE `family_gallery_groups`.`id` = 2 LIMIT 1[0m
|
3536
|
+
[1m[35mSQL (0.5ms)[0m UPDATE `family_gallery_groups` SET `family_gallery_groups`.`updated_at` = '2015-03-03 10:22:37' WHERE `family_gallery_groups`.`id` = 2
|
3537
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3538
|
+
Processing by FamilyGallery::PicturesController#create as HTML
|
3539
|
+
Parameters: {"picture"=>{"title"=>"Test title", "description"=>"Test test", "image"=>#<Rack::Test::UploadedFile:0x00000004498a28 @content_type="image/jpeg", @original_filename="sigrid.jpg", @tempfile=#<Tempfile:/tmp/sigrid.jpg20150303-15042-1cqoeof>>}, "group_id"=>"2"}
|
3540
|
+
Command :: file -b --mime '/tmp/baa276aea63b66769df1f5dad6c13bf420150303-15042-buu1j8.jpg'
|
3541
|
+
[1m[35mFamilyGallery::User Load (0.3ms)[0m SELECT `family_gallery_users`.* FROM `family_gallery_users` WHERE `family_gallery_users`.`id` = 4 ORDER BY `family_gallery_users`.`id` ASC LIMIT 1
|
3542
|
+
[1m[36mFamilyGallery::UserRole Load (0.7ms)[0m [1mSELECT `family_gallery_user_roles`.* FROM `family_gallery_user_roles` WHERE `family_gallery_user_roles`.`user_id` = 4[0m
|
3543
|
+
[1m[35mFamilyGallery::Group Load (0.3ms)[0m SELECT `family_gallery_groups`.* FROM `family_gallery_groups` WHERE `family_gallery_groups`.`id` = 2 LIMIT 1
|
3544
|
+
Command :: file -b --mime '/tmp/baa276aea63b66769df1f5dad6c13bf420150303-15042-qday4.jpg'
|
3545
|
+
[1m[36mFamilyGallery::Group Load (0.2ms)[0m [1mSELECT `family_gallery_groups`.* FROM `family_gallery_groups` WHERE `family_gallery_groups`.`id` = 2 LIMIT 1[0m
|
3546
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3547
|
+
[1m[36mFamilyGallery::GroupPictureLink Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `family_gallery_group_picture_links` WHERE (`family_gallery_group_picture_links`.`picture_id` IS NULL AND `family_gallery_group_picture_links`.`group_id` = 2) LIMIT 1[0m
|
3548
|
+
Command :: file -b --mime '/tmp/baa276aea63b66769df1f5dad6c13bf420150303-15042-ec975u.jpg'
|
3549
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `family_gallery_pictures` (`created_at`, `image_content_type`, `image_file_name`, `image_file_size`, `image_updated_at`, `updated_at`, `user_owner_id`, `user_uploaded_id`) VALUES ('2015-03-03 10:22:37', 'image/jpeg', 'sigrid.jpg', 2361140, '2015-03-03 10:22:37', '2015-03-03 10:22:37', 4, 4)
|
3550
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `family_gallery_picture_translations` (`created_at`, `description`, `family_gallery_picture_id`, `locale`, `title`, `updated_at`) VALUES ('2015-03-03 10:22:37', 'Test test', 3, 'en', 'Test title', '2015-03-03 10:22:37')[0m
|
3551
|
+
[1m[35mFamilyGallery::Picture Load (0.4ms)[0m SELECT `family_gallery_pictures`.* FROM `family_gallery_pictures` WHERE `family_gallery_pictures`.`id` = 3 LIMIT 1
|
3552
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `family_gallery_pictures` SET `family_gallery_pictures`.`updated_at` = '2015-03-03 10:22:37' WHERE `family_gallery_pictures`.`id` = 3[0m
|
3553
|
+
[1m[35mFamilyGallery::GroupPictureLink Exists (0.3ms)[0m SELECT 1 AS one FROM `family_gallery_group_picture_links` WHERE (`family_gallery_group_picture_links`.`picture_id` = BINARY 3 AND `family_gallery_group_picture_links`.`group_id` = 2) LIMIT 1
|
3554
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `family_gallery_group_picture_links` (`created_at`, `group_id`, `picture_id`, `updated_at`) VALUES ('2015-03-03 10:22:37', 2, 3, '2015-03-03 10:22:37')[0m
|
3555
|
+
[1m[35mFamilyGallery::Picture Load (0.2ms)[0m SELECT `family_gallery_pictures`.* FROM `family_gallery_pictures` WHERE `family_gallery_pictures`.`id` = 3 LIMIT 1
|
3556
|
+
[1m[36mFamilyGallery::GroupPictureLink Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `family_gallery_group_picture_links` WHERE (`family_gallery_group_picture_links`.`picture_id` = BINARY 3 AND `family_gallery_group_picture_links`.`id` != 2 AND `family_gallery_group_picture_links`.`group_id` = 2) LIMIT 1[0m
|
3557
|
+
Command :: file -b --mime '/tmp/baa276aea63b66769df1f5dad6c13bf420150303-15042-1ptuv1f.jpg'
|
3558
|
+
[1m[35mSQL (0.2ms)[0m UPDATE `family_gallery_pictures` SET `image_file_name` = 'sigrid.jpg', `image_content_type` = 'image/jpeg', `image_file_size` = 2361140, `image_updated_at` = '2015-03-03 10:22:37', `user_uploaded_id` = 4, `user_owner_id` = 4, `created_at` = '2015-03-03 10:22:37', `updated_at` = '2015-03-03 10:22:37', `id` = 3, `width` = 4128, `height` = 2322, `taken_at` = '2015-02-25 10:20:47', `latitude` = 54.7000236388889, `longitude` = 11.3945503055556 WHERE `family_gallery_pictures`.`id` = 3
|
3559
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3560
|
+
Redirected to http://test.host/pictures/3
|
3561
|
+
Completed 302 Found in 161ms (ActiveRecord: 7.1ms)
|
3562
|
+
[1m[35m (10.5ms)[0m ROLLBACK
|
3563
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3564
|
+
Command :: file -b --mime '/media/storage/Dev/Rails/family_gallery/spec/dummy/../../spec/test_pictures/sigrid.jpg'
|
3565
|
+
Command :: file -b --mime '/tmp/baa276aea63b66769df1f5dad6c13bf420150303-15042-j4knju.jpg'
|
3566
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3567
|
+
[1m[36mFamilyGallery::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `family_gallery_users` WHERE `family_gallery_users`.`email` = BINARY 'nwashington@kazu.info' LIMIT 1[0m
|
3568
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `family_gallery_users` (`created_at`, `email`, `encrypted_password`, `updated_at`) VALUES ('2015-03-03 10:22:37', 'nwashington@kazu.info', '$2a$04$RPn.63.LbDe4ovBt70xy.O/rjjZlIVdu.4KodefNJCvmu1zYeHy8G', '2015-03-03 10:22:37')
|
3569
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3570
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3571
|
+
[1m[36mFamilyGallery::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `family_gallery_users` WHERE `family_gallery_users`.`email` = BINARY 'jpowell@gabcube.edu' LIMIT 1[0m
|
3572
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `family_gallery_users` (`created_at`, `email`, `encrypted_password`, `updated_at`) VALUES ('2015-03-03 10:22:37', 'jpowell@gabcube.edu', '$2a$04$1CtQIdLDh95e5pMMtcbBjuPxsML0NXVtrVQ5JMMS1Gl0f74PDAW36', '2015-03-03 10:22:37')
|
3573
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3574
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3575
|
+
Command :: file -b --mime '/tmp/baa276aea63b66769df1f5dad6c13bf420150303-15042-spmgrl.jpg'
|
3576
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `family_gallery_pictures` (`created_at`, `image_content_type`, `image_file_name`, `image_file_size`, `image_updated_at`, `updated_at`, `user_owner_id`, `user_uploaded_id`) VALUES ('2015-03-03 10:22:37', 'image/jpeg', 'sigrid.jpg', 2361140, '2015-03-03 10:22:37', '2015-03-03 10:22:37', 5, 6)[0m
|
3577
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `family_gallery_picture_translations` (`created_at`, `description`, `family_gallery_picture_id`, `locale`, `title`, `updated_at`) VALUES ('2015-03-03 10:22:37', 'etiam pretium iaculis justo in hac habitasse platea dictumst etiam', 4, 'en', 'Sara', '2015-03-03 10:22:37')
|
3578
|
+
[1m[36mFamilyGallery::Picture Load (0.2ms)[0m [1mSELECT `family_gallery_pictures`.* FROM `family_gallery_pictures` WHERE `family_gallery_pictures`.`id` = 4 LIMIT 1[0m
|
3579
|
+
[1m[35mSQL (0.1ms)[0m UPDATE `family_gallery_pictures` SET `family_gallery_pictures`.`updated_at` = '2015-03-03 10:22:37' WHERE `family_gallery_pictures`.`id` = 4
|
3580
|
+
Command :: file -b --mime '/tmp/baa276aea63b66769df1f5dad6c13bf420150303-15042-1chj2qi.jpg'
|
3581
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE `family_gallery_pictures` SET `image_file_name` = 'sigrid.jpg', `image_content_type` = 'image/jpeg', `image_file_size` = 2361140, `image_updated_at` = '2015-03-03 10:22:37', `user_owner_id` = 5, `user_uploaded_id` = 6, `created_at` = '2015-03-03 10:22:37', `updated_at` = '2015-03-03 10:22:37', `id` = 4, `width` = 4128, `height` = 2322, `taken_at` = '2015-02-25 10:20:47', `latitude` = 54.7000236388889, `longitude` = 11.3945503055556 WHERE `family_gallery_pictures`.`id` = 4[0m
|
3582
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3583
|
+
[1m[36m (6.3ms)[0m [1mROLLBACK[0m
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: family_gallery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kasper Johansen
|
@@ -586,6 +586,8 @@ files:
|
|
586
586
|
- spec/spec_helper.rb
|
587
587
|
- spec/test_files/0/family_gallery/pictures/000/000/001/original.jpg
|
588
588
|
- spec/test_files/0/family_gallery/pictures/000/000/002/original.jpg
|
589
|
+
- spec/test_files/0/family_gallery/pictures/000/000/003/original.jpg
|
590
|
+
- spec/test_files/0/family_gallery/pictures/000/000/004/original.jpg
|
589
591
|
- spec/test_files/0/family_gallery/pictures/000/000/039/original.jpg
|
590
592
|
- spec/test_files/0/family_gallery/pictures/000/000/040/original.jpg
|
591
593
|
- spec/test_files/0/family_gallery/pictures/000/000/041/original.jpg
|
@@ -628,8 +630,10 @@ test_files:
|
|
628
630
|
- spec/factories/family_gallery/user.rb
|
629
631
|
- spec/factories/family_gallery/group.rb
|
630
632
|
- spec/test_files/0/family_gallery/pictures/000/000/001/original.jpg
|
633
|
+
- spec/test_files/0/family_gallery/pictures/000/000/003/original.jpg
|
631
634
|
- spec/test_files/0/family_gallery/pictures/000/000/039/original.jpg
|
632
635
|
- spec/test_files/0/family_gallery/pictures/000/000/045/original.jpg
|
636
|
+
- spec/test_files/0/family_gallery/pictures/000/000/004/original.jpg
|
633
637
|
- spec/test_files/0/family_gallery/pictures/000/000/044/original.jpg
|
634
638
|
- spec/test_files/0/family_gallery/pictures/000/000/040/original.jpg
|
635
639
|
- spec/test_files/0/family_gallery/pictures/000/000/041/original.jpg
|