rbeai 0.0.1 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. data/CVS/Base/rbeai-1.0.1.gem +0 -0
  2. data/CVS/Baserev +3 -0
  3. data/CVS/Entries +5 -0
  4. data/CVS/Entries.Extra +5 -0
  5. data/CVS/Entries.Extra.Old +4 -0
  6. data/CVS/Entries.Old +4 -0
  7. data/CVS/Repository +1 -0
  8. data/CVS/Root +1 -0
  9. data/CVS/Tag +1 -0
  10. data/lib/CVS/Entries +2 -0
  11. data/lib/CVS/Entries.Extra +2 -0
  12. data/lib/CVS/Entries.Extra.Old +2 -0
  13. data/lib/CVS/Entries.Old +2 -0
  14. data/lib/CVS/Repository +1 -0
  15. data/lib/CVS/Root +1 -0
  16. data/lib/CVS/Tag +1 -0
  17. data/lib/rbeai/CVS/Baserev +19 -0
  18. data/lib/rbeai/CVS/Entries +11 -0
  19. data/lib/rbeai/CVS/Entries.Extra +11 -0
  20. data/lib/rbeai/CVS/Entries.Extra.Old +11 -0
  21. data/lib/rbeai/CVS/Entries.Old +11 -0
  22. data/lib/rbeai/CVS/Repository +1 -0
  23. data/lib/rbeai/CVS/Root +1 -0
  24. data/lib/rbeai/CVS/Tag +1 -0
  25. data/lib/rbeai/GetLogic.rb +30 -10
  26. data/lib/rbeai/templates/CVS/Entries +3 -0
  27. data/lib/rbeai/templates/CVS/Entries.Extra +2 -0
  28. data/lib/rbeai/templates/CVS/Entries.Extra.Old +2 -0
  29. data/lib/rbeai/templates/CVS/Entries.Old +3 -0
  30. data/lib/rbeai/templates/CVS/Repository +1 -0
  31. data/lib/rbeai/templates/CVS/Root +1 -0
  32. data/lib/rbeai/templates/CVS/Tag +1 -0
  33. data/rbeai.gemspec +2 -2
  34. data/test/CVS/Entries +15 -0
  35. data/test/CVS/Entries.Extra +15 -0
  36. data/test/CVS/Entries.Extra.Old +14 -0
  37. data/test/CVS/Entries.Old +14 -0
  38. data/test/CVS/Repository +1 -0
  39. data/test/CVS/Root +1 -0
  40. data/test/CVS/Tag +1 -0
  41. data/test/config/CVS/Entries +2 -0
  42. data/test/config/CVS/Entries.Extra +1 -0
  43. data/test/config/CVS/Entries.Extra.Old +1 -0
  44. data/test/config/CVS/Entries.Old +2 -0
  45. data/test/config/CVS/Repository +1 -0
  46. data/test/config/CVS/Root +1 -0
  47. data/test/config/CVS/Tag +1 -0
  48. data/test/test_files/CVS/Entries +10 -0
  49. data/test/test_files/CVS/Entries.Extra +9 -0
  50. data/test/test_files/CVS/Entries.Extra.Old +9 -0
  51. data/test/test_files/CVS/Entries.Old +10 -0
  52. data/test/test_files/CVS/Repository +1 -0
  53. data/test/test_files/CVS/Root +1 -0
  54. data/test/test_files/CVS/Tag +1 -0
  55. data/test/test_target_folder/CVS/Entries +1 -0
  56. data/{rbeai-0.0.1.gem → test/test_target_folder/CVS/Entries.Extra} +0 -0
  57. data/test/{tmp/test_get_send_file/1130328204.12500/getfile/empty_file.txt → test_target_folder/CVS/Entries.Extra.Old} +0 -0
  58. data/test/{tmp/test_get_send_ftp/1130328178.76500/getfile/empty_file.txt → test_target_folder/CVS/Entries.Old} +0 -0
  59. data/test/test_target_folder/CVS/Repository +1 -0
  60. data/test/test_target_folder/CVS/Root +1 -0
  61. data/test/test_target_folder/CVS/Tag +1 -0
  62. data/test/tmp/CVS/Entries +1 -0
  63. data/test/tmp/CVS/Entries.Extra +0 -0
  64. data/test/tmp/CVS/Entries.Extra.Old +0 -0
  65. data/test/tmp/CVS/Entries.Old +0 -0
  66. data/test/tmp/CVS/Repository +1 -0
  67. data/test/tmp/CVS/Root +1 -0
  68. data/test/tmp/CVS/Tag +1 -0
  69. data/test/workflows/CVS/Entries +9 -0
  70. data/test/workflows/CVS/Entries.Extra +8 -0
  71. data/test/workflows/CVS/Entries.Extra.Old +8 -0
  72. data/test/workflows/CVS/Entries.Old +9 -0
  73. data/test/workflows/CVS/Repository +1 -0
  74. data/test/workflows/CVS/Root +1 -0
  75. data/test/workflows/CVS/Tag +1 -0
  76. data/test/workflows/test_get_send_ftp.wf +3 -9
  77. metadata +101 -28
Binary file
data/CVS/Baserev ADDED
@@ -0,0 +1,3 @@
1
+ Brbeai.gemspec/1.1.2.2/
2
+
3
+ Brbeai-1.0.1.gem/1.1.2.1/
data/CVS/Entries ADDED
@@ -0,0 +1,5 @@
1
+ D/lib////
2
+ /rbeai-0.0.1.gem/1.1.1.2/Wed Oct 26 12:04:36 2005/-kb/Txinizul
3
+ /rbeai.gemspec/1.1.2.3/Thu Oct 27 23:22:32 2005//Txinizul
4
+ /rbeai-1.0.1.gem/1.1.2.1/Thu Oct 27 23:23:10 2005/-kb/Txinizul
5
+ D/test////
data/CVS/Entries.Extra ADDED
@@ -0,0 +1,5 @@
1
+ D/lib////
2
+ /rbeai-0.0.1.gem////
3
+ /rbeai.gemspec////
4
+ /rbeai-1.0.1.gem////
5
+ D/test////
@@ -0,0 +1,4 @@
1
+ D/lib////
2
+ /rbeai-0.0.1.gem////
3
+ /rbeai.gemspec////
4
+ /rbeai-1.0.1.gem////
data/CVS/Entries.Old ADDED
@@ -0,0 +1,4 @@
1
+ D/lib////
2
+ /rbeai-0.0.1.gem/1.1.1.2/Wed Oct 26 12:04:36 2005/-kb/Txinizul
3
+ /rbeai.gemspec/1.1.2.3/Thu Oct 27 23:22:32 2005//Txinizul
4
+ /rbeai-1.0.1.gem/1.1.2.1/Thu Oct 27 23:23:10 2005/-kb/Txinizul
data/CVS/Repository ADDED
@@ -0,0 +1 @@
1
+ rbeai
data/CVS/Root ADDED
@@ -0,0 +1 @@
1
+ :ssh;username=xinizul;password=ruby21;hostname=cvs.rbeai.rubyforge.org:/var/cvs/rbeai
data/CVS/Tag ADDED
@@ -0,0 +1 @@
1
+ Txinizul
data/lib/CVS/Entries ADDED
@@ -0,0 +1,2 @@
1
+ D/rbeai////
2
+ /rbeai.rb/1.1.1.1/Tue Oct 18 14:27:02 2005//Txinizul
@@ -0,0 +1,2 @@
1
+ D/rbeai////
2
+ /rbeai.rb////
@@ -0,0 +1,2 @@
1
+ /rbeai.rb////
2
+ D/rbeai////
@@ -0,0 +1,2 @@
1
+ /rbeai.rb/1.1.1.1/Tue Oct 18 14:27:02 2005//
2
+ D/rbeai////
@@ -0,0 +1 @@
1
+ rbeai/lib
data/lib/CVS/Root ADDED
@@ -0,0 +1 @@
1
+ :ssh;username=xinizul;password=ruby21;hostname=cvs.rbeai.rubyforge.org:/var/cvs/rbeai
data/lib/CVS/Tag ADDED
@@ -0,0 +1 @@
1
+ Txinizul
@@ -0,0 +1,19 @@
1
+ BMain.rb/1.1.1.1/
2
+
3
+ BPipeTask.rb/1.1.1.1/
4
+
5
+ BPutLogic.rb/1.1.1.1/
6
+
7
+ BRouterLogic.rb/1.1.1.1/
8
+
9
+ BRouterPipeTask.rb/1.1.1.1/
10
+
11
+ BTasksLogic.rb/1.1.1.1/
12
+
13
+ BTransfLogic.rb/1.1.1.1/
14
+
15
+ BWorkerPool.rb/1.1.1.1/
16
+
17
+ BWorkflow.rb/1.1.1.1/
18
+
19
+ BGetLogic.rb/1.1.1.2/
@@ -0,0 +1,11 @@
1
+ D/templates////
2
+ /PutLogic.rb/1.1.1.2/Wed Oct 26 11:50:34 2005//Txinizul
3
+ /RouterLogic.rb/1.1.1.2/Mon Oct 24 23:45:08 2005//Txinizul
4
+ /TasksLogic.rb/1.1.1.2/Wed Oct 26 08:49:52 2005//Txinizul
5
+ /TransfLogic.rb/1.1.1.2/Mon Oct 24 22:14:10 2005//Txinizul
6
+ /Main.rb/1.1.1.2/Wed Oct 26 12:10:14 2005//Txinizul
7
+ /PipeTask.rb/1.1.1.2/Wed Oct 5 16:00:18 2005//Txinizul
8
+ /RouterPipeTask.rb/1.1.1.2/Wed Oct 5 16:00:44 2005//Txinizul
9
+ /WorkerPool.rb/1.1.1.2/Wed Oct 5 16:01:08 2005//Txinizul
10
+ /Workflow.rb/1.1.1.2/Wed Oct 5 16:02:50 2005//Txinizul
11
+ /GetLogic.rb/1.1.1.3/Thu Oct 27 23:16:04 2005//Txinizul
@@ -0,0 +1,11 @@
1
+ D/templates////
2
+ /PutLogic.rb////
3
+ /RouterLogic.rb////
4
+ /TasksLogic.rb////
5
+ /TransfLogic.rb////
6
+ /Main.rb////
7
+ /PipeTask.rb////
8
+ /RouterPipeTask.rb////
9
+ /WorkerPool.rb////
10
+ /Workflow.rb////
11
+ /GetLogic.rb////
@@ -0,0 +1,11 @@
1
+ D/templates////
2
+ /GetLogic.rb////
3
+ /PutLogic.rb////
4
+ /RouterLogic.rb////
5
+ /TasksLogic.rb////
6
+ /TransfLogic.rb////
7
+ /Main.rb////
8
+ /PipeTask.rb////
9
+ /RouterPipeTask.rb////
10
+ /WorkerPool.rb////
11
+ /Workflow.rb////
@@ -0,0 +1,11 @@
1
+ D/templates////
2
+ /GetLogic.rb/1.1.1.2/Wed Oct 26 11:27:32 2005//Txinizul
3
+ /PutLogic.rb/1.1.1.2/Wed Oct 26 11:50:34 2005//Txinizul
4
+ /RouterLogic.rb/1.1.1.2/Mon Oct 24 23:45:08 2005//Txinizul
5
+ /TasksLogic.rb/1.1.1.2/Wed Oct 26 08:49:52 2005//Txinizul
6
+ /TransfLogic.rb/1.1.1.2/Mon Oct 24 22:14:10 2005//Txinizul
7
+ /Main.rb/1.1.1.2/Wed Oct 26 12:10:14 2005//Txinizul
8
+ /PipeTask.rb/1.1.1.2/Wed Oct 5 16:00:18 2005//Txinizul
9
+ /RouterPipeTask.rb/1.1.1.2/Wed Oct 5 16:00:44 2005//Txinizul
10
+ /WorkerPool.rb/1.1.1.2/Wed Oct 5 16:01:08 2005//Txinizul
11
+ /Workflow.rb/1.1.1.2/Wed Oct 5 16:02:50 2005//Txinizul
@@ -0,0 +1 @@
1
+ rbeai/lib/rbeai
@@ -0,0 +1 @@
1
+ :ssh;username=xinizul;password=ruby21;hostname=cvs.rbeai.rubyforge.org:/var/cvs/rbeai
data/lib/rbeai/CVS/Tag ADDED
@@ -0,0 +1 @@
1
+ Txinizul
@@ -1,5 +1,6 @@
1
1
  require 'rio'
2
2
  require 'rmail/parser'
3
+ require 'net/ftp'
3
4
  require 'net/pop'
4
5
  require 'rexml/document'
5
6
 
@@ -16,7 +17,7 @@ module RbEAI
16
17
  protocol = protNode.attributes["def"]
17
18
  @logic = case protocol
18
19
  when "file" then GetFileLogic.new(protNode, task)
19
- when "ftp" then GetFileLogic.new(protNode, task)
20
+ when "ftp" then GetFtpLogic.new(protNode, task)
20
21
  when "email" then GetEmailLogic.new(protNode, task)
21
22
  end
22
23
  end
@@ -51,20 +52,39 @@ module RbEAI
51
52
 
52
53
  def initialize(protNode, task)
53
54
  @task = task
54
- @location = task.location
55
+ location = XPath.first(protNode, "./location")
56
+ account = XPath.first(protNode, "./account")
57
+ @address = location.attributes["address"]
58
+ @port = location.attributes["port"]
59
+ @folder = location.attributes["folder"]
60
+ @name = account.attributes["name"]
61
+ @pwd = account.attributes["pwd"]
55
62
  @pattern = task.pattern
56
63
  end
57
64
 
58
65
  def getFiles()
59
- files = []
60
- filesaux = []
61
- files = rio("#{@location}")
62
- regexp = Regexp.new("#{@pattern}")
63
- files.each do |file|
64
- puts "file = #{file}"
65
- filesaux << @task.persistFtp(file) if regexp.match("#{file}")
66
- end
66
+ begin
67
+ filesaux = []
68
+ Net::FTP.open(@address) do |ftp|
69
+ ftp.login(@name, @pwd)
70
+ files = ftp.chdir(@folder)
71
+ files = ftp.ls("#{@pattern}")
72
+ re = Regexp.new("#{@pattern}")
73
+ rio("tmp/#{@task.wflow.instid}/#{@task.name}").mkdir
74
+ files.each do |file|
75
+ mr = re.match(file)
76
+ puts mr
77
+ remotefilename = mr[0]
78
+ localfilename = "tmp/#{@task.wflow.instid}/#{@task.name}/#{remotefilename}"
79
+ puts localfilename
80
+ ftp.gettextfile(remotefilename, localfilename)
81
+ filesaux << localfilename
82
+ end
83
+ end
67
84
  return filesaux
85
+ rescue Exception
86
+ puts $!
87
+ end
68
88
  end
69
89
 
70
90
  end
@@ -0,0 +1,3 @@
1
+ /csv2xml_nh.awk/1.1.1.1/Tue Oct 18 14:27:04 2005//Txinizul
2
+ /csv2xml_wh.awk/1.1.1.1/Tue Oct 18 14:27:04 2005//Txinizul
3
+ D
@@ -0,0 +1,2 @@
1
+ /csv2xml_nh.awk////
2
+ /csv2xml_wh.awk////
@@ -0,0 +1,2 @@
1
+ /csv2xml_nh.awk////
2
+ /csv2xml_wh.awk////
@@ -0,0 +1,3 @@
1
+ /csv2xml_nh.awk/1.1.1.1/Tue Oct 18 14:27:04 2005//
2
+ /csv2xml_wh.awk/1.1.1.1/Tue Oct 18 14:27:04 2005//
3
+ D
@@ -0,0 +1 @@
1
+ rbeai/lib/rbeai/templates
@@ -0,0 +1 @@
1
+ :ssh;username=xinizul;password=ruby21;hostname=cvs.rbeai.rubyforge.org:/var/cvs/rbeai
@@ -0,0 +1 @@
1
+ Txinizul
data/rbeai.gemspec CHANGED
@@ -7,8 +7,8 @@ spec = Gem::Specification.new do |s|
7
7
  s.add_dependency('rio', '= 0.3.1')
8
8
  s.add_dependency('rmail', '>= 0.17')
9
9
  s.required_ruby_version = Gem::Version::Requirement.new(">= 1.6.7")
10
- s.version = "0.0.1"
11
- s.date = "2005-09-29"
10
+ s.version = "1.0.1"
11
+ s.date = "2005-10-28"
12
12
  s.summary = "Simple EAI Engine."
13
13
  s.require_paths = ["lib"]
14
14
  s.autorequire = %q{rmail}
