ruby_gallery 0.3.0 → 0.3.0.1

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.
data/VERSION CHANGED
@@ -1,2 +1,2 @@
1
- 0.3.0
1
+ 0.3.0.1
2
2
 
@@ -1,9 +1,9 @@
1
1
  class RubyGalleryAddColumnsToAlbumPhotos < ActiveRecord::Migration
2
- def self.up
3
- has_attached_file :album_photos, :photo
2
+ def change_table :album_photos do |t|
3
+ t.attachment, :photo
4
4
  end
5
5
 
6
6
  def self.down
7
- has_attached_file :album_photos , :photo
7
+ remove_attachment :album_photos , :photo
8
8
  end
9
9
  end
data/ruby_gallery.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ruby_gallery"
8
- s.version = "0.3.0"
8
+ s.version = "0.3.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Peter Dang"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_gallery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -214,7 +214,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
214
214
  version: '0'
215
215
  segments:
216
216
  - 0
217
- hash: 2604311702180512711
217
+ hash: 1315679884824846965
218
218
  required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  none: false
220
220
  requirements: