ish_manager 0.1.8.94 → 0.1.8.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c2527750739416f43931a4eb993d7e9e2a7d732
4
- data.tar.gz: 5659f5c2837d016756deaea44302f7a5edaf35e7
3
+ metadata.gz: e0cb819b0fe5df229a1cfa3ffbc7b855be23f930
4
+ data.tar.gz: 3a84d2b5daae6bf6c9cd687d92efe70fb317a555
5
5
  SHA512:
6
- metadata.gz: c5eac144b4625fdcb26ce089312b4f7623910eecf10c318718b996f376abc288a6eb7d0818de809198c82ebb93646487f0eb2c58e628c9ab87b7ea272dc4e8bb
7
- data.tar.gz: 103133c9b625296d3ce3eaf703a6552619834f0436151992825e4c56723eed9416990b5bfc5f4dad880f59d01b1924f87167746a559f7438c0f1974f5655a417
6
+ metadata.gz: eb30ddb73513a0868a9dfb80946a4ed63d1620f82b2331803d584c322e442362bb775934cc98c3f1eb51a25b2230e6cd12b96ae82a186a0d224f3fc89b5be370
7
+ data.tar.gz: 226b8460283566cb12c485d7c3a4b816f60f4db3ace9d0a3d2d7ccc0cc45aad7843195a5d670df189c256e0bf92ce7c109436799f49b94ceb713da213f90f4c4
@@ -65,7 +65,7 @@ class IshManager::GalleriesController < IshManager::ApplicationController
65
65
  old_shared_profile_ids = @gallery.shared_profiles.map(&:id)
66
66
  authorize! :update, @gallery
67
67
  params[:gallery][:shared_profiles].delete('')
68
- params[:gallery][:shared_profiles] = IshModels::UserProfile.find( params[:gallery][:shared_profiles].permit! ).map(&:id)
68
+ params[:gallery][:shared_profiles] = IshModels::UserProfile.find( params[:gallery][:shared_profiles] ).map(&:id)
69
69
  puts! params[:gallery][:shared_profiles], 'shared profiles'
70
70
  if @gallery.update_attributes( params[:gallery].permit! )
71
71
  new_shared_profiles = params[:gallery][:shared_profiles].select { |p| !old_shared_profile_ids.include?( p.id ) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.94
4
+ version: 0.1.8.95
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox