rack-mdk 2.0.36 → 2.0.37

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/rack/mdk.rb +4 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ebbe4a9c6d65271d3f36232dc72be279775895d
4
- data.tar.gz: b335af1429945c234c39225257dec6ee2b73f25d
3
+ metadata.gz: db2bdbd87a895ffe6133409194bc60e18e7ee8f2
4
+ data.tar.gz: 76c86b2c7309634d18d86b2fbafb965e4fb12d9a
5
5
  SHA512:
6
- metadata.gz: 1a728f35c450304164d4fa0a5c0585daa2920da99fcfb37b1717fe0dd4d6905ac54d82a16d08818381ef25d0494847e5d12d6db32e99417ac31beb6388070b8a
7
- data.tar.gz: 019b983891b54a42622bf92cbab5fe2dc7fa28915cf2da1cf46f4c660ab09854691231d506c309be29fbecf434aedede9f8fef56f64aebb2088c9404d14beb6a
6
+ metadata.gz: 9e533618156d852dcc2e7f5adb393c5a13ce6d69fea676028abf7cbc8484c3983a3dd4e834cadeca8cc8ee71ebdf5bae72129bc0ba72567fc2cb22a7b53a9a9a
7
+ data.tar.gz: 5c2f8afbf82aa9ebbeb79643379285bfd94acb9d94d70952caef78c18c18e0271a4a2d1239b137e576bc1c9a5d700a8111effd834e8d9ccba5f208bedb016733
@@ -1,10 +1,12 @@
1
- require 'mdk'
2
-
3
1
  module Rack
4
2
  module MDK
5
3
 
6
4
  class Session
7
5
  def initialize(app, params={})
6
+ # Quark runtime has at_exit that stops it... and sinatra only runs via
7
+ # at_exit! So we want to make sure Quark runtime starts *after* sinatra
8
+ # has started. Which is why we only require 'mdk' here:
9
+ require 'mdk'
8
10
  @app = app
9
11
  @mdk = ::Quark::Mdk.start
10
12
  if params[:timeout] != nil
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-mdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.36
4
+ version: 2.0.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Datawire Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-21 00:00:00.000000000 Z
11
+ date: 2016-11-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: