hiredis 0.4.5-java → 0.5.0-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b8d68aebd7772d04e2a5d9937e0b2b6022d6808b
4
+ data.tar.gz: 8b19389394120e0757b68d499a527654b544e268
5
+ SHA512:
6
+ metadata.gz: 44473f751495462f9a5ced02fd8f653c798806b6f8595a71c35d6ff931332e1d4a18af5477d78e4523b6325b06d505dd766a8b0c7f71a262913f6e52a70277e2
7
+ data.tar.gz: 306b0f3f8df18810fdb6e09672a4b1b26bf053d8efa2e978bb68e5414191b316968f66e8ebd8029f26b4384a52fa007c8c9cf16b64b37df78b0809d5eeaa2ff9
data/Rakefile CHANGED
@@ -1,6 +1,7 @@
1
1
  require "bundler"
2
2
  Bundler::GemHelper.install_tasks
3
3
 
4
+ require "rbconfig"
4
5
  require "rake/testtask"
5
6
  require "rake/extensiontask"
6
7
 
@@ -18,7 +19,12 @@ unless defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby"
18
19
  if !File.directory?("vendor/hiredis/.git")
19
20
  system("git submodule update --init")
20
21
  end
21
- system("cd vendor/hiredis && make clean")
22
+ RbConfig::CONFIG['configure_args'] =~ /with-make-prog\=(\w+)/
23
+ make_program = $1 || ENV['make']
24
+ unless make_program then
25
+ make_program = (/mswin/ =~ RUBY_PLATFORM) ? 'nmake' : 'make'
26
+ end
27
+ system("cd vendor/hiredis && #{make_program} clean")
22
28
  end
23
29
  end
24
30
 
@@ -1,3 +1,3 @@
1
1
  module Hiredis
2
- VERSION = "0.4.5"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,75 +1,81 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: hiredis
3
- version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.4.5
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.0
6
5
  platform: java
7
- authors:
8
- - Pieter Noordhuis
9
- autorequire:
6
+ authors:
7
+ - Pieter Noordhuis
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
-
13
- date: 2012-03-19 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: rake-compiler
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
19
- none: false
20
- requirements:
21
- - - ~>
22
- - !ruby/object:Gem::Version
23
- version: 0.7.1
24
- type: :development
25
- version_requirements: *id001
26
- description: Ruby extension that wraps Hiredis (blocking connection and reply parsing)
27
- email:
28
- - pcnoordhuis@gmail.com
11
+ date: 2014-03-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ version_requirements: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: '10.0'
20
+ requirement: !ruby/object:Gem::Requirement
21
+ requirements:
22
+ - - '='
23
+ - !ruby/object:Gem::Version
24
+ version: '10.0'
25
+ prerelease: false
26
+ type: :development
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake-compiler
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 0.7.1
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ~>
37
+ - !ruby/object:Gem::Version
38
+ version: 0.7.1
39
+ prerelease: false
40
+ type: :development
41
+ description: Ruby wrapper for hiredis (protocol serialization/deserialization and blocking I/O)
42
+ email:
43
+ - pcnoordhuis@gmail.com
29
44
  executables: []
30
-
31
45
  extensions: []
32
-
33
46
  extra_rdoc_files: []
34
-
35
- files:
36
- - lib/hiredis.rb
37
- - lib/hiredis/connection.rb
38
- - lib/hiredis/errors.rb
39
- - lib/hiredis/reader.rb
40
- - lib/hiredis/version.rb
41
- - lib/hiredis/ext/connection.rb
42
- - lib/hiredis/ext/reader.rb
43
- - lib/hiredis/ruby/connection.rb
44
- - lib/hiredis/ruby/reader.rb
45
- - COPYING
46
- - Rakefile
47
- homepage: http://github.com/pietern/hiredis-rb
47
+ files:
48
+ - lib/hiredis.rb
49
+ - lib/hiredis/reader.rb
50
+ - lib/hiredis/version.rb
51
+ - lib/hiredis/connection.rb
52
+ - lib/hiredis/ruby/reader.rb
53
+ - lib/hiredis/ruby/connection.rb
54
+ - lib/hiredis/ext/reader.rb
55
+ - lib/hiredis/ext/connection.rb
56
+ - COPYING
57
+ - Rakefile
58
+ homepage: http://github.com/redis/hiredis-rb
48
59
  licenses: []
49
-
50
- post_install_message:
60
+ metadata: {}
61
+ post_install_message:
51
62
  rdoc_options: []
52
-
53
- require_paths:
54
- - lib
55
- required_ruby_version: !ruby/object:Gem::Requirement
56
- none: false
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- version: "0"
61
- required_rubygems_version: !ruby/object:Gem::Requirement
62
- none: false
63
- requirements:
64
- - - ">="
65
- - !ruby/object:Gem::Version
66
- version: "0"
63
+ require_paths:
64
+ - lib
65
+ required_ruby_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ required_rubygems_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - '>='
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
67
75
  requirements: []
68
-
69
- rubyforge_project:
70
- rubygems_version: 1.8.15
71
- signing_key:
72
- specification_version: 3
73
- summary: Ruby extension that wraps Hiredis (blocking connection and reply parsing)
76
+ rubyforge_project:
77
+ rubygems_version: 2.1.9
78
+ signing_key:
79
+ specification_version: 4
80
+ summary: Ruby wrapper for hiredis (protocol serialization/deserialization and blocking I/O)
74
81
  test_files: []
75
-
@@ -1,5 +0,0 @@
1
- module Hiredis
2
- class Error < StandardError; end
3
- class ProtocolError < Error; end
4
- class ReplyError < Error; end
5
- end