pione 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. data/.gitignore +2 -1
  2. data/History.txt +11 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +1 -1
  5. data/bin/pione-log +5 -0
  6. data/example/CountChar/CountChar.pione +1 -1
  7. data/example/SieveOfEratosthenes/SieveOfEratosthenes.pione +39 -38
  8. data/lib/pione.rb +14 -35
  9. data/lib/pione/agent/input-generator.rb +38 -40
  10. data/lib/pione/agent/logger.rb +52 -19
  11. data/lib/pione/agent/rule-provider.rb +5 -8
  12. data/lib/pione/agent/task-worker.rb +25 -32
  13. data/lib/pione/agent/tuple-space-client.rb +22 -14
  14. data/lib/pione/command.rb +21 -0
  15. data/lib/pione/command/basic-command.rb +267 -84
  16. data/lib/pione/command/child-process.rb +21 -18
  17. data/lib/pione/command/daemon-process.rb +9 -8
  18. data/lib/pione/command/front-owner-command.rb +8 -25
  19. data/lib/pione/command/pione-broker.rb +27 -24
  20. data/lib/pione/command/pione-clean.rb +6 -6
  21. data/lib/pione/command/pione-client.rb +143 -128
  22. data/lib/pione/command/pione-log.rb +61 -0
  23. data/lib/pione/command/pione-relay-account-db.rb +40 -38
  24. data/lib/pione/command/pione-relay-client-db.rb +38 -42
  25. data/lib/pione/command/pione-relay.rb +19 -20
  26. data/lib/pione/command/pione-syntax-checker.rb +70 -45
  27. data/lib/pione/command/pione-task-worker.rb +56 -66
  28. data/lib/pione/command/pione-tuple-space-provider.rb +36 -45
  29. data/lib/pione/command/pione-tuple-space-receiver.rb +34 -32
  30. data/lib/pione/command/pione-tuple-space-viewer.rb +63 -47
  31. data/lib/pione/location.rb +10 -0
  32. data/lib/pione/location/basic-location.rb +272 -0
  33. data/lib/pione/location/dropbox-location.rb +139 -0
  34. data/lib/pione/location/ftp-location.rb +156 -0
  35. data/lib/pione/location/local-location.rb +116 -0
  36. data/lib/pione/log.rb +10 -0
  37. data/lib/pione/log/domain-info.rb +72 -0
  38. data/lib/pione/log/process-log.rb +176 -0
  39. data/lib/pione/log/process-record.rb +189 -0
  40. data/lib/pione/log/xes-log.rb +105 -0
  41. data/lib/pione/model/assignment.rb +88 -80
  42. data/lib/pione/model/binary-operator.rb +74 -68
  43. data/lib/pione/model/block.rb +218 -207
  44. data/lib/pione/model/boolean.rb +123 -112
  45. data/lib/pione/model/call-rule.rb +72 -65
  46. data/lib/pione/model/data-expr.rb +596 -290
  47. data/lib/pione/model/float.rb +108 -103
  48. data/lib/pione/model/integer.rb +133 -129
  49. data/lib/pione/model/message.rb +79 -72
  50. data/lib/pione/model/package.rb +42 -38
  51. data/lib/pione/model/parameters.rb +265 -236
  52. data/lib/pione/model/rule-expr.rb +247 -242
  53. data/lib/pione/model/rule-io.rb +137 -133
  54. data/lib/pione/model/rule.rb +307 -292
  55. data/lib/pione/model/string.rb +110 -99
  56. data/lib/pione/model/variable-table.rb +300 -271
  57. data/lib/pione/model/variable.rb +88 -83
  58. data/lib/pione/option.rb +13 -0
  59. data/lib/pione/option/child-process-option.rb +19 -0
  60. data/lib/pione/{command-option → option}/common-option.rb +6 -5
  61. data/lib/pione/option/option-interface.rb +73 -0
  62. data/lib/pione/{command-option → option}/presence-notifier-option.rb +4 -3
  63. data/lib/pione/option/task-worker-owner-option.rb +24 -0
  64. data/lib/pione/{command-option → option}/tuple-space-provider-option.rb +6 -4
  65. data/lib/pione/option/tuple-space-provider-owner-option.rb +18 -0
  66. data/lib/pione/option/tuple-space-receiver-option.rb +8 -0
  67. data/lib/pione/parser/common-parser.rb +3 -2
  68. data/lib/pione/parser/expr-parser.rb +6 -1
  69. data/lib/pione/patch/em-ftpd-patch.rb +21 -0
  70. data/lib/pione/patch/rinda-patch.rb +31 -23
  71. data/lib/pione/rule-handler/action-handler.rb +35 -25
  72. data/lib/pione/rule-handler/basic-handler.rb +92 -18
  73. data/lib/pione/rule-handler/flow-handler.rb +104 -98
  74. data/lib/pione/rule-handler/root-handler.rb +11 -0
  75. data/lib/pione/system/common.rb +10 -0
  76. data/lib/pione/system/file-cache.rb +103 -84
  77. data/lib/pione/system/global.rb +67 -12
  78. data/lib/pione/system/init.rb +20 -0
  79. data/lib/pione/transformer/expr-transformer.rb +6 -1
  80. data/lib/pione/tuple-space/data-finder.rb +33 -6
  81. data/lib/pione/tuple-space/tuple-space-receiver.rb +4 -3
  82. data/lib/pione/tuple-space/tuple-space-server-interface.rb +58 -13
  83. data/lib/pione/tuple-space/tuple-space-server.rb +13 -11
  84. data/lib/pione/tuple-space/update-criteria.rb +8 -7
  85. data/lib/pione/tuple/base-location-tuple.rb +9 -0
  86. data/lib/pione/tuple/basic-tuple.rb +7 -7
  87. data/lib/pione/tuple/data-tuple.rb +5 -2
  88. data/lib/pione/tuple/lift-tuple.rb +14 -0
  89. data/lib/pione/tuple/rule-tuple.rb +1 -1
  90. data/lib/pione/tuple/task-tuple.rb +5 -1
  91. data/lib/pione/version.rb +1 -1
  92. data/pione.gemspec +5 -1
  93. data/test/location/spec_basic-location.rb +35 -0
  94. data/test/location/spec_ftp-location.rb +100 -0
  95. data/test/location/spec_local-location.rb +99 -0
  96. data/test/log/data/sample.log +1003 -0
  97. data/test/log/spec_xes-log.rb +11 -0
  98. data/test/model/spec_data-expr.rb +249 -6
  99. data/test/model/spec_data-expr.yml +45 -0
  100. data/test/parser/spec_expr-parser.yml +4 -0
  101. data/test/spec_data-finder.rb +13 -7
  102. data/test/spec_data-finder.yml +42 -13
  103. data/test/system/spec_file-cache.rb +39 -0
  104. data/test/test-util.rb +226 -1
  105. data/test/transformer/spec_expr-transformer.rb +12 -1
  106. metadata +107 -24
  107. data/bin/pione-search-log +0 -30
  108. data/lib/pione/command-option/basic-option.rb +0 -42
  109. data/lib/pione/command-option/child-process-option.rb +0 -17
  110. data/lib/pione/command-option/daemon-option.rb +0 -12
  111. data/lib/pione/command-option/task-worker-owner-option.rb +0 -17
  112. data/lib/pione/command-option/tuple-space-provider-owner-option.rb +0 -16
  113. data/lib/pione/command-option/tuple-space-receiver-option.rb +0 -12
  114. data/lib/pione/command/tuple-space-provider-owner.rb +0 -6
  115. data/lib/pione/resource/basic-resource.rb +0 -92
  116. data/lib/pione/resource/dropbox-resource.rb +0 -106
  117. data/lib/pione/resource/ftp.rb +0 -84
  118. data/lib/pione/resource/local.rb +0 -113
  119. data/lib/pione/tuple/base-uri-tuple.rb +0 -9
  120. data/lib/pione/tuple/shift-tuple.rb +0 -13
  121. data/lib/pione/util/log.rb +0 -79
  122. data/test/spec_resource.rb +0 -73
@@ -0,0 +1,39 @@
1
+ require_relative '../test-util'
2
+
3
+ describe 'System::FileCache' do
4
+ before do
5
+ FileCache.clear
6
+ end
7
+
8
+ it 'shoud get cached file path' do
9
+ orig_location = Location[Temppath.create].tap{|x| x.create("A")}
10
+ cache_location = FileCache.get(orig_location)
11
+ orig_location.should.exist
12
+ cache_location.should.exist
13
+ cache_location.read.should == "A"
14
+ cache_location.path.ftype.should == "file"
15
+ orig_location.read.should == "A"
16
+ orig_location.path.ftype.should == "link"
17
+ end
18
+
19
+ it 'should put source into destination' do
20
+ src = Location[Temppath.create].tap{|x| x.create("A")}
21
+ dest = Location[Temppath.create]
22
+ FileCache.put(src, dest)
23
+ src.should.cached
24
+ dest.should.cached
25
+ FileCache.get(src).read.should == "A"
26
+ FileCache.get(dest).read.should == "A"
27
+ FileCache.get(src).should == FileCache.get(dest)
28
+ src.path.ftype == "link"
29
+ dest.path.ftype == "file"
30
+ FileCache.get(src).path.ftype == "link"
31
+ end
32
+
33
+ it 'should cached' do
34
+ orig = Location[Temppath.create].tap{|x| x.create("A")}
35
+ FileCache.get(orig)
36
+ orig.should.cached
37
+ end
38
+ end
39
+
data/test/test-util.rb CHANGED
@@ -41,11 +41,22 @@ module TestUtil
41
41
  end
42
42
  end
43
43
 
44
+ def create_tuple_space_server
45
+ # make drb server and it's connection
46
+ tuple_space_server = Pione::TupleSpace::TupleSpaceServer.new
47
+ # base uri
48
+ tuple_space_server.write(Tuple[:base_location].new("local:#{Dir.mktmpdir('pione-test')}/"))
49
+ # set default tuple space server
50
+ set_tuple_space_server tuple_space_server
51
+ # return the connection
52
+ return tuple_space_server
53
+ end
54
+
44
55
  def create_remote_tuple_space_server
45
56
  # make drb server and it's connection
46
57
  tuple_space_server = Pione::TupleSpace::TupleSpaceServer.new
47
58
  # base uri
48
- tuple_space_server.write(Tuple[:base_uri].new("local:#{Dir.mktmpdir('pione-test')}/"))
59
+ tuple_space_server.write(Tuple[:base_location].new("local:#{Dir.mktmpdir('pione-test')}/"))
49
60
  @__remote_drb_server__ = DRb::DRbServer.new(nil, tuple_space_server)
50
61
  server = DRbObject.new_with_uri(@__remote_drb_server__.uri)
51
62
  # set default tuple space server
@@ -215,6 +226,220 @@ module Pione::Agent
215
226
  end
216
227
  end
217
228
 
229
+ begin
230
+ require 'em-ftpd'
231
+ require 'pione/patch/em-ftpd-patch'
232
+
233
+ module EM::FTPD::Files
234
+ def puts(*args)
235
+ # ignored
236
+ end
237
+ end
238
+ rescue
239
+
240
+ end
241
+
242
+
243
+ module TestUtil
244
+ class FTPServer
245
+ class AuthInfo
246
+ attr_reader :user
247
+ attr_reader :password
248
+
249
+ def initialize
250
+ @user = Pione::Util.generate_uuid
251
+ @password = Pione::Util.generate_uuid
252
+ end
253
+ end
254
+
255
+ class OnMemoryFS
256
+ attr_reader :directory
257
+ attr_reader :file
258
+ attr_reader :mtime
259
+
260
+ def initialize
261
+ @directory = {"/" => Set.new}
262
+ @file = {}
263
+ @mtime = {}
264
+ end
265
+
266
+ def clear
267
+ @directory.clear
268
+ @directory["/"] = Set.new
269
+ @file.clear
270
+ @mtime.clear
271
+ end
272
+ end
273
+
274
+ PORT = 39123
275
+ AUTH_INFO = AuthInfo.new
276
+ FS = OnMemoryFS.new
277
+
278
+ class << self
279
+ def enabled?
280
+ begin
281
+ require 'em-ftpd'
282
+ return true
283
+ rescue
284
+ return false
285
+ end
286
+ end
287
+
288
+ # Start FTP server.
289
+ def start
290
+ FS.clear
291
+ @thread = Thread.new do
292
+ EventMachine.run do
293
+ EventMachine.start_server("0.0.0.0", PORT, EM::FTPD::Server, self)
294
+ end
295
+ end
296
+ end
297
+
298
+ def stop
299
+ FS.clear
300
+ EventMachine.stop
301
+ @thread.kill if @thread
302
+ end
303
+
304
+ def make_location(path)
305
+ Location["ftp://%s:%s@localhost:%i%s" % [AUTH_INFO.user, AUTH_INFO.password, PORT, path]]
306
+ end
307
+ end
308
+
309
+ def initialize
310
+ @directory = FS.directory
311
+ @file = FS.file
312
+ @mtime = FS.mtime
313
+ @user = AUTH_INFO.user
314
+ @password = AUTH_INFO.password
315
+ end
316
+
317
+ def change_dir(path, &b)
318
+ yield @directory.keys.include?(path)
319
+ end
320
+
321
+ def dir_contents(path, &b)
322
+ if @directory.has_key?(path) and @directory[path]
323
+ entries = @directory[path].map do |entry|
324
+ entry_path = Pathname.new(File.join(path, entry)).cleanpath.to_s
325
+ if @directory.has_key?(entry_path)
326
+ dir_item(entry)
327
+ else
328
+ file_item(entry, @file[entry_path].size)
329
+ end
330
+ end
331
+ yield entries
332
+ else
333
+ yield Set.new
334
+ end
335
+ end
336
+
337
+ def authenticate(user, password, &b)
338
+ # yield @user == user && @password == password
339
+ yield true
340
+ end
341
+
342
+ def bytes(path, &b)
343
+ path = Pathname.new(path).cleanpath.to_s
344
+ if @file.has_key?(path)
345
+ yield @file[path].size
346
+ elsif @directory.has_key?(path)
347
+ yield -1
348
+ else
349
+ yield false
350
+ end
351
+ end
352
+
353
+ def get_file(path, &block)
354
+ path = Pathname.new(path).cleanpath.to_s
355
+ if @file.has_key?(path)
356
+ yield @file[path]
357
+ else
358
+ yeild false
359
+ end
360
+ end
361
+
362
+ def put_file(path, data, &b)
363
+ path = Pathname.new(path).cleanpath
364
+ dir = path.dirname.to_s
365
+ filename = path.basename.to_s
366
+ if @directory.has_key?(dir) and filename
367
+ @directory[dir] << filename
368
+ @file[path.to_s] = File.read(data)
369
+ @mtime[path.to_s] = Time.now
370
+ yield data.size
371
+ else
372
+ yield false
373
+ end
374
+ end
375
+
376
+ def delete_file(path, &b)
377
+ path = Pathname.new(path).cleanpath
378
+ dir = path.dirname.to_s
379
+ filename = path.basename.to_s
380
+ if @directory.has_key?(dir) and @directory[dir].include?(filename)
381
+ @directory[dir].delete(dir)
382
+ @file.delete(path.to_s)
383
+ @mtime.delete(path.to_s)
384
+ yield true
385
+ else
386
+ yield false
387
+ end
388
+ end
389
+
390
+ def rename_file(from, to, &b)
391
+ from_path = Pathname.new(from).cleanpath
392
+ from_dir = from_path.dirname.to_s
393
+ from_filename = from_path.basename.to_s
394
+ to_path = Pathname.new(to).cleanpath
395
+ to_dir = to_path.dirname.to_s
396
+ to_filename = to_path.basename.to_s
397
+ if @file.has_key?(from_path.to_s) && @directory.has_key?(to_dir)
398
+ data = @file[from_path.to_s]
399
+ @file.delete(from_path.to_s)
400
+ @directory[from_dir].delete(from_filename)
401
+ @file[to_path.to_s] = data
402
+ @directory[to_dir] << to_filename
403
+ yield true
404
+ else
405
+ yield false
406
+ end
407
+ end
408
+
409
+ def make_dir(path, &b)
410
+ path = Pathname.new(path).cleanpath
411
+ dir = path.dirname.to_s
412
+ basename = path.basename.to_s
413
+ if @directory.has_key?(path.to_s) or not(@directory.has_key?(dir))
414
+ yield false
415
+ else
416
+ @directory[path.to_s] = Set.new
417
+ @directory[dir] << basename
418
+ yield true
419
+ end
420
+ end
421
+
422
+ def mtime(path)
423
+ path = Pathname.new(path).cleanpath.to_s
424
+ if @file[path]
425
+ yield @mtime[path]
426
+ else
427
+ yield false
428
+ end
429
+ end
430
+
431
+ private
432
+
433
+ def dir_item(name)
434
+ EM::FTPD::DirectoryItem.new(:name => name, :directory => true, :size => 0)
435
+ end
436
+
437
+ def file_item(name, bytes)
438
+ EM::FTPD::DirectoryItem.new(:name => name, :directory => false, :size => bytes)
439
+ end
440
+ end
441
+ end
442
+
218
443
  def setup_for_test
