pione 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. data/.gitignore +3 -2
  2. data/History.txt +6 -0
  3. data/Rakefile +1 -1
  4. data/bin/pione-broker +1 -1
  5. data/bin/pione-clean +1 -1
  6. data/bin/pione-client +1 -1
  7. data/bin/pione-log +1 -1
  8. data/bin/pione-relay +1 -1
  9. data/bin/pione-relay-account-db +1 -1
  10. data/bin/pione-relay-client-db +1 -1
  11. data/bin/pione-syntax-checker +1 -1
  12. data/bin/pione-task-worker +1 -1
  13. data/bin/pione-tuple-space-provider +1 -1
  14. data/bin/pione-tuple-space-receiver +1 -1
  15. data/bin/pione-tuple-space-viewer +1 -1
  16. data/bin/pione-val +1 -1
  17. data/example/CTFCorrection/CTFCorrection.pione +78 -0
  18. data/example/CTFCorrection/package.yml +1 -0
  19. data/example/HelloWorld/scenario/output/message.txt +1 -0
  20. data/example/LoopByTouch/LoopByTouch.pione +10 -18
  21. data/example/LoopByTouch/PairLoop.pione +18 -0
  22. data/example/LoopByTouch/SingleLoop.pione +5 -0
  23. data/example/LoopByTouch/TripletLoop.pione +24 -0
  24. data/example/MakePair/scenario/output/comb-1-2.pair +0 -0
  25. data/example/MakePair/scenario/output/comb-1-3.pair +0 -0
  26. data/example/MakePair/scenario/output/comb-1-4.pair +0 -0
  27. data/example/MakePair/scenario/output/comb-1-5.pair +0 -0
  28. data/example/MakePair/scenario/output/comb-2-3.pair +0 -0
  29. data/example/MakePair/scenario/output/comb-2-4.pair +0 -0
  30. data/example/MakePair/scenario/output/comb-2-5.pair +0 -0
  31. data/example/MakePair/scenario/output/comb-3-4.pair +0 -0
  32. data/example/MakePair/scenario/output/comb-3-5.pair +0 -0
  33. data/example/MakePair/scenario/output/comb-4-5.pair +0 -0
  34. data/example/MakePair/scenario/output/perm-1-2.pair +0 -0
  35. data/example/MakePair/scenario/output/perm-1-3.pair +0 -0
  36. data/example/MakePair/scenario/output/perm-1-4.pair +0 -0
  37. data/example/MakePair/scenario/output/perm-1-5.pair +0 -0
  38. data/example/MakePair/scenario/output/perm-2-1.pair +0 -0
  39. data/example/MakePair/scenario/output/perm-2-3.pair +0 -0
  40. data/example/MakePair/scenario/output/perm-2-4.pair +0 -0
  41. data/example/MakePair/scenario/output/perm-2-5.pair +0 -0
  42. data/example/MakePair/scenario/output/perm-3-1.pair +0 -0
  43. data/example/MakePair/scenario/output/perm-3-2.pair +0 -0
  44. data/example/MakePair/scenario/output/perm-3-4.pair +0 -0
  45. data/example/MakePair/scenario/output/perm-3-5.pair +0 -0
  46. data/example/MakePair/scenario/output/perm-4-1.pair +0 -0
  47. data/example/MakePair/scenario/output/perm-4-2.pair +0 -0
  48. data/example/MakePair/scenario/output/perm-4-3.pair +0 -0
  49. data/example/MakePair/scenario/output/perm-4-5.pair +0 -0
  50. data/example/MakePair/scenario/output/perm-5-1.pair +0 -0
  51. data/example/MakePair/scenario/output/perm-5-2.pair +0 -0
  52. data/example/MakePair/scenario/output/perm-5-3.pair +0 -0
  53. data/example/MakePair/scenario/output/perm-5-4.pair +0 -0
  54. data/example/MakePair/scenario/output/succ-1-2.pair +0 -0
  55. data/example/MakePair/scenario/output/succ-2-3.pair +0 -0
  56. data/example/MakePair/scenario/output/succ-3-4.pair +0 -0
  57. data/example/MakePair/scenario/output/succ-4-5.pair +0 -0
  58. data/example/SyntaxError/output_line_error.pione +6 -0
  59. data/example/WorkflowPatterns/38_GeneralSynchronizingMerge/GeneralSynchronizingMerge.pione +94 -0
  60. data/lib/pione.rb +1 -10
  61. data/lib/pione/agent/process-manager.rb +6 -5
  62. data/lib/pione/agent/rule-provider.rb +7 -9
  63. data/lib/pione/agent/task-worker.rb +1 -1
  64. data/lib/pione/command.rb +1 -0
  65. data/lib/pione/command/basic-command.rb +12 -77
  66. data/lib/pione/command/child-process.rb +19 -13
  67. data/lib/pione/command/daemon-process.rb +0 -9
  68. data/lib/pione/command/front-owner-command.rb +0 -6
  69. data/lib/pione/command/option.rb +243 -0
  70. data/lib/pione/command/pione-broker.rb +10 -5
  71. data/lib/pione/command/pione-clean.rb +4 -0
  72. data/lib/pione/command/pione-client.rb +257 -210
  73. data/lib/pione/command/pione-log.rb +38 -19
  74. data/lib/pione/command/pione-relay-account-db.rb +42 -17
  75. data/lib/pione/command/pione-relay-client-db.rb +35 -14
  76. data/lib/pione/command/pione-relay.rb +16 -8
  77. data/lib/pione/command/pione-syntax-checker.rb +33 -13
  78. data/lib/pione/command/pione-task-worker.rb +26 -23
  79. data/lib/pione/command/pione-tuple-space-provider.rb +8 -17
  80. data/lib/pione/command/pione-tuple-space-receiver.rb +13 -3
  81. data/lib/pione/command/pione-tuple-space-viewer.rb +42 -23
  82. data/lib/pione/command/pione-val.rb +15 -7
  83. data/lib/pione/component/document.rb +49 -70
  84. data/lib/pione/component/package.rb +125 -83
  85. data/lib/pione/location/basic-location.rb +1 -0
  86. data/lib/pione/model/assignment.rb +11 -0
  87. data/lib/pione/model/parameters.rb +10 -0
  88. data/lib/pione/model/variable.rb +14 -0
  89. data/lib/pione/parser/common-parser.rb +4 -0
  90. data/lib/pione/parser/document-parser.rb +4 -3
  91. data/lib/pione/parser/rule-definition-parser.rb +2 -1
  92. data/lib/pione/patch/rinda-patch.rb +1 -1
  93. data/lib/pione/rule-handler/action-handler.rb +6 -1
  94. data/lib/pione/rule-handler/basic-handler.rb +0 -6
  95. data/lib/pione/rule-handler/flow-handler.rb +14 -9
  96. data/lib/pione/system/global.rb +3 -0
  97. data/lib/pione/system/package-cache.rb +18 -0
  98. data/lib/pione/transformer/document-transformer.rb +26 -3
  99. data/lib/pione/transformer/rule-definition-transformer.rb +10 -2
  100. data/lib/pione/tuple-space/presence-notifier.rb +4 -3
  101. data/lib/pione/uri-scheme.rb +11 -0
  102. data/lib/pione/uri-scheme/git-scheme.rb +12 -0
  103. data/lib/pione/util.rb +2 -0
  104. data/lib/pione/util/package-parameters-list.rb +32 -0
  105. data/lib/pione/util/process-info.rb +21 -0
  106. data/lib/pione/version.rb +1 -1
  107. data/pione.gemspec +1 -1
  108. data/test/agent/spec_rule-provider.rb +57 -44
  109. data/test/command/command-behavior.rb +15 -0
  110. data/test/command/spec_pione-client.rb +56 -0
  111. data/test/command/spec_pione-val.domain.dump +0 -0
  112. data/test/command/spec_pione-val.rb +22 -0
  113. data/test/component/spec_document.pione +51 -0
  114. data/test/component/spec_document.rb +41 -70
  115. data/test/component/spec_package.rb +18 -3
  116. data/test/parser/spec_document-parser.yml +15 -0
  117. data/test/parser/spec_rule-definition-parser.yml +7 -2
  118. data/test/rule-handler/spec_action-handler.rb +6 -6
  119. data/test/rule-handler/spec_flow-handler.pione +25 -0
  120. data/test/rule-handler/spec_flow-handler.rb +35 -95
  121. data/test/rule-handler/spec_update-criteria.rb +2 -2
  122. data/test/test-util.rb +68 -4
  123. data/test/transformer/spec_block-transformer.rb +1 -1
  124. data/test/transformer/spec_document-transformer.rb +50 -0
  125. data/test/transformer/spec_expr-transformer.rb +1 -1
  126. data/test/transformer/spec_flow-element-transformer.rb +13 -13
  127. data/test/transformer/spec_literal-transformer.rb +1 -1
  128. data/test/transformer/spec_rule-definition-transformer.rb +31 -19
  129. data/test/uri-scheme/spec_git-scheme.rb +20 -0
  130. data/test/util/spec_id.rb +6 -6
  131. data/test/util/spec_package-parameters-list.rb +59 -0
  132. data/test/util/spec_package-parameters-list_1.pione +17 -0
  133. data/test/util/spec_package-parameters-list_2.pione +13 -0
  134. data/test/util/spec_package-parameters-list_3.pione +12 -0
  135. data/test/util/spec_package-parameters-list_4.pione +6 -0
  136. data/test/util/spec_process-info.rb +56 -0
  137. metadata +79 -16
  138. data/lib/pione/option.rb +0 -13
  139. data/lib/pione/option/child-process-option.rb +0 -19
  140. data/lib/pione/option/common-option.rb +0 -31
  141. data/lib/pione/option/option-interface.rb +0 -73
  142. data/lib/pione/option/presence-notifier-option.rb +0 -16
  143. data/lib/pione/option/task-worker-owner-option.rb +0 -24
  144. data/lib/pione/option/tuple-space-provider-option.rb +0 -28
  145. data/lib/pione/option/tuple-space-provider-owner-option.rb +0 -18
  146. data/lib/pione/option/tuple-space-receiver-option.rb +0 -8
@@ -53,7 +53,7 @@ describe 'Pione::Transformer::LiteralTransformer' do
53
53
  end
54
54
 
55
55
  transformer_spec('rule_name', :rule_name) do
56
- tc("abc" => RuleExpr.new(PackageExpr.new("main"), "abc"))
56
+ tc("abc" => RuleExpr.new(PackageExpr.new("Main"), "abc"))
57
57
  end
58
58
 
59
59
  transformer_spec('ticket', :ticket) do
@@ -14,20 +14,32 @@ describe 'Pione::Transformer::RuleDefinitionTransformer' do
14
14
  end
15
15
 
16
16
  transformer_spec("param_line", :param_line) do
17
- tc("param {var: 1}") do
18
- Naming.ParamLine(
19
- Parameters.new(
20
- {Variable.new("var") => IntegerSequence.new([PioneInteger.new(1)])}
21
- )
22
- )
17
+ transform "param $X" do |param_line|
18
+ param_line.should.kind_of Naming::ParamLine
19
+ param_line.value.should == Variable.new("X")
23
20
  end
24
- tc("param {var1: 1, var2: 2}") do
25
- Naming.ParamLine(
26
- Parameters.new(
27
- { Variable.new("var1") => IntegerSequence.new([PioneInteger.new(1)]),
28
- Variable.new("var2") => IntegerSequence.new([PioneInteger.new(2)]) }
29
- )
30
- )
21
+ transform "param $X := 1" do |param_line|
22
+ param_line.should.kind_of Naming::ParamLine
23
+ param_line.value.tap do |param|
24
+ param.variable.should == Variable.new("X")
25
+ param.expr.should == IntegerSequence.new([PioneInteger.new(1)])
26
+ end
27
+ end
28
+
29
+ transform("basic param $X") do |param_line|
30
+ param_line.value.param_type.should == :basic
31
+ end
32
+
33
+ transform("basic param $X := 1") do |param_line|
34
+ param_line.value.variable.param_type.should == :basic
35
+ end
36
+
37
+ transform("advanced param $X") do |param_line|
38
+ param_line.value.param_type.should == :advanced
39
+ end
40
+
41
+ transform("advanced param $X := 1") do |param_line|
42
+ param_line.value.variable.param_type.should == :advanced
31
43
  end
