uc3-dmp-rds 0.0.4 → 0.0.5

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
  SHA256:
3
- metadata.gz: 1be75cdfe260075dc790f750d3a0c5eef5fd48b12ba9d42e7cc832b694f093f8
4
- data.tar.gz: 6ddbadc7cf8595f163d9610b5bbcc8ec9986cda617e663dcb981cd563ff8199a
3
+ metadata.gz: a3b92897b9f3bd68bd920725e13c46d9b04bb4f5c210ffa353091000ac68f445
4
+ data.tar.gz: f2136fb308e575f9bb875be65d602be6eced6773a78f8ecad797d0d569721193
5
5
  SHA512:
6
- metadata.gz: 85a9216badee097b5a4b1212ca2754c77ae04761792ca8839b452c4fea002614872d4310063ad5a1af91f1fd238eaaa8914320c6d1506ea274401f6250027777
7
- data.tar.gz: f33726a060b15cdb7ab7d9f9d2db09504924f74da6a8eb4ff5b6b1837c38dac74c3aef1fd99802f10666162cbd939aa4d45cb05967a2b2f34aec652d6177680f
6
+ metadata.gz: 3ef489cd7947182aa1f75dfcdf6afbf44325769e41f83989be41ce2e96bc73244dfe08c010239e7a43813920bd042aa2e9bab9e9782956197d9f7c90695d6e69
7
+ data.tar.gz: 96fbb73012933fde71ab2bc4f523c68ce5c7d4d007c7e4b9a0ee1e8b65ac51920e64b318f30d3a23d39bdfd5595ff25805161ad76a5498b5c02134a0c1d6acb6
@@ -35,12 +35,12 @@ module Uc3DmpRds
35
35
  password: creds[:password],
36
36
  encoding: 'utf8mb4'
37
37
  )
38
- # ActiveRecord::Base.connected?
38
+ ActiveRecord::Base.connected?
39
39
  end
40
40
 
41
41
  # Execute the specified query using ActiveRecord's helpers to sanitize the input
42
42
  def execute_query(sql:, **params)
43
- # raise StandardError, MSG_NO_CONNECTION unless ActiveRecord::Base.connected?
43
+ raise StandardError, MSG_NO_CONNECTION unless ActiveRecord::Base.connected?
44
44
  return [] unless sql.is_a?(String) && !sql.strip.empty? && (params.nil? || params.is_a?(Hash))
45
45
  # Verify that all of the kewords are accounted for and that values were supplied
46
46
  raise StandardError, MSG_KEYWORDS_INVALID unless _verify_params(sql: sql, params: params)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpRds
4
- VERSION = '0.0.4'
4
+ VERSION = '0.0.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-dmp-rds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley