sinatra-synchrony 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Gemfile.lock +21 -25
  2. data/lib/sinatra/synchrony.rb +4 -0
  3. metadata +2 -2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sinatra-synchrony (0.2.1)
4
+ sinatra-synchrony (0.2.2)
5
5
  em-http-request (= 1.0.0)
6
6
  em-resolv-replace (>= 1.1.1)
7
7
  em-synchrony (= 1.0.0)
@@ -12,14 +12,14 @@ PATH
12
12
  GEM
13
13
  remote: http://rubygems.org/
14
14
  specs:
15
- ParseTree (3.0.7)
15
+ ParseTree (3.0.8)
16
16
  RubyInline (>= 3.7.0)
17
17
  sexp_processor (>= 3.0.0)
18
- RubyInline (3.9.0)
18
+ RubyInline (3.11.0)
19
19
  ZenTest (~> 4.3)
20
- ZenTest (4.5.0)
20
+ ZenTest (4.6.2)
21
21
  addressable (2.2.6)
22
- diff-lcs (1.1.2)
22
+ diff-lcs (1.1.3)
23
23
  em-http-request (1.0.0)
24
24
  addressable (>= 2.2.3)
25
25
  em-socksify
@@ -31,32 +31,35 @@ GEM
31
31
  em-synchrony (1.0.0)
32
32
  eventmachine (>= 1.0.0.beta.1)
33
33
  eventmachine (1.0.0.beta.3)
34
- file-tail (1.0.5)
35
- spruz (>= 0.1.0)
36
- http_parser.rb (0.5.2)
37
- minitest (2.1.0)
38
- predicated (0.2.2)
39
- rack (1.2.2)
34
+ file-tail (1.0.7)
35
+ tins (~> 0.3)
36
+ http_parser.rb (0.5.3)
37
+ minitest (2.6.2)
38
+ predicated (0.2.6)
39
+ rack (1.3.5)
40
40
  rack-fiber_pool (0.9.2)
41
+ rack-protection (1.1.4)
42
+ rack
41
43
  rack-test (0.5.7)
42
44
  rack (>= 1.0)
43
- rake (0.8.7)
44
- ruby2ruby (1.2.5)
45
+ rake (0.9.2)
46
+ ruby2ruby (1.3.1)
45
47
  ruby_parser (~> 2.0)
46
48
  sexp_processor (~> 3.0)
47
49
  ruby_parser (2.0.6)
48
50
  sexp_processor (~> 3.0)
49
- sexp_processor (3.0.5)
50
- sinatra (1.2.6)
51
- rack (~> 1.1)
52
- tilt (< 2.0, >= 1.2.2)
51
+ sexp_processor (3.0.7)
52
+ sinatra (1.3.1)
53
+ rack (>= 1.3.4, ~> 1.3)
54
+ rack-protection (>= 1.1.2, ~> 1.1)
55
+ tilt (>= 1.3.3, ~> 1.3)
53
56
  sourcify (0.5.0)
54
57
  file-tail (>= 1.0.5)
55
58
  ruby2ruby (>= 1.2.5)
56
59
  ruby_parser (>= 2.0.5)
57
60
  sexp_processor (>= 3.0.5)
58
- spruz (0.2.6)
59
61
  tilt (1.3.3)
62
+ tins (0.3.1)
60
63
  wrong (0.5.0)
61
64
  ParseTree (~> 3.0)
62
65
  diff-lcs (~> 1.1.2)
@@ -66,15 +69,8 @@ GEM
66
69
  ruby_parser (~> 2.0.4)
67
70
  sexp_processor (~> 3.0)
68
71
  sourcify (>= 0.3.0)
69
- wrong (0.5.0-java)
70
- diff-lcs (~> 1.1.2)
71
- predicated (>= 0.2.2)
72
- ruby2ruby (~> 1.2)
73
- ruby_parser (~> 2.0.4)
74
- sexp_processor (~> 3.0)
75
72
 
76
73
  PLATFORMS
77
- java
78
74
  ruby
79
75
 
80
76
  DEPENDENCIES
@@ -7,6 +7,10 @@ require 'em-resolv-replace'
7
7
 
8
8
  module Sinatra
9
9
  module Synchrony
10
+ def self.registered(app)
11
+ app.disable :threaded
12
+ end
13
+
10
14
  def setup_sessions(builder)
11
15
  builder.use Rack::FiberPool, {:rescue_exception => handle_exception } unless test?
12
16
  super
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sinatra-synchrony
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.1
5
+ version: 0.3.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kyle Drake
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-09-14 00:00:00 -07:00
13
+ date: 2011-10-20 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency