spud_photos 0.9.0.1 → 0.9.0.2

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.
@@ -2,7 +2,7 @@ class SpudPhoto < ActiveRecord::Base
2
2
 
3
3
  attr_accessible :title, :caption, :photo
4
4
 
5
- has_many :spud_photo_albums_photos
5
+ has_many :spud_photo_albums_photos, :dependent => :destroy
6
6
  has_many :albums,
7
7
  :through => :spud_photo_albums_photos,
8
8
  :source => :spud_photo_album
@@ -2,7 +2,7 @@ class SpudPhotoAlbum < ActiveRecord::Base
2
2
 
3
3
  attr_accessible :title, :url_name, :photos, :photo_ids
4
4
 
5
- has_many :spud_photo_albums_photos
5
+ has_many :spud_photo_albums_photos, :dependent => :destroy
6
6
  has_many :photos,
7
7
  :through => :spud_photo_albums_photos,
8
8
  :source => :spud_photo,
@@ -2,7 +2,7 @@ class SpudPhotoGallery < ActiveRecord::Base
2
2
 
3
3
  attr_accessible :title, :url_name, :albums, :album_ids
4
4
 
5
- has_many :spud_photo_galleries_albums
5
+ has_many :spud_photo_galleries_albums, :dependent => :destroy
6
6
  has_many :albums,
7
7
  :through => :spud_photo_galleries_albums,
8
8
  :source => :spud_photo_album
@@ -1,5 +1,5 @@
1
1
  module Spud
2
2
  module Photos
3
- VERSION = "0.9.0.1"
3
+ VERSION = "0.9.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spud_photos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0.1
4
+ version: 0.9.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-27 00:00:00.000000000 Z
12
+ date: 2012-11-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -276,7 +276,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
276
276
  version: '0'
277
277
  segments:
278
278
  - 0
279
- hash: -2572235991135577749
279
+ hash: 1193722346749498297
280
280
  required_rubygems_version: !ruby/object:Gem::Requirement
281
281
  none: false
282
282
  requirements:
@@ -285,7 +285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
285
285
  version: '0'
286
286
  segments:
287
287
  - 0
288
- hash: -2572235991135577749
288
+ hash: 1193722346749498297
289
289
  requirements: []
290
290
  rubyforge_project:
291
291
  rubygems_version: 1.8.24