data/test/CVS/Entries ADDED
@@ -0,0 +1,15 @@
1
+ /test1.rb/1.1.2.1/Tue Oct 18 22:50:46 2005//Txinizul
2
+ /test_get_send_email.rb/1.1.2.1/Wed Oct 26 11:46:20 2005//Txinizul
3
+ /test_get_send_file.rb/1.1.2.1/Mon Oct 24 09:17:50 2005//Txinizul
4
+ /test_get_send_ftp.rb/1.1.2.1/Tue Oct 25 21:55:14 2005//Txinizul
5
+ /test_router.rb/1.1.2.1/Mon Oct 24 23:06:42 2005//Txinizul
6
+ /test_transf_1.rb/1.1.2.1/Mon Oct 24 14:49:34 2005//Txinizul
7
+ /test_transf_2.awk/1.1.2.1/Sat Sep 17 17:29:12 2005//Txinizul
8
+ /test_transf_2.rb/1.1.2.1/Mon Oct 24 20:59:32 2005//Txinizul
9
+ /test_transf_3.rb/1.1.2.1/Mon Oct 24 21:44:18 2005//Txinizul
10
+ /test_transf_3.xsl/1.1.2.1/Mon Oct 24 21:51:40 2005//Txinizul
11
+ D/config////
12
+ D/test_files////
13
+ D/test_target_folder////
14
+ D/tmp////
15
+ D/workflows////
@@ -0,0 +1,15 @@
1
+ /test1.rb////
2
+ /test_get_send_email.rb////
3
+ /test_get_send_file.rb////
4
+ /test_get_send_ftp.rb////
5
+ /test_router.rb////
6
+ /test_transf_1.rb////
7
+ /test_transf_2.awk////
8
+ /test_transf_2.rb////
9
+ /test_transf_3.rb////
10
+ /test_transf_3.xsl////
11
+ D/config////
12
+ D/test_files////
13
+ D/test_target_folder////
14
+ D/tmp////
15
+ D/workflows////
@@ -0,0 +1,14 @@
1
+ /test1.rb////
2
+ /test_get_send_email.rb////
3
+ /test_get_send_file.rb////
4
+ /test_get_send_ftp.rb////
5
+ /test_router.rb////
6
+ /test_transf_1.rb////
7
+ /test_transf_2.awk////
8
+ /test_transf_2.rb////
9
+ /test_transf_3.rb////
10
+ /test_transf_3.xsl////
11
+ D/config////
12
+ D/test_files////
13
+ D/test_target_folder////
14
+ D/tmp////
@@ -0,0 +1,14 @@
1
+ /test1.rb/1.1.2.1/Tue Oct 18 22:50:46 2005//Txinizul
2
+ /test_get_send_email.rb/1.1.2.1/Wed Oct 26 11:46:20 2005//Txinizul
3
+ /test_get_send_file.rb/1.1.2.1/Mon Oct 24 09:17:50 2005//Txinizul
4
+ /test_get_send_ftp.rb/1.1.2.1/Tue Oct 25 21:55:14 2005//Txinizul
5
+ /test_router.rb/1.1.2.1/Mon Oct 24 23:06:42 2005//Txinizul
6
+ /test_transf_1.rb/1.1.2.1/Mon Oct 24 14:49:34 2005//Txinizul
7
+ /test_transf_2.awk/1.1.2.1/Sat Sep 17 17:29:12 2005//Txinizul
8
+ /test_transf_2.rb/1.1.2.1/Mon Oct 24 20:59:32 2005//Txinizul
9
+ /test_transf_3.rb/1.1.2.1/Mon Oct 24 21:44:18 2005//Txinizul
10
+ /test_transf_3.xsl/1.1.2.1/Mon Oct 24 21:51:40 2005//Txinizul
11
+ D/config////
12
+ D/test_files////
13
+ D/test_target_folder////
14
+ D/tmp////
@@ -0,0 +1 @@
1
+ rbeai/test
data/test/CVS/Root ADDED
@@ -0,0 +1 @@
1
+ :ssh;username=xinizul;password=ruby21;hostname=cvs.rbeai.rubyforge.org:/var/cvs/rbeai
data/test/CVS/Tag ADDED
@@ -0,0 +1 @@
1
+ Txinizul
@@ -0,0 +1,2 @@
1
+ /conf.rb/1.1.2.1/Tue Oct 18 22:50:14 2005//Txinizul
2
+ D
@@ -0,0 +1 @@
1
+ /conf.rb////
@@ -0,0 +1 @@
1
+ /conf.rb////
@@ -0,0 +1,2 @@
1
+ /conf.rb/0/dummy timestamp//Txinizul
2
+ D
@@ -0,0 +1 @@
1
+ rbeai/test/config
@@ -0,0 +1 @@
1
+ :ssh;username=xinizul;password=ruby21;hostname=cvs.rbeai.rubyforge.org:/var/cvs/rbeai
@@ -0,0 +1 @@
1
+ Txinizul
@@ -0,0 +1,10 @@
1
+ /empty_file.txt/1.1.2.1/Mon Oct 24 08:51:46 2005//Txinizul
2
+ /empty_file.unused/1.1.2.1/Mon Oct 24 08:56:36 2005//Txinizul
3
+ /test_router_1.txt/1.1.2.1/Mon Oct 24 23:05:42 2005//Txinizul
4
+ /test_router_1.xml_91/1.1.2.1/Mon Oct 24 23:17:14 2005//Txinizul
5
+ /test_router_1.xml_92/1.1.2.1/Mon Oct 24 23:05:12 2005//Txinizul
6
+ /test_router_1.xml_fail/1.1.2.1/Mon Oct 24 23:03:50 2005//Txinizul
7
+ /test_transf_1.xml/1.1.2.1/Mon Oct 24 14:48:46 2005//Txinizul
8
+ /test_transf_2.txt/1.1.2.1/Sat Sep 17 23:10:28 2005//Txinizul
9
+ /test_transf_3.xml/1.1.2.1/Mon Oct 24 14:48:46 2005//Txinizul
10
+ D
@@ -0,0 +1,9 @@
1
+ /empty_file.txt////
2
+ /empty_file.unused////
3
+ /test_router_1.txt////
4
+ /test_router_1.xml_91////
5
+ /test_router_1.xml_92////
6
+ /test_router_1.xml_fail////
7
+ /test_transf_1.xml////
8
+ /test_transf_2.txt////
9
+ /test_transf_3.xml////
@@ -0,0 +1,9 @@
1
+ /empty_file.txt////
2
+ /empty_file.unused////
3
+ /test_router_1.txt////
4
+ /test_router_1.xml_91////
5
+ /test_router_1.xml_92////
6
+ /test_router_1.xml_fail////
7
+ /test_transf_1.xml////
8
+ /test_transf_2.txt////
9
+ /test_transf_3.xml////
@@ -0,0 +1,10 @@
1
+ /empty_file.txt/0/dummy timestamp//Txinizul
2
+ /empty_file.unused/0/dummy timestamp//Txinizul
3
+ /test_router_1.txt/0/dummy timestamp//Txinizul
4
+ /test_router_1.xml_91/0/dummy timestamp//Txinizul
5
+ /test_router_1.xml_92/0/dummy timestamp//Txinizul
6
+ /test_router_1.xml_fail/0/dummy timestamp//Txinizul
7
+ /test_transf_1.xml/0/dummy timestamp//Txinizul
8
+ /test_transf_2.txt/0/dummy timestamp//Txinizul
9
+ /test_transf_3.xml/0/dummy timestamp//Txinizul
10
+ D
@@ -0,0 +1 @@
1
+ rbeai/test/test_files
@@ -0,0 +1 @@
1
+ :ssh;username=xinizul;password=ruby21;hostname=cvs.rbeai.rubyforge.org:/var/cvs/rbeai
@@ -0,0 +1 @@
1
+ Txinizul
@@ -0,0 +1 @@
1
+ D
@@ -0,0 +1 @@
1
+ rbeai/test/test_target_folder
@@ -0,0 +1 @@
1
+ :ssh;username=xinizul;password=ruby21;hostname=cvs.rbeai.rubyforge.org:/var/cvs/rbeai
@@ -0,0 +1 @@
1
+ Txinizul
@@ -0,0 +1 @@
1
+ D
File without changes
File without changes
File without changes
@@ -0,0 +1 @@
1
+ rbeai/test/tmp
data/test/tmp/CVS/Root ADDED
@@ -0,0 +1 @@
1
+ :ssh;username=xinizul;password=ruby21;hostname=cvs.rbeai.rubyforge.org:/var/cvs/rbeai
data/test/tmp/CVS/Tag ADDED
@@ -0,0 +1 @@
1
+ Txinizul
@@ -0,0 +1,9 @@
1
+ /test_get_send_email.wf/1.1.2.1/Wed Oct 26 11:54:44 2005//Txinizul
2
+ /test_get_send_file.wf/1.1.2.1/Tue Oct 25 21:58:46 2005//Txinizul
3
+ /test_get_send_ftp.wf/1.1.2.1/Thu Oct 27 23:18:24 2005//Txinizul
4
+ /test_router_1.wf/1.1.2.1/Mon Oct 24 23:42:22 2005//Txinizul
5
+ /test_start_end.wf/1.1.2.1/Mon Oct 24 08:50:34 2005//Txinizul
6
+ /test_transf_1.wf/1.1.2.1/Mon Oct 24 21:10:22 2005//Txinizul
7
+ /test_transf_2.wf/1.1.2.1/Mon Oct 24 21:01:00 2005//Txinizul
8
+ /test_transf_3.wf/1.1.2.1/Mon Oct 24 22:30:00 2005//Txinizul
9
+ D
@@ -0,0 +1,8 @@
1
+ /test_get_send_email.wf////
2
+ /test_get_send_file.wf////
3
+ /test_get_send_ftp.wf////
4
+ /test_router_1.wf////
5
+ /test_start_end.wf////
6
+ /test_transf_1.wf////
7
+ /test_transf_2.wf////
8
+ /test_transf_3.wf////
@@ -0,0 +1,8 @@
1
+ /test_get_send_email.wf////
2
+ /test_get_send_file.wf////
3
+ /test_get_send_ftp.wf////
4
+ /test_router_1.wf////
5
+ /test_start_end.wf////
6
+ /test_transf_1.wf////
7
+ /test_transf_2.wf////
8
+ /test_transf_3.wf////
@@ -0,0 +1,9 @@
1
+ /test_get_send_email.wf/0/dummy timestamp//Txinizul
2
+ /test_get_send_file.wf/0/dummy timestamp//Txinizul
3
+ /test_get_send_ftp.wf/0/dummy timestamp//Txinizul
4
+ /test_router_1.wf/0/dummy timestamp//Txinizul
5
+ /test_start_end.wf/0/dummy timestamp//Txinizul
6
+ /test_transf_1.wf/0/dummy timestamp//Txinizul
7
+ /test_transf_2.wf/0/dummy timestamp//Txinizul
8
+ /test_transf_3.wf/0/dummy timestamp//Txinizul
9
+ D
@@ -0,0 +1 @@
1
+ rbeai/test/workflows
@@ -0,0 +1 @@
1
+ :ssh;username=xinizul;password=ruby21;hostname=cvs.rbeai.rubyforge.org:/var/cvs/rbeai
@@ -0,0 +1 @@
1
+ Txinizul
@@ -4,22 +4,16 @@
4
4
  </task>
5
5
  <task name="getfile" type="Get" rate="1s" pool="1">
6
6
  <next>sendfile</next>
7
- <protocol def="file">
8
- <location>./test_files</location>
9
- <pattern>empty*.txt</pattern>
10
- </protocol>
11
-
12
- <!-- Currently no working: due to RIO perhaps
13
7
  <protocol def="ftp">
14
- <location>ftp://test:testpw@127.0.0.1/</location>
8
+ <location address="localhost" folder="./" port="21"/>
9
+ <account name="test" pwd="testpw"/>
15
10
  <pattern>ftpfile.txt</pattern>
16
11
  </protocol>
17
- -->
18
12
  </task>
19
13
  <task name="sendfile" type="Put" rate="0s" pool="1">
20
14
  <next>final</next>
21
15
  <protocol def="ftp">
22
- <location>ftp://test:testpw@localhost</location>
16
+ <location>ftp://test:testpw@localhost/output</location>
23
17
  </protocol>
24
18
  </task>
25
19
  <task name="final" type="End">
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.10
3
3
  specification_version: 1
4
4
  name: rbeai
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.1
7
- date: 2005-09-29
6
+ version: 1.0.1
7
+ date: 2005-10-28
8
8
  summary: Simple EAI Engine.
9
9
  require_paths:
