isono 0.2.6 → 0.2.7
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.
- data/isono.gemspec +9 -8
- data/lib/isono/node_modules/rpc_channel.rb +1 -1
- data/lib/isono/version.rb +1 -1
- metadata +7 -5
data/isono.gemspec
CHANGED
|
@@ -2,19 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{isono}
|
|
5
|
-
s.version = "0.2.
|
|
5
|
+
s.version = "0.2.7"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
|
-
s.authors = [
|
|
9
|
-
s.date = %q{2011-08-
|
|
10
|
-
s.
|
|
11
|
-
s.
|
|
12
|
-
s.
|
|
8
|
+
s.authors = ["axsh Ltd.", "Masahiro Fujiwara"]
|
|
9
|
+
s.date = %q{2011-08-24}
|
|
10
|
+
s.default_executable = %q{cli}
|
|
11
|
+
s.email = ["dev@axsh.net", "m-fujiwara@axsh.net"]
|
|
12
|
+
s.executables = ["cli"]
|
|
13
|
+
s.files = [".gitignore", "LICENSE", "NOTICE", "Rakefile", "bin/cli", "isono.gemspec", "lib/ext/shellwords.rb", "lib/isono.rb", "lib/isono/amqp_client.rb", "lib/isono/daemonize.rb", "lib/isono/event_delegate_context.rb", "lib/isono/event_observable.rb", "lib/isono/logger.rb", "lib/isono/manifest.rb", "lib/isono/messaging_client.rb", "lib/isono/models/event_log.rb", "lib/isono/models/job_state.rb", "lib/isono/models/node_state.rb", "lib/isono/models/resource_instance.rb", "lib/isono/node.rb", "lib/isono/node_modules/base.rb", "lib/isono/node_modules/data_store.rb", "lib/isono/node_modules/event_channel.rb", "lib/isono/node_modules/event_logger.rb", "lib/isono/node_modules/job_channel.rb", "lib/isono/node_modules/job_collector.rb", "lib/isono/node_modules/job_worker.rb", "lib/isono/node_modules/node_collector.rb", "lib/isono/node_modules/node_heartbeat.rb", "lib/isono/node_modules/rpc_channel.rb", "lib/isono/rack.rb", "lib/isono/rack/builder.rb", "lib/isono/rack/data_store.rb", "lib/isono/rack/job.rb", "lib/isono/rack/map.rb", "lib/isono/rack/object_method.rb", "lib/isono/rack/proc.rb", "lib/isono/rack/thread_pass.rb", "lib/isono/resource_manifest.rb", "lib/isono/runner/base.rb", "lib/isono/runner/cli.rb", "lib/isono/runner/rpc_server.rb", "lib/isono/serializer.rb", "lib/isono/thread_pool.rb", "lib/isono/util.rb", "lib/isono/version.rb", "spec/amqp_client_spec.rb", "spec/event_observable_spec.rb", "spec/file_channel_spec.rb", "spec/job_channel_spec.rb", "spec/logger_spec.rb", "spec/manifest_spec.rb", "spec/node_spec.rb", "spec/resource_loader_spec.rb", "spec/rpc_channel_spec.rb", "spec/spec_helper.rb", "spec/thread_pool_spec.rb", "spec/util_spec.rb", "tasks/load_resource_manifest.rake"]
|
|
13
14
|
s.homepage = %q{http://github.com/axsh/isono}
|
|
14
|
-
s.require_paths = [
|
|
15
|
+
s.require_paths = ["lib"]
|
|
15
16
|
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
|
|
16
17
|
s.rubyforge_project = %q{isono}
|
|
17
|
-
s.rubygems_version = %q{1.
|
|
18
|
+
s.rubygems_version = %q{1.6.2}
|
|
18
19
|
s.summary = %q{Messaging and agent fabric}
|
|
19
20
|
|
|
20
21
|
if s.respond_to? :specification_version then
|
|
@@ -66,7 +66,7 @@ module Isono
|
|
|
66
66
|
tnow = Time.now
|
|
67
67
|
@active_requests.each { |k,req|
|
|
68
68
|
next unless req.state == :waiting
|
|
69
|
-
if req.timeout_sec.to_f > 0.0 && req.timeout_sec.to_f
|
|
69
|
+
if req.timeout_sec.to_f > 0.0 && req.timeout_sec.to_f < (tnow - req.sent_at)
|
|
70
70
|
@active_requests.delete(k)
|
|
71
71
|
req.error_cb.call(:timeout) if req.error_cb
|
|
72
72
|
end
|
data/lib/isono/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: isono
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 7
|
|
10
|
+
version: 0.2.7
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- axsh Ltd.
|
|
@@ -16,7 +16,8 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2011-08-
|
|
19
|
+
date: 2011-08-24 00:00:00 +09:00
|
|
20
|
+
default_executable: cli
|
|
20
21
|
dependencies:
|
|
21
22
|
- !ruby/object:Gem::Dependency
|
|
22
23
|
name: amqp
|
|
@@ -180,6 +181,7 @@ files:
|
|
|
180
181
|
- spec/thread_pool_spec.rb
|
|
181
182
|
- spec/util_spec.rb
|
|
182
183
|
- tasks/load_resource_manifest.rake
|
|
184
|
+
has_rdoc: true
|
|
183
185
|
homepage: http://github.com/axsh/isono
|
|
184
186
|
licenses: []
|
|
185
187
|
|
|
@@ -211,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
211
213
|
requirements: []
|
|
212
214
|
|
|
213
215
|
rubyforge_project: isono
|
|
214
|
-
rubygems_version: 1.
|
|
216
|
+
rubygems_version: 1.6.2
|
|
215
217
|
signing_key:
|
|
216
218
|
specification_version: 3
|
|
217
219
|
summary: Messaging and agent fabric
|