tengine_job 0.6.13 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. data/Gemfile +1 -20
  2. data/Gemfile.lock +70 -72
  3. data/README.rdoc +2 -2
  4. data/bin/create_indexes_for_tengine_job +18 -0
  5. data/lib/tengine/job/connectable.rb +4 -4
  6. data/lib/tengine/job/drivers/job_execution_driver.rb +2 -2
  7. data/lib/tengine/job/drivers/jobnet_control_driver.rb +3 -3
  8. data/lib/tengine/job/drivers/schedule_driver.rb +12 -12
  9. data/lib/tengine/job/edge.rb +2 -2
  10. data/lib/tengine/job/expansion.rb +1 -1
  11. data/lib/tengine/job/jobnet.rb +12 -2
  12. data/lib/tengine/job/jobnet_actual.rb +29 -0
  13. data/lib/tengine/job/root_jobnet_actual.rb +20 -1
  14. data/lib/tengine/job/root_jobnet_template.rb +4 -4
  15. data/lib/tengine/job/signal.rb +1 -1
  16. data/lib/tengine/job/vertex.rb +10 -1
  17. metadata +130 -126
  18. data/.document +0 -5
  19. data/.rspec +0 -1
  20. data/Rakefile +0 -42
  21. data/VERSION +0 -1
  22. data/spec/fixtures/rjn_0001_simple_jobnet_builder.rb +0 -42
  23. data/spec/fixtures/rjn_0002_simple_parallel_jobnet_builder.rb +0 -42
  24. data/spec/fixtures/rjn_0003_fork_join_jobnet_builder.rb +0 -61
  25. data/spec/fixtures/rjn_0004_parallel_jobnet_with_finally_fixture.rb +0 -62
  26. data/spec/fixtures/rjn_0005_retry_two_layer_fixture.rb +0 -153
  27. data/spec/fixtures/rjn_0008_expansion_fixture.rb +0 -32
  28. data/spec/fixtures/rjn_0009_tree_sequential_jobnet_builder.rb +0 -174
  29. data/spec/fixtures/rjn_0010_2jobs_and_1job_parallel_jobnet_builder.rb +0 -39
  30. data/spec/fixtures/rjn_0011_nested_fork_jobnet_builder.rb +0 -96
  31. data/spec/fixtures/rjn_0012_nested_and_finally_builder.rb +0 -157
  32. data/spec/fixtures/rjn_1004_hadoop_job_in_jobnet_fixture.rb +0 -105
  33. data/spec/fixtures/rjn_means_root_jobnet +0 -0
  34. data/spec/fixtures/test_credential_fixture.rb +0 -12
  35. data/spec/fixtures/test_server_fixture.rb +0 -28
  36. data/spec/mongoid.yml +0 -35
  37. data/spec/spec_helper.rb +0 -58
  38. data/spec/sshd/.gitignore +0 -1
  39. data/spec/sshd/id_rsa +0 -51
  40. data/spec/sshd/id_rsa.pub +0 -1
  41. data/spec/sshd/ssh_host_rsa_key +0 -51
  42. data/spec/sshd/ssh_host_rsa_key.pub +0 -1
  43. data/spec/sshd/sshd_config +0 -10
  44. data/spec/sshd/sshd_config.erb +0 -11
  45. data/spec/sshd/tengine_job_test.sh +0 -6
  46. data/spec/support/jobnet_fixture_builder.rb +0 -145
  47. data/spec/support/mongo_index_key_log.rb +0 -91
  48. data/spec/tengine/job/category_spec.rb +0 -193
  49. data/spec/tengine/job/connectable_spec.rb +0 -94
  50. data/spec/tengine/job/drivers/job_controll_driver/connection_error_spec.rb +0 -236
  51. data/spec/tengine/job/drivers/job_controll_driver/duplicated_job_start_spec.rb +0 -302
  52. data/spec/tengine/job/drivers/job_controll_driver/expansion_spec.rb +0 -120
  53. data/spec/tengine/job/drivers/job_controll_driver/stop_spec.rb +0 -159
  54. data/spec/tengine/job/drivers/job_controll_driver_spec.rb +0 -740
  55. data/spec/tengine/job/drivers/job_execution_driver_spec.rb +0 -138
  56. data/spec/tengine/job/drivers/jobnet_control_driver/nested_and_finally_spec.rb +0 -472
  57. data/spec/tengine/job/drivers/jobnet_control_driver/nested_jobnet_spec.rb +0 -231
  58. data/spec/tengine/job/drivers/jobnet_control_driver/stop_jobnet_spec.rb +0 -202
  59. data/spec/tengine/job/drivers/jobnet_control_driver_spec.rb +0 -608
  60. data/spec/tengine/job/drivers/schedule_driver_spec.rb +0 -241
  61. data/spec/tengine/job/dsl_binder_spec.rb +0 -36
  62. data/spec/tengine/job/dsl_loader_spec.rb +0 -437
  63. data/spec/tengine/job/dsls/0013_hadoop_job_run.rb +0 -29
  64. data/spec/tengine/job/dsls/0014_join_and_join.rb +0 -19
  65. data/spec/tengine/job/dsls/0015_fork_and_fork.rb +0 -18
  66. data/spec/tengine/job/dsls/0016_complex_fork_and_join.rb +0 -20
  67. data/spec/tengine/job/dsls/0017_finally.rb +0 -15
  68. data/spec/tengine/job/dsls/0018_expansion.rb +0 -23
  69. data/spec/tengine/job/dsls/0019_execute_job_on_event.rb +0 -16
  70. data/spec/tengine/job/dsls/0020_duplicated_jobnet_name.rb +0 -16
  71. data/spec/tengine/job/dsls/0021_caption.rb +0 -13
  72. data/spec/tengine/job/dsls/1060_test_dir1/1060_test_dir2/0013_hadoop_job_run.rb +0 -29
  73. data/spec/tengine/job/dsls/2003_expansion/expansion_5.rb +0 -11
  74. data/spec/tengine/job/dsls/VERSION +0 -1
  75. data/spec/tengine/job/dynamic_env_spec.rb +0 -95
  76. data/spec/tengine/job/edge_spec.rb +0 -241
  77. data/spec/tengine/job/element_selector_notation_spec.rb +0 -354
  78. data/spec/tengine/job/examples_spec.rb +0 -62
  79. data/spec/tengine/job/execution_spec.rb +0 -100
  80. data/spec/tengine/job/expansion_spec.rb +0 -116
  81. data/spec/tengine/job/hadoop_job_run_spec.rb +0 -65
  82. data/spec/tengine/job/job_spec.rb +0 -4
  83. data/spec/tengine/job/jobnet/1015_complecated_jobnet_spec.rb +0 -72
  84. data/spec/tengine/job/jobnet_actual_spec.rb +0 -175
  85. data/spec/tengine/job/jobnet_spec.rb +0 -399
  86. data/spec/tengine/job/jobnet_template_spec.rb +0 -240
  87. data/spec/tengine/job/killing_spec.rb +0 -91
  88. data/spec/tengine/job/reset_spec.rb +0 -958
  89. data/spec/tengine/job/reset_spec/4056_1_dump.txt +0 -1
  90. data/spec/tengine/job/root_jobnet_actual_spec.rb +0 -89
  91. data/spec/tengine/job/root_jobnet_template_spec.rb +0 -248
  92. data/spec/tengine/job/script_executable_spec.rb +0 -132
  93. data/spec/tengine/job/stoppable_spec.rb +0 -176
  94. data/spec/tengine/job/vertex_spec.rb +0 -25
  95. data/spec/tengine_job_spec.rb +0 -4
  96. data/tengine_job.gemspec +0 -198
  97. data/tmp/log/.gitignore +0 -1