10
10
  - lib
@@ -26,12 +26,31 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
26
26
  platform: ruby
27
27
  authors: []
28
28
  files:
29
+ - CVS
29
30
  - lib
30
- - test
31
31
  - rbeai.gemspec
32
- - rbeai-0.0.1.gem
32
+ - test
33
+ - CVS/Root
34
+ - CVS/Repository
35
+ - CVS/Tag
36
+ - CVS/Base
37
+ - CVS/Entries.Old
38
+ - CVS/Entries
39
+ - CVS/Entries.Extra.Old
40
+ - CVS/Entries.Extra
41
+ - CVS/Baserev
42
+ - CVS/Base/rbeai-1.0.1.gem
43
+ - lib/CVS
33
44
  - lib/rbeai.rb
34
45
  - lib/rbeai
46
+ - lib/CVS/Root
47
+ - lib/CVS/Repository
48
+ - lib/CVS/Tag
49
+ - lib/CVS/Entries.Old
50
+ - lib/CVS/Entries
51
+ - lib/CVS/Entries.Extra.Old
52
+ - lib/CVS/Entries.Extra
53
+ - lib/rbeai/CVS
35
54
  - lib/rbeai/GetLogic.rb
36
55
  - lib/rbeai/Main.rb
37
56
  - lib/rbeai/PipeTask.rb
@@ -43,13 +62,26 @@ files:
43
62
  - lib/rbeai/WorkerPool.rb
44
63
  - lib/rbeai/Workflow.rb
45
64
  - lib/rbeai/templates
65
+ - lib/rbeai/CVS/Root
66
+ - lib/rbeai/CVS/Repository
67
+ - lib/rbeai/CVS/Tag
68
+ - lib/rbeai/CVS/Base
69
+ - lib/rbeai/CVS/Baserev
70
+ - lib/rbeai/CVS/Entries.Old
71
+ - lib/rbeai/CVS/Entries
72
+ - lib/rbeai/CVS/Entries.Extra.Old
73
+ - lib/rbeai/CVS/Entries.Extra
74
+ - lib/rbeai/templates/CVS
46
75
  - lib/rbeai/templates/csv2xml_nh.awk
47
76
  - lib/rbeai/templates/csv2xml_wh.awk
77
+ - lib/rbeai/templates/CVS/Root
78
+ - lib/rbeai/templates/CVS/Repository
79
+ - lib/rbeai/templates/CVS/Tag
80
+ - lib/rbeai/templates/CVS/Entries.Old
81
+ - lib/rbeai/templates/CVS/Entries
82
+ - lib/rbeai/templates/CVS/Entries.Extra.Old
83
+ - lib/rbeai/templates/CVS/Entries.Extra
48
84
  - test/test1.rb
49
- - test/config
50
- - test/workflows
51
- - test/test_files
52
- - test/test_target_folder
53
85
  - test/test_get_send_file.rb
54
86
  - test/test_transf_1.rb
55
87
  - test/test_transf_2.awk
@@ -60,15 +92,27 @@ files:
60
92
  - test/test_get_send_ftp.rb
