hiredis 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 96f77b981784a483844d0f71fb48594a0a79fced
4
- data.tar.gz: e6c6f088e0feb373de9097838de379870413791b
3
+ metadata.gz: 1d1cce35760d2be25e5029aa935a2613e7cc8ee1
4
+ data.tar.gz: c751c54fafa5c215e85731863f90a2de17c3d475
5
5
  SHA512:
6
- metadata.gz: 7bc1f73b803eab73504898440c7cbe001abacad798e94b21d683178ec7d6b12a6104b5a5a6f53949dc571625a5a8ccca3576c04a700478d25a3da0e82577e546
7
- data.tar.gz: e89b77e064f841199206d5ced3f272120ac59e2234d79e947fdfe25fb61370407b215682e857785ae3b46681d3398f37bf54a2a7afe24e0218e6010f44aaed94
6
+ metadata.gz: 703badbbec006e2e0f2c243f0cfc8baac8f4d36f654b20d7f20b1ff8c0abcb687ea26f5c062f7c211b865cfdab4b41ac3c4949cf6c0843d927b7491ba1b80f32
7
+ data.tar.gz: 3fbbc47a99d8bfba0be19ba98bc10c238034e892956844a349f862806593e59c67fcd5da1143262bab66eb92385789d75ad43c7a447b47edd1c3d0d6aa113d31
@@ -10,8 +10,13 @@ end
10
10
 
11
11
  RbConfig::CONFIG['configure_args'] =~ /with-make-prog\=(\w+)/
12
12
  make_program = $1 || ENV['make']
13
- unless make_program then
14
- make_program = (/mswin/ =~ RUBY_PLATFORM) ? 'nmake' : 'make'
13
+ make_program ||= case RUBY_PLATFORM
14
+ when /mswin/
15
+ 'nmake'
16
+ when /(bsd|solaris)/
17
+ 'gmake'
18
+ else
19
+ 'make'
15
20
  end
16
21
 
17
22
  # Make sure hiredis is built...
@@ -0,0 +1,5 @@
1
+ module Hiredis
2
+ class Error < StandardError; end
3
+ class ProtocolError < Error; end
4
+ class ReplyError < Error; end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module Hiredis
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiredis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pieter Noordhuis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-01 00:00:00.000000000 Z
11
+ date: 2014-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -48,31 +48,32 @@ extensions:
48
48
  extra_rdoc_files: []
49
49
  files:
50
50
  - ext/hiredis_ext/extconf.rb
51
+ - ext/hiredis_ext/connection.c
51
52
  - ext/hiredis_ext/hiredis_ext.c
52
53
  - ext/hiredis_ext/reader.c
53
- - ext/hiredis_ext/connection.c
54
54
  - ext/hiredis_ext/hiredis_ext.h
55
55
  - vendor/hiredis/async.c
56
- - vendor/hiredis/hiredis.c
57
- - vendor/hiredis/test.c
58
56
  - vendor/hiredis/dict.c
57
+ - vendor/hiredis/hiredis.c
59
58
  - vendor/hiredis/net.c
60
59
  - vendor/hiredis/sds.c
61
- - vendor/hiredis/fmacros.h
62
- - vendor/hiredis/sds.h
63
- - vendor/hiredis/dict.h
60
+ - vendor/hiredis/test.c
64
61
  - vendor/hiredis/async.h
65
- - vendor/hiredis/net.h
62
+ - vendor/hiredis/dict.h
63
+ - vendor/hiredis/fmacros.h
66
64
  - vendor/hiredis/hiredis.h
65
+ - vendor/hiredis/net.h
66
+ - vendor/hiredis/sds.h
67
67
  - vendor/hiredis/COPYING
68
68
  - vendor/hiredis/Makefile
69
+ - lib/hiredis/connection.rb
70
+ - lib/hiredis/errors.rb
71
+ - lib/hiredis/ext/connection.rb
72
+ - lib/hiredis/ext/reader.rb
69
73
  - lib/hiredis/reader.rb
70
- - lib/hiredis/version.rb
71
- - lib/hiredis/ruby/reader.rb
72
74
  - lib/hiredis/ruby/connection.rb
73
- - lib/hiredis/ext/reader.rb
74
- - lib/hiredis/ext/connection.rb
75
- - lib/hiredis/connection.rb
75
+ - lib/hiredis/ruby/reader.rb
76
+ - lib/hiredis/version.rb
76
77
  - lib/hiredis.rb
77
78
  - COPYING
78
79
  - Rakefile
@@ -95,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
96
  version: '0'
96
97
  requirements: []
97
98
  rubyforge_project:
98
- rubygems_version: 2.0.14
99
+ rubygems_version: 2.0.3
99
100
  signing_key:
100
101
  specification_version: 4
101
102
  summary: Ruby wrapper for hiredis (protocol serialization/deserialization and blocking