celluloid_pubsub 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +2 -0
  3. data/.gitignore +16 -0
  4. data/.rspec +1 -0
  5. data/.rubocop.yml +68 -0
  6. data/.travis.yml +12 -0
  7. data/CONTRIBUTING.md +44 -0
  8. data/Gemfile +3 -0
  9. data/Guardfile +12 -0
  10. data/LICENSE +20 -0
  11. data/README.rdoc +96 -0
  12. data/Rakefile +42 -0
  13. data/bin/appraisal +16 -0
  14. data/bin/autospec +16 -0
  15. data/bin/bundler +16 -0
  16. data/bin/cdiff +16 -0
  17. data/bin/coderay +16 -0
  18. data/bin/colortab +16 -0
  19. data/bin/coveralls +16 -0
  20. data/bin/decolor +16 -0
  21. data/bin/erubis +16 -0
  22. data/bin/guard +16 -0
  23. data/bin/htmldiff +16 -0
  24. data/bin/ldiff +16 -0
  25. data/bin/listen +16 -0
  26. data/bin/nokogiri +16 -0
  27. data/bin/phare +16 -0
  28. data/bin/pry +16 -0
  29. data/bin/rackup +16 -0
  30. data/bin/rails +16 -0
  31. data/bin/rake +16 -0
  32. data/bin/restclient +16 -0
  33. data/bin/rspec +16 -0
  34. data/bin/rubocop +16 -0
  35. data/bin/ruby-parse +16 -0
  36. data/bin/ruby-rewrite +16 -0
  37. data/bin/sass +16 -0
  38. data/bin/sass-convert +16 -0
  39. data/bin/scss +16 -0
  40. data/bin/scss-lint +16 -0
  41. data/bin/term_display +16 -0
  42. data/bin/term_mandel +16 -0
  43. data/bin/thor +16 -0
  44. data/bin/yard +16 -0
  45. data/bin/yardoc +16 -0
  46. data/bin/yardstick +16 -0
  47. data/bin/yri +16 -0
  48. data/celluloid_pubsub.gemspec +39 -0
  49. data/init.rb +1 -0
  50. data/lib/celluloid_pubsub/client_pubsub.rb +71 -0
  51. data/lib/celluloid_pubsub/reactor.rb +114 -0
  52. data/lib/celluloid_pubsub/registry.rb +9 -0
  53. data/lib/celluloid_pubsub/version.rb +14 -0
  54. data/lib/celluloid_pubsub/web_server.rb +92 -0
  55. data/lib/celluloid_pubsub.rb +6 -0
  56. data/spec/lib/celluloid_pubsub/client_pubsub_spec.rb +9 -0
  57. data/spec/lib/celluloid_pubsub/reactor_spec.rb +6 -0
  58. data/spec/lib/celluloid_pubsub/registry_spec.rb +6 -0
  59. data/spec/lib/celluloid_pubsub/web_server_spec.rb +6 -0
  60. data/spec/spec_helper.rb +48 -0
  61. metadata +459 -0
@@ -0,0 +1,48 @@
1
+ # Configure Rails Envinronment
2
+ ENV['RAILS_ENV'] = 'test'
3
+
4
+ require 'simplecov'
5
+ require 'simplecov-summary'
6
+ require 'coveralls'
7
+
8
+ # require "codeclimate-test-reporter"
9
+ formatters = [SimpleCov::Formatter::HTMLFormatter]
10
+
11
+ formatters << Coveralls::SimpleCov::Formatter # if ENV['TRAVIS']
12
+ # formatters << CodeClimate::TestReporter::Formatter # if ENV['CODECLIMATE_REPO_TOKEN'] && ENV['TRAVIS']
13
+
14
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[*formatters]
15
+
16
+ Coveralls.wear!
17
+ SimpleCov.start 'rails' do
18
+ add_filter 'spec'
19
+
20
+ at_exit {}
21
+ end
22
+
23
+ # CodeClimate::TestReporter.configure do |config|
24
+ # config.logger.level = Logger::WARN
25
+ # end
26
+ # CodeClimate::TestReporter.start
27
+
28
+ require 'bundler/setup'
29
+ require 'celluloid_pubsub'
30
+
31
+ require 'rspec/autorun'
32
+
33
+ RSpec.configure do |config|
34
+ require 'rspec/expectations'
35
+ config.include RSpec::Matchers
36
+
37
+ config.mock_with :mocha
38
+
39
+ config.after(:suite) do
40
+ if SimpleCov.running
41
+ silence_stream(STDOUT) do
42
+ SimpleCov::Formatter::HTMLFormatter.new.format(SimpleCov.result)
43
+ end
44
+
45
+ SimpleCov::Formatter::SummaryFormatter.new.format(SimpleCov.result)
46
+ end
47
+ end
48
+ end
metadata ADDED
@@ -0,0 +1,459 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: celluloid_pubsub
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - bogdanRada
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-03-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: celluloid
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 0.16.0
20
+ - - '>='
21
+ - !ruby/object:Gem::Version
22
+ version: 0.16.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.16.0
30
+ - - '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 0.16.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: celluloid-io
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ~>
38
+ - !ruby/object:Gem::Version
39
+ version: 0.16.2
40
+ - - '>='
41
+ - !ruby/object:Gem::Version
42
+ version: 0.16.2
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ~>
48
+ - !ruby/object:Gem::Version
49
+ version: 0.16.2
50
+ - - '>='
51
+ - !ruby/object:Gem::Version
52
+ version: 0.16.2
53
+ - !ruby/object:Gem::Dependency
54
+ name: reel
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ~>
58
+ - !ruby/object:Gem::Version
59
+ version: 0.5.0
60
+ - - '>='
61
+ - !ruby/object:Gem::Version
62
+ version: 0.5.0
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 0.5.0
70
+ - - '>='
71
+ - !ruby/object:Gem::Version
72
+ version: 0.5.0
73
+ - !ruby/object:Gem::Dependency
74
+ name: celluloid-websocket-client
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - '='
78
+ - !ruby/object:Gem::Version
79
+ version: 0.0.1
80
+ type: :runtime
81
+ prerelease: false
82
+ version_requirements: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - '='
85
+ - !ruby/object:Gem::Version
86
+ version: 0.0.1
87
+ - !ruby/object:Gem::Dependency
88
+ name: activesupport
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 4.2.0
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: 4.2.0
97
+ type: :runtime
98
+ prerelease: false
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: 4.2.0
104
+ - - '>='
105
+ - !ruby/object:Gem::Version
106
+ version: 4.2.0
107
+ - !ruby/object:Gem::Dependency
108
+ name: rspec-rails
109
+ requirement: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ~>
112
+ - !ruby/object:Gem::Version
113
+ version: '2.0'
114
+ - - '>='
115
+ - !ruby/object:Gem::Version
116
+ version: '2.0'
117
+ type: :development
118
+ prerelease: false
119
+ version_requirements: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ~>
122
+ - !ruby/object:Gem::Version
123
+ version: '2.0'
124
+ - - '>='
125
+ - !ruby/object:Gem::Version
126
+ version: '2.0'
127
+ - !ruby/object:Gem::Dependency
128
+ name: guard
129
+ requirement: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ~>
132
+ - !ruby/object:Gem::Version
133
+ version: 2.6.1
134
+ - - '>='
135
+ - !ruby/object:Gem::Version
136
+ version: '2.6'
137
+ type: :development
138
+ prerelease: false
139
+ version_requirements: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - ~>
142
+ - !ruby/object:Gem::Version
143
+ version: 2.6.1
144
+ - - '>='
145
+ - !ruby/object:Gem::Version
146
+ version: '2.6'
147
+ - !ruby/object:Gem::Dependency
148
+ name: guard-rspec
149
+ requirement: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ~>
152
+ - !ruby/object:Gem::Version
153
+ version: 4.2.9
154
+ - - '>='
155
+ - !ruby/object:Gem::Version
156
+ version: '4.2'
157
+ type: :development
158
+ prerelease: false
159
+ version_requirements: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - ~>
162
+ - !ruby/object:Gem::Version
163
+ version: 4.2.9
164
+ - - '>='
165
+ - !ruby/object:Gem::Version
166
+ version: '4.2'
167
+ - !ruby/object:Gem::Dependency
168
+ name: simplecov
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ~>
172
+ - !ruby/object:Gem::Version
173
+ version: '0.9'
174
+ - - '>='
175
+ - !ruby/object:Gem::Version
176
+ version: '0.9'
177
+ type: :development
178
+ prerelease: false
179
+ version_requirements: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - ~>
182
+ - !ruby/object:Gem::Version
183
+ version: '0.9'
184
+ - - '>='
185
+ - !ruby/object:Gem::Version
186
+ version: '0.9'
187
+ - !ruby/object:Gem::Dependency
188
+ name: simplecov-summary
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ~>
192
+ - !ruby/object:Gem::Version
193
+ version: 0.0.4
194
+ - - '>='
195
+ - !ruby/object:Gem::Version
196
+ version: 0.0.4
197
+ type: :development
198
+ prerelease: false
199
+ version_requirements: !ruby/object:Gem::Requirement
200
+ requirements:
201
+ - - ~>
202
+ - !ruby/object:Gem::Version
203
+ version: 0.0.4
204
+ - - '>='
205
+ - !ruby/object:Gem::Version
206
+ version: 0.0.4
207
+ - !ruby/object:Gem::Dependency
208
+ name: mocha
209
+ requirement: !ruby/object:Gem::Requirement
210
+ requirements:
211
+ - - ~>
212
+ - !ruby/object:Gem::Version
213
+ version: '1.1'
214
+ - - '>='
215
+ - !ruby/object:Gem::Version
216
+ version: '1.1'
217
+ type: :development
218
+ prerelease: false
219
+ version_requirements: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - ~>
222
+ - !ruby/object:Gem::Version
223
+ version: '1.1'
224
+ - - '>='
225
+ - !ruby/object:Gem::Version
226
+ version: '1.1'
227
+ - !ruby/object:Gem::Dependency
228
+ name: coveralls
229
+ requirement: !ruby/object:Gem::Requirement
230
+ requirements:
231
+ - - ~>
232
+ - !ruby/object:Gem::Version
233
+ version: '0.7'
234
+ - - '>='
235
+ - !ruby/object:Gem::Version
236
+ version: '0.7'
237
+ type: :development
238
+ prerelease: false
239
+ version_requirements: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - ~>
242
+ - !ruby/object:Gem::Version
243
+ version: '0.7'
244
+ - - '>='
245
+ - !ruby/object:Gem::Version
246
+ version: '0.7'
247
+ - !ruby/object:Gem::Dependency
248
+ name: rvm-tester
249
+ requirement: !ruby/object:Gem::Requirement
250
+ requirements:
251
+ - - ~>
252
+ - !ruby/object:Gem::Version
253
+ version: '1.1'
254
+ - - '>='
255
+ - !ruby/object:Gem::Version
256
+ version: '1.1'
257
+ type: :development
258
+ prerelease: false
259
+ version_requirements: !ruby/object:Gem::Requirement
260
+ requirements:
261
+ - - ~>
262
+ - !ruby/object:Gem::Version
263
+ version: '1.1'
264
+ - - '>='
265
+ - !ruby/object:Gem::Version
266
+ version: '1.1'
267
+ - !ruby/object:Gem::Dependency
268
+ name: rubocop
269
+ requirement: !ruby/object:Gem::Requirement
270
+ requirements:
271
+ - - '='
272
+ - !ruby/object:Gem::Version
273
+ version: '0.29'
274
+ type: :development
275
+ prerelease: false
276
+ version_requirements: !ruby/object:Gem::Requirement
277
+ requirements:
278
+ - - '='
279
+ - !ruby/object:Gem::Version
280
+ version: '0.29'
281
+ - !ruby/object:Gem::Dependency
282
+ name: phare
283
+ requirement: !ruby/object:Gem::Requirement
284
+ requirements:
285
+ - - ~>
286
+ - !ruby/object:Gem::Version
287
+ version: '0.6'
288
+ - - '>='
289
+ - !ruby/object:Gem::Version
290
+ version: '0.6'
291
+ type: :development
292
+ prerelease: false
293
+ version_requirements: !ruby/object:Gem::Requirement
294
+ requirements:
295
+ - - ~>
296
+ - !ruby/object:Gem::Version
297
+ version: '0.6'
298
+ - - '>='
299
+ - !ruby/object:Gem::Version
300
+ version: '0.6'
301
+ - !ruby/object:Gem::Dependency
302
+ name: scss-lint
303
+ requirement: !ruby/object:Gem::Requirement
304
+ requirements:
305
+ - - ~>
306
+ - !ruby/object:Gem::Version
307
+ version: '0.34'
308
+ - - '>='
309
+ - !ruby/object:Gem::Version
310
+ version: '0.34'
311
+ type: :development
312
+ prerelease: false
313
+ version_requirements: !ruby/object:Gem::Requirement
314
+ requirements:
315
+ - - ~>
316
+ - !ruby/object:Gem::Version
317
+ version: '0.34'
318
+ - - '>='
319
+ - !ruby/object:Gem::Version
320
+ version: '0.34'
321
+ - !ruby/object:Gem::Dependency
322
+ name: yard
323
+ requirement: !ruby/object:Gem::Requirement
324
+ requirements:
325
+ - - ~>
326
+ - !ruby/object:Gem::Version
327
+ version: 0.8.7
328
+ - - '>='
329
+ - !ruby/object:Gem::Version
330
+ version: 0.8.7
331
+ type: :development
332
+ prerelease: false
333
+ version_requirements: !ruby/object:Gem::Requirement
334
+ requirements:
335
+ - - ~>
336
+ - !ruby/object:Gem::Version
337
+ version: 0.8.7
338
+ - - '>='
339
+ - !ruby/object:Gem::Version
340
+ version: 0.8.7
341
+ - !ruby/object:Gem::Dependency
342
+ name: yardstick
343
+ requirement: !ruby/object:Gem::Requirement
344
+ requirements:
345
+ - - ~>
346
+ - !ruby/object:Gem::Version
347
+ version: 0.9.9
348
+ - - '>='
349
+ - !ruby/object:Gem::Version
350
+ version: 0.9.9
351
+ type: :development
352
+ prerelease: false
353
+ version_requirements: !ruby/object:Gem::Requirement
354
+ requirements:
355
+ - - ~>
356
+ - !ruby/object:Gem::Version
357
+ version: 0.9.9
358
+ - - '>='
359
+ - !ruby/object:Gem::Version
360
+ version: 0.9.9
361
+ description: CelluloidPubsub is a simple ruby implementation of publish subscribe
362
+ design patterns using celluloid actors and websockets, using Reel server for inter-process
363
+ communication
364
+ email: raoul_ice@yahoo.com
365
+ executables: []
366
+ extensions: []
367
+ extra_rdoc_files: []
368
+ files:
369
+ - .coveralls.yml
370
+ - .gitignore
371
+ - .rspec
372
+ - .rubocop.yml
373
+ - .travis.yml
374
+ - CONTRIBUTING.md
375
+ - Gemfile
376
+ - Guardfile
377
+ - LICENSE
378
+ - README.rdoc
379
+ - Rakefile
380
+ - bin/appraisal
381
+ - bin/autospec
382
+ - bin/bundler
383
+ - bin/cdiff
384
+ - bin/coderay
385
+ - bin/colortab
386
+ - bin/coveralls
387
+ - bin/decolor
388
+ - bin/erubis
389
+ - bin/guard
390
+ - bin/htmldiff
391
+ - bin/ldiff
392
+ - bin/listen
393
+ - bin/nokogiri
394
+ - bin/phare
395
+ - bin/pry
396
+ - bin/rackup
397
+ - bin/rails
398
+ - bin/rake
399
+ - bin/restclient
400
+ - bin/rspec
401
+ - bin/rubocop
402
+ - bin/ruby-parse
403
+ - bin/ruby-rewrite
404
+ - bin/sass
405
+ - bin/sass-convert
406
+ - bin/scss
407
+ - bin/scss-lint
408
+ - bin/term_display
409
+ - bin/term_mandel
410
+ - bin/thor
411
+ - bin/yard
412
+ - bin/yardoc
413
+ - bin/yardstick
414
+ - bin/yri
415
+ - celluloid_pubsub.gemspec
416
+ - init.rb
417
+ - lib/celluloid_pubsub.rb
418
+ - lib/celluloid_pubsub/client_pubsub.rb
419
+ - lib/celluloid_pubsub/reactor.rb
420
+ - lib/celluloid_pubsub/registry.rb
421
+ - lib/celluloid_pubsub/version.rb
422
+ - lib/celluloid_pubsub/web_server.rb
423
+ - spec/lib/celluloid_pubsub/client_pubsub_spec.rb
424
+ - spec/lib/celluloid_pubsub/reactor_spec.rb
425
+ - spec/lib/celluloid_pubsub/registry_spec.rb
426
+ - spec/lib/celluloid_pubsub/web_server_spec.rb
427
+ - spec/spec_helper.rb
428
+ homepage: http://github.com/bogdanRada/celluloid_pubsub/
429
+ licenses:
430
+ - MIT
431
+ metadata: {}
432
+ post_install_message:
433
+ rdoc_options: []
434
+ require_paths:
435
+ - lib
436
+ required_ruby_version: !ruby/object:Gem::Requirement
437
+ requirements:
438
+ - - '>='
439
+ - !ruby/object:Gem::Version
440
+ version: '0'
441
+ required_rubygems_version: !ruby/object:Gem::Requirement
442
+ requirements:
443
+ - - '>='
444
+ - !ruby/object:Gem::Version
445
+ version: '0'
446
+ requirements: []
447
+ rubyforge_project:
448
+ rubygems_version: 2.4.6
449
+ signing_key:
450
+ specification_version: 4
451
+ summary: CelluloidPubsub is a simple ruby implementation of publish subscribe design
452
+ patterns using celluloid actors and websockets, using Celluloid::Reel server
453
+ test_files:
454
+ - spec/lib/celluloid_pubsub/client_pubsub_spec.rb
455
+ - spec/lib/celluloid_pubsub/reactor_spec.rb
456
+ - spec/lib/celluloid_pubsub/registry_spec.rb
457
+ - spec/lib/celluloid_pubsub/web_server_spec.rb
458
+ - spec/spec_helper.rb
459
+ has_rdoc: