db_admin 0.1.4 → 0.1.5

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/db_admin.rb +1 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a8f97746d7103044bbf1dc369ba58e71f3187cf56be65ff25bd4db59306d3d5
4
- data.tar.gz: 8cfeffc151121b48db254645fcf35a3e0571a7140796d00b15f6ffb5e0b48830
3
+ metadata.gz: 1f8ca91c5487bf88b9be3339e6535a869a292f32b6dd99f762b40a53b7497524
4
+ data.tar.gz: d9a7108368da315d9af88b852167895d6548988e72291398a1e77067067fb7f9
5
5
  SHA512:
6
- metadata.gz: dae113ec5ed7439ce49e53a4454b9eac58877826d6562b31683febf3d1a9ba8a7c2178156f9a1f13b0f7c378b78e951b2ca428abcf644c16fbc4ad58fa646430
7
- data.tar.gz: 35cab1a68129ed60709e938b13a6d7eae444ba857c21562a01f63343f20ac02313c5e2173bd03f7550dcf0feb348b011faf353fe803e1d3a9999083ac6a47462
6
+ metadata.gz: 41a830abc163b9cec042f70b65a1e4af57ad3a690448d04c57b1dad9576286675f84701dbdc38d66baed0e452f75e4bfa01b9e8a6af6cf6c67be9d34908bef36
7
+ data.tar.gz: 7ce005a8a1def70323f57f456fc2282b71716851149b521e05822f78842df7a590da7561e21b3716bd3713eab9cd86e481b78789dc990bc02449f4003ddad678
data/lib/db_admin.rb CHANGED
@@ -9,16 +9,13 @@ module DBAdmin
9
9
  use Rack::MethodOverride
10
10
 
11
11
  DBs = []
12
- DB = nil
13
12
 
14
13
  # Direct connect. 'adapter' can be 'postgres', 'mysql2', 'sqlite', 'oracle', etc.
15
14
  # DB = Sequel.connect({ adapter: 'postgres',
16
15
  # host: 'hostname_or_ip',
17
16
  # database: 'database_name',
18
17
  # user: 'user',
19
- # password: '' })
20
-
21
- DBs << DB unless DB.nil?
18
+ # password: '' }); DBs << DB
22
19
 
23
20
  set :bind, '0.0.0.0'
24
21
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: db_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lane Zhang