rack-fiber_pool 1.0.0.beta.1 → 1.0.0.beta.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODZjMmFjMWUyNjYyMDQ4NzFkYzE4ZGQ3NDRmOWMzYzNiMTBhMWQ3ZQ==
4
+ YThmZmFiYWNiYmM3Yjg2MDdiYzdhMzNhZTMzZmRkZjhjM2M2ZTc5Yg==
5
5
  data.tar.gz: !binary |-
6
- ZWFiODk4Mzc2Y2RkNmIzODk4NGRjYTEwNmZmMTA5ODAyMmY2ZDM2YQ==
6
+ ZDhjOGJmOTI5ZDM2N2VmYzg4MGMyMTcwYTRmMWVkNDUwYTJlZTc4Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTIxYWI1NjRkODY3MTQxNTU5OWZjYmFlZWQwY2Q0NDI1YmVjMDdjZGZmMTc5
10
- N2I3YzUwNmFlZGM3MjMwNmI0NWNkOWM3ZWFhYmJlZGI0MmJkZWUyMDEyOGRl
11
- NzkzZWI5MzY2NzRmZTNhZmYwNzUxYTczOWU5N2ZiYWMyMjk3M2Y=
9
+ OTQ3YjhiOTgyMTZjODlkNDU4M2M5ZDkzNTQwZTdmNDFmZDg2MGEzZDZmMDFm
10
+ MzEwYzQwZTFkYWNkZjkzOWQ4MTIyMGI1Mjk2ZWFmYTYzMTg2NWMyZjdlODA2
11
+ NTUzZDRjOThhMGU1ZWE0NzE4ZDY3YTM1YTg1NjAxMDQxYmNlYmE=
12
12
  data.tar.gz: !binary |-
13
- ZDNiYzRjODMwM2U5YmM4YTY5OTFhYTYyOGZmYjBjZWUyNmNlYWRjYWU0OGRh
14
- MjQ2NmJkMWQ3ZjFhY2IyZWVlODY1OTk1YWVhZDkyYmIzZDVjOWYxMmIxODFl
15
- NGM3NmFlODY3YzM5ZDgwNWYxODdiOWI2MjAzODRkZTZlYmFiMzg=
13
+ ZDNhYWRlZTA2NDZmZGE3YmQwODNiNjE4ZGM4YTk5NDFhOGQ2YWMyMDNkYTRh
14
+ MjE1Y2FlZmYxZWVmYmNkODZmZWUzMDYxZjQxZmFhOWEzNWM2ZjA2MzRjNDA1
15
+ ZTYxODhmMTFmNGQ3NDgzNDcwNzAzNzkwZjIxN2M4MmE4NWU4ZjU=
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.0.0
data/Gemfile CHANGED
@@ -2,4 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'coveralls'
5
+ gem 'coveralls', require: false
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
-
2
1
  rack-fiber_pool
3
- ---------------
2
+ ===============
3
+ [![Dependency Status](https://gemnasium.com/alebsack/rack-fiber_pool.png)](https://gemnasium.com/alebsack/rack-fiber_pool) [![Coverage Status](https://coveralls.io/repos/alebsack/rack-fiber_pool/badge.png)](https://coveralls.io/r/alebsack/rack-fiber_pool) [![Build Status](https://travis-ci.org/alebsack/rack-fiber_pool.png?branch=master)](https://travis-ci.org/alebsack/rack-fiber_pool) [![Code Climate](https://codeclimate.com/github/alebsack/rack-fiber_pool.png)](https://codeclimate.com/github/alebsack/rack-fiber_pool)
4
4
 
5
5
  A Rack middleware component which runs each request in a Fiber from a pool of Fibers.
6
6
 
@@ -13,9 +13,7 @@ Requirements
13
13
  Usage
14
14
  =======
15
15
 
16
- Add a require and use statement to your Rack app. See example/app.rb for a simple Sinatra app
17
- which illustrates proper usage. In general, you want the FiberPool to be inserted as early as
18
- possible in the middleware pipeline.
16
+ Add a require and use statement to your Rack app. See example/app.rb for a simple Sinatra app which illustrates proper usage. In general, you want the FiberPool to be inserted as early as possible in the middleware pipeline.
19
17
 
20
18
  Options
21
19
  =======
@@ -62,9 +60,11 @@ Changes
62
60
  ==========
63
61
 
64
62
  0.9.3 - fix incompatibility with sinatra streaming, new maintainer (alebsack)
63
+ 1.0.0.beta.1 - Refactor, maintaining compatibility
65
64
 
66
-
67
- Author
65
+ Authors
68
66
  ======
69
67
 
70
- Mike Perham, [Twitter](http://twitter.com/mperham), [Github](http://github.com/mperham), mperham AT gmail.com.
68
+ Adam Lebsack, [Github](http://github.com/alebsack), alebsack AT gmail.com.
69
+
70
+ Mike Perham, [Twitter](http://twitter.com/mperham), [Github](http://github.com/mperham), mperham AT gmail.com.
@@ -22,7 +22,6 @@ module Rack
22
22
  @rescue_exception = options[:rescue_exception] || proc do |env, e|
23
23
  [500, {}, ["#{e.class.name}: #{e.message.to_s}"]]
24
24
  end
25
- yield @fiber_pool if block_given?
26
25
  end
27
26
 
28
27
  def call(parent_env)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "rack-fiber_pool"
5
- spec.version = '1.0.0.beta.1'
5
+ spec.version = '1.0.0.beta.2'
6
6
  spec.authors = ["Mike Perham", 'Adam Lebsack']
7
7
  spec.date = Time.now.utc.strftime("%Y-%m-%d")
8
8
  spec.email = %w(mperham@gmail.com alebsack@gmail.com)
@@ -17,7 +17,6 @@ Gem::Specification.new do |spec|
17
17
  spec.require_paths = ["lib"]
18
18
 
19
19
  spec.add_runtime_dependency 'rack'
20
- spec.add_runtime_dependency 'fiberpool'
21
20
 
22
21
  spec.add_development_dependency 'thin', '~> 1.6.1'
23
22
  spec.add_development_dependency 'em-synchrony'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-fiber_pool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta.1
4
+ version: 1.0.0.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Perham
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-15 00:00:00.000000000 Z
12
+ date: 2013-11-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
@@ -25,20 +25,6 @@ dependencies:
25
25
  - - ! '>='
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
- - !ruby/object:Gem::Dependency
29
- name: fiberpool
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - ! '>='
33
- - !ruby/object:Gem::Version
34
- version: '0'
35
- type: :runtime
36
- prerelease: false
37
- version_requirements: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - ! '>='
40
- - !ruby/object:Gem::Version
41
- version: '0'
42
28
  - !ruby/object:Gem::Dependency
43
29
  name: thin
44
30
  requirement: !ruby/object:Gem::Requirement
@@ -230,6 +216,7 @@ extensions: []
230
216
  extra_rdoc_files: []
231
217
  files:
232
218
  - .gitignore
219
+ - .travis.yml
233
220
  - Gemfile
234
221
  - Guardfile
235
222
  - LICENSE