forked from smathieu/data_loader
-
Notifications
You must be signed in to change notification settings - Fork 2
/
data_loader.gemspec
25 lines (22 loc) · 1.07 KB
/
data_loader.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "data_loader/version"
Gem::Specification.new do |s|
s.name = "data_loader"
s.version = DataLoader::VERSION
s.platform = Gem::Platform::RUBY
s.required_ruby_version = '>= 1.8.7'
s.authors = ["Nathan Youngman"]
s.email = ["git@nathany.com"]
s.homepage = "https://github.com/nathany/data_loader"
s.summary = %q{Loads CSV data into MySQL, doing an initial scan to determine datatypes.}
s.description = %q{Uses fastercsv to scan a few lines of a CSV and create a schema with ActiveRecord. It does the actual file load with MySQL LOAD DATA.}
s.add_dependency('fastercsv', '~> 1.5.4')
s.add_dependency('activerecord', '>= 2.0.0')
s.add_development_dependency('rspec', '~> 1.3')
s.add_development_dependency('rake', '~> 0.9.2')
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
end