has_media 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/spec/has_media_spec.rb +9 -0
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -3,6 +3,15 @@ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
3
3
  describe "HasMedia" do
4
4
 
5
5
  before :all do
6
+ # load models and uploaders examples
7
+ Dir.glob(File.dirname(__FILE__) + '/../examples/uploaders/*.rb').each do |uploader|
8
+ require uploader
9
+ end
10
+
11
+ Dir.glob(File.dirname(__FILE__) + '/../examples/models/*.rb').each do |model|
12
+ require model
13
+ end
14
+
6
15
  class MediumRelatedTest < ActiveRecord::Base
7
16
  include HasMedia
8
17
  has_one_medium :image, :only => :image
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_media
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - klacointe