32
44
  end
33
45
 
@@ -66,8 +78,8 @@ describe 'Pione::Transformer::RuleDefinitionTransformer' do
66
78
  rule.condition.inputs[0].should == DataExpr.new('*.a').to_seq
67
79
  rule.condition.outputs[0].should == DataExpr.new('{$INPUT[1].MATCH[1]}.b').to_seq
68
80
  rule.body.should == FlowBlock.new(
69
- CallRule.new(RuleExpr.new(PackageExpr.new("main"), "TestA")),
70
- CallRule.new(RuleExpr.new(PackageExpr.new("main"), "TestB"))
81
+ CallRule.new(RuleExpr.new(PackageExpr.new("Main"), "TestA")),
82
+ CallRule.new(RuleExpr.new(PackageExpr.new("Main"), "TestB"))
71
83
  )
72
84
  end
73
85
 
@@ -75,7 +87,7 @@ describe 'Pione::Transformer::RuleDefinitionTransformer' do
75
87
  Rule Main
76
88
  input '*.txt'.except('summary.txt')
77
89
  output 'summary.txt'
78
- param {ConvertCharSet: true}
90
+ param $ConvertCharSet := true
79
91
  Flow
80
92
  if $ConvertCharset
81
93
  rule NKF.params("-w")
@@ -102,16 +114,16 @@ describe 'Pione::Transformer::RuleDefinitionTransformer' do
102
114
  FlowBlock.new(
103
115
  CallRule.new(Message.new(
104
116
  "params",
105
- RuleExpr.new(PackageExpr.new("main"), "NKF"),
117
+ RuleExpr.new(PackageExpr.new("Main"), "NKF"),
106
118
  StringSequence.new([PioneString.new("-w")])
107
119
  ))
108
120
  )}
109
121
  ),
110
122
  CallRule.new(
111
- RuleExpr.new(PackageExpr.new("main"), "CountChar")
123
+ RuleExpr.new(PackageExpr.new("Main"), "CountChar")
112
124
  ),
113
125
  CallRule.new(
114
- RuleExpr.new(PackageExpr.new("main"), "Summarize")
126
+ RuleExpr.new(PackageExpr.new("Main"), "Summarize")
115
127
  )
116
128
  )
117
129
  end
@@ -0,0 +1,20 @@
1
+ require_relative "../test-util"
2
+
3
+ describe "Pione::URIScheme::GitScheme" do
4
+ before do
5
+ @uri = URI.parse("git://github.com/pione/pione.git")
6
+ end
7
+
8
+ it "should get host" do
9
+ @uri.host.should == "github.com"
10
+ end
11
+
12
+ it "should get scheme" do
13
+ @uri.scheme.should == "git"
14
+ end
15
+
16
+ it "should get path" do
17
+ @uri.path.should == "/pione/pione.git"
18
+ end
19
+ end
20
+
data/test/util/spec_id.rb CHANGED
@@ -27,12 +27,12 @@ end
27
27
 
28
28
  describe "Pione::Util::DomainID" do
29
29
  before do
30
- document1 = Component::Document.parse(location, "ID1")
31
- document2 = Component::Document.parse(location, "ID2")
32
- @r1 = document1["&ID1:R1"]
33
- @r2 = document1["&ID1:R2"]
34
- @r3 = document2["&ID2:R1"]
35
- @r4 = document2["&ID2:R2"]
30
+ document1 = Component::Document.load(location, "ID1")
31
+ document2 = Component::Document.load(location, "ID2")
32
+ @r1 = document1.find("R1")
33
+ @r2 = document1.find("R2")
34
+ @r3 = document2.find("R1")
35
+ @r4 = document2.find("R2")
36
36
  @t1 = Tuple[:data].new(domain: "test", name: "1.a", location: Location[Temppath.create], time: Time.now)
37
37
  @t2 = Tuple[:data].new(domain: "test", name: "2.a", location: Location[Temppath.create], time: Time.now)
38
38
  @p1 = Parameters.new({Variable.new("X") => PioneString.new("A").to_seq})
@@ -0,0 +1,59 @@
1
+ require_relative '../test-util'
2
+
3
+ describe "Pione::Util::PackageParametersList" do
4
+ before do
5
+ @dir = Location[File.dirname(__FILE__)]
6
+ end
7
+
8
+ after do
9
+ $stdout = STDOUT
10
+ end
11
+
12
+ it "should print parameters list of the package: 1" do
13
+ pkg = Component::PackageReader.read(@dir + "spec_package-parameters-list_1.pione")
14
+ stdout = StringIO.new("", "w")
15
+ $stdout = stdout
16
+ Util::PackageParametersList.print(pkg)
17
+ $stdout = STDOUT
18
+ stdout.string.should.include("Basic Parameters")
19
+ stdout.string.should.include("Advanced Parameters")
20
+ stdout.string.should.include("A :=")
21
+ stdout.string.should.include("B :=")
22
+ stdout.string.should.include("C :=")
23
+ stdout.string.should.include("D :=")
24
+ end
25
+
26
+ it "should print parameters list of the package: 2" do
27
+ pkg = Component::PackageReader.read(@dir + "spec_package-parameters-list_2.pione")
28
+ stdout = StringIO.new("", "w")
29
+ $stdout = stdout
30
+ Util::PackageParametersList.print(pkg)
31
+ $stdout = STDOUT
32
+ stdout.string.should.include("Basic Parameters")
33
+ stdout.string.should.not.include("Advanced Parameters")
34
+ stdout.string.should.include("A :=")
35
+ stdout.string.should.include("B :=")
36
+ end
37
+
38
+ it "should print parameters list of the package: 3" do
39
+ pkg = Component::PackageReader.read(@dir + "spec_package-parameters-list_3.pione")
40
+ stdout = StringIO.new("", "w")
41
+ $stdout = stdout
42
+ Util::PackageParametersList.print(pkg)
43
+ $stdout = STDOUT
44
+ stdout.string.should.not.include("Basic Parameters")
45
+ stdout.string.should.include("Advanced Parameters")
46
+ stdout.string.should.include("A :=")
47
+ stdout.string.should.include("B :=")
48
+ end
49
+
50
+ it "should print no parameters message" do
51
+ pkg = Component::PackageReader.read(@dir + "spec_package-parameters-list_4.pione")
52
+ stdout = StringIO.new("", "w")
53
+ $stdout = stdout
54
+ Util::PackageParametersList.print(pkg)
55
+ $stdout = STDOUT
56
+ stdout.string.should.not.include("Basic Parameters")
57
+ stdout.string.should.not.include("Advanced Parameters")
58
+ end
59
+ end
@@ -0,0 +1,17 @@
1
+ Basic Param
2
+ $A := 1
3
+ End
4
+
5
+ Advanced Param
6
+ $B := 2
7
+ End
8
+
9
+ param $C := 3
10
+ advanced param $D := 4
11
+
12
+ Rule Main
13
+ input '*.a'
14
+ output '{$*}.b'
15
+ Action
16
+ echo {$A} {$B} {$C} {$D} > {$O[1]}
17
+ End
@@ -0,0 +1,13 @@
1
+ Basic Param
2
+ $A := 1
3
+ End
4
+
5
+ param $B := 2
6
+
7
+ Rule Main
8
+ input '*.a'
9
+ output '{$*}.b'
10
+ Action
11
+ echo {$A} {$B} > {$O[1]}
12
+ End
13
+
@@ -0,0 +1,12 @@
1
+ Advanced Param
2
+ $A := 1
3
+ End
4
+
5
+ advanced param $B := 2
6
+
7
+ Rule Main
8
+ input '*.a'
9
+ output '{$*}.b'
10
+ Action
11
+ echo {$A} {$B} > {$O[1]}
12
+ End
@@ -0,0 +1,6 @@
1
+ Rule Main
2
+ input '*.a'
3
+ output '{$*}.b'
4
+ Action
5
+ echo {$I[1]} > {$O[1]}
6
+ End
@@ -0,0 +1,56 @@
1
+ require_relative '../test-util'
2
+
3
+ def test_available?
4
+ begin
5
+ pid = Process.spawn("sleep", "100")
6
+ Process.kill(:TERM, pid)
7
+ return true
8
+ rescue
9
+ return false
10
+ end
11
+ end
12
+
13
+ describe "Pione::Util::ProcessInfo" do
14
+ if test_available?
15
+ before do
16
+ @pid = Process.spawn("sleep", "100")
17
+ @thread = Process.detach(@pid)
18
+ @info = ProcessInfo.new(@pid, @thread)
19
+ end
20
+
21
+ after do
22
+ @info.kill if @info.alive?
23
+ end
24
+
25
+ it "should get pid" do
26
+ @info.pid.should == @pid
27
+ end
28
+
29
+ it "should get process watching thread" do
30
+ @info.thread.should == @thread
31
+ end
32
+
33
+ it "should be alive" do
34
+ @info.should.alive
35
+ end
36
+
37
+ it "should kill the process" do
38
+ @info.kill
39
+ @info.should.not.alive
40
+ end
41
+
42
+ it "should be stopped" do
43
+ @info.kill
44
+ @info.should.stop
45
+ end
46
+
47
+ it "should wait" do
48
+ should.raise(Timeout::Error) do
49
+ timeout(1) {@info.wait}
50
+ end
51
+ end
52
+ else
53
+ puts "*** test of Pione::Util::ProcessInfo is not available in this environment ***"
54
+ end
55
+ end
56
+
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.2.0
4
+ version: 0.2.1
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-05-31 00:00:00.000000000 Z
12
+ date: 2013-06-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: parslet
@@ -82,7 +82,7 @@ dependencies:
82
82
  requirements:
83
83
  - - ~>
84
84
  - !ruby/object:Gem::Version
85
- version: 0.0.2
85
+ version: 0.1.0
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -90,7 +90,7 @@ dependencies:
90
90
  requirements:
91
91
  - - ~>
92
92
  - !ruby/object:Gem::Version
93
- version: 0.0.2
93
+ version: 0.1.0
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: forwardablex
96
96
  requirement: !ruby/object:Gem::Requirement
@@ -391,6 +391,8 @@ files:
391
391
  - bin/pione-val
392
392
  - example/AbstractRule/AbstractRule.pione
393
393
  - example/AbstractRule/package.yml
394
+ - example/CTFCorrection/CTFCorrection.pione
395
+ - example/CTFCorrection/package.yml
394
396
  - example/CountChar/CountChar.pione
395
397
  - example/CountChar/misc/CountChar.rb
396
398
  - example/CountChar/text/aidokushono_insho.txt
@@ -408,8 +410,12 @@ files:
408
410
  - example/Fib/Fib.pione
409
411
  - example/HelloWorld/HelloWorld.pione
410
412
  - example/HelloWorld/package.yml
413
+ - example/HelloWorld/scenario/output/message.txt
411
414
  - example/HelloWorld/scenario/scenario.yml
412
415
  - example/LoopByTouch/LoopByTouch.pione
416
+ - example/LoopByTouch/PairLoop.pione
417
+ - example/LoopByTouch/SingleLoop.pione
418
+ - example/LoopByTouch/TripletLoop.pione
413
419
  - example/LoopByTouch/package.yml
414
420
  - example/LucasNumber/LucasNumber.pione
415
421
  - example/MakePair/MakePair.pione
@@ -419,6 +425,40 @@ files:
419
425
  - example/MakePair/scenario/input/3.i
420
426
  - example/MakePair/scenario/input/4.i
421
427
  - example/MakePair/scenario/input/5.i
428
+ - example/MakePair/scenario/output/comb-1-2.pair
429
+ - example/MakePair/scenario/output/comb-1-3.pair
430
+ - example/MakePair/scenario/output/comb-1-4.pair
431
+ - example/MakePair/scenario/output/comb-1-5.pair
432
+ - example/MakePair/scenario/output/comb-2-3.pair
433
+ - example/MakePair/scenario/output/comb-2-4.pair
434
+ - example/MakePair/scenario/output/comb-2-5.pair
435
+ - example/MakePair/scenario/output/comb-3-4.pair
436
+ - example/MakePair/scenario/output/comb-3-5.pair
437
+ - example/MakePair/scenario/output/comb-4-5.pair
438
+ - example/MakePair/scenario/output/perm-1-2.pair
439
+ - example/MakePair/scenario/output/perm-1-3.pair
440
+ - example/MakePair/scenario/output/perm-1-4.pair
441
+ - example/MakePair/scenario/output/perm-1-5.pair
442
+ - example/MakePair/scenario/output/perm-2-1.pair
443
+ - example/MakePair/scenario/output/perm-2-3.pair
444
+ - example/MakePair/scenario/output/perm-2-4.pair
445
+ - example/MakePair/scenario/output/perm-2-5.pair
446
+ - example/MakePair/scenario/output/perm-3-1.pair
447
+ - example/MakePair/scenario/output/perm-3-2.pair
448
+ - example/MakePair/scenario/output/perm-3-4.pair
449
+ - example/MakePair/scenario/output/perm-3-5.pair
450
+ - example/MakePair/scenario/output/perm-4-1.pair
451
+ - example/MakePair/scenario/output/perm-4-2.pair
452
+ - example/MakePair/scenario/output/perm-4-3.pair
453
+ - example/MakePair/scenario/output/perm-4-5.pair
454
+ - example/MakePair/scenario/output/perm-5-1.pair
455
+ - example/MakePair/scenario/output/perm-5-2.pair
456
+ - example/MakePair/scenario/output/perm-5-3.pair
457
+ - example/MakePair/scenario/output/perm-5-4.pair
458
+ - example/MakePair/scenario/output/succ-1-2.pair
459
+ - example/MakePair/scenario/output/succ-2-3.pair
460
+ - example/MakePair/scenario/output/succ-3-4.pair
461
+ - example/MakePair/scenario/output/succ-4-5.pair
422
462
  - example/MakePair/scenario/scenario.yml
423
463
  - example/OddSelector/OddSelector.pione
424
464
  - example/OddSelector/data/1.i
@@ -578,6 +618,7 @@ files:
578
618
  - example/WorkflowPatterns/14_MultipleInstancesWithRunTimeKnowledge/MultipleInstancesWithRunTimeKnowledge.pione
579
619
  - example/WorkflowPatterns/33_GeneralizedANDJoin/GeneralizedANDJoin.pione
580
620
  - example/WorkflowPatterns/37_LocalSynchronizingMerge/LocalSynchronizingMerge.pione
621
+ - example/WorkflowPatterns/38_GeneralSynchronizingMerge/GeneralSynchronizingMerge.pione
581
622
  - example/WorkflowPatterns/41_ThreadMerge/ThreadMerge.pione
582
623
  - example/WorkflowPatterns/42_ThreadSplit/ThreadSplit.pione
583
624
  - lib/pione.rb
@@ -598,6 +639,7 @@ files:
598
639
  - lib/pione/command/child-process.rb
599
640
  - lib/pione/command/daemon-process.rb
600
641
  - lib/pione/command/front-owner-command.rb
642
+ - lib/pione/command/option.rb
601
643
  - lib/pione/command/pione-broker.rb
602
644
  - lib/pione/command/pione-clean.rb
603
645
  - lib/pione/command/pione-client.rb
@@ -660,15 +702,6 @@ files:
660
702
  - lib/pione/model/type.rb
661
703
  - lib/pione/model/variable-table.rb
662
704
  - lib/pione/model/variable.rb
663
- - lib/pione/option.rb
664
- - lib/pione/option/child-process-option.rb
665
- - lib/pione/option/common-option.rb
666
- - lib/pione/option/option-interface.rb
667
- - lib/pione/option/presence-notifier-option.rb
668
- - lib/pione/option/task-worker-owner-option.rb
669
- - lib/pione/option/tuple-space-provider-option.rb
670
- - lib/pione/option/tuple-space-provider-owner-option.rb
671
- - lib/pione/option/tuple-space-receiver-option.rb
672
705
  - lib/pione/parser/block-parser.rb
673
706
  - lib/pione/parser/common-parser.rb
674
707
  - lib/pione/parser/document-parser.rb
@@ -707,6 +740,7 @@ files:
707
740
  - lib/pione/system/global.rb
708
741
  - lib/pione/system/init.rb
709
742
  - lib/pione/system/object.rb
743
+ - lib/pione/system/package-cache.rb
710
744
  - lib/pione/transformer.rb
711
745
  - lib/pione/transformer/block-transformer.rb
712
746
  - lib/pione/transformer/document-transformer.rb
@@ -747,9 +781,11 @@ files:
747
781
  - lib/pione/tuple/ticket-tuple.rb
748
782
  - lib/pione/tuple/touch-tuple.rb
749
783
  - lib/pione/tuple/working-tuple.rb
784
+ - lib/pione/uri-scheme.rb
750
785
  - lib/pione/uri-scheme/basic-scheme.rb
751
786
  - lib/pione/uri-scheme/broadcast-scheme.rb
752
787
  - lib/pione/uri-scheme/dropbox-scheme.rb
788
+ - lib/pione/uri-scheme/git-scheme.rb
753
789
  - lib/pione/uri-scheme/local-scheme.rb
754
790
  - lib/pione/uri-scheme/myftp-scheme.rb
755
791
  - lib/pione/util.rb
@@ -761,6 +797,8 @@ files:
761
797
  - lib/pione/util/indentation.rb
762
798
  - lib/pione/util/ip-address.rb
763
799
  - lib/pione/util/misc.rb
800
+ - lib/pione/util/package-parameters-list.rb
801
+ - lib/pione/util/process-info.rb
764
802
  - lib/pione/util/uuid.rb
765
803
  - lib/pione/util/variable-holdable.rb
766
804
  - lib/pione/util/waiter-table.rb
@@ -782,6 +820,11 @@ files:
782
820
  - test/agent/spec_rule-provider.rb
783
821
  - test/agent/spec_task-worker.rb
784
822
  - test/agent/spec_tuple-space-client.rb
823
+ - test/command/command-behavior.rb
824
+ - test/command/spec_pione-client.rb
825
+ - test/command/spec_pione-val.domain.dump
826
+ - test/command/spec_pione-val.rb
827
+ - test/component/spec_document.pione
785
828
  - test/component/spec_document.rb
786
829
  - test/component/spec_package.rb
787
830
  - test/component/spec_package/TestPackage/Test.pione
@@ -853,6 +896,7 @@ files:
853
896
  - test/patch/spec_uri-patch.rb
854
897
  - test/rule-handler/spec_action-handler.pione
855
898
  - test/rule-handler/spec_action-handler.rb
899
+ - test/rule-handler/spec_flow-handler.pione
856
900
  - test/rule-handler/spec_flow-handler.rb
857
901
  - test/rule-handler/spec_update-criteria.pione
858
902
  - test/rule-handler/spec_update-criteria.rb
@@ -863,6 +907,7 @@ files:
863
907
  - test/system/spec_file-cache.rb
864
908
  - test/test-util.rb
865
909
  - test/transformer/spec_block-transformer.rb
910
+ - test/transformer/spec_document-transformer.rb
866
911
  - test/transformer/spec_expr-transformer.rb
867
912
  - test/transformer/spec_feature-expr-transformer.rb
