spec/fixtures/config_ints.rb in rflow-0.0.5 vs spec/fixtures/config_ints.rb in rflow-1.0.0a1

- old
+ new

@@ -5,22 +5,22 @@ # levels, and component specific stuffs config.setting('rflow.log_level', 'DEBUG') config.setting('rflow.application_directory_path', '../tmp') config.setting('rflow.application_name', 'testapp') - + # Add schemas to the list of available. Not convinced this is necessary # config.schema('schemaname', 'schematype', 'schemadata') # Instantiate components # config.component 'generate_ints1', 'RFlow::Components::GenerateIntegerSequence', 'start' => 0, 'finish' => 10, 'step' => 3, 'interval_seconds' => 1 # config.component 'generate_ints2', 'RFlow::Components::GenerateIntegerSequence', 'start' => 20, 'finish' => 30 # config.component 'filter', 'RFlow::Components::RubyProcFilter', 'filter_proc_string' => 'lambda {|message| true}' # config.component 'replicate', 'RFlow::Components::Replicate' # config.component 'output1', 'RFlow::Components::FileOutput', 'output_file_path' => '/tmp/crap1' # config.component 'output2', 'RFlow::Components::FileOutput', 'output_file_path' => '/tmp/crap2' - + # Hook components together # config.connect 'generate_ints#out' => 'filter#in' # config.connect 'filter#filtered' => 'replicate#in' # config.connect 'replicate#out[0]' => 'simple#in' # config.connect 'replicate#out[one]' => 'complex#in' @@ -48,13 +48,13 @@ config.connect 'generate_ints#even_odd_out[even]' => 'output_even#in' config.connect 'generate_ints#even_odd_out[odd]' => 'output_odd#in' config.connect 'generate_ints#even_odd_out' => 'output_even_odd#in' - + config.component 'generate_ints2', 'RFlow::Components::GenerateIntegerSequence', 'start' => 20, 'finish' => 30 config.component 'output_even_odd2', 'RFlow::Components::FileOutput', 'output_file_path' => '../tmp/out_even_odd2' - + config.connect 'generate_ints2#even_odd_out' => 'output_even_odd2#in' end