pools 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +19 -0
  3. metadata +20 -17
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3f4d5a46ef0360c43345c8c7a0c628ef0b1161b0
4
+ data.tar.gz: 4b33ece30a5d0584537fd9f9c22b829c5d142785
5
+ SHA512:
6
+ metadata.gz: b4acccfafc3230add72d40537b1fd5a46c837d2a50fd0681476b11c52a8b89cf4ef5644e5c52ebe46c0ab493f684e6aeddbd2983dadce0c48b8ee9e62036175a
7
+ data.tar.gz: bd71f510950c19e75a34801410b9ba117ef177be1d13938f7c4ab5055d36268fbea2a514447b0ae4bb6576c452b06a06baeb9df86fdfd1d549b0c52f012215d9
data/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  pools
2
2
  -----
3
3
 
4
+ <a href="http://badge.fury.io/rb/pools"><img src="https://badge.fury.io/rb/pools@2x.png" alt="Gem Version" height="18"></a>
5
+ [![Build Status](https://travis-ci.org/rykov/pools.png)](https://travis-ci.org/rykov/pools)
6
+
4
7
  Provides connection pooling for multiple services that
5
8
  use persistent connections
6
9
 
@@ -10,6 +13,22 @@ Installation
10
13
  $ gem install pools
11
14
 
12
15
 
16
+ Redis Connection Pooling
17
+ ========================
18
+
19
+ ```ruby
20
+ redis = Redis::Pooled.new(regular_init_options)
21
+ redis.set("Regular", "Command")
22
+
23
+ # Check out a connection for multiple commands
24
+ redis.with_connection do |conn|
25
+ conn.multi
26
+ a = conn.get('a')
27
+ conn.set('b', a)
28
+ conn.exec
29
+ end
30
+ ```
31
+
13
32
  Author
14
33
  =====
15
34
 
metadata CHANGED
@@ -1,33 +1,37 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
5
- prerelease:
4
+ version: 0.1.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Michael Rykov
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-02-20 00:00:00.000000000 Z
11
+ date: 2013-12-28 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activesupport
16
- requirement: &70307295130540 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 3.0.0
22
20
  - - <
23
21
  - !ruby/object:Gem::Version
24
- version: '4.0'
22
+ version: '4.2'
25
23
  type: :runtime
26
24
  prerelease: false
27
- version_requirements: *70307295130540
28
- description: ! 'Generalized connection pooling
29
-
30
- '
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 3.0.0
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: '4.2'
33
+ description: |
34
+ Generalized connection pooling
31
35
  email: mrykov@gmail
32
36
  executables: []
33
37
  extensions: []
@@ -47,26 +51,25 @@ files:
47
51
  - lib/redis/pooled_store.rb
48
52
  homepage: http://github.com/rykov/pools
49
53
  licenses: []
54
+ metadata: {}
50
55
  post_install_message:
51
56
  rdoc_options: []
52
57
  require_paths:
53
58
  - lib
54
59
  required_ruby_version: !ruby/object:Gem::Requirement
55
- none: false
56
60
  requirements:
57
- - - ! '>='
61
+ - - '>='
58
62
  - !ruby/object:Gem::Version
59
63
  version: '0'
60
64
  required_rubygems_version: !ruby/object:Gem::Requirement
61
- none: false
62
65
  requirements:
63
- - - ! '>='
66
+ - - '>='
64
67
  - !ruby/object:Gem::Version
65
68
  version: '0'
66
69
  requirements: []
67
70
  rubyforge_project:
68
- rubygems_version: 1.8.11
71
+ rubygems_version: 2.0.14
69
72
  signing_key:
70
- specification_version: 3
73
+ specification_version: 4
71
74
  summary: Generalized connection pooling
72
75
  test_files: []