file_column_with_s3 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
File without changes
data/lib/file_column.rb CHANGED
@@ -2,6 +2,7 @@ require 'fileutils'
2
2
  require 'tempfile'
3
3
  require 'magick_file_column'
4
4
  require 'storage'
5
+ require 'file_column/validations'
5
6
 
6
7
  module FileColumn # :nodoc:
7
8
  def self.append_features(base)
@@ -9,6 +9,7 @@ module ActiveRecord # :nodoc:
9
9
  class Base # :nodoc:
10
10
  # make file_column method available in all active record decendants
11
11
  include FileColumn
12
+ include FileColumn::Validations
12
13
  end
13
14
  end
14
15
 
@@ -16,7 +16,6 @@ $: << "../lib"
16
16
  require 'file_column'
17
17
  require 'file_column_helper'
18
18
  require 'file_compat'
19
- require 'validations'
20
19
  require 'test_case'
21
20
 
22
21
  # do not use the file executable normally in our tests as
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: file_column_with_s3
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mingle SaaS team
@@ -101,13 +101,13 @@ extra_rdoc_files: []
101
101
 
102
102
  files:
103
103
  - Rakefile
104
+ - lib/file_column/validations.rb
104
105
  - lib/file_column.rb
105
106
  - lib/file_column_helper.rb
106
107
  - lib/file_compat.rb
107
108
  - lib/magick_file_column.rb
108
109
  - lib/rails_file_column.rb
109
110
  - lib/test_case.rb
110
- - lib/validations.rb
111
111
  - test/abstract_unit.rb
112
112
  - test/connection.rb
113
113
  - test/file_column_helper_test.rb