content_server 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. data/bin/backup_server +8 -20
  2. data/bin/content_server +8 -20
  3. data/bin/testing_memory +60 -0
  4. data/bin/testing_server +57 -0
  5. data/ext/run_in_background/mkrf_conf.rb +34 -0
  6. data/lib/content_data/content_data.rb +613 -0
  7. data/lib/content_data/version.rb +3 -0
  8. data/lib/content_data.rb +6 -0
  9. data/lib/content_server/backup_server.rb +65 -86
  10. data/lib/content_server/content_server.rb +47 -77
  11. data/lib/content_server/file_streamer.rb +27 -33
  12. data/lib/content_server/queue_copy.rb +154 -49
  13. data/lib/content_server/queue_indexer.rb +19 -11
  14. data/lib/content_server/remote_content.rb +41 -23
  15. data/lib/content_server/server.rb +91 -0
  16. data/lib/content_server/version.rb +1 -1
  17. data/lib/content_server.rb +0 -15
  18. data/lib/email/email.rb +87 -0
  19. data/lib/email/version.rb +3 -0
  20. data/lib/email.rb +4 -0
  21. data/lib/file_copy/copy.rb +68 -0
  22. data/lib/file_copy/version.rb +4 -0
  23. data/lib/file_copy.rb +4 -0
  24. data/lib/file_indexing/index_agent.rb +170 -0
  25. data/lib/file_indexing/indexer_patterns.rb +72 -0
  26. data/lib/file_indexing/version.rb +3 -0
  27. data/lib/file_indexing.rb +9 -0
  28. data/lib/file_monitoring/file_monitoring.rb +105 -0
  29. data/lib/file_monitoring/monitor_path.rb +304 -0
  30. data/lib/file_monitoring/version.rb +3 -0
  31. data/lib/file_monitoring.rb +29 -0
  32. data/lib/file_utils/file_generator/README +97 -0
  33. data/lib/file_utils/file_generator/file_generator.rb +156 -0
  34. data/lib/file_utils/file_utils.rb +260 -0
  35. data/lib/file_utils/version.rb +3 -0
  36. data/lib/file_utils.rb +4 -0
  37. data/lib/log/version.rb +3 -0
  38. data/lib/log.rb +188 -0
  39. data/lib/networking/tcp.rb +213 -0
  40. data/lib/networking/version.rb +3 -0
  41. data/lib/networking.rb +4 -0
  42. data/lib/params/version.rb +3 -0
  43. data/lib/params.rb +419 -0
  44. data/lib/process_monitoring/monitoring.rb +85 -0
  45. data/lib/process_monitoring/monitoring_info.rb +79 -0
  46. data/lib/process_monitoring/send_email.rb +40 -0
  47. data/lib/process_monitoring/thread_safe_hash.rb +77 -0
  48. data/lib/process_monitoring/version.rb +3 -0
  49. data/lib/process_monitoring.rb +6 -0
  50. data/lib/run_in_background/version.rb +3 -0
  51. data/lib/run_in_background.rb +432 -0
  52. data/lib/testing_memory/testing_memory.rb +187 -0
  53. data/lib/testing_server/testing_server.rb +236 -0
  54. data/lib/testing_server/version.rb +3 -0
  55. data/lib/testing_server.rb +12 -0
  56. data/lib/validations/index_validations.rb +106 -0
  57. data/lib/validations/version.rb +3 -0
  58. data/lib/validations.rb +4 -0
  59. data/spec/content_data/validations_spec.rb +113 -0
  60. data/spec/file_copy/copy_spec.rb +54 -0
  61. data/spec/file_indexing/index_agent_spec.rb +53 -0
  62. data/spec/networking/tcp_spec.rb +95 -0
  63. data/spec/validations/index_validations_spec.rb +77 -0
  64. data/test/content_data/content_data_test.rb +290 -0
  65. data/test/file_generator/file_generator_spec.rb +84 -0
  66. data/test/file_indexing/index_agent_test/New.txt +0 -0
  67. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/bin/libexslt.dll +0 -0
  68. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/bin/libxslt.dll +0 -0
  69. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/bin/xsltproc.exe +0 -0
  70. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libexslt/exslt.h +102 -0
  71. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libexslt/exsltconfig.h +73 -0
  72. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libexslt/exsltexports.h +140 -0
  73. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libexslt/libexslt.h +29 -0
  74. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/attributes.h +38 -0
  75. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/documents.h +93 -0
  76. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/extensions.h +262 -0
  77. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/extra.h +80 -0
  78. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/functions.h +78 -0
  79. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/imports.h +75 -0
  80. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/keys.h +53 -0
  81. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/libxslt.h +30 -0
  82. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/namespaces.h +68 -0
  83. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/numbersInternals.h +69 -0
  84. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/pattern.h +81 -0
  85. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/preproc.h +43 -0
  86. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/security.h +104 -0
  87. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/templates.h +77 -0
  88. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/transform.h +207 -0
  89. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/trio.h +216 -0
  90. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/triodef.h +220 -0
  91. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/variables.h +91 -0
  92. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/win32config.h +101 -0
  93. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xslt.h +103 -0
  94. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltInternals.h +1967 -0
  95. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltconfig.h +172 -0
  96. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltexports.h +142 -0
  97. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltlocale.h +57 -0
  98. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltutils.h +309 -0
  99. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltwin32config.h +105 -0
  100. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/lib/libexslt.lib +0 -0
  101. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/lib/libexslt_a.lib +0 -0
  102. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/lib/libxslt.lib +0 -0
  103. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/lib/libxslt_a.lib +0 -0
  104. data/test/file_indexing/index_agent_test/libxslt-1.1.26.win32/readme.txt +22 -0
  105. data/test/file_indexing/index_agent_test/patterns.input +3 -0
  106. data/test/file_indexing/index_agent_test.rb +51 -0
  107. data/test/file_monitoring/file_monitoring_test/conf.yml +4 -0
  108. data/test/file_monitoring/file_monitoring_test/conf_win32.yml +5 -0
  109. data/test/file_monitoring/file_monitoring_test/log +56 -0
  110. data/test/file_monitoring/file_monitoring_test.rb +0 -0
  111. data/test/file_monitoring/monitor_path_test/dir1000/test_file.1000 +1000 -0
  112. data/test/file_monitoring/monitor_path_test/dir1000/test_file.1000.0 +1000 -0
  113. data/test/file_monitoring/monitor_path_test/dir1000/test_file.1000.1 +1000 -0
  114. data/test/file_monitoring/monitor_path_test/dir1500/test_file.1500 +1500 -0
  115. data/test/file_monitoring/monitor_path_test/dir1500/test_file.1500.0 +1500 -0
  116. data/test/file_monitoring/monitor_path_test/dir1500/test_file.1500.1 +1500 -0
  117. data/test/file_monitoring/monitor_path_test/test_file.500 +500 -0
  118. data/test/file_monitoring/monitor_path_test/test_file.500.0 +500 -0
  119. data/test/file_monitoring/monitor_path_test/test_file.500.1 +500 -0
  120. data/test/file_monitoring/monitor_path_test.rb +153 -0
  121. data/test/file_utils/fileutil_mksymlink_test/dir1000/dir1500/test_file.1500 +1500 -0
  122. data/test/file_utils/fileutil_mksymlink_test/dir1000/dir1500/test_file.1500.0 +1500 -0
  123. data/test/file_utils/fileutil_mksymlink_test/dir1000/dir1500/test_file.1500.1 +1500 -0
  124. data/test/file_utils/fileutil_mksymlink_test/dir1000/test_file.1000 +1000 -0
  125. data/test/file_utils/fileutil_mksymlink_test/dir1000/test_file.1000.0 +1000 -0
  126. data/test/file_utils/fileutil_mksymlink_test/dir1000/test_file.1000.1 +1000 -0
  127. data/test/file_utils/fileutil_mksymlink_test/test_file.500 +500 -0
  128. data/test/file_utils/fileutil_mksymlink_test/test_file.500.0 +500 -0
  129. data/test/file_utils/fileutil_mksymlink_test/test_file.500.1 +500 -0
  130. data/test/file_utils/fileutil_mksymlink_test.rb +125 -0
  131. data/test/file_utils/time_modification_test.rb +132 -0
  132. data/test/params/params_spec.rb +280 -0
  133. data/test/params/params_test.rb +43 -0
  134. data/test/run_in_background/run_in_background_test.rb +122 -0
  135. data/test/run_in_background/test_app +57 -0
  136. metadata +272 -132
  137. data/lib/content_server/globals.rb +0 -10
metadata CHANGED
@@ -1,24 +1,24 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: content_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - Gena Petelko, Kolman Vornovitsky
8
+ - BBFS Team
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-24 00:00:00.000000000 Z
12
+ date: 2013-08-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: content_data
15
+ name: rake
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.1.0
21
+ version: 0.9.2.2
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,103 +26,103 @@ dependencies:
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 1.1.0
29
+ version: 0.9.2.2
30
30
  - !ruby/object:Gem::Dependency
31
- name: file_indexing
31
+ name: algorithms
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - '='
35
+ - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: 1.1.0
37
+ version: '0'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - '='
43
+ - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: 1.1.0
45
+ version: '0'
46
46
  - !ruby/object:Gem::Dependency
47
- name: file_monitoring
47
+ name: log4r
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
- - - '='
51
+ - - ! '>='
52
52
  - !ruby/object:Gem::Version
53
- version: 1.1.0
53
+ version: '0'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
59
- - - '='
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
- version: 1.1.0
61
+ version: '0'
62
62
  - !ruby/object:Gem::Dependency
63
- name: log
63
+ name: eventmachine
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
67
- - - '='
67
+ - - ! '>='
68
68
  - !ruby/object:Gem::Version
69
- version: 1.1.0
69
+ version: '0'
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
- - - '='
75
+ - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
- version: 1.1.0
77
+ version: '0'
78
78
  - !ruby/object:Gem::Dependency
79
- name: networking
79
+ name: json
80
80
  requirement: !ruby/object:Gem::Requirement
81
81
  none: false
82
82
  requirements:
83
- - - '='
83
+ - - ! '>='
84
84
  - !ruby/object:Gem::Version
85
- version: 1.1.0
85
+ version: '0'
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
89
89
  none: false
90
90
  requirements:
91
- - - '='
91
+ - - ! '>='
92
92
  - !ruby/object:Gem::Version
93
- version: 1.1.0
93
+ version: '0'
94
94
  - !ruby/object:Gem::Dependency
95
- name: params
95
+ name: sinatra
96
96
  requirement: !ruby/object:Gem::Requirement
97
97
  none: false
98
98
  requirements:
99
- - - '='
99
+ - - ! '>='
100
100
  - !ruby/object:Gem::Version
101
- version: 1.1.0
101
+ version: '0'
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
- - - '='
107
+ - - ! '>='
108
108
  - !ruby/object:Gem::Version
109
- version: 1.1.0
109
+ version: '0'
110
110
  - !ruby/object:Gem::Dependency
111
- name: process_monitoring
111
+ name: thin
112
112
  requirement: !ruby/object:Gem::Requirement
113
113
  none: false
114
114
  requirements:
115
- - - '='
115
+ - - ! '>='
116
116
  - !ruby/object:Gem::Version
117
- version: 1.1.0
117
+ version: '0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  none: false
122
122
  requirements:
123
- - - '='
123
+ - - ! '>='
124
124
  - !ruby/object:Gem::Version
125
- version: 1.1.0
125
+ version: '0'
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: rake
128
128
  requirement: !ruby/object:Gem::Requirement
@@ -140,187 +140,250 @@ dependencies:
140
140
  - !ruby/object:Gem::Version
141
141
  version: 0.9.2.2
142
142
  - !ruby/object:Gem::Dependency
143
- name: run_in_background
144
- requirement: !ruby/object:Gem::Requirement
145
- none: false
146
- requirements:
147
- - - '='
148
- - !ruby/object:Gem::Version
149
- version: 1.1.0
150
- type: :runtime
151
- prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
- requirements:
155
- - - '='
156
- - !ruby/object:Gem::Version
157
- version: 1.1.0
158
- - !ruby/object:Gem::Dependency
159
- name: content_data
160
- requirement: !ruby/object:Gem::Requirement
161
- none: false
162
- requirements:
163
- - - '='
164
- - !ruby/object:Gem::Version
165
- version: 1.1.0
166
- type: :runtime
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - '='
172
- - !ruby/object:Gem::Version
173
- version: 1.1.0
174
- - !ruby/object:Gem::Dependency
175
- name: file_indexing
143
+ name: algorithms
176
144
  requirement: !ruby/object:Gem::Requirement
177
145
  none: false
178
146
  requirements:
179
- - - '='
147
+ - - ! '>='
180
148
  - !ruby/object:Gem::Version
181
- version: 1.1.0
149
+ version: '0'
182
150
  type: :runtime
183
151
  prerelease: false
184
152
  version_requirements: !ruby/object:Gem::Requirement
185
153
  none: false
186
154
  requirements:
187
- - - '='
155
+ - - ! '>='
188
156
  - !ruby/object:Gem::Version
189
- version: 1.1.0
157
+ version: '0'
190
158
  - !ruby/object:Gem::Dependency
191
- name: file_monitoring
159
+ name: log4r
192
160
  requirement: !ruby/object:Gem::Requirement
193
161
  none: false
194
162
  requirements:
195
- - - '='
163
+ - - ! '>='
196
164
  - !ruby/object:Gem::Version
197
- version: 1.1.0
165
+ version: '0'
198
166
  type: :runtime
199
167
  prerelease: false
200
168
  version_requirements: !ruby/object:Gem::Requirement
201
169
  none: false
202
170
  requirements:
203
- - - '='
171
+ - - ! '>='
204
172
  - !ruby/object:Gem::Version
205
- version: 1.1.0
173
+ version: '0'
206
174
  - !ruby/object:Gem::Dependency
207
- name: log
175
+ name: eventmachine
208
176
  requirement: !ruby/object:Gem::Requirement
209
177
  none: false
210
178
  requirements:
211
- - - '='
179
+ - - ! '>='
212
180
  - !ruby/object:Gem::Version
213
- version: 1.1.0
181
+ version: '0'
214
182
  type: :runtime
215
183
  prerelease: false
216
184
  version_requirements: !ruby/object:Gem::Requirement
217
185
  none: false
218
186
  requirements:
219
- - - '='
187
+ - - ! '>='
220
188
  - !ruby/object:Gem::Version
221
- version: 1.1.0
189
+ version: '0'
222
190
  - !ruby/object:Gem::Dependency
223
- name: networking
191
+ name: json
224
192
  requirement: !ruby/object:Gem::Requirement
225
193
  none: false
226
194
  requirements:
227
- - - '='
195
+ - - ! '>='
228
196
  - !ruby/object:Gem::Version
229
- version: 1.1.0
197
+ version: '0'
230
198
  type: :runtime
231
199
  prerelease: false
232
200
  version_requirements: !ruby/object:Gem::Requirement
233
201
  none: false
234
202
  requirements:
235
- - - '='
203
+ - - ! '>='
236
204
  - !ruby/object:Gem::Version
237
- version: 1.1.0
205
+ version: '0'
238
206
  - !ruby/object:Gem::Dependency
239
- name: params
207
+ name: sinatra
240
208
  requirement: !ruby/object:Gem::Requirement
241
209
  none: false
242
210
  requirements:
243
- - - '='
211
+ - - ! '>='
244
212
  - !ruby/object:Gem::Version
245
- version: 1.1.0
213
+ version: '0'
246
214
  type: :runtime
247
215
  prerelease: false
248
216
  version_requirements: !ruby/object:Gem::Requirement
249
217
  none: false
250
218
  requirements:
251
- - - '='
219
+ - - ! '>='
252
220
  - !ruby/object:Gem::Version
253
- version: 1.1.0
221
+ version: '0'
254
222
  - !ruby/object:Gem::Dependency
255
- name: process_monitoring
223
+ name: thin
256
224
  requirement: !ruby/object:Gem::Requirement
257
225
  none: false
258
226
  requirements:
259
- - - '='
227
+ - - ! '>='
260
228
  - !ruby/object:Gem::Version
261
- version: 1.1.0
229
+ version: '0'
262
230
  type: :runtime
263
231
  prerelease: false
264
232
  version_requirements: !ruby/object:Gem::Requirement
265
233
  none: false
266
234
  requirements:
267
- - - '='
268
- - !ruby/object:Gem::Version
269
- version: 1.1.0
270
- - !ruby/object:Gem::Dependency
271
- name: rake
272
- requirement: !ruby/object:Gem::Requirement
273
- none: false
274
- requirements:
275
- - - '='
276
- - !ruby/object:Gem::Version
277
- version: 0.9.2.2
278
- type: :runtime
279
- prerelease: false
280
- version_requirements: !ruby/object:Gem::Requirement
281
- none: false
282
- requirements:
283
- - - '='
284
- - !ruby/object:Gem::Version
285
- version: 0.9.2.2
286
- - !ruby/object:Gem::Dependency
287
- name: run_in_background
288
- requirement: !ruby/object:Gem::Requirement
289
- none: false
290
- requirements:
291
- - - '='
292
- - !ruby/object:Gem::Version
293
- version: 1.1.0
294
- type: :runtime
295
- prerelease: false
296
- version_requirements: !ruby/object:Gem::Requirement
297
- none: false
298
- requirements:
299
- - - '='
235
+ - - ! '>='
300
236
  - !ruby/object:Gem::Version
301
- version: 1.1.0
237
+ version: '0'
302
238
  description: Monitor and Index a directory and back it up to backup server.
303
239
  email: bbfsdev@gmail.com
304
240
  executables:
305
241
  - content_server
306
242
  - backup_server
307
- extensions: []
243
+ - testing_server
244
+ - testing_memory
245
+ extensions:
246
+ - ext/run_in_background/mkrf_conf.rb
308
247
  extra_rdoc_files: []
309
248
  files:
249
+ - lib/content_data.rb
250
+ - lib/content_data/content_data.rb
251
+ - lib/content_data/version.rb
310
252
  - lib/content_server.rb
311
253
  - lib/content_server/file_streamer.rb
312
254
  - lib/content_server/queue_copy.rb
313
- - lib/content_server/globals.rb
255
+ - lib/content_server/server.rb
314
256
  - lib/content_server/content_server.rb
315
257
  - lib/content_server/content_receiver.rb
316
258
  - lib/content_server/remote_content.rb
317
259
  - lib/content_server/version.rb
318
260
  - lib/content_server/backup_server.rb
319
261
  - lib/content_server/queue_indexer.rb
262
+ - lib/email.rb
263
+ - lib/email/email.rb
264
+ - lib/email/version.rb
265
+ - lib/file_copy.rb
266
+ - lib/file_copy/copy.rb
267
+ - lib/file_copy/version.rb
268
+ - lib/file_indexing.rb
269
+ - lib/file_indexing/indexer_patterns.rb
270
+ - lib/file_indexing/index_agent.rb
271
+ - lib/file_indexing/version.rb
272
+ - lib/file_monitoring.rb
273
+ - lib/file_monitoring/monitor_path.rb
274
+ - lib/file_monitoring/version.rb
275
+ - lib/file_monitoring/file_monitoring.rb
276
+ - lib/file_utils.rb
277
+ - lib/file_utils/file_generator/README
278
+ - lib/file_utils/file_generator/file_generator.rb
279
+ - lib/file_utils/file_utils.rb
280
+ - lib/file_utils/version.rb
281
+ - lib/log.rb
282
+ - lib/log/version.rb
283
+ - lib/networking.rb
284
+ - lib/networking/tcp.rb
285
+ - lib/networking/version.rb
286
+ - lib/params.rb
287
+ - lib/params/version.rb
288
+ - lib/process_monitoring.rb
289
+ - lib/process_monitoring/thread_safe_hash.rb
290
+ - lib/process_monitoring/monitoring_info.rb
291
+ - lib/process_monitoring/send_email.rb
292
+ - lib/process_monitoring/monitoring.rb
293
+ - lib/process_monitoring/version.rb
294
+ - lib/run_in_background.rb
295
+ - lib/run_in_background/version.rb
296
+ - lib/testing_server.rb
297
+ - lib/testing_server/testing_server.rb
298
+ - lib/testing_server/version.rb
299
+ - lib/testing_memory/testing_memory.rb
300
+ - lib/validations.rb
301
+ - lib/validations/index_validations.rb
302
+ - lib/validations/version.rb
303
+ - test/content_data/content_data_test.rb
304
+ - test/file_generator/file_generator_spec.rb
305
+ - test/file_indexing/index_agent_test.rb
306
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/bin/libxslt.dll
307
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/bin/xsltproc.exe
308
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/bin/libexslt.dll
309
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/readme.txt
310
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/lib/libexslt_a.lib
311
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/lib/libexslt.lib
312
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/lib/libxslt_a.lib
313
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/lib/libxslt.lib
314
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libexslt/libexslt.h
315
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libexslt/exsltexports.h
316
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libexslt/exslt.h
317
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libexslt/exsltconfig.h
318
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltwin32config.h
319
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltexports.h
320
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/win32config.h
321
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltconfig.h
322
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xslt.h
323
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/functions.h
324
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/attributes.h
325
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/security.h
326
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/templates.h
327
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltutils.h
328
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/variables.h
329
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/extra.h
330
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/pattern.h
331
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/documents.h
332
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/trio.h
333
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/preproc.h
334
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltInternals.h
335
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/imports.h
336
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/extensions.h
337
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/libxslt.h
338
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltlocale.h
339
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/namespaces.h
340
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/keys.h
341
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/transform.h
342
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/numbersInternals.h
343
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/triodef.h
344
+ - test/file_indexing/index_agent_test/New.txt
345
+ - test/file_indexing/index_agent_test/patterns.input
346
+ - test/file_monitoring/file_monitoring_test/conf.yml
347
+ - test/file_monitoring/file_monitoring_test/log
348
+ - test/file_monitoring/file_monitoring_test/conf_win32.yml
349
+ - test/file_monitoring/monitor_path_test/test_file.500.0
350
+ - test/file_monitoring/monitor_path_test/dir1000/test_file.1000.1
351
+ - test/file_monitoring/monitor_path_test/dir1000/test_file.1000.0
352
+ - test/file_monitoring/monitor_path_test/dir1000/test_file.1000
353
+ - test/file_monitoring/monitor_path_test/test_file.500.1
354
+ - test/file_monitoring/monitor_path_test/test_file.500
355
+ - test/file_monitoring/monitor_path_test/dir1500/test_file.1500
356
+ - test/file_monitoring/monitor_path_test/dir1500/test_file.1500.0
357
+ - test/file_monitoring/monitor_path_test/dir1500/test_file.1500.1
358
+ - test/file_monitoring/file_monitoring_test.rb
359
+ - test/file_monitoring/monitor_path_test.rb
360
+ - test/file_utils/fileutil_mksymlink_test/test_file.500.0
361
+ - test/file_utils/fileutil_mksymlink_test/dir1000/test_file.1000.1
362
+ - test/file_utils/fileutil_mksymlink_test/dir1000/test_file.1000.0
363
+ - test/file_utils/fileutil_mksymlink_test/dir1000/test_file.1000
364
+ - test/file_utils/fileutil_mksymlink_test/dir1000/dir1500/test_file.1500
365
+ - test/file_utils/fileutil_mksymlink_test/dir1000/dir1500/test_file.1500.0
366
+ - test/file_utils/fileutil_mksymlink_test/dir1000/dir1500/test_file.1500.1
367
+ - test/file_utils/fileutil_mksymlink_test/test_file.500.1
368
+ - test/file_utils/fileutil_mksymlink_test/test_file.500
369
+ - test/file_utils/fileutil_mksymlink_test.rb
370
+ - test/file_utils/time_modification_test.rb
371
+ - test/params/params_spec.rb
372
+ - test/params/params_test.rb
373
+ - test/run_in_background/test_app
374
+ - test/run_in_background/run_in_background_test.rb
375
+ - spec/content_data/validations_spec.rb
320
376
  - spec/content_server/content_server_spec.rb
321
377
  - spec/content_server/file_streamer_spec.rb
378
+ - spec/file_copy/copy_spec.rb
379
+ - spec/file_indexing/index_agent_spec.rb
380
+ - spec/networking/tcp_spec.rb
381
+ - spec/validations/index_validations_spec.rb
322
382
  - bin/content_server
323
383
  - bin/backup_server
384
+ - bin/testing_server
385
+ - bin/testing_memory
386
+ - ext/run_in_background/mkrf_conf.rb
324
387
  homepage: http://github.com/bbfsdev/bbfs
325
388
  licenses: []
326
389
  post_install_message:
@@ -346,5 +409,82 @@ signing_key:
346
409
  specification_version: 3
347
410
  summary: Servers for backing up content.
348
411
  test_files:
