qrpc 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,8 @@
1
1
 
2
+ 0.9.1 (2012-05-28)
3
+ * corrected fatal redundant dependency requirements
4
+ * documentation corrections
5
+
2
6
  0.9.0 (2012-05-24)
3
7
  * transfer agents generic support
4
8
  * protocols generic support
@@ -7,6 +11,9 @@
7
11
  * server synchronicity option support
8
12
  * substantial code reorganization
9
13
 
14
+ 0.4.0 (2012-02-19)
15
+ * preparations for next version
16
+
10
17
  0.3.2 (2011-08-28)
11
18
  * UUID of the client now generated in compact format
12
19
  * compatiblity corrections with OkJson
data/TODO.md CHANGED
@@ -1 +1 @@
1
- * plugins for more queue servers (starling, sparrow, kestrel, stomp, AMQP...)
1
+ * plugins for more queue servers (starling, sparrow, kestrel, stomp, AMQP, XMPP, Amazon SQS, ActiveMQ, MSMQ)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.0
1
+ 0.9.1
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "qrpc/client/dispatcher"
5
5
  require "qrpc/generator/uuid"
@@ -1,12 +1,9 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
- require "em-jack"
5
- require "em-batch"
6
4
  require "qrpc/general"
7
5
  require "qrpc/client/job"
8
6
  require "hash-utils/object" # >= 1.1.0
9
- require "json-rpc-objects/response"
10
7
 
11
8
  ##
12
9
  # General QRPC module.
@@ -1,7 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
3
-
4
- require "qrpc/protocol/exception-data"
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
5
3
 
6
4
  ##
7
5
  # General QRPC module.
@@ -1,8 +1,6 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
- require "uuid"
5
- require "qrpc/protocol/request"
6
4
  require "qrpc/client/exception"
7
5
  require "qrpc/general"
8
6
 
@@ -166,7 +164,7 @@ module QRPC
166
164
 
167
165
  ##
168
166
  # Assigns job result and subsequently calls callback.
169
- # @param [JsonRpcObjects::Generic::Response] result of the call
167
+ # @param [QRPC::Protocol::Abstract::Response] result of the call
170
168
  #
171
169
 
172
170
  def assign_result(result)
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "qrpc/generator/uuid"
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "hash-utils/object" # >= 1.1.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "uuid"
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "qrpc/locator/em-jack"
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "hash-utils/array"
5
5
  require "unified-queues"
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "priority_queue/c_priority_queue"
5
5
  require "hash-utils/array"
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "hash-utils/object"
5
5
  require "hash-utils/module"
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "abstract"
5
5
  require "qrpc/general"
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "abstract"
5
5
  require "hashie/mash"
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "abstract"
5
5
  require "qrpc/general"
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "abstract"
5
5
  require "qrpc/general"
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "qrpc/protocol/abstract"
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "qrpc/general"
5
5
  require "qrpc/protocol/abstract/error"
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "qrpc/protocol/json-rpc/native/qrpc-object"
5
5
  require "json-rpc-objects/generic/object"
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "json-rpc-objects/generic/object"
5
5
  require "json-rpc-objects/request"
@@ -1,9 +1,10 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "qrpc/general"
5
5
  require "qrpc/protocol/abstract/request"
6
6
  require "qrpc/protocol/json-rpc/native/qrpc-object"
7
+ require "json-rpc-objects/request"
7
8
 
8
9
  ##
9
10
  # General QRPC module.
@@ -1,11 +1,12 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "base64"
5
5
 
6
6
  require "qrpc/general"
7
7
  require "qrpc/protocol/abstract/response"
8
8
  require "qrpc/protocol/json-rpc/native/qrpc-object"
9
+ require "json-rpc-objects/response"
9
10
 
10
11
  ##
11
12
  # General QRPC module.
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
4
  require "qrpc/general"
5
5
  require "qrpc/protocol/abstract/request"
@@ -1,15 +1,12 @@
1
1
  # encoding: utf-8
2
- # (c) 2011 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
3
 
4
- require "qrpc/protocol/qrpc-object"
5
4
  require "qrpc/server/dispatcher"
6
5
  require "qrpc/server/job"
7
6
  require "qrpc/general"
8
7
 
9
8
  require "hash-utils/hash" # >= 0.1.0
10
9
  require "eventmachine"
11
- require "em-batch"
12
- require "em-jack"
13
10
  require "base64"
14
11
 
15
12
  ##
@@ -1,4 +1,5 @@
1
1
  # encoding: utf-8
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
2
3
 
3
4
  ##
4
5
  # General QRPC module.
@@ -1,12 +1,8 @@
1
1
  # encoding: utf-8
2
+ # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
+
2
4
  require "eventmachine"
3
- require "json-rpc-objects/request"
4
- require "json-rpc-objects/response"
5
- require "json-rpc-objects/error"
6
5
  require "qrpc/general"
7
- require "qrpc/protocol/qrpc-object"
8
- require "qrpc/protocol/exception-data"
9
-
10
6
 
11
7
  ##
12
8
  # General QRPC module.
@@ -66,7 +62,7 @@ module QRPC
66
62
  #
67
63
  # @param [Object] object which will serve as API
68
64
  # @param [Symbol] synchronicity API methods synchronicity
69
- # @param [EM::Beanstalk::Job] job beanstalk job
65
+ # @param [Object] job beanstalk job
70
66
  # @param [QRPC::Protocol::Abstract] protocol protocol handling instance
71
67
  #
72
68
 
@@ -131,7 +127,7 @@ module QRPC
131
127
 
132
128
  ##
133
129
  # Returns job in request form.
134
- # @return [JsonRpcObjects::Generic::Object] request associated to job
130
+ # @return [QRPC::Protocol::Abstract::Request] request associated to job
135
131
  #
136
132
 
137
133
  def request
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "qrpc"
8
- s.version = "0.9.0"
8
+ s.version = "0.9.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Martin Koz\u{e1}k"]
12
- s.date = "2012-05-24"
12
+ s.date = "2012-05-28"
13
13
  s.email = "martinkozak@martinkozak.net"
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE.txt",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qrpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-24 00:00:00.000000000 Z
12
+ date: 2012-05-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json-rpc-objects
@@ -285,7 +285,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
285
285
  version: '0'
286
286
  segments:
287
287
  - 0
288
- hash: -3326613635152724256
288
+ hash: 229118400242368258
289
289
  required_rubygems_version: !ruby/object:Gem::Requirement
290
290
  none: false
291
291
  requirements: