zactor 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,13 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+ require 'rspec'
4
+ require 'zactor'
5
+ require 'rr'
6
+
7
+ # Requires supporting files with custom matchers and macros, etc,
8
+ # in ./support/ and its subdirectories.
9
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
10
+
11
+ RSpec.configure do |config|
12
+ config.mock_framework = :rr
13
+ end
data/zactor.gemspec ADDED
@@ -0,0 +1,28 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "zactor/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = %q{zactor}
7
+ s.version = Zactor::VERSION
8
+ s.summary = "Zactor"
9
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
10
+ s.authors = ["Andrew Rudenko"]
11
+ s.date = %q{2011-03-24}
12
+ s.description = %q{Zactor}
13
+ s.email = %q{ceo@prepor.ru}
14
+
15
+ s.files = `git ls-files`.split("\n")
16
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
+ s.require_paths = ["lib"]
19
+
20
+ s.add_dependency('ffi', ["> 0.1"])
21
+ s.add_dependency('ruby-interface', ["> 0"])
22
+ s.add_dependency('ffi-rzmq', ["> 0.1"])
23
+ s.add_dependency('em-zeromq', ["> 0.1"])
24
+ s.add_dependency('bson', ["> 0.1"])
25
+ s.add_dependency('bson_ext', ["> 0.1"])
26
+ s.add_dependency('activesupport', ["> 0.1"])
27
+ end
28
+
metadata ADDED
@@ -0,0 +1,192 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zactor
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 4
9
+ version: 0.0.4
10
+ platform: ruby
11
+ authors:
12
+ - Andrew Rudenko
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2011-03-24 00:00:00 +03:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: ffi
22
+ requirement: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
+ requirements:
25
+ - - ">"
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ - 1
30
+ version: "0.1"
31
+ type: :runtime
32
+ prerelease: false
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: ruby-interface
36
+ requirement: &id002 !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirements:
39
+ - - ">"
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 0
43
+ version: "0"
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *id002
47
+ - !ruby/object:Gem::Dependency
48
+ name: ffi-rzmq
49
+ requirement: &id003 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ">"
53
+ - !ruby/object:Gem::Version
54
+ segments:
55
+ - 0
56
+ - 1
57
+ version: "0.1"
58
+ type: :runtime
59
+ prerelease: false
60
+ version_requirements: *id003
61
+ - !ruby/object:Gem::Dependency
62
+ name: em-zeromq
63
+ requirement: &id004 !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ">"
67
+ - !ruby/object:Gem::Version
68
+ segments:
69
+ - 0
70
+ - 1
71
+ version: "0.1"
72
+ type: :runtime
73
+ prerelease: false
74
+ version_requirements: *id004
75
+ - !ruby/object:Gem::Dependency
76
+ name: bson
77
+ requirement: &id005 !ruby/object:Gem::Requirement
78
+ none: false
79
+ requirements:
80
+ - - ">"
81
+ - !ruby/object:Gem::Version
82
+ segments:
83
+ - 0
84
+ - 1
85
+ version: "0.1"
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: *id005
89
+ - !ruby/object:Gem::Dependency
90
+ name: bson_ext
91
+ requirement: &id006 !ruby/object:Gem::Requirement
92
+ none: false
93
+ requirements:
94
+ - - ">"
95
+ - !ruby/object:Gem::Version
96
+ segments:
97
+ - 0
98
+ - 1
99
+ version: "0.1"
100
+ type: :runtime
101
+ prerelease: false
102
+ version_requirements: *id006
103
+ - !ruby/object:Gem::Dependency
104
+ name: activesupport
105
+ requirement: &id007 !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ">"
109
+ - !ruby/object:Gem::Version
110
+ segments:
111
+ - 0
112
+ - 1
113
+ version: "0.1"
114
+ type: :runtime
115
+ prerelease: false
116
+ version_requirements: *id007
117
+ description: Zactor
118
+ email: ceo@prepor.ru
119
+ executables: []
120
+
121
+ extensions: []
122
+
123
+ extra_rdoc_files: []
124
+
125
+ files:
126
+ - .document
127
+ - .gitignore
128
+ - .rake_tasks~
129
+ - .rspec
130
+ - .yardopts
131
+ - Gemfile
132
+ - Gemfile.lock
133
+ - Guardfile
134
+ - LICENSE.txt
135
+ - README.md
136
+ - Rakefile
137
+ - VERSION
138
+ - examples/chat/client.rb
139
+ - examples/chat/server.rb
140
+ - examples/ping/inproc.rb
141
+ - lib/zactor.rb
142
+ - lib/zactor/actor_pub.rb
143
+ - lib/zactor/actor_sub.rb
144
+ - lib/zactor/broker.rb
145
+ - lib/zactor/log_subscriber.rb
146
+ - lib/zactor/message.rb
147
+ - lib/zactor/version.rb
148
+ - spec/lib/actor_spec.rb
149
+ - spec/lib/exchange_spec.rb
150
+ - spec/lib/link_spec.rb
151
+ - spec/lib/zactor_spec.rb
152
+ - spec/spec_helper.rb
153
+ - zactor.gemspec
154
+ has_rdoc: true
155
+ homepage:
156
+ licenses: []
157
+
158
+ post_install_message:
159
+ rdoc_options: []
160
+
161
+ require_paths:
162
+ - lib
163
+ required_ruby_version: !ruby/object:Gem::Requirement
164
+ none: false
165
+ requirements:
166
+ - - ">="
167
+ - !ruby/object:Gem::Version
168
+ hash: -4054841788636265293
169
+ segments:
170
+ - 0
171
+ version: "0"
172
+ required_rubygems_version: !ruby/object:Gem::Requirement
173
+ none: false
174
+ requirements:
175
+ - - ">="
176
+ - !ruby/object:Gem::Version
177
+ segments:
178
+ - 0
179
+ version: "0"
180
+ requirements: []
181
+
182
+ rubyforge_project:
183
+ rubygems_version: 1.3.7
184
+ signing_key:
185
+ specification_version: 3
186
+ summary: Zactor
187
+ test_files:
188
+ - spec/lib/actor_spec.rb
189
+ - spec/lib/exchange_spec.rb
190
+ - spec/lib/link_spec.rb
191
+ - spec/lib/zactor_spec.rb
192
+ - spec/spec_helper.rb