868
913
  - test/transformer/spec_flow-element-transformer.rb
@@ -883,6 +928,7 @@ files:
883
928
  - test/tuple/tuple-behavior.rb
884
929
  - test/uri-scheme/spec_broadcast-scheme.rb
885
930
  - test/uri-scheme/spec_dropbox-scheme.rb
931
+ - test/uri-scheme/spec_git-scheme.rb
886
932
  - test/uri-scheme/spec_local-scheme.rb
887
933
  - test/uri-scheme/spec_myftp-scheme.rb
888
934
  - test/uri-scheme/spec_myftp-scheme.yml
@@ -894,6 +940,12 @@ files:
894
940
  - test/util/spec_id.rb
895
941
  - test/util/spec_indentation.rb
896
942
  - test/util/spec_ip-address.rb
943
+ - test/util/spec_package-parameters-list.rb
944
+ - test/util/spec_package-parameters-list_1.pione
945
+ - test/util/spec_package-parameters-list_2.pione
946
+ - test/util/spec_package-parameters-list_3.pione
947
+ - test/util/spec_package-parameters-list_4.pione
948
+ - test/util/spec_process-info.rb
897
949
  - test/util/spec_uuid.rb
898
950
  - test/util/spec_variable-holdable.rb
899
951
  homepage: http://pione.github.com/
@@ -915,9 +967,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
915
967
  - - ! '>='
916
968
  - !ruby/object:Gem::Version
917
969
  version: '0'
918
- segments:
919
- - 0
920
- hash: -4326810536850191214
921
970
  requirements: []
922
971
  rubyforge_project:
923
972
  rubygems_version: 1.8.25
@@ -934,6 +983,11 @@ test_files:
934
983
  - test/agent/spec_rule-provider.rb
935
984
  - test/agent/spec_task-worker.rb
936
985
  - test/agent/spec_tuple-space-client.rb
986
+ - test/command/command-behavior.rb
987
+ - test/command/spec_pione-client.rb
988
+ - test/command/spec_pione-val.domain.dump
989
+ - test/command/spec_pione-val.rb
990
+ - test/component/spec_document.pione
937
991
  - test/component/spec_document.rb
938
992
  - test/component/spec_package.rb
939
993
  - test/component/spec_package/TestPackage/Test.pione
@@ -1005,6 +1059,7 @@ test_files:
1005
1059
  - test/patch/spec_uri-patch.rb
1006
1060
  - test/rule-handler/spec_action-handler.pione
1007
1061
  - test/rule-handler/spec_action-handler.rb
1062
+ - test/rule-handler/spec_flow-handler.pione
1008
1063
  - test/rule-handler/spec_flow-handler.rb
1009
1064
  - test/rule-handler/spec_update-criteria.pione
1010
1065
  - test/rule-handler/spec_update-criteria.rb
@@ -1015,6 +1070,7 @@ test_files:
1015
1070
  - test/system/spec_file-cache.rb
1016
1071
  - test/test-util.rb
1017
1072
  - test/transformer/spec_block-transformer.rb
1073
+ - test/transformer/spec_document-transformer.rb
1018
1074
  - test/transformer/spec_expr-transformer.rb
1019
1075
  - test/transformer/spec_feature-expr-transformer.rb
1020
1076
  - test/transformer/spec_flow-element-transformer.rb
@@ -1035,6 +1091,7 @@ test_files:
1035
1091
  - test/tuple/tuple-behavior.rb
1036
1092
  - test/uri-scheme/spec_broadcast-scheme.rb
1037
1093
  - test/uri-scheme/spec_dropbox-scheme.rb
1094
+ - test/uri-scheme/spec_git-scheme.rb
1038
1095
  - test/uri-scheme/spec_local-scheme.rb
1039
1096
  - test/uri-scheme/spec_myftp-scheme.rb
1040
1097
  - test/uri-scheme/spec_myftp-scheme.yml
@@ -1046,6 +1103,12 @@ test_files:
1046
1103
  - test/util/spec_id.rb
1047
1104
  - test/util/spec_indentation.rb
1048
1105
  - test/util/spec_ip-address.rb
1106
+ - test/util/spec_package-parameters-list.rb
1107
+ - test/util/spec_package-parameters-list_1.pione
1108
+ - test/util/spec_package-parameters-list_2.pione
1109
+ - test/util/spec_package-parameters-list_3.pione
1110
+ - test/util/spec_package-parameters-list_4.pione
1111
+ - test/util/spec_process-info.rb
1049
1112
  - test/util/spec_uuid.rb
1050
1113
  - test/util/spec_variable-holdable.rb
1051
1114
  has_rdoc: