ruby_gallery 0.3.0.1 → 0.3.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1,2 +1,2 @@
1
- 0.3.0.1
1
+ 0.3.0.2
2
2
 
@@ -1,9 +1,9 @@
1
1
  class RubyGalleryAddColumnsToAlbumPhotos < ActiveRecord::Migration
2
- def change_table :album_photos do |t|
3
- t.attachment, :photo
2
+ def self.up :album_photos do |t|
3
+ t.has_attached_file, :photo
4
4
  end
5
5
 
6
6
  def self.down
7
- remove_attachment :album_photos , :photo
7
+ drop_attached_file :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.1"
8
+ s.version = "0.3.0.2"
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.1
4
+ version: 0.3.0.2
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: 1315679884824846965
217
+ hash: 4162273849680771234
218
218
  required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  none: false
220
220
  requirements: