volt-sql 0.0.5 → 0.0.6

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: 9170f0bfd9050624d60786b0328dd78901deab08
4
- data.tar.gz: dc2eb571cfd3594d06616957d89e407599f5016a
3
+ metadata.gz: 82dea3aed38d6078f85ccc292664f511572be317
4
+ data.tar.gz: b3e2b71cc9a99dbf06ad0f971f32343e9c5ca9f6
5
5
  SHA512:
6
- metadata.gz: 977efa469e11fb00ef3cd3866abefa103fbbe7c632fdf9decfdf5659d8dd3649d51d6a87eeb098fcde59cdc5f2895e80d81debbef5cd38d115823d44559b105e
7
- data.tar.gz: cfb1cf895af86294526192a3c2507f71d3d3c803149ff487d9f9becfbff3eb67c94982c8f5c0364f9a5bf584bcbb7f5a59227207c50df8cd5453cbd7fdaf440d
6
+ metadata.gz: 05ffe93c5d5ecda9485abdda02bac1fa7328894245646d79f22a105434b0ce96ce23aec29bf0f04b51d9c9c764ad009159716f1c8f60446b3e783142b0972912
7
+ data.tar.gz: faf9bb952d7634b4a6e93973a99eb2c1f752a0f1045b7e21553ce93222b5110553ea741cad9564386a5c9035f0bfaa9509ce23f2a0eb38c9f73b7d7572d21f8f
@@ -54,9 +54,11 @@ module Volt
54
54
  end
55
55
  end
56
56
 
57
- # Set db_driver on public
58
- Volt.configure do |config|
59
- config.db_driver = 'sqlite'
57
+ # Set db_driver if not set
58
+ unless Volt.config.db_driver
59
+ Volt.configure do |config|
60
+ config.db_driver = 'sqlite'
61
+ end
60
62
  end
61
63
 
62
64
  # check if the database can be connected to.
@@ -1,5 +1,5 @@
1
1
  module Volt
2
2
  module Sql
3
- VERSION = '0.0.5'
3
+ VERSION = '0.0.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volt-sql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Stout
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-06 00:00:00.000000000 Z
11
+ date: 2015-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sequel