em-langrove 0.0.4.5

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.
Files changed (62) hide show
  1. data/.rspec +1 -0
  2. data/.rvmrc +62 -0
  3. data/.watchr +27 -0
  4. data/Gemfile +16 -0
  5. data/Gemfile.lock +61 -0
  6. data/Rakefile +24 -0
  7. data/bin/langrove +3 -0
  8. data/functional/config/boot.rb +64 -0
  9. data/functional/config/daemons.yml +13 -0
  10. data/functional/config/environment.rb +28 -0
  11. data/functional/config/environments/development.rb +0 -0
  12. data/functional/config/environments/production.rb +0 -0
  13. data/functional/config/environments/test.rb +0 -0
  14. data/functional/lib/client/socket_to_file.rb +47 -0
  15. data/functional/lib/daemon/datagram.rb +21 -0
  16. data/functional/lib/protocol/socket_to_file.rb +55 -0
  17. data/functional/libexec/daemon.rb +68 -0
  18. data/functional/tmp/README +1 -0
  19. data/lib/langrove/_base.rb +28 -0
  20. data/lib/langrove/adaptor/base.rb +2 -0
  21. data/lib/langrove/adaptor_base.rb +116 -0
  22. data/lib/langrove/client/base.rb +2 -0
  23. data/lib/langrove/client/datagram.rb +25 -0
  24. data/lib/langrove/client_base.rb +92 -0
  25. data/lib/langrove/daemon/base.rb +2 -0
  26. data/lib/langrove/daemon_base.rb +281 -0
  27. data/lib/langrove/ext/class_loader.rb +148 -0
  28. data/lib/langrove/ext/config_item.rb +34 -0
  29. data/lib/langrove/ext/config_loader.rb +16 -0
  30. data/lib/langrove/ext/fake_logger.rb +8 -0
  31. data/lib/langrove/ext/find.rb +90 -0
  32. data/lib/langrove/ext/persistable.rb +103 -0
  33. data/lib/langrove/ext/string.rb +35 -0
  34. data/lib/langrove/ext.rb +7 -0
  35. data/lib/langrove/handler/base.rb +2 -0
  36. data/lib/langrove/handler_base.rb +148 -0
  37. data/lib/langrove/job/base.rb +1 -0
  38. data/lib/langrove/job_base.rb +24 -0
  39. data/lib/langrove/protocol/base.rb +2 -0
  40. data/lib/langrove/protocol/syslog.rb +32 -0
  41. data/lib/langrove/protocol_base.rb +32 -0
  42. data/lib/langrove/version.rb +3 -0
  43. data/lib/langrove.rb +1 -0
  44. data/spec/functional/daemon/datagram_spec.rb +121 -0
  45. data/spec/langrove/adaptor_base_spec.rb +63 -0
  46. data/spec/langrove/client/datagram_spec.rb +1 -0
  47. data/spec/langrove/client_base_spec.rb +5 -0
  48. data/spec/langrove/daemon_base_spec.rb +154 -0
  49. data/spec/langrove/ext/class_loader_spec.rb +83 -0
  50. data/spec/langrove/ext/config_item_spec.rb +81 -0
  51. data/spec/langrove/ext/config_loader_spec.rb +5 -0
  52. data/spec/langrove/ext/fake_logger_spec.rb +0 -0
  53. data/spec/langrove/ext/find_spec.rb +53 -0
  54. data/spec/langrove/ext/persistable_spec.rb +117 -0
  55. data/spec/langrove/ext/string_spec.rb +16 -0
  56. data/spec/langrove/handler_base_spec.rb +103 -0
  57. data/spec/langrove/job_base_spec.rb +28 -0
  58. data/spec/langrove/protocol/syslog_spec.rb +45 -0
  59. data/spec/langrove/protocol_base_spec.rb +6 -0
  60. data/spec/todo_spec.rb +12 -0
  61. data/tmp/README +2 -0
  62. metadata +203 -0
metadata ADDED
@@ -0,0 +1,203 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: em-langrove
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.4.5
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Richard
9
+ - ''
10
+ - ''
11
+ - ''
12
+ autorequire:
13
+ bindir: bin
14
+ cert_chain: []
15
+ date: 2012-04-24 00:00:00.000000000 +02:00
16
+ default_executable:
17
+ dependencies:
18
+ - !ruby/object:Gem::Dependency
19
+ name: watchr
20
+ requirement: &70153154387320 !ruby/object:Gem::Requirement
21
+ none: false
22
+ requirements:
23
+ - - ! '>='
24
+ - !ruby/object:Gem::Version
25
+ version: '0'
26
+ type: :development
27
+ prerelease: false
28
+ version_requirements: *70153154387320
29
+ - !ruby/object:Gem::Dependency
30
+ name: rspec
31
+ requirement: &70153154386820 !ruby/object:Gem::Requirement
32
+ none: false
33
+ requirements:
34
+ - - ~>
35
+ - !ruby/object:Gem::Version
36
+ version: '2.9'
37
+ type: :development
38
+ prerelease: false
39
+ version_requirements: *70153154386820
40
+ - !ruby/object:Gem::Dependency
41
+ name: rake
42
+ requirement: &70153154386300 !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '1.8'
48
+ - - ! '>='
49
+ - !ruby/object:Gem::Version
50
+ version: 0.8.7
51
+ type: :development
52
+ prerelease: false
53
+ version_requirements: *70153154386300
54
+ - !ruby/object:Gem::Dependency
55
+ name: eventmachine
56
+ requirement: &70153154385560 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '0.12'
62
+ - - ! '>='
63
+ - !ruby/object:Gem::Version
64
+ version: 0.12.10
65
+ type: :runtime
66
+ prerelease: false
67
+ version_requirements: *70153154385560
68
+ - !ruby/object:Gem::Dependency
69
+ name: em-http-request
70
+ requirement: &70153154384820 !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '0.3'
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: 0.3.0
79
+ type: :runtime
80
+ prerelease: false
81
+ version_requirements: *70153154384820
82
+ - !ruby/object:Gem::Dependency
83
+ name: daemon-kit
84
+ requirement: &70153154384080 !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: '0.1'
90
+ - - ! '>='
91
+ - !ruby/object:Gem::Version
92
+ version: 0.1.8.2
93
+ type: :runtime
94
+ prerelease: false
95
+ version_requirements: *70153154384080
96
+ - !ruby/object:Gem::Dependency
97
+ name: resque
98
+ requirement: &70153154383340 !ruby/object:Gem::Requirement
99
+ none: false
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: '1.20'
104
+ - - ! '>='
105
+ - !ruby/object:Gem::Version
106
+ version: 1.20.0
107
+ type: :runtime
108
+ prerelease: false
109
+ version_requirements: *70153154383340
110
+ description: ''
111
+ email: ops@clue.co.za
112
+ executables:
113
+ - langrove
114
+ extensions: []
115
+ extra_rdoc_files: []
116
+ files:
117
+ - bin/langrove
118
+ - Gemfile
119
+ - Gemfile.lock
120
+ - .rspec
121
+ - .rvmrc
122
+ - .watchr
123
+ - Rakefile
124
+ - tmp/README
125
+ - functional/config/boot.rb
126
+ - functional/config/daemons.yml
127
+ - functional/config/environment.rb
128
+ - functional/config/environments/development.rb
129
+ - functional/config/environments/production.rb
130
+ - functional/config/environments/test.rb
131
+ - functional/lib/client/socket_to_file.rb
132
+ - functional/lib/daemon/datagram.rb
133
+ - functional/lib/protocol/socket_to_file.rb
134
+ - functional/libexec/daemon.rb
135
+ - functional/tmp/README
136
+ - lib/langrove/_base.rb
137
+ - lib/langrove/adaptor/base.rb
138
+ - lib/langrove/adaptor_base.rb
139
+ - lib/langrove/client/base.rb
140
+ - lib/langrove/client/datagram.rb
141
+ - lib/langrove/client_base.rb
142
+ - lib/langrove/daemon/base.rb
143
+ - lib/langrove/daemon_base.rb
144
+ - lib/langrove/ext/class_loader.rb
145
+ - lib/langrove/ext/config_item.rb
146
+ - lib/langrove/ext/config_loader.rb
147
+ - lib/langrove/ext/fake_logger.rb
148
+ - lib/langrove/ext/find.rb
149
+ - lib/langrove/ext/persistable.rb
150
+ - lib/langrove/ext/string.rb
151
+ - lib/langrove/ext.rb
152
+ - lib/langrove/handler/base.rb
153
+ - lib/langrove/handler_base.rb
154
+ - lib/langrove/job/base.rb
155
+ - lib/langrove/job_base.rb
156
+ - lib/langrove/protocol/base.rb
157
+ - lib/langrove/protocol/syslog.rb
158
+ - lib/langrove/protocol_base.rb
159
+ - lib/langrove/version.rb
160
+ - lib/langrove.rb
161
+ - spec/functional/daemon/datagram_spec.rb
162
+ - spec/langrove/adaptor_base_spec.rb
163
+ - spec/langrove/client/datagram_spec.rb
164
+ - spec/langrove/client_base_spec.rb
165
+ - spec/langrove/daemon_base_spec.rb
166
+ - spec/langrove/ext/class_loader_spec.rb
167
+ - spec/langrove/ext/config_item_spec.rb
168
+ - spec/langrove/ext/config_loader_spec.rb
169
+ - spec/langrove/ext/fake_logger_spec.rb
170
+ - spec/langrove/ext/find_spec.rb
171
+ - spec/langrove/ext/persistable_spec.rb
172
+ - spec/langrove/ext/string_spec.rb
173
+ - spec/langrove/handler_base_spec.rb
174
+ - spec/langrove/job_base_spec.rb
175
+ - spec/langrove/protocol/syslog_spec.rb
176
+ - spec/langrove/protocol_base_spec.rb
177
+ - spec/todo_spec.rb
178
+ has_rdoc: true
179
+ homepage: ''
180
+ licenses: []
181
+ post_install_message:
182
+ rdoc_options: []
183
+ require_paths:
184
+ - lib
185
+ required_ruby_version: !ruby/object:Gem::Requirement
186
+ none: false
187
+ requirements:
188
+ - - ! '>='
189
+ - !ruby/object:Gem::Version
190
+ version: '0'
191
+ required_rubygems_version: !ruby/object:Gem::Requirement
192
+ none: false
193
+ requirements:
194
+ - - ! '>='
195
+ - !ruby/object:Gem::Version
196
+ version: '0'
197
+ requirements: []
198
+ rubyforge_project:
199
+ rubygems_version: 1.6.2
200
+ signing_key:
201
+ specification_version: 3
202
+ summary: eventmachine based networked daemon framework
203
+ test_files: []