412
+ - test/content_data/content_data_test.rb
413
+ - test/file_generator/file_generator_spec.rb
414
+ - test/file_indexing/index_agent_test.rb
415
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/bin/libxslt.dll
416
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/bin/xsltproc.exe
417
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/bin/libexslt.dll
418
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/readme.txt
419
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/lib/libexslt_a.lib
420
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/lib/libexslt.lib
421
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/lib/libxslt_a.lib
422
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/lib/libxslt.lib
423
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libexslt/libexslt.h
424
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libexslt/exsltexports.h
425
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libexslt/exslt.h
426
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libexslt/exsltconfig.h
427
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltwin32config.h
428
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltexports.h
429
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/win32config.h
430
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltconfig.h
431
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xslt.h
432
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/functions.h
433
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/attributes.h
434
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/security.h
435
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/templates.h
436
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltutils.h
437
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/variables.h
438
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/extra.h
439
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/pattern.h
440
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/documents.h
441
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/trio.h
442
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/preproc.h
443
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltInternals.h
444
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/imports.h
445
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/extensions.h
446
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/libxslt.h
447
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/xsltlocale.h
448
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/namespaces.h
449
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/keys.h
450
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/transform.h
451
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/numbersInternals.h
452
+ - test/file_indexing/index_agent_test/libxslt-1.1.26.win32/include/libxslt/triodef.h
453
+ - test/file_indexing/index_agent_test/New.txt
454
+ - test/file_indexing/index_agent_test/patterns.input
455
+ - test/file_monitoring/file_monitoring_test/conf.yml
456
+ - test/file_monitoring/file_monitoring_test/log
457
+ - test/file_monitoring/file_monitoring_test/conf_win32.yml
458
+ - test/file_monitoring/monitor_path_test/test_file.500.0
459
+ - test/file_monitoring/monitor_path_test/dir1000/test_file.1000.1
460
+ - test/file_monitoring/monitor_path_test/dir1000/test_file.1000.0
461
+ - test/file_monitoring/monitor_path_test/dir1000/test_file.1000
462
+ - test/file_monitoring/monitor_path_test/test_file.500.1
463
+ - test/file_monitoring/monitor_path_test/test_file.500
464
+ - test/file_monitoring/monitor_path_test/dir1500/test_file.1500
465
+ - test/file_monitoring/monitor_path_test/dir1500/test_file.1500.0
466
+ - test/file_monitoring/monitor_path_test/dir1500/test_file.1500.1
467
+ - test/file_monitoring/file_monitoring_test.rb
468
+ - test/file_monitoring/monitor_path_test.rb
469
+ - test/file_utils/fileutil_mksymlink_test/test_file.500.0
470
+ - test/file_utils/fileutil_mksymlink_test/dir1000/test_file.1000.1
471
+ - test/file_utils/fileutil_mksymlink_test/dir1000/test_file.1000.0
472
+ - test/file_utils/fileutil_mksymlink_test/dir1000/test_file.1000
473
+ - test/file_utils/fileutil_mksymlink_test/dir1000/dir1500/test_file.1500
474
+ - test/file_utils/fileutil_mksymlink_test/dir1000/dir1500/test_file.1500.0
475
+ - test/file_utils/fileutil_mksymlink_test/dir1000/dir1500/test_file.1500.1
476
+ - test/file_utils/fileutil_mksymlink_test/test_file.500.1
477
+ - test/file_utils/fileutil_mksymlink_test/test_file.500
478
+ - test/file_utils/fileutil_mksymlink_test.rb
479
+ - test/file_utils/time_modification_test.rb
480
+ - test/params/params_spec.rb
481
+ - test/params/params_test.rb
482
+ - test/run_in_background/test_app
483
+ - test/run_in_background/run_in_background_test.rb
484
+ - spec/content_data/validations_spec.rb
349
485
  - spec/content_server/content_server_spec.rb
350
486
  - spec/content_server/file_streamer_spec.rb
487
+ - spec/file_copy/copy_spec.rb
488
+ - spec/file_indexing/index_agent_spec.rb
489
+ - spec/networking/tcp_spec.rb
490
+ - spec/validations/index_validations_spec.rb
@@ -1,10 +0,0 @@
1
- require 'process_monitoring/thread_safe_hash'
2
-
3
- module ContentServer
4
- class Globals
5
- @@process_vars = ThreadSafeHash::ThreadSafeHash.new
6
- def self.process_vars
7
- @@process_vars
8
- end
9
- end
10
- end