61
93
  - test/test_get_send_email.rb
62
94
  - test/tmp
63
- - test/config/conf.rb
64
- - test/workflows/test_get_send_ftp.wf
65
- - test/workflows/test_get_send_email.wf
66
- - test/workflows/test_start_end.wf
67
- - test/workflows/test_transf_2.wf
68
- - test/workflows/test_transf_1.wf
69
- - test/workflows/test_transf_3.wf
70
- - test/workflows/test_router_1.wf
71
- - test/workflows/test_get_send_file.wf
95
+ - test/test_target_folder
96
+ - test/test_files
97
+ - test/workflows
98
+ - test/config
99
+ - test/CVS
100
+ - test/tmp/CVS
101
+ - test/tmp/CVS/Root
102
+ - test/tmp/CVS/Repository
103
+ - test/tmp/CVS/Tag
104
+ - test/tmp/CVS/Entries.Old
105
+ - test/tmp/CVS/Entries
106
+ - test/tmp/CVS/Entries.Extra.Old
107
+ - test/tmp/CVS/Entries.Extra
108
+ - test/test_target_folder/CVS
109
+ - test/test_target_folder/CVS/Root
110
+ - test/test_target_folder/CVS/Repository
111
+ - test/test_target_folder/CVS/Tag
112
+ - test/test_target_folder/CVS/Entries.Old
113
+ - test/test_target_folder/CVS/Entries
114
+ - test/test_target_folder/CVS/Entries.Extra.Old
115
+ - test/test_target_folder/CVS/Entries.Extra
72
116
  - test/test_files/empty_file.txt
73
117
  - test/test_files/empty_file.unused
74
118
  - test/test_files/test_transf_1.xml
@@ -78,17 +122,46 @@ files:
78
122
  - test/test_files/test_router_1.xml_92
79
123
  - test/test_files/test_router_1.txt
80
124
  - test/test_files/test_router_1.xml_91
81
- - test/tmp/test_get_send_email
82
- - test/tmp/test_get_send_ftp
83
- - test/tmp/test_get_send_file
84
- - test/tmp/test_get_send_email/1130328109.15600
85
- - test/tmp/test_get_send_ftp/1130328154.51500
86
- - test/tmp/test_get_send_ftp/1130328178.76500
87
- - test/tmp/test_get_send_ftp/1130328178.76500/getfile
88
- - test/tmp/test_get_send_ftp/1130328178.76500/getfile/empty_file.txt
89
- - test/tmp/test_get_send_file/1130328204.12500
90
- - test/tmp/test_get_send_file/1130328204.12500/getfile
91
- - test/tmp/test_get_send_file/1130328204.12500/getfile/empty_file.txt
125
+ - test/test_files/CVS
126
+ - test/test_files/CVS/Root
127
+ - test/test_files/CVS/Repository
128
+ - test/test_files/CVS/Tag
129
+ - test/test_files/CVS/Entries.Old
130
+ - test/test_files/CVS/Entries
131
+ - test/test_files/CVS/Entries.Extra.Old
132
+ - test/test_files/CVS/Entries.Extra
133
+ - test/workflows/test_get_send_ftp.wf
134
+ - test/workflows/test_get_send_email.wf
135
+ - test/workflows/test_start_end.wf
136
+ - test/workflows/test_transf_2.wf
137
+ - test/workflows/test_transf_1.wf
138
+ - test/workflows/test_transf_3.wf
139
+ - test/workflows/test_router_1.wf
140
+ - test/workflows/test_get_send_file.wf
141
+ - test/workflows/CVS
142
+ - test/workflows/CVS/Root
143
+ - test/workflows/CVS/Repository
144
+ - test/workflows/CVS/Tag
145
+ - test/workflows/CVS/Entries.Old
146
+ - test/workflows/CVS/Entries
147
+ - test/workflows/CVS/Entries.Extra.Old
148
+ - test/workflows/CVS/Entries.Extra
149
+ - test/config/conf.rb
150
+ - test/config/CVS
151
+ - test/config/CVS/Root
152
+ - test/config/CVS/Repository
153
+ - test/config/CVS/Tag
154
+ - test/config/CVS/Entries.Old
155
+ - test/config/CVS/Entries
156
+ - test/config/CVS/Entries.Extra.Old
157
+ - test/config/CVS/Entries.Extra
158
+ - test/CVS/Root
159
+ - test/CVS/Repository
160
+ - test/CVS/Tag
161
+ - test/CVS/Entries.Old
162
+ - test/CVS/Entries
163
+ - test/CVS/Entries.Extra.Old
164
+ - test/CVS/Entries.Extra
92
165
  test_files: []
93
166
  rdoc_options: []
94
167
  extra_rdoc_files: []