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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 71880ac5a65089aaa8aceb84e3e9628f08a1207a
4
- data.tar.gz: 7a3bc0e61ddca2e3dd6bdcea056c6f5c5dcd7974
3
+ metadata.gz: 1039bf1d4986cc417fd60adc6ab7a80acc7ccf00
4
+ data.tar.gz: b68bed313db749d66341f87a8c7b00410e31695b
5
5
  SHA512:
6
- metadata.gz: 4b8fd846c3800d8b3ae16aa74a276ed62b8c045fef18e12ad3050dc99e96aca618b0f5a4d974e248f990d66e1bd6b291a5ed56b8fe86a8d8d0089108b06d38fe
7
- data.tar.gz: c59862a9475df45e1279bd3b4aa8f47fab8c3c160eb283155c7513c24c5e6e104275b2f2979f19c9cdcbcc7ac5bd4aa73e1f1d8d96c822b8aac9c590b14366f4
6
+ metadata.gz: 72d1dfd9593f9410778bb04eeb4d08e4c73a20a3a52ebc21cf631eb5f74cc411259357c81433c70586a8499a0146da36a10ac5d88a5af74b620123c2e39e072d
7
+ data.tar.gz: 8b4c711888594c5439bdfa692e3cefcec07dc9f641cdea0c1d356ca1b49fa9d6d9eab0f1aa96114c61624afda92c8e30077d040608d2363ecfd0d9d24c5b29eb
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Perus
2
- VERSION = "0.1.32"
2
+ VERSION = "0.1.33"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.32
4
+ version: 0.1.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Cannings