midb 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/midb/server_model.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9821cd0f1f71f4e4c626f0197e2c425b27c84885
4
- data.tar.gz: 48ba776f73d9e56730c668271bc7a553f0ed6d6e
3
+ metadata.gz: b37dd9b038aa5425ec0fc5dfd4295eec61cca3ad
4
+ data.tar.gz: 3390325a24bae8e546be1d5a78c85d3fbebf7afb
5
5
  SHA512:
6
- metadata.gz: 448e8d6c0cb6d71d645939fe5b3bd98b92712adbaf47f42f372bc2807696e7355689cd956a373eca28594e3a35468b13cc0f80627162fe91606d4e63f2a56967
7
- data.tar.gz: 5c54118c7da5ff00ef97dfc9f05e8057aaeeddd591317f95eabfc3ba8781da386950345e5da70a5245a9e40f929ca14d1f2bb9272fd6d43a0323f62995b1f168
6
+ metadata.gz: 053718879b227621716eecb7b74ed52b26a53efa73a30e4963951671e72cf10d93fb68cc70ad0c61f02864b21b6e59bb9eb39170c944034561ac1a9914c6d0ae
7
+ data.tar.gz: 2ed82d2e79b8b63ab4753cd7d55009065a9b9549c438a22a6a9b0268a043778cd9090b4a3c60fffb180b9a4b724662355fdec7dad3a3c5fb2b904b1266b10ee0
@@ -228,7 +228,7 @@ module MIDB
228
228
  dbe = MIDB::DbengineModel.new()
229
229
  dblink = dbe.connect()
230
230
  rows = dbe.query(dblink, "SELECT * FROM #{self.get_structure.values[0].split('/')[0]} WHERE id=#{id};")
231
- if dblink.length(rows) > 0
231
+ if dbe.length(rows) > 0
232
232
  rows.each do |row|
233
233
  jso[row["id"]] = self.get_structure
234
234
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: midb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - unrar