@@ -1,176 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- require 'spec_helper'
3
-
4
- describe Tengine::Job::Stoppable do
5
- include TestCredentialFixture
6
- include TestServerFixture
7
-
8
- describe :stop do
9
- context "rjn0011" do
10
- before do
11
- builder = Rjn0011NestedForkJobnetBuilder.new
12
- @ctx = builder.context
13
- @root = builder.create_actual
14
- @ctx[:j1100].tap do |j|
15
- j.killing_signals = ["INT", "HUP", "QUIT", "KILL"]
16
- j.killing_signal_interval = 30
17
- end
18
- @execution = Tengine::Job::Execution.create!({
19
- :root_jobnet_id => @root.id,
20
- })
21
- @mock_event = mock(:event,
22
- :occurred_at => Time.utc(2011,10,28,0,50))
23
- @mock_event.stub!(:[]).with(:execution_id).and_return(@execution.id.to_s)
24
- @signal = Tengine::Job::Signal.new(@mock_event)
25
- end
26
-
27
- context "強制停止しても何も変更なし" do
28
- ([:dying, :success, :error, :stuck]).each do |phase_key|
29
- it "#{phase_key}の場合" do
30
- @ctx[:j1110].phase_key = phase_key
31
- expect{
32
- @ctx[:j1110].stop(@signal)
33
- }.to_not raise_error
34
- @ctx[:j1110].phase_key.should == phase_key
35
- end
36
- end
37
- end
38
-
39
- context ":readyならば:initializedに戻す" do
40
- # 特別ルール「starting直前stop」
41
- # initializedに戻されたジョブに対して、:readyになる際にtransmitで送信されたイベントを受け取って、
42
- # activateしようとすると状態は遷移しないが、後続のエッジを実行する。
43
- # (エッジを実行しようとした際、エッジがclosedならばそのジョブネットのEndに遷移する。)
44
-
45
- it "(ジョブネットに対するstopによって)後続のエッジをcloseしてある場合" do
46
- t = Time.now.utc
47
- @mock_event.should_receive(:occurred_at).and_return(t)
48
- @mock_event.should_receive(:[]).with(:stop_reason).and_return("test stopping")
49
- [:e6, :e7, :e8, :e9].each{|name| @ctx[name].phase_key = :closing}
50
- @ctx[:j1110].tap do |j|
51
- j.phase_key = :ready
52
- j.executing_pid = nil
53
- @ctx[:j1100].should_receive(:jobnet_fail).with(@signal)
54
- j.stop(@signal)
55
- j.phase_key.should == :initialized
56
- j.stop_reason.should == "test stopping"
57
- j.stopped_at.to_time.iso8601.should == t.utc.iso8601
58
- end
59
- [:e6, :e7, :e8, :e9].each{|name| @ctx[name].phase_key.should == :closed}
60
- end
61
-
62
- it "(ジョブを単体で停止する)エッジはcloseしていない場合" do
63
- t = Time.now.utc
64
- @mock_event.should_receive(:occurred_at).and_return(t)
65
- @mock_event.should_receive(:[]).with(:stop_reason).and_return("test stopping")
66
- @ctx[:j1110].tap do |j|
67
- j.phase_key = :ready
68
- j.executing_pid = nil
69
- @ctx[:j1120].should_receive(:transmit).with(@signal)
70
- j.stop(@signal)
71
- j.phase_key.should == :initialized
72
- j.stop_reason.should == "test stopping"
73
- j.stopped_at.to_time.iso8601.should == t.utc.iso8601
74
- end
75
- end
76
- end
77
-
78
- context ":startingならば:runningになるのを待って、stopする" do
79
-
80
- it "(ジョブを単体で停止する)エッジはcloseしていない場合" do
81
- t = Time.now.utc
82
- @mock_event.should_receive(:occurred_at).and_return(t)
83
- @mock_event.should_receive(:[]).with(:stop_reason).and_return("test stopping")
84
- @ctx[:j1110].tap do |j|
85
- j.phase_key = :starting
86
- j.executing_pid = nil
87
- @root.save!
88
- @pid = "111"
89
- @root.reload
90
-
91
- mock_ssh = mock(:ssh)
92
- mock_channel = mock(:channel)
93
- Net::SSH.should_receive(:start).
94
- with(test_server1.hostname_or_ipv4,
95
- an_instance_of(Tengine::Resource::Credential),
96
- an_instance_of(Hash)).and_yield(mock_ssh)
97
- mock_ssh.should_receive(:open_channel).and_yield(mock_channel)
98
- mock_channel.should_receive(:exec) do |*args|
99
- args.length.should == 1
100
- args.first.tap do |cmd|
101
- cmd.should =~ %r<source \/etc\/profile>
102
- cmd.should =~ /tengine_job_agent_kill #{@pid} 30 INT,HUP,QUIT,KILL/
103
- end
104
- end
105
-
106
- idx = 0
107
- @root.vertex(j.id).stop(@signal) do
108
- idx += 1
109
- if idx >= 3 # 3回目のリトライ後にデータが更新され、4回目でループを抜けて強制停止が始まります
110
- root_dup = @root.class.find(@root.id)
111
- job = root_dup.vertex(j.id)
112
- job.executing_pid = @pid
113
- job.phase_key = :running
114
- root_dup.save!
115
- end
116
- end
117
- @root.save!
118
- job = @root.vertex(j.id)
119
- job.phase_key.should == :dying
120
- job.stop_reason.should == "test stopping"
121
- job.stopped_at.to_time.iso8601.should == t.utc.iso8601
122
- @signal.callback.should_not be_nil
123
- @signal.callback.call
124
- end
125
- end
126
- end
127
-
128
-
129
- shared_examples_for "SSHでtengine_job_agent_killを実行する" do |name, interval, signals|
130
- it do
131
- @pid = "111"
132
- mock_ssh = mock(:ssh)
133
- mock_channel = mock(:channel)
134
- Net::SSH.should_receive(:start).
135
- with(test_server1.hostname_or_ipv4,
136
- an_instance_of(Tengine::Resource::Credential),
137
- an_instance_of(Hash)).and_yield(mock_ssh)
138
- mock_ssh.should_receive(:open_channel).and_yield(mock_channel)
139
- mock_channel.should_receive(:exec) do |*args|
140
- args.length.should == 1
141
- args.first.tap do |cmd|
142
- cmd.should =~ %r<source \/etc\/profile>
143
- cmd.should =~ /tengine_job_agent_kill #{@pid} #{interval} #{signals}/
144
- end
145
- end
146
- t = Time.now.utc
147
- @mock_event.should_receive(:occurred_at).and_return(t)
148
- @mock_event.should_receive(:[]).with(:stop_reason).and_return("test stopping")
149
- @ctx[name].tap do |j|
150
- j.phase_key = :running
151
- j.executing_pid = @pid
152
- j.stop(@signal)
153
- j.phase_key.should == :dying
154
- j.stop_reason.should == "test stopping"
155
- j.stopped_at.to_time.iso8601.should == t.utc.iso8601
156
- end
157
- @signal.callback.should_not be_nil
158
- @signal.callback.call
159
- end
160
- end
161
-
162
- default_interval = Tengine::Job::Killing::DEFAULT_KILLING_SIGNAL_INTERVAL
163
- [
164
- [:j1110, 30, "INT,HUP,QUIT,KILL"],
165
- [:j1121, 30, "INT,HUP,QUIT,KILL"],
166
- [:j1131, 30, "INT,HUP,QUIT,KILL"],
167
- [:j1140, 30, "INT,HUP,QUIT,KILL"],
168
- [:j1200, default_interval, "KILL"],
169
- [:j1310, default_interval, "KILL"],
170
- ].each do |args|
171
- it_should_behave_like "SSHでtengine_job_agent_killを実行する", *args
172
- end
173
-
174
- end
175
- end
176
- end
@@ -1,25 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- require 'spec_helper'
3
-
4
- describe Tengine::Job::Vertex do
5
- describe :ancestors do
6
- context "templateの場合" do
7
- before do
8
- builder = Rjn0009TreeSequentialJobnetBuilder.new
9
- builder.create_template
10
- @ctx = builder.context
11
- end
12
-
13
- context "ルートを先頭に親までの配列を返します" do
14
- it "深さ3のジョブ・ジョブネットなら2つの要素を返します" do
15
- @ctx[:j1120].ancestors.should == [@ctx[:root], @ctx[:j1100]]
16
- end
17
-
18
- it "深さ4のジョブ・ジョブネットなら3つの要素を返します" do
19
- @ctx[:j1611].ancestors.should == [@ctx[:root], @ctx[:j1600], @ctx[:j1610]]
20
- end
21
- end
22
- end
23
- end
24
-
25
- end
@@ -1,4 +0,0 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
-
3
- describe "TengineJob" do
4
- end
data/tengine_job.gemspec DELETED
@@ -1,198 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = "tengine_job"
8
- s.version = "0.6.13"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["taigou", "totty", "g-morita", "shyouhei", "akm", "guemon"]
12
- s.date = "2012-05-02"
13
- s.description = "tengine_job provides jobnet management"
14
- s.email = "tengine-info@groovenauts.jp"
15
- s.extra_rdoc_files = [
16
- "README.rdoc"
17
- ]
18
- s.files = [
19
- ".document",
20
- ".rspec",
21
- "Gemfile",
22
- "Gemfile.lock",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION",
26
- "examples/0004_retry_one_layer.rb",
27
- "examples/0004_retry_one_layer.sh",
28
- "examples/0005_retry_two_layer.rb",
29
- "examples/0005_retry_two_layer.sh",
30
- "examples/0006_retry_three_layer.rb",
31
- "examples/0006_retry_three_layer.sh",
32
- "examples/0007_simple_jobnet.rb",
33
- "examples/0021_dynamic_env.rb",
34
- "examples/VERSION",
35
- "examples/tengine_job_test.sh",
36
- "lib/tengine/job.rb",
37
- "lib/tengine/job/category.rb",
38
- "lib/tengine/job/connectable.rb",
39
- "lib/tengine/job/drivers/job_control_driver.rb",
40
- "lib/tengine/job/drivers/job_execution_driver.rb",
41
- "lib/tengine/job/drivers/jobnet_control_driver.rb",
42
- "lib/tengine/job/drivers/schedule_driver.rb",
43
- "lib/tengine/job/dsl_binder.rb",
44
- "lib/tengine/job/dsl_evaluator.rb",
45
- "lib/tengine/job/dsl_loader.rb",
46
- "lib/tengine/job/edge.rb",
47
- "lib/tengine/job/element_selector_notation.rb",
48
- "lib/tengine/job/end.rb",
49
- "lib/tengine/job/executable.rb",
50
- "lib/tengine/job/execution.rb",
51
- "lib/tengine/job/expansion.rb",
52
- "lib/tengine/job/fork.rb",
53
- "lib/tengine/job/job.rb",
54
- "lib/tengine/job/jobnet.rb",
55
- "lib/tengine/job/jobnet/builder.rb",
56
- "lib/tengine/job/jobnet/job_state_transition.rb",
57
- "lib/tengine/job/jobnet/jobnet_state_transition.rb",
58
- "lib/tengine/job/jobnet/state_transition.rb",
59
- "lib/tengine/job/jobnet_actual.rb",
60
- "lib/tengine/job/jobnet_template.rb",
61
- "lib/tengine/job/join.rb",
62
- "lib/tengine/job/junction.rb",
63
- "lib/tengine/job/killing.rb",
64
- "lib/tengine/job/mm_compatibility.rb",
65
- "lib/tengine/job/mm_compatibility/connectable.rb",
66
- "lib/tengine/job/name_path.rb",
67
- "lib/tengine/job/root.rb",
68
- "lib/tengine/job/root_jobnet_actual.rb",
69
- "lib/tengine/job/root_jobnet_template.rb",
70
- "lib/tengine/job/script_executable.rb",
71
- "lib/tengine/job/signal.rb",
72
- "lib/tengine/job/start.rb",
73
- "lib/tengine/job/stoppable.rb",
74
- "lib/tengine/job/vertex.rb",
75
- "lib/tengine_job.rb",
76
- "spec/fixtures/rjn_0001_simple_jobnet_builder.rb",
77
- "spec/fixtures/rjn_0002_simple_parallel_jobnet_builder.rb",
78
- "spec/fixtures/rjn_0003_fork_join_jobnet_builder.rb",
79
- "spec/fixtures/rjn_0004_parallel_jobnet_with_finally_fixture.rb",
80
- "spec/fixtures/rjn_0005_retry_two_layer_fixture.rb",
81
- "spec/fixtures/rjn_0008_expansion_fixture.rb",
82
- "spec/fixtures/rjn_0009_tree_sequential_jobnet_builder.rb",
83
- "spec/fixtures/rjn_0010_2jobs_and_1job_parallel_jobnet_builder.rb",
84
- "spec/fixtures/rjn_0011_nested_fork_jobnet_builder.rb",
85
- "spec/fixtures/rjn_0012_nested_and_finally_builder.rb",
86
- "spec/fixtures/rjn_1004_hadoop_job_in_jobnet_fixture.rb",
87
- "spec/fixtures/rjn_means_root_jobnet",
88
- "spec/fixtures/test_credential_fixture.rb",
89
- "spec/fixtures/test_server_fixture.rb",
90
- "spec/mongoid.yml",
91
- "spec/spec_helper.rb",
92
- "spec/sshd/.gitignore",
93
- "spec/sshd/id_rsa",
94
- "spec/sshd/id_rsa.pub",
95
- "spec/sshd/ssh_host_rsa_key",
96
- "spec/sshd/ssh_host_rsa_key.pub",
97
- "spec/sshd/sshd_config",
98
- "spec/sshd/sshd_config.erb",
99
- "spec/sshd/tengine_job_test.sh",
100
- "spec/support/jobnet_fixture_builder.rb",
101
- "spec/support/mongo_index_key_log.rb",
102
- "spec/tengine/job/category_spec.rb",
103
- "spec/tengine/job/connectable_spec.rb",
104
- "spec/tengine/job/drivers/job_controll_driver/connection_error_spec.rb",
105
- "spec/tengine/job/drivers/job_controll_driver/duplicated_job_start_spec.rb",
106
- "spec/tengine/job/drivers/job_controll_driver/expansion_spec.rb",
107
- "spec/tengine/job/drivers/job_controll_driver/stop_spec.rb",
108
- "spec/tengine/job/drivers/job_controll_driver_spec.rb",
109
- "spec/tengine/job/drivers/job_execution_driver_spec.rb",
110
- "spec/tengine/job/drivers/jobnet_control_driver/nested_and_finally_spec.rb",
111
- "spec/tengine/job/drivers/jobnet_control_driver/nested_jobnet_spec.rb",
112
- "spec/tengine/job/drivers/jobnet_control_driver/stop_jobnet_spec.rb",
113
- "spec/tengine/job/drivers/jobnet_control_driver_spec.rb",
114
- "spec/tengine/job/drivers/schedule_driver_spec.rb",
115
- "spec/tengine/job/dsl_binder_spec.rb",
116
- "spec/tengine/job/dsl_loader_spec.rb",
117
- "spec/tengine/job/dsls/0013_hadoop_job_run.rb",
118
- "spec/tengine/job/dsls/0014_join_and_join.rb",
119
- "spec/tengine/job/dsls/0015_fork_and_fork.rb",
120
- "spec/tengine/job/dsls/0016_complex_fork_and_join.rb",
121
- "spec/tengine/job/dsls/0017_finally.rb",
122
- "spec/tengine/job/dsls/0018_expansion.rb",
123
- "spec/tengine/job/dsls/0019_execute_job_on_event.rb",
124
- "spec/tengine/job/dsls/0020_duplicated_jobnet_name.rb",
125
- "spec/tengine/job/dsls/0021_caption.rb",
126
- "spec/tengine/job/dsls/1060_test_dir1/1060_test_dir2/0013_hadoop_job_run.rb",
127
- "spec/tengine/job/dsls/2003_expansion/expansion_5.rb",
128
- "spec/tengine/job/dsls/VERSION",
129
- "spec/tengine/job/dynamic_env_spec.rb",
130
- "spec/tengine/job/edge_spec.rb",
131
- "spec/tengine/job/element_selector_notation_spec.rb",
132
- "spec/tengine/job/examples_spec.rb",
133
- "spec/tengine/job/execution_spec.rb",
134
- "spec/tengine/job/expansion_spec.rb",
135
- "spec/tengine/job/hadoop_job_run_spec.rb",
136
- "spec/tengine/job/job_spec.rb",
137
- "spec/tengine/job/jobnet/1015_complecated_jobnet_spec.rb",
138
- "spec/tengine/job/jobnet_actual_spec.rb",
139
- "spec/tengine/job/jobnet_spec.rb",
140
- "spec/tengine/job/jobnet_template_spec.rb",
141
- "spec/tengine/job/killing_spec.rb",
142
- "spec/tengine/job/reset_spec.rb",
143
- "spec/tengine/job/reset_spec/4056_1_dump.txt",
144
- "spec/tengine/job/root_jobnet_actual_spec.rb",
145
- "spec/tengine/job/root_jobnet_template_spec.rb",
146
- "spec/tengine/job/script_executable_spec.rb",
147
- "spec/tengine/job/stoppable_spec.rb",
148
- "spec/tengine/job/vertex_spec.rb",
149
- "spec/tengine_job_spec.rb",
150
- "tengine_job.gemspec",
151
- "tmp/log/.gitignore"
152
- ]
153
- s.homepage = "http://github.com/tengine/tengine_job"
154
- s.licenses = ["MPL2.0/LGPLv3"]
155
- s.require_paths = ["lib"]
156
- s.rubygems_version = "1.8.12"
157
- s.summary = "tengine_job provides jobnet management"
158
-
159
- if s.respond_to? :specification_version then
160
- s.specification_version = 3
161
-
162
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
163
- s.add_runtime_dependency(%q<tengine_support>, ["~> 0.3.27"])
164
- s.add_runtime_dependency(%q<tengine_core>, ["~> 0.5.39"])
165
- s.add_runtime_dependency(%q<tengine_resource>, ["~> 0.5.15"])
166
- s.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
167
- s.add_development_dependency(%q<factory_girl>, ["~> 2.1.2"])
168
- s.add_development_dependency(%q<yard>, ["~> 0.7.2"])
169
- s.add_development_dependency(%q<bundler>, ["~> 1.1.3"])
170
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
171
- s.add_development_dependency(%q<simplecov>, ["~> 0.5.3"])
172
- s.add_development_dependency(%q<ZenTest>, ["~> 4.6.2"])
173
- else
174
- s.add_dependency(%q<tengine_support>, ["~> 0.3.27"])
175
- s.add_dependency(%q<tengine_core>, ["~> 0.5.39"])
176
- s.add_dependency(%q<tengine_resource>, ["~> 0.5.15"])
177
- s.add_dependency(%q<rspec>, ["~> 2.6.0"])
178
- s.add_dependency(%q<factory_girl>, ["~> 2.1.2"])
179
- s.add_dependency(%q<yard>, ["~> 0.7.2"])
180
- s.add_dependency(%q<bundler>, ["~> 1.1.3"])
181
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
182
- s.add_dependency(%q<simplecov>, ["~> 0.5.3"])
183
- s.add_dependency(%q<ZenTest>, ["~> 4.6.2"])
184
- end
185
- else
186
- s.add_dependency(%q<tengine_support>, ["~> 0.3.27"])
187
- s.add_dependency(%q<tengine_core>, ["~> 0.5.39"])
188
- s.add_dependency(%q<tengine_resource>, ["~> 0.5.15"])
189
- s.add_dependency(%q<rspec>, ["~> 2.6.0"])
190
- s.add_dependency(%q<factory_girl>, ["~> 2.1.2"])
191
- s.add_dependency(%q<yard>, ["~> 0.7.2"])
192
- s.add_dependency(%q<bundler>, ["~> 1.1.3"])
193
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
194
- s.add_dependency(%q<simplecov>, ["~> 0.5.3"])
195
- s.add_dependency(%q<ZenTest>, ["~> 4.6.2"])
196
- end
197
- end
198
-
data/tmp/log/.gitignore DELETED
@@ -1 +0,0 @@
1
- /*.log