errbit_zmq_handler 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -7,6 +7,10 @@ One should use this library to listen to Hoptoad 0MQ Notifier powered app (https
7
7
  Advantage of using Errbit 0MQ Handler is async notices processing. You could fire notices from the client and not depend on
8
8
  timeouts, service unavailability and services errors.
9
9
 
10
+ == Requirements
11
+
12
+ Ruby 1.9 or JRuby. ffi-rzmq is not working with MRI (and REE) 1.8.7.
13
+
10
14
  == Installation
11
15
 
12
16
  Install zeromq 2.1 from http://www.zeromq.org or your favorite package system.
@@ -5,7 +5,7 @@ require "errbit_zmq_handler/version"
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "errbit_zmq_handler"
7
7
  s.version = ErrbitZmqHandler::VERSION
8
- s.platform = Gem::Platform::RUBY
8
+ s.platform = RUBY_PLATFORM[/java/] || Gem::Platform::RUBY
9
9
  s.authors = ["Nick Recobra"]
10
10
  s.email = ["oruenu@gmail.com"]
11
11
  s.homepage = ""
@@ -14,8 +14,12 @@ Gem::Specification.new do |s|
14
14
 
15
15
  s.rubyforge_project = "errbit_zmq_handler"
16
16
 
17
- s.add_dependency "ffi", ">= 0"
18
- s.add_dependency "yajl-ruby", "> 0"
17
+ if s.platform.to_s == "java"
18
+ s.add_dependency "json", ">= 1.5"
19
+ else
20
+ s.add_dependency "ffi", ">= 0"
21
+ s.add_dependency "yajl-ruby", "> 0"
22
+ end
19
23
  s.add_dependency "dripdrop", ">= 0.10.0.beta2"
20
24
  s.add_dependency "daemon-spawn", ">= 0.4.0"
21
25
 
@@ -1,3 +1,3 @@
1
1
  module ErrbitZmqHandler
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: errbit_zmq_handler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ffi
17
- requirement: &2164843040 !ruby/object:Gem::Requirement
17
+ requirement: &2151868780 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2164843040
25
+ version_requirements: *2151868780
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: yajl-ruby
28
- requirement: &2164842500 !ruby/object:Gem::Requirement
28
+ requirement: &2152315620 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>'
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2164842500
36
+ version_requirements: *2152315620
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: dripdrop
39
- requirement: &2164842040 !ruby/object:Gem::Requirement
39
+ requirement: &2152604980 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 0.10.0.beta2
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *2164842040
47
+ version_requirements: *2152604980
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: daemon-spawn
50
- requirement: &2164841580 !ruby/object:Gem::Requirement
50
+ requirement: &2152832240 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 0.4.0
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *2164841580
58
+ version_requirements: *2152832240
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: rspec
61
- requirement: &2164841120 !ruby/object:Gem::Requirement
61
+ requirement: &2155968940 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,7 +66,7 @@ dependencies:
66
66
  version: 2.5.0
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *2164841120
69
+ version_requirements: *2155968940
70
70
  description: Errbit extension providing handler for notices transfered via 0MQ
71
71
  email:
72
72
  - oruenu@gmail.com