turboquery 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d6bd46b41d6d5baeb34472747dbe0f5a2e16969
4
- data.tar.gz: 559e0f862431be27b52c87d154bfa301fa2a02d2
3
+ metadata.gz: b73836abdc1fd0ce1cf8adc48ba31702bb6c3e7a
4
+ data.tar.gz: 10d089fca138d4fda62bb316cae6ab5e2086adbf
5
5
  SHA512:
6
- metadata.gz: 924f467bb0f04f43a8d4fd64e4aab964845e713ac5c6db5446158ce86b0409fd0dc1fba5f585edf89697298b43a36c6d891fe1e81d1b694cdfc8edc15302b427
7
- data.tar.gz: 649340bb8e11b36b0af75de637ffbc3f9bd0feb4b6d9acf08e460655a50882a7418163d11f0faf95f398c4146303af77377e346226e9827c867275fce5b5b47c
6
+ metadata.gz: 45322b571d2ff343ae0e0ed88205cb39d0c842f824169416eb102726186b55ac8dc3d2447bbbdc809bdcc938a4530c88e57f5eeba57adb1de4fda16320655216
7
+ data.tar.gz: 821b007798149904cca50a798bd7fc3fc3531f6133a8048d76b333ce24d226924c116d8d377fd4f6002e82e0e3d356388a256247a7b099146f9b2e24a8a896a8
@@ -47,6 +47,7 @@ class Turboquery::OLAP < Turboquery::Connection
47
47
 
48
48
  class AROLAP < ActiveRecord::Base
49
49
  def self.connect
50
+ return unless Turboquery.olap_database_url
50
51
  establish_connection Turboquery::DatabaseUrl.new(Turboquery.olap_database_url).to_hash
51
52
  end
52
53
  end
@@ -34,6 +34,7 @@ class Turboquery::OLTP < Turboquery::Connection
34
34
 
35
35
  class AROLTP < ActiveRecord::Base
36
36
  def self.connect
37
+ return unless Turboquery.oltp_database_url
37
38
  establish_connection Turboquery::DatabaseUrl.new(Turboquery.oltp_database_url).to_hash
38
39
  end
39
40
  end
@@ -1,3 +1,3 @@
1
1
  module Turboquery
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turboquery
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Gillespie