219
444
  include Pione
220
445
  Thread.abort_on_exception = true
@@ -25,6 +25,16 @@ describe 'Pione::Transformer::ExprTransformer' do
25
25
  end
26
26
  end
27
27
 
28
+ transformer_spec("data_expr", :expr) do
29
+ tc "'test.a'" do
30
+ DataExpr.new("test.a")
31
+ end
32
+
33
+ tc "null" do
34
+ DataExprNull.instance
35
+ end
36
+ end
37
+
28
38
  transformer_spec("message", :expr) do
29
39
  tc "1.next" do
30
40
  Message.new("next", 1.to_pione)
@@ -43,7 +53,8 @@ describe 'Pione::Transformer::ExprTransformer' do
43
53
  end
44
54
 
45
55
  tc "abc.sync" do
46
- Message.new("sync", RuleExpr.new(Package.new("main"), "abc"))
56
+ rule = RuleExpr.new(Package.new("main"), "abc", Parameters.empty, TicketExpr.empty, TicketExpr.empty)
57
+ Message.new("sync", rule)
47
58
  end
48
59
 
49
60
  tc "'*.txt'.all" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pione
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-01 00:00:00.000000000 Z
12
+ date: 2013-04-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: parslet
@@ -91,6 +91,54 @@ dependencies:
91
91
  - - ! '>='
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: forwardablex
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ~>
100
+ - !ruby/object:Gem::Version
101
+ version: 0.1.3
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: 0.1.3
110
+ - !ruby/object:Gem::Dependency
111
+ name: temppath
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: ruby-xes
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ~>
132
+ - !ruby/object:Gem::Version
133
+ version: '0.1'
134
+ type: :runtime
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ~>
140
+ - !ruby/object:Gem::Version
141
+ version: '0.1'
94
142
  - !ruby/object:Gem::Dependency
95
143
  name: dropbox-sdk
96
144
  requirement: !ruby/object:Gem::Requirement
@@ -107,6 +155,22 @@ dependencies:
107
155
  - - ! '>='
108
156
  - !ruby/object:Gem::Version
109
157
  version: '0'
158
+ - !ruby/object:Gem::Dependency
159
+ name: em-ftpd
160
+ requirement: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '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: '0'
110
174
  - !ruby/object:Gem::Dependency
111
175
  name: sinatra
112
176
  requirement: !ruby/object:Gem::Requirement
@@ -228,10 +292,10 @@ executables:
228
292
  - pione-clean
229
293
  - pione-client
230
294
  - pione-eval
295
+ - pione-log
231
296
  - pione-relay
232
297
  - pione-relay-account-db
233
298
  - pione-relay-client-db
234
- - pione-search-log
235
299
  - pione-syntax-checker
236
300
  - pione-task-worker
237
301
  - pione-tuple-space-provider
@@ -250,10 +314,10 @@ files:
250
314
  - bin/pione-clean
251
315
  - bin/pione-client
252
316
  - bin/pione-eval
317
+ - bin/pione-log
253
318
  - bin/pione-relay
254
319
  - bin/pione-relay-account-db
255
320
  - bin/pione-relay-client-db
256
- - bin/pione-search-log
257
321
  - bin/pione-syntax-checker
258
322
  - bin/pione-task-worker
259
323
  - bin/pione-tuple-space-provider
@@ -391,15 +455,7 @@ files:
391
455
  - lib/pione/agent/trivial-routine-worker.rb
392
456
  - lib/pione/agent/tuple-space-client.rb
393
457
  - lib/pione/agent/tuple-space-server-client-life-checker.rb
394
- - lib/pione/command-option/basic-option.rb
395
- - lib/pione/command-option/child-process-option.rb
396
- - lib/pione/command-option/common-option.rb
397
- - lib/pione/command-option/daemon-option.rb
398
- - lib/pione/command-option/presence-notifier-option.rb
399
- - lib/pione/command-option/task-worker-owner-option.rb
400
- - lib/pione/command-option/tuple-space-provider-option.rb
401
- - lib/pione/command-option/tuple-space-provider-owner-option.rb
402
- - lib/pione/command-option/tuple-space-receiver-option.rb
458
+ - lib/pione/command.rb
403
459
  - lib/pione/command/basic-command.rb
404
460
  - lib/pione/command/child-process.rb
405
461
  - lib/pione/command/daemon-process.rb
@@ -407,6 +463,7 @@ files:
407
463
  - lib/pione/command/pione-broker.rb
408
464
  - lib/pione/command/pione-clean.rb
409
465
  - lib/pione/command/pione-client.rb
466
+ - lib/pione/command/pione-log.rb
410
467
  - lib/pione/command/pione-relay-account-db.rb
411
468
  - lib/pione/command/pione-relay-client-db.rb
412
469
  - lib/pione/command/pione-relay.rb
@@ -415,7 +472,6 @@ files:
415
472
  - lib/pione/command/pione-tuple-space-provider.rb
416
473
  - lib/pione/command/pione-tuple-space-receiver.rb
417
474
  - lib/pione/command/pione-tuple-space-viewer.rb
418
- - lib/pione/command/tuple-space-provider-owner.rb
419
475
  - lib/pione/front/basic-front.rb
420
476
  - lib/pione/front/broker-front.rb
421
477
  - lib/pione/front/client-front.rb
@@ -425,6 +481,16 @@ files:
425
481
  - lib/pione/front/tuple-space-provider-front.rb
426
482
  - lib/pione/front/tuple-space-provider-owner.rb
427
483
  - lib/pione/front/tuple-space-receiver-front.rb
484
+ - lib/pione/location.rb
485
+ - lib/pione/location/basic-location.rb
486
+ - lib/pione/location/dropbox-location.rb
487
+ - lib/pione/location/ftp-location.rb
488
+ - lib/pione/location/local-location.rb
489
+ - lib/pione/log.rb
490
+ - lib/pione/log/domain-info.rb
491
+ - lib/pione/log/process-log.rb
492
+ - lib/pione/log/process-record.rb
493
+ - lib/pione/log/xes-log.rb
428
494
  - lib/pione/model/assignment.rb
429
495
  - lib/pione/model/basic-model.rb
430
496
  - lib/pione/model/binary-operator.rb
@@ -447,6 +513,15 @@ files:
447
513
  - lib/pione/model/undefined-value.rb
448
514
  - lib/pione/model/variable-table.rb
449
515
  - lib/pione/model/variable.rb
516
+ - lib/pione/option.rb
517
+ - lib/pione/option/child-process-option.rb
518
+ - lib/pione/option/common-option.rb
519
+ - lib/pione/option/option-interface.rb
520
+ - lib/pione/option/presence-notifier-option.rb
521
+ - lib/pione/option/task-worker-owner-option.rb
522
+ - lib/pione/option/tuple-space-provider-option.rb
523
+ - lib/pione/option/tuple-space-provider-owner-option.rb
524
+ - lib/pione/option/tuple-space-receiver-option.rb
450
525
  - lib/pione/parser/block-parser.rb
451
526
  - lib/pione/parser/common-parser.rb
452
527
  - lib/pione/parser/document-parser.rb
@@ -459,6 +534,7 @@ files:
459
534
  - lib/pione/parser/rule-definition-parser.rb
460
535
  - lib/pione/patch/array-patch.rb
461
536
  - lib/pione/patch/drb-patch.rb
537
+ - lib/pione/patch/em-ftpd-patch.rb
462
538
  - lib/pione/patch/monitor-patch.rb
463
539
  - lib/pione/patch/rinda-patch.rb
464
540
  - lib/pione/patch/uri-patch.rb
@@ -468,10 +544,6 @@ files:
468
544
  - lib/pione/relay/relay-socket.rb
469
545
  - lib/pione/relay/trampoline.rb
470
546
  - lib/pione/relay/transmitter-socket.rb
471
- - lib/pione/resource/basic-resource.rb
472
- - lib/pione/resource/dropbox-resource.rb
473
- - lib/pione/resource/ftp.rb
474
- - lib/pione/resource/local.rb
475
547
  - lib/pione/rule-handler/action-handler.rb
476
548
  - lib/pione/rule-handler/basic-handler.rb
477
549
  - lib/pione/rule-handler/flow-handler.rb
@@ -504,7 +576,7 @@ files:
504
576
  - lib/pione/tuple-space/update-criteria.rb
505
577
  - lib/pione/tuple/agent-tuple.rb
506
578
  - lib/pione/tuple/attribute-tuple.rb
507
- - lib/pione/tuple/base-uri-tuple.rb
579
+ - lib/pione/tuple/base-location-tuple.rb
508
580
  - lib/pione/tuple/basic-tuple.rb
509
581
  - lib/pione/tuple/bye-tuple.rb
510
582
  - lib/pione/tuple/command-tuple.rb
@@ -513,11 +585,11 @@ files:
513
585
  - lib/pione/tuple/exception-tuple.rb
514
586
  - lib/pione/tuple/finished-tuple.rb
515
587
  - lib/pione/tuple/foreground-tuple.rb
588
+ - lib/pione/tuple/lift-tuple.rb
516
589
  - lib/pione/tuple/log-tuple.rb
517
590
  - lib/pione/tuple/process-info-tuple.rb
518
591
  - lib/pione/tuple/request-rule-tuple.rb
519
592
  - lib/pione/tuple/rule-tuple.rb
520
- - lib/pione/tuple/shift-tuple.rb
521
593
  - lib/pione/tuple/task-tuple.rb
