csv2sqlite 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6237dc8a681326a22c8b0a1d595979507d978546
4
- data.tar.gz: 93459f44e1bf4398413410b1f99d1645edef716c
3
+ metadata.gz: f30ca220e1ad334594b2f367cb499011d89c876f
4
+ data.tar.gz: 18368c202097d9f7d433fd19b0c233377ba7d758
5
5
  SHA512:
6
- metadata.gz: c015892416d7f56a59e2f90d9833767ef21ddf43a831543d00735baddc416e15e391f21337c986d0c3ab8ba827bbe7431638620f21cf00225080266b691b5945
7
- data.tar.gz: bef203321ac61096841dc148232f82d1c50307c3d14b4ffc995230bf803b9be999770bcdb106ed3a128d9eec46eebaaed8e94e755df23974b4b2361d518f8ba5
6
+ metadata.gz: 14ec34e1cf97d089b29fe79d0d2cb31f3639cfbcb02b9cd6d07ee304a2778db656e9d7d84f3636824f7178ed549ed6f9fac9a29bf57521706d17a012d362f535
7
+ data.tar.gz: 125b0edaea078d74c77d0d1c15c83388746d94972932dcb7c17b544c0fd1bb41fb4d0fd41100c879d570e6b7a939f6f141c556f0a0b8441ae93d09f19cd90664
data/bin/csv2sqlite CHANGED
@@ -13,14 +13,12 @@ if ARGV.size < 2
13
13
  exit 0
14
14
  end
15
15
  config = %{
16
- development:
17
- adapter: sqlite3
18
- database: #{db}
19
- pool: 5
20
- timeout: 5000
16
+ adapter: sqlite3
17
+ database: #{db}
18
+ pool: 5
19
+ timeout: 5000
21
20
  }
22
- ActiveRecord::Base.configurations = YAML::load(config)
23
- ActiveRecord::Base.establish_connection('development')
21
+ ActiveRecord::Base.establish_connection(YAML::load(config))
24
22
 
25
23
  if c = ::ActiveRecord::Base.connection
26
24
  # see http://www.sqlite.org/pragma.html for details
@@ -1,3 +1,3 @@
1
1
  module Csv2sqlite
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csv2sqlite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Brumm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-17 00:00:00.000000000 Z
11
+ date: 2017-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  version: '0'
119
119
  requirements: []
120
120
  rubyforge_project:
121
- rubygems_version: 2.2.2
121
+ rubygems_version: 2.5.1
122
122
  signing_key:
123
123
  specification_version: 4
124
124
  summary: Provides a simple command line tool for converting directory of csv's to