cirrocumulus 0.2.8 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/cirrocumulus.gemspec +2 -2
- data/lib/cirrocumulus/ontology.rb +7 -0
- data/lib/cirrocumulus/saga.rb +2 -3
- metadata +5 -5
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
data/cirrocumulus.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{cirrocumulus}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.3.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Anton Kosyakin"]
|
12
|
-
s.date = %q{2011-10-
|
12
|
+
s.date = %q{2011-10-19}
|
13
13
|
s.description = %q{Engine for building your own agents, providing you base functionality for loading ontologies, communicating with other agents and parsing FIPA-ACL messages}
|
14
14
|
s.email = %q{deil@mneko.net}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -47,6 +47,13 @@ module Ontology
|
|
47
47
|
puts "call to dummy Ontology::Base.handle_message()"
|
48
48
|
end
|
49
49
|
|
50
|
+
def create_saga(saga_class)
|
51
|
+
@saga_idx += 1
|
52
|
+
saga = saga_class.new(saga_class.to_s + '-' + @saga_idx.to_s, self)
|
53
|
+
@sagas << saga
|
54
|
+
saga
|
55
|
+
end
|
56
|
+
|
50
57
|
def logger
|
51
58
|
Log4r::Logger['agent']
|
52
59
|
end
|
data/lib/cirrocumulus/saga.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cirrocumulus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
version: 0.3.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Anton Kosyakin
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-10-
|
18
|
+
date: 2011-10-19 00:00:00 +04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|