522
594
  - lib/pione/tuple/task-worker-resource-tuple.rb
523
595
  - lib/pione/tuple/ticket-tuple.rb
@@ -528,7 +600,6 @@ files:
528
600
  - lib/pione/uri-scheme/local-scheme.rb
529
601
  - lib/pione/util/console-message.rb
530
602
  - lib/pione/util/error-report.rb
531
- - lib/pione/util/log.rb
532
603
  - lib/pione/util/misc.rb
533
604
  - lib/pione/util/terminal.rb
534
605
  - lib/pione/util/waiter-table.rb
@@ -549,12 +620,18 @@ files:
549
620
  - test/agent/spec_rule-provider.rb
550
621
  - test/agent/spec_task-worker.rb
551
622
  - test/agent/spec_tuple-space-client.rb
623
+ - test/location/spec_basic-location.rb
624
+ - test/location/spec_ftp-location.rb
625
+ - test/location/spec_local-location.rb
626
+ - test/log/data/sample.log
627
+ - test/log/spec_xes-log.rb
552
628
  - test/model/spec_assignment.rb
553
629
  - test/model/spec_binary-operator.rb
554
630
  - test/model/spec_block.rb
555
631
  - test/model/spec_boolean.rb
556
632
  - test/model/spec_call-rule.rb
557
633
  - test/model/spec_data-expr.rb
634
+ - test/model/spec_data-expr.yml
558
635
  - test/model/spec_feature-expr.rb
559
636
  - test/model/spec_feature-expr.yml
560
637
  - test/model/spec_float.rb
@@ -595,9 +672,9 @@ files:
595
672
  - test/spec_identifier.rb
596
673
  - test/spec_log.rb
597
674
  - test/spec_object.rb
598
- - test/spec_resource.rb
599
675
  - test/spec_update-criteria.rb
600
676
  - test/system/spec_document.rb
677
+ - test/system/spec_file-cache.rb
601
678
  - test/test-util.rb
602
679
  - test/transformer/spec_block-transformer.rb
603
680
  - test/transformer/spec_expr-transformer.rb
@@ -637,7 +714,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
637
714
  version: '0'
638
715
  segments:
639
716
  - 0
640
- hash: 1523774398215455370
717
+ hash: -1952349958224144310
641
718
  requirements: []
642
719
  rubyforge_project:
643
720
  rubygems_version: 1.8.24
@@ -653,12 +730,18 @@ test_files:
653
730
  - test/agent/spec_rule-provider.rb
654
731
  - test/agent/spec_task-worker.rb
655
732
  - test/agent/spec_tuple-space-client.rb
733
+ - test/location/spec_basic-location.rb
734
+ - test/location/spec_ftp-location.rb
735
+ - test/location/spec_local-location.rb
736
+ - test/log/data/sample.log
737
+ - test/log/spec_xes-log.rb
656
738
  - test/model/spec_assignment.rb
657
739
  - test/model/spec_binary-operator.rb
658
740
  - test/model/spec_block.rb
659
741
  - test/model/spec_boolean.rb
660
742
  - test/model/spec_call-rule.rb
661
743
  - test/model/spec_data-expr.rb
744
+ - test/model/spec_data-expr.yml
662
745
  - test/model/spec_feature-expr.rb
663
746
  - test/model/spec_feature-expr.yml
664
747
  - test/model/spec_float.rb
@@ -699,9 +782,9 @@ test_files:
699
782
  - test/spec_identifier.rb
700
783
  - test/spec_log.rb
701
784
  - test/spec_object.rb
702
- - test/spec_resource.rb
703
785
  - test/spec_update-criteria.rb
704
786
  - test/system/spec_document.rb
787
+ - test/system/spec_file-cache.rb
705
788
  - test/test-util.rb
706
789
  - test/transformer/spec_block-transformer.rb
707
790
  - test/transformer/spec_expr-transformer.rb