importable_attachments 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -197,7 +197,7 @@ module ImportableAttachments
197
197
  # requesting to import headers that are not found in the spreadsheet
198
198
 
199
199
  def importable_class_headers_ok?
200
- extra_headers = importable_columns.map(&:downcase) - headers
200
+ extra_headers = importable_columns - headers
201
201
  if extra_headers.empty?
202
202
  @columns_not_found = nil
203
203
  return true
@@ -3,5 +3,4 @@ module ImportableAttachments # :nodoc:
3
3
  end
4
4
  end
5
5
 
6
- require 'importable_attachments/importers/csv'
7
- require 'importable_attachments/importers/excel'
6
+ require 'importable_attachments/importers/importer'
@@ -1,3 +1,3 @@
1
1
  module ImportableAttachments
2
- VERSION = '0.0.14'
2
+ VERSION = '0.0.15'
3
3
  end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: importable_attachments
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.14
5
+ version: 0.0.15
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paul Belt
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-04 00:00:00.000000000 Z
12
+ date: 2013-06-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: haml-rails