rack-app-sequel 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/rack/app/sequel.rb +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd00123af00c6e2fdcf4d50c826d8a526eb14dd6
4
- data.tar.gz: 4d051b528a10285bc32665c28b5b974a54c6c2f1
3
+ metadata.gz: 23af9cd20adf68714349c3f34bc69b70a5674775
4
+ data.tar.gz: 9737aa5b69ac905706180b01ee050db873344cec
5
5
  SHA512:
6
- metadata.gz: 9987c2c2b3622d5b004f7a7279d038f901eda502727e5f403608de94ae184f08e55d5df520073d718aeb8ded52694c9bcc6b7a5b07c9fe998787351c66aa8c79
7
- data.tar.gz: bf63f57b9ab0430adde9982169d16855bdea8e7b971863887a0cd9c269b81343a4e7f1d46af5fa3b90bf3a4dca292db27ff9e5fbcb9c541e046e5e5905bf46e1
6
+ metadata.gz: 7028d06a03ead126f90eb6c807b284d18537a051ee02503628c5dbfcd20e04ff52a715724d6070a2c27aa9f8d159ce088806d1a28454fcc4d7308d93f90cbbcb
7
+ data.tar.gz: f09b34648c93c5e3178ba23ef08c7af7c3b5652c61d07ee46d6e35154283fdc72b0cffc83c3c9663a1d57ed1e463da953c5bd42f12b2c6fb1e90f42581c33069
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
@@ -6,8 +6,8 @@ module Rack::App::SeQueL
6
6
  require 'rack/app/sequel/version'
7
7
  require 'rack/app/sequel/migration'
8
8
 
9
- def open_connection
10
- Sequel.connect(ENV.fetch('DATABASE_URL'))
9
+ def open_connection(&block)
10
+ Sequel.connect(ENV.fetch('DATABASE_URL'), &block)
11
11
  end
12
12
 
13
13
  module_function :open_connection
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-app-sequel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Luzsi