hot_tub 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # HotTub [![Build Status](https://travis-ci.org/JoshMcKin/hot_tub.png?branch=master)](https://travis-ci.org/JoshMcKin/hot_tub)
2
2
  A simple thread-safe connection pool and sessions gem. Out-of-the-box support for [Excon](https://github.com/geemus/excon) and
3
3
  [EM-Http-Requests](https://github.com/igrigorik/em-http-request) via [EM-Synchrony](https://github.com/igrigorik/em-synchrony).
4
- There are a couple Ruby connection pooling libraries out there but HotTub differs from most with all its features.
5
4
 
6
5
  ## Features
7
6
 
@@ -1,3 +1,3 @@
1
1
  module HotTub
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
data/lib/hot_tub.rb CHANGED
@@ -16,11 +16,11 @@ module HotTub
16
16
  end
17
17
 
18
18
  def self.em?
19
- (defined?(EM) && EM::reactor_running?)
19
+ (defined?(EM))
20
20
  end
21
21
 
22
22
  def self.em_synchrony?
23
- (self.em? && defined?(EM::Synchrony))
23
+ (defined?(EM::Synchrony))
24
24
  end
25
25
 
26
26
  def self.jruby?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hot_tub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -116,7 +116,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
116
116
  version: '0'
117
117
  segments:
118
118
  - 0
119
- hash: -4288862352751305264
119
+ hash: 1539670545928436962
120
120
  required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  none: false
122
122
  requirements:
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  segments:
127
127
  - 0
128
- hash: -4288862352751305264
128
+ hash: 1539670545928436962
129
129
  requirements: []
130
130
  rubyforge_project: hot_tub
131
131
  rubygems_version: 1.8.25