perus 0.1.32 → 0.1.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/perus/server/db.rb +1 -1
- data/lib/perus/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1039bf1d4986cc417fd60adc6ab7a80acc7ccf00
|
4
|
+
data.tar.gz: b68bed313db749d66341f87a8c7b00410e31695b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72d1dfd9593f9410778bb04eeb4d08e4c73a20a3a52ebc21cf631eb5f74cc411259357c81433c70586a8499a0146da36a10ac5d88a5af74b620123c2e39e072d
|
7
|
+
data.tar.gz: 8b4c711888594c5439bdfa692e3cefcec07dc9f641cdea0c1d356ca1b49fa9d6d9eab0f1aa96114c61624afda92c8e30077d040608d2363ecfd0d9d24c5b29eb
|
data/lib/perus/server/db.rb
CHANGED
@@ -17,7 +17,7 @@ module Perus::Server
|
|
17
17
|
Sequel.extension :inflector
|
18
18
|
|
19
19
|
# connect/create the database and run any new migrations
|
20
|
-
@db = Sequel.postgres('perus', host: (Server.options.db['host'] || ENV['POSTGRES_HOST'] || 'localhost'), username: Server.options.db['username'], password: Server.options.db['password'])
|
20
|
+
@db = Sequel.postgres((Server.options.db['db'] || 'perus'), host: (Server.options.db['host'] || ENV['POSTGRES_HOST'] || 'localhost'), username: Server.options.db['username'], password: Server.options.db['password'])
|
21
21
|
Sequel::Migrator.run(@db, File.join(__dir__, 'migrations'))
|
22
22
|
|
23
23
|
# load models - these rely on an existing db connection
|
data/lib/perus/version.rb
CHANGED