csv_to_sqlite 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  module CSVToSqlite
2
2
 
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  ROOT = File.expand_path(File.join(File.dirname(__FILE__), '../'))
5
5
 
6
6
  autoload :Runner, "#{ROOT}/lib/csv_to_sqlite/runner"
@@ -13,7 +13,7 @@ module CSVToSqlite
13
13
 
14
14
  def initialize(source, target, table_name=nil, column_names=nil)
15
15
  if File.exists?(source)
16
- @source = IO.readlines(source)
16
+ @source = IO.readlines(source).to_s
17
17
  else
18
18
  @source = source
19
19
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csv_to_sqlite
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - A.C. Wright
@@ -59,7 +59,6 @@ extra_rdoc_files: []
59
59
 
60
60
  files:
61
61
  - bin/csv_to_sqlite
62
- - bin/file.sqlite3
63
62
  - lib/csv_to_sqlite/parser.rb
64
63
  - lib/csv_to_sqlite/runner.rb
65
64
  - lib/csv_to_sqlite.rb
Binary file