hiredis 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiredis
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 3
8
- - 1
9
- version: 0.3.1
4
+ prerelease:
5
+ version: 0.3.2
10
6
  platform: ruby
11
7
  authors:
12
8
  - Pieter Noordhuis
@@ -14,7 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-02-07 00:00:00 +01:00
13
+ date: 2011-05-17 00:00:00 +02:00
18
14
  default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
@@ -25,10 +21,6 @@ dependencies:
25
21
  requirements:
26
22
  - - ~>
27
23
  - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
- - 7
31
- - 1
32
24
  version: 0.7.1
33
25
  type: :development
34
26
  version_requirements: *id001
@@ -42,21 +34,11 @@ extensions:
42
34
  extra_rdoc_files: []
43
35
 
44
36
  files:
45
- - COPYING
46
- - Rakefile
47
37
  - ext/hiredis_ext/extconf.rb
48
38
  - ext/hiredis_ext/connection.c
49
39
  - ext/hiredis_ext/hiredis_ext.c
50
40
  - ext/hiredis_ext/reader.c
51
41
  - ext/hiredis_ext/hiredis_ext.h
52
- - lib/hiredis/connection.rb
53
- - lib/hiredis/ext/connection.rb
54
- - lib/hiredis/ext/reader.rb
55
- - lib/hiredis/reader.rb
56
- - lib/hiredis/ruby/connection.rb
57
- - lib/hiredis/ruby/reader.rb
58
- - lib/hiredis/version.rb
59
- - lib/hiredis.rb
60
42
  - vendor/hiredis/async.c
61
43
  - vendor/hiredis/dict.c
62
44
  - vendor/hiredis/hiredis.c
@@ -69,9 +51,18 @@ files:
69
51
  - vendor/hiredis/hiredis.h
70
52
  - vendor/hiredis/net.h
71
53
  - vendor/hiredis/sds.h
72
- - vendor/hiredis/util.h
73
54
  - vendor/hiredis/COPYING
74
55
  - vendor/hiredis/Makefile
56
+ - lib/hiredis/connection.rb
57
+ - lib/hiredis/ext/connection.rb
58
+ - lib/hiredis/ext/reader.rb
59
+ - lib/hiredis/reader.rb
60
+ - lib/hiredis/ruby/connection.rb
61
+ - lib/hiredis/ruby/reader.rb
62
+ - lib/hiredis/version.rb
63
+ - lib/hiredis.rb
64
+ - COPYING
65
+ - Rakefile
75
66
  has_rdoc: true
76
67
  homepage: http://github.com/pietern/hiredis-rb
77
68
  licenses: []
@@ -86,21 +77,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
86
77
  requirements:
87
78
  - - ">="
88
79
  - !ruby/object:Gem::Version
89
- segments:
90
- - 0
91
80
  version: "0"
92
81
  required_rubygems_version: !ruby/object:Gem::Requirement
93
82
  none: false
94
83
  requirements:
95
84
  - - ">="
96
85
  - !ruby/object:Gem::Version
97
- segments:
98
- - 0
99
86
  version: "0"
100
87
  requirements: []
101
88
 
102
89
  rubyforge_project:
103
- rubygems_version: 1.3.7
90
+ rubygems_version: 1.6.2
104
91
  signing_key:
105
92
  specification_version: 3
106
93
  summary: Ruby extension that wraps Hiredis (blocking connection and reply parsing)
@@ -1,40 +0,0 @@
1
- /*
2
- * Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
3
- * All rights reserved.
4
- *
5
- * Redistribution and use in source and binary forms, with or without
6
- * modification, are permitted provided that the following conditions are met:
7
- *
8
- * * Redistributions of source code must retain the above copyright notice,
9
- * this list of conditions and the following disclaimer.
10
- * * Redistributions in binary form must reproduce the above copyright
11
- * notice, this list of conditions and the following disclaimer in the
12
- * documentation and/or other materials provided with the distribution.
13
- * * Neither the name of Redis nor the names of its contributors may be used
14
- * to endorse or promote products derived from this software without
15
- * specific prior written permission.
16
- *
17
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
21
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
- * POSSIBILITY OF SUCH DAMAGE.
28
- */
29
-
30
- #ifndef __UTIL_H
31
- #define __UTIL_H
32
- #include <stdlib.h>
33
-
34
- /* Abort on out of memory */
35
- static void redisOOM(void) {
36
- fprintf(stderr,"Out of memory in hiredis");
37
- exit(1);
38
- }
39
-
40
- #endif