cirrocumulus 0.1.1 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/Gemfile ADDED
@@ -0,0 +1,14 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem "activesupport", "~> 2.3.11"
4
+ gem "log4r", "~> 1.1.9"
5
+ gem "systemu"
6
+ gem "xmpp4r", "~> 0.5"
7
+ gem "xmpp4r-simple", "~> 0.8.8"
8
+ gem "deil_sexpistol", :require => "sexpistol"
9
+
10
+ group :development do
11
+ gem "bundler", "~> 1.0.0"
12
+ gem "jeweler", "~> 1.6.4"
13
+ gem "rcov", ">= 0"
14
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,31 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activesupport (2.3.14)
5
+ deil_sexpistol (0.0.8)
6
+ git (1.2.5)
7
+ jeweler (1.6.4)
8
+ bundler (~> 1.0)
9
+ git (>= 1.2.5)
10
+ rake
11
+ log4r (1.1.9)
12
+ rake (0.9.2)
13
+ rcov (0.9.10)
14
+ systemu (2.3.0)
15
+ xmpp4r (0.5)
16
+ xmpp4r-simple (0.8.8)
17
+ xmpp4r (>= 0.3.2)
18
+
19
+ PLATFORMS
20
+ ruby
21
+
22
+ DEPENDENCIES
23
+ activesupport (~> 2.3.11)
24
+ bundler (~> 1.0.0)
25
+ deil_sexpistol
26
+ jeweler (~> 1.6.4)
27
+ log4r (~> 1.1.9)
28
+ rcov
29
+ systemu
30
+ xmpp4r (~> 0.5)
31
+ xmpp4r-simple (~> 0.8.8)
data/LICENSE.txt ADDED
File without changes
data/Rakefile CHANGED
@@ -1,52 +1,53 @@
1
- #
2
- # To change this template, choose Tools | Templates
3
- # and open the template in the editor.
4
-
1
+ # encoding: utf-8
5
2
 
6
3
  require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
7
12
  require 'rake'
8
- require 'rake/clean'
9
- require 'rake/gempackagetask'
10
- require 'rake/rdoctask'
11
- require 'rake/testtask'
12
13
 
13
- spec = Gem::Specification.new do |s|
14
- s.name = 'cirrocumulus'
15
- s.homepage = 'https://github.com/deil/cirrocumulus'
16
- s.version = '0.1.1'
17
- s.has_rdoc = false
18
- s.extra_rdoc_files = ['README.rdoc']
19
- s.summary = 'Agent-based infrastructure management system'
20
- s.description = 'Engine for agent-based infrastructure management system'
21
- s.author = 'Anton Kosyakin'
22
- s.email = 'deil@mneko.net'
23
- # s.executables = ['your_executable_here']
24
- s.files = %w(README.rdoc Rakefile) + Dir.glob("{bin,lib,spec}/**/*")
25
- s.require_path = "lib"
26
- s.bindir = "bin"
27
- s.license = ['GPL-2']
28
- s.add_dependency("activesupport", "~> 2.3.11")
29
- s.add_dependency("log4r", "~> 1.1.9")
30
- s.add_dependency("systemu")
31
- s.add_dependency("xmpp4r", "~> 0.5")
32
- s.add_dependency("xmpp4r-simple", "~> 0.8.8")
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "cirrocumulus"
18
+ gem.homepage = "http://github.com/deil/cirrocumulus"
19
+ gem.license = "GPL-2"
20
+ gem.summary = "Agent-based infrastructure management system"
21
+ gem.description = "Engine for building your own agents, providing you base functionality for loading ontologies, communicating with other agents and parsing FIPA-ACL messages"
22
+ gem.email = "deil@mneko.net"
23
+ gem.authors = ["Anton Kosyakin"]
24
+ # dependencies defined in Gemfile
33
25
  end
26
+ Jeweler::RubygemsDotOrgTasks.new
34
27
 
35
- Rake::GemPackageTask.new(spec) do |p|
36
- p.gem_spec = spec
37
- p.need_tar = true
38
- p.need_zip = true
28
+ require 'rake/testtask'
29
+ Rake::TestTask.new(:test) do |test|
30
+ test.libs << 'lib' << 'test'
31
+ test.pattern = 'test/**/test_*.rb'
32
+ test.verbose = true
39
33
  end
40
34
 
41
- Rake::RDocTask.new do |rdoc|
42
- files =['README.rdoc', 'lib/**/*.rb']
43
- rdoc.rdoc_files.add(files)
44
- rdoc.main = "README" # page to start on
45
- rdoc.title = "cirrocumulus Docs"
46
- rdoc.rdoc_dir = 'doc/rdoc' # rdoc output folder
47
- rdoc.options << '--line-numbers'
35
+ require 'rcov/rcovtask'
36
+ Rcov::RcovTask.new do |test|
37
+ test.libs << 'test'
38
+ test.pattern = 'test/**/test_*.rb'
39
+ test.verbose = true
40
+ test.rcov_opts << '--exclude "gems/*"'
48
41
  end
49
42
 
50
- #Rake::TestTask.new do |t|
51
- # t.test_files = FileList['test/**/*.rb']
52
- #end
43
+ task :default => :test
44
+
45
+ require 'rake/rdoctask'
46
+ Rake::RDocTask.new do |rdoc|
47
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
48
+
49
+ rdoc.rdoc_dir = 'rdoc'
50
+ rdoc.title = "cirrocumulus #{version}"
51
+ rdoc.rdoc_files.include('README*')
52
+ rdoc.rdoc_files.include('lib/**/*.rb')
53
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.4
@@ -0,0 +1,82 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{cirrocumulus}
8
+ s.version = "0.1.4"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Anton Kosyakin"]
12
+ s.date = %q{2011-09-14}
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
+ s.email = %q{deil@mneko.net}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ "Gemfile",
22
+ "Gemfile.lock",
23
+ "LICENSE.txt",
24
+ "README.rdoc",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "cirrocumulus.gemspec",
28
+ "lib/cirrocumulus.rb",
29
+ "lib/cirrocumulus/agent.rb",
30
+ "lib/cirrocumulus/engine.rb",
31
+ "lib/cirrocumulus/kb.rb",
32
+ "lib/cirrocumulus/logger.rb",
33
+ "lib/cirrocumulus/master_agent.rb",
34
+ "lib/cirrocumulus/ontology.rb",
35
+ "lib/cirrocumulus/saga.rb",
36
+ "test/helper.rb",
37
+ "test/test_cirrocumulus.rb"
38
+ ]
39
+ s.homepage = %q{http://github.com/deil/cirrocumulus}
40
+ s.licenses = ["GPL-2"]
41
+ s.require_paths = ["lib"]
42
+ s.rubygems_version = %q{1.3.7}
43
+ s.summary = %q{Agent-based infrastructure management system}
44
+
45
+ if s.respond_to? :specification_version then
46
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
47
+ s.specification_version = 3
48
+
49
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
50
+ s.add_runtime_dependency(%q<activesupport>, ["~> 2.3.11"])
51
+ s.add_runtime_dependency(%q<log4r>, ["~> 1.1.9"])
52
+ s.add_runtime_dependency(%q<systemu>, [">= 0"])
53
+ s.add_runtime_dependency(%q<xmpp4r>, ["~> 0.5"])
54
+ s.add_runtime_dependency(%q<xmpp4r-simple>, ["~> 0.8.8"])
55
+ s.add_runtime_dependency(%q<deil_sexpistol>, [">= 0"])
56
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
57
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
58
+ s.add_development_dependency(%q<rcov>, [">= 0"])
59
+ else
60
+ s.add_dependency(%q<activesupport>, ["~> 2.3.11"])
61
+ s.add_dependency(%q<log4r>, ["~> 1.1.9"])
62
+ s.add_dependency(%q<systemu>, [">= 0"])
63
+ s.add_dependency(%q<xmpp4r>, ["~> 0.5"])
64
+ s.add_dependency(%q<xmpp4r-simple>, ["~> 0.8.8"])
65
+ s.add_dependency(%q<deil_sexpistol>, [">= 0"])
66
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
67
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
68
+ s.add_dependency(%q<rcov>, [">= 0"])
69
+ end
70
+ else
71
+ s.add_dependency(%q<activesupport>, ["~> 2.3.11"])
72
+ s.add_dependency(%q<log4r>, ["~> 1.1.9"])
73
+ s.add_dependency(%q<systemu>, [">= 0"])
74
+ s.add_dependency(%q<xmpp4r>, ["~> 0.5"])
75
+ s.add_dependency(%q<xmpp4r-simple>, ["~> 0.8.8"])
76
+ s.add_dependency(%q<deil_sexpistol>, [">= 0"])
77
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
78
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
79
+ s.add_dependency(%q<rcov>, [">= 0"])
80
+ end
81
+ end
82
+
data/lib/cirrocumulus.rb CHANGED
@@ -0,0 +1,4 @@
1
+ require 'sexpistol'
2
+ require 'xmpp4r'
3
+ require 'xmpp4r-simple'
4
+ require 'activesupport'
@@ -1,8 +1,4 @@
1
- require 'xmpp4r'
2
- require 'xmpp4r-simple'
3
- require 'sexpistol'
4
1
  require 'systemu'
5
- require 'activesupport'
6
2
 
7
3
  class Cirrocumulus
8
4
  class Message
data/test/helper.rb ADDED
@@ -0,0 +1,18 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'test/unit'
11
+ require 'shoulda'
12
+
13
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
15
+ require 'cirrocumulus'
16
+
17
+ class Test::Unit::TestCase
18
+ end
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ class TestCirrocumulus < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
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: 25
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Anton Kosyakin
@@ -15,13 +15,12 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-13 00:00:00 +04:00
18
+ date: 2011-09-14 00:00:00 +04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: activesupport
23
22
  prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
23
+ version_requirements: &id001 !ruby/object:Gem::Requirement
25
24
  none: false
26
25
  requirements:
27
26
  - - ~>
@@ -32,12 +31,12 @@ dependencies:
32
31
  - 3
33
32
  - 11
34
33
  version: 2.3.11
34
+ name: activesupport
35
+ requirement: *id001
35
36
  type: :runtime
36
- version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency
38
- name: log4r
39
38
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
39
+ version_requirements: &id002 !ruby/object:Gem::Requirement
41
40
  none: false
42
41
  requirements:
43
42
  - - ~>
@@ -48,12 +47,12 @@ dependencies:
48
47
  - 1
49
48
  - 9
50
49
  version: 1.1.9
50
+ name: log4r
51
+ requirement: *id002
51
52
  type: :runtime
52
- version_requirements: *id002
53
53
  - !ruby/object:Gem::Dependency
54
- name: systemu
55
54
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
55
+ version_requirements: &id003 !ruby/object:Gem::Requirement
57
56
  none: false
58
57
  requirements:
59
58
  - - ">="
@@ -62,12 +61,12 @@ dependencies:
62
61
  segments:
63
62
  - 0
64
63
  version: "0"
64
+ name: systemu
65
+ requirement: *id003
65
66
  type: :runtime
66
- version_requirements: *id003
67
67
  - !ruby/object:Gem::Dependency
68
- name: xmpp4r
69
68
  prerelease: false
70
- requirement: &id004 !ruby/object:Gem::Requirement
69
+ version_requirements: &id004 !ruby/object:Gem::Requirement
71
70
  none: false
72
71
  requirements:
73
72
  - - ~>
@@ -77,12 +76,12 @@ dependencies:
77
76
  - 0
78
77
  - 5
79
78
  version: "0.5"
79
+ name: xmpp4r
80
+ requirement: *id004
80
81
  type: :runtime
81
- version_requirements: *id004
82
82
  - !ruby/object:Gem::Dependency
83
- name: xmpp4r-simple
84
83
  prerelease: false
85
- requirement: &id005 !ruby/object:Gem::Requirement
84
+ version_requirements: &id005 !ruby/object:Gem::Requirement
86
85
  none: false
87
86
  requirements:
88
87
  - - ~>
@@ -93,31 +92,101 @@ dependencies:
93
92
  - 8
94
93
  - 8
95
94
  version: 0.8.8
95
+ name: xmpp4r-simple
96
+ requirement: *id005
97
+ type: :runtime
98
+ - !ruby/object:Gem::Dependency
99
+ prerelease: false
100
+ version_requirements: &id006 !ruby/object:Gem::Requirement
101
+ none: false
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ hash: 3
106
+ segments:
107
+ - 0
108
+ version: "0"
109
+ name: deil_sexpistol
110
+ requirement: *id006
96
111
  type: :runtime
97
- version_requirements: *id005
98
- description: Engine for agent-based infrastructure management system
112
+ - !ruby/object:Gem::Dependency
113
+ prerelease: false
114
+ version_requirements: &id007 !ruby/object:Gem::Requirement
115
+ none: false
116
+ requirements:
117
+ - - ~>
118
+ - !ruby/object:Gem::Version
119
+ hash: 23
120
+ segments:
121
+ - 1
122
+ - 0
123
+ - 0
124
+ version: 1.0.0
125
+ name: bundler
126
+ requirement: *id007
127
+ type: :development
128
+ - !ruby/object:Gem::Dependency
129
+ prerelease: false
130
+ version_requirements: &id008 !ruby/object:Gem::Requirement
131
+ none: false
132
+ requirements:
133
+ - - ~>
134
+ - !ruby/object:Gem::Version
135
+ hash: 7
136
+ segments:
137
+ - 1
138
+ - 6
139
+ - 4
140
+ version: 1.6.4
141
+ name: jeweler
142
+ requirement: *id008
143
+ type: :development
144
+ - !ruby/object:Gem::Dependency
145
+ prerelease: false
146
+ version_requirements: &id009 !ruby/object:Gem::Requirement
147
+ none: false
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ hash: 3
152
+ segments:
153
+ - 0
154
+ version: "0"
155
+ name: rcov
156
+ requirement: *id009
157
+ type: :development
158
+ description: Engine for building your own agents, providing you base functionality for loading ontologies, communicating with other agents and parsing FIPA-ACL messages
99
159
  email: deil@mneko.net
100
160
  executables: []
101
161
 
102
162
  extensions: []
103
163
 
104
164
  extra_rdoc_files:
165
+ - LICENSE.txt
105
166
  - README.rdoc
106
167
  files:
168
+ - .document
169
+ - Gemfile
170
+ - Gemfile.lock
171
+ - LICENSE.txt
107
172
  - README.rdoc
108
173
  - Rakefile
174
+ - VERSION
175
+ - cirrocumulus.gemspec
109
176
  - lib/cirrocumulus.rb
110
177
  - lib/cirrocumulus/agent.rb
178
+ - lib/cirrocumulus/engine.rb
111
179
  - lib/cirrocumulus/kb.rb
112
- - lib/cirrocumulus/saga.rb
113
180
  - lib/cirrocumulus/logger.rb
114
- - lib/cirrocumulus/ontology.rb
115
- - lib/cirrocumulus/engine.rb
116
181
  - lib/cirrocumulus/master_agent.rb
182
+ - lib/cirrocumulus/ontology.rb
183
+ - lib/cirrocumulus/saga.rb
184
+ - test/helper.rb
185
+ - test/test_cirrocumulus.rb
117
186
  has_rdoc: true
118
- homepage: https://github.com/deil/cirrocumulus
187
+ homepage: http://github.com/deil/cirrocumulus
119
188
  licenses:
120
- - - GPL-2
189
+ - GPL-2
121
190
  post_install_message:
122
191
  rdoc_options: []
123
192