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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 24486c204555aff97894007a46c2d8ac2fd4614a
4
- data.tar.gz: 439588df217f9c82b6a33e395b98b309083406ec
3
+ metadata.gz: d5c0597e63e2ca90cba1d5f2078f52336b887ec2
4
+ data.tar.gz: bec42ea9a44ef8562eb5f5aabd7ce4f3d4ef20f8
5
5
  SHA512:
6
- metadata.gz: 2b812774b5391ffedc5db884da4120b3b0b6c22982168baa71f4f01f9dbfbf223573fa484bd85279787114d9d3973495d7d2c12232db407165378b8f51cdbd40
7
- data.tar.gz: ba9c6c210dffc95388c9695036ada0c17e8275005a59e3b35028e4d5d458543160dfd8ba30977ce143505e5a84427a103f7cd85dfd7a02acb9f4cda8e0b05dfe
6
+ metadata.gz: dcdd1bd22b8199a3d71dad9f06da9ec2dd43ce8a5c75cd3bad57c0a93417b3c4f6cd770b6206316f2acc888c7d4ee7933c078ad432ec6e47e83d52981c09cc93
7
+ data.tar.gz: cf51968651566a62afb07959c27f0a14916fcd1913baf5c48495d6d8a80ae43361567890d394aa0aea2eb7bdb9452cbc8f8cbae4c740b060f1c8ba0084276735
@@ -1,4 +1,5 @@
1
1
  require "omniauth"
2
+ require "omniauth-facebook"
2
3
 
3
4
  OmniAuth.config.logger = Rails.logger
4
5
 
@@ -1,3 +1,3 @@
1
1
  module FamilyGallery
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -3518,3 +3518,66 @@ Command :: file -b --mime '/tmp/baa276aea63b66769df1f5dad6c13bf420150303-14676-1
3518
3518
  SQL (0.3ms) 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: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
3519
3519
   (0.1ms) RELEASE SAVEPOINT active_record_1
3520
3520
   (10.6ms) ROLLBACK
3521
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
3522
+  (0.1ms) BEGIN
3523
+  (0.2ms) SAVEPOINT active_record_1
3524
+ FamilyGallery::User Exists (0.4ms) SELECT 1 AS one FROM `family_gallery_users` WHERE `family_gallery_users`.`email` = BINARY 'jford@digitube.com' LIMIT 1
3525
+ SQL (0.3ms) INSERT 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')
3526
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3527
+  (0.1ms) SAVEPOINT active_record_1
3528
+ FamilyGallery::UserRole Exists (0.2ms) 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
+ FamilyGallery::User Load (0.3ms) SELECT `family_gallery_users`.* FROM `family_gallery_users` WHERE `family_gallery_users`.`id` = 4 LIMIT 1
3530
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3532
+  (0.0ms) SAVEPOINT active_record_1
3533
+ SQL (0.1ms) INSERT INTO `family_gallery_groups` (`created_at`, `updated_at`) VALUES ('2015-03-03 10:22:37', '2015-03-03 10:22:37')
3534
+ SQL (0.1ms) 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
+ FamilyGallery::Group Load (0.5ms) SELECT `family_gallery_groups`.* FROM `family_gallery_groups` WHERE `family_gallery_groups`.`id` = 2 LIMIT 1
3536
+ SQL (0.5ms) UPDATE `family_gallery_groups` SET `family_gallery_groups`.`updated_at` = '2015-03-03 10:22:37' WHERE `family_gallery_groups`.`id` = 2
3537
+  (0.2ms) RELEASE SAVEPOINT active_record_1
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
+ FamilyGallery::User Load (0.3ms) SELECT `family_gallery_users`.* FROM `family_gallery_users` WHERE `family_gallery_users`.`id` = 4 ORDER BY `family_gallery_users`.`id` ASC LIMIT 1
3542
+ FamilyGallery::UserRole Load (0.7ms) SELECT `family_gallery_user_roles`.* FROM `family_gallery_user_roles` WHERE `family_gallery_user_roles`.`user_id` = 4
3543
+ FamilyGallery::Group Load (0.3ms) 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
+ FamilyGallery::Group Load (0.2ms) SELECT `family_gallery_groups`.* FROM `family_gallery_groups` WHERE `family_gallery_groups`.`id` = 2 LIMIT 1
3546
+  (0.1ms) SAVEPOINT active_record_1
3547
+ FamilyGallery::GroupPictureLink Exists (0.2ms) SELECT 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
3548
+ Command :: file -b --mime '/tmp/baa276aea63b66769df1f5dad6c13bf420150303-15042-ec975u.jpg'
3549
+ SQL (0.5ms) 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
+ SQL (0.5ms) INSERT 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')
3551
+ FamilyGallery::Picture Load (0.4ms) SELECT `family_gallery_pictures`.* FROM `family_gallery_pictures` WHERE `family_gallery_pictures`.`id` = 3 LIMIT 1
3552
+ SQL (0.2ms) UPDATE `family_gallery_pictures` SET `family_gallery_pictures`.`updated_at` = '2015-03-03 10:22:37' WHERE `family_gallery_pictures`.`id` = 3
3553
+ FamilyGallery::GroupPictureLink Exists (0.3ms) 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
+ SQL (0.2ms) INSERT 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')
3555
+ FamilyGallery::Picture Load (0.2ms) SELECT `family_gallery_pictures`.* FROM `family_gallery_pictures` WHERE `family_gallery_pictures`.`id` = 3 LIMIT 1
3556
+ FamilyGallery::GroupPictureLink Exists (0.2ms) 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`.`id` != 2 AND `family_gallery_group_picture_links`.`group_id` = 2) LIMIT 1
3557
+ Command :: file -b --mime '/tmp/baa276aea63b66769df1f5dad6c13bf420150303-15042-1ptuv1f.jpg'
3558
+ SQL (0.2ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3560
+ Redirected to http://test.host/pictures/3
3561
+ Completed 302 Found in 161ms (ActiveRecord: 7.1ms)
3562
+  (10.5ms) ROLLBACK
3563
+  (0.1ms) BEGIN
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
+  (0.2ms) SAVEPOINT active_record_1
3567
+ FamilyGallery::User Exists (0.2ms) SELECT 1 AS one FROM `family_gallery_users` WHERE `family_gallery_users`.`email` = BINARY 'nwashington@kazu.info' LIMIT 1
3568
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3570
+  (0.1ms) SAVEPOINT active_record_1
3571
+ FamilyGallery::User Exists (0.1ms) SELECT 1 AS one FROM `family_gallery_users` WHERE `family_gallery_users`.`email` = BINARY 'jpowell@gabcube.edu' LIMIT 1
3572
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3574
+  (0.0ms) SAVEPOINT active_record_1
3575
+ Command :: file -b --mime '/tmp/baa276aea63b66769df1f5dad6c13bf420150303-15042-spmgrl.jpg'
3576
+ SQL (0.2ms) 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', 5, 6)
3577
+ SQL (0.1ms) 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
+ FamilyGallery::Picture Load (0.2ms) SELECT `family_gallery_pictures`.* FROM `family_gallery_pictures` WHERE `family_gallery_pictures`.`id` = 4 LIMIT 1
3579
+ SQL (0.1ms) 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
+ SQL (0.4ms) 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_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
3582
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3583
+  (6.3ms) ROLLBACK
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.2
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