Commit Graph

12 Commits

Author SHA1 Message Date
Robert Bavey 88977bea7c Add tests to ensure File.expand_path is used to calculate relative paths 2015-08-31 17:08:49 -04:00
Robert Bavey c549d701d5 Merge commit 'refs/pull/129/head' of https://github.com/colinsurprenant/redstorm
Conflicts:
	Gemfile.lock
	lib/red_storm/dsl/bolt.rb
	lib/red_storm/dsl/spout.rb
	redstorm.gemspec
2015-08-27 14:49:57 -04:00
Keith Walters db8547ebd6 Output fields in ruby classes are declared in java
Fixes an issue where outfields that are defined in the Spout or Bolt are
not recognized by the Nimbus server when it validates the existence of
streams for all bolts in the topology.
2015-04-16 21:16:33 +00:00
R. Tyler Croy fec511c1e9 Merge remote-tracking branch 'colinsurprenant/pr/115'
Merging in colinsurprenant/redstorm#115

Conflicts:
	.gitignore
	lib/red_storm/dsl/bolt.rb
	lib/red_storm/dsl/spout.rb
2015-03-17 10:28:50 -07:00
Keith Walters dbf7888bb7 New test/specs for bolt stream support 2015-03-10 21:40:38 +00:00
Keith Walters 54e43e39dc Select stream when setting source for bolt 2015-03-03 22:47:37 +00:00
Ian Smith 5d7debdf16 This allows for on_* to be defined by defining the corresponding instance method
directly.  Prior to this fix, doing this will result in "SystemStackError: stack
level too deep".

Example
module RedStorm
  module Examples
    class SplitSentenceBolt < DSL::Bolt
      def on_receive(tuple)
        tuple[0].split(' ').map{|w| [w]}
      end
    end
  end
end
2014-11-02 09:08:04 -08:00
Ariel S. Valentin 03de5d3456 Conforming to SLF4J named hierarchy in loggers 2014-07-28 10:23:10 -04:00
Ariel S. Valentin d847f2ca77 Using SLF4J instead of Log4J 2014-07-28 10:23:00 -04:00
Colin Surprenant 36a74844f7 bolt spec changes with new collector interface 2013-07-29 15:31:55 -04:00
Colin Surprenant bcfc5d2b5b replaced instance_exec with define_method 2013-06-29 19:09:05 -04:00
Colin Surprenant 3d717383e9 issue #84 - remove simple from DSL classes and add DSL namespace 2013-06-14 01:37:09 -04:00