Commit Graph

454 Commits

Author SHA1 Message Date
R. Tyler Croy c45337add1 Add common RSpec code
Fixes #5
2014-11-15 09:27:07 -08:00
R. Tyler Croy cd84b7f370 Ensure we're properly generating the generated/java directory before attempting compile JRuby code
Fixes #6
2014-11-15 09:24:51 -08:00
R. Tyler Croy 3833e56126 Refactor and document build.gradle so fellow Ruby-ists can follow it more easily 2014-11-02 09:29:45 -08: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
Ian Smith cf723b2136 rescue DEFAULT_STORM_CONF_FILE = File.expand_path('~/.storm/storm.yaml') so we can use redstorm in environments that don't have HOME set. 2014-11-02 09:07:49 -08:00
R. Tyler Croy 9695a0bbb9 Remove the not-up-to-date readme docs 2014-11-01 20:39:26 -07:00
R. Tyler Croy a4e3bc6479 Dump exceptions that occur when loading a topology to stdout in the topology launcher
Fixes #3
2014-11-01 18:01:53 -07:00
R. Tyler Croy 106194fe6f Remove some redundant files that no longer make sense in the jruby-gradle world 2014-11-01 18:01:22 -07:00
R. Tyler Croy 5739610d91 Add the bintray plugin for releasing to bintray 2014-10-22 09:59:42 -07:00
R. Tyler Croy e62fe44a25 Avoid using Pathname to compute relative paths and instead rely on a fully expanded path
This will allow this code to work whether it's executing in a jar context or a
.rb file on the filesystem
2014-10-21 15:50:38 -07:00
R. Tyler Croy a56c54ef6b Target JDK7 for compatibility 2014-10-21 15:49:18 -07:00
R. Tyler Croy e41af0af09 Add a simple set of good rspec settings 2014-10-20 15:25:50 -07:00
R. Tyler Croy a3f4a6bb00 Add a simple `spec` task for running RSpecs (largely failing) from Gradle 2014-10-20 14:43:58 -07:00
R. Tyler Croy f61c511c19 Merge pull request #1 from jruby-gradle/jarjar
Jarjar
2014-10-20 14:25:19 -07:00
R. Tyler Croy 41cb426076 Update the build.gradle to create a re-usable .jar file with redstorm Java and Ruby code 2014-10-20 14:18:55 -07:00
R. Tyler Croy b8bff11852 Add gradle wrappers 2014-10-20 13:53:27 -07:00
Colin Surprenant cbb62efc52 Merge pull request #117 from arielvalentin/issues-109
adding arbitrary resources to target/classes instead of just the jar
2014-07-30 02:33:11 -04:00
Colin Surprenant 5a2439d01a Merge pull request #116 from arielvalentin/issue-108
Removing signature files from dependent jars
2014-07-30 02:28:47 -04:00
Colin Surprenant 07a780c918 Merge pull request #119 from arielvalentin/integration_testing_improvements
[jhottenstein] Changes to get the integration tests running
2014-07-29 14:54:15 -04:00
Jess Hottenstein ceef935178 [jhottenstein] Changes to get the integration tests running
* Added documentation
* Added REDSTORM_COMMAND environment variable for run_all.sh
* Reverted to non EOL ubuntu version
2014-07-29 13:43:16 -04:00
Mark and Ariel 65e5d19c55 adding arbitrary resources to target/classes instead of just the jar 2014-07-28 15:06:02 -04:00
Jess and Mark abc7303a88 [jess & mark] Removing signature files from dependent jars 2014-07-28 10:34:57 -04:00
Colin Surprenant 3f711edc96 Merge pull request #104 from lookout/submit_options
Expose SubmitOptions via a submit_options block (analogous to configure, etc)
2014-07-19 19:22:28 -04:00
Colin Surprenant e6941b6898 Merge pull request #103 from lookout/output_collector
OutputCollector patch
2014-07-19 18:58:01 -04:00
Ian Smith 00c42f5c14 OutputCollector patch 2014-07-15 13:42:56 -07:00
Ian Smith 9de8991f31 Expose SubmitOptions via a submit_options block (analogous to configure, etc). 2014-07-15 13:13:40 -07:00
Colin Surprenant af79df05fa Merge pull request #101 from jakekdodd/master
Update KafkaTopology example and the example documentation
2014-06-28 06:49:14 -04:00
jakekdodd a785c471d9 remove KafkaTopology-specific dependencies
Accidentally included the KafkaTopology deps in the main topology_dependencies.xml file
2014-06-19 12:18:47 -07:00
Jake Dodd a27f21c397 updated Kafka Topology dependencies, the kafka_toplogy.rb example, the main README, and created a new README for examples 2014-06-19 12:10:36 -07:00
Colin Surprenant 5546b71fec update docs 2014-03-02 20:48:46 -05:00
Colin Surprenant 58446fce9d add drpc, use env, updated version for Storm 2014-03-02 20:31:25 -05:00
Colin Surprenant e4b26bca1e updated storm cookbook 2014-03-02 20:30:33 -05:00
Colin Surprenant b7e0c53732 trident example 2014-03-02 19:44:14 -05:00
Colin Surprenant ddb49f4f90 renamed JRubyProxyFunction to JRubyTridentFunction 2014-03-02 19:43:10 -05:00
Colin Surprenant b67c445456 fixed specs for java proxy class name 2014-03-02 04:42:39 -05:00
Colin Surprenant 1fac3b51df updated dependencies, jruby 1.7.11 and storm 0.9.1-incubating 2014-03-02 04:33:30 -05:00
Colin Surprenant ba19200e6b removed remaining ruby proxy classes, java proxies now use JRuby API directly 2014-03-02 03:04:01 -05:00
Colin Surprenant 36a74844f7 bolt spec changes with new collector interface 2013-07-29 15:31:55 -04:00
Colin Surprenant 3ab50925e9 bumped version 2013-07-29 15:27:15 -04:00
Colin Surprenant 498b16b2fe removed ruby bolt proxy class, JRubyBolt uses JRuby API directly, output collector optimization 2013-07-29 15:26:45 -04:00
Colin Surprenant 5147578e46 removed duplicated code 2013-07-29 15:21:58 -04:00
Colin Surprenant 273122d0ee cleaned up test topologies 2013-07-29 15:18:36 -04:00
Colin Surprenant fecfba95b8 cleaned up examples 2013-07-29 15:07:58 -04:00
Colin Surprenant 78372b569a added gemspec license 2013-07-25 16:21:41 -04:00
Colin Surprenant 7de12094b0 coverage badge 2013-07-25 16:08:10 -04:00
Colin Surprenant adc93341ef ignore coverage data 2013-07-25 16:04:08 -04:00
Colin Surprenant 04ccfd8edd badges 2013-07-25 16:00:12 -04:00
Colin Surprenant 42e9357156 bumped travis jruby to 1.7.4 2013-07-25 15:39:07 -04:00
Colin Surprenant ab6e0b0eb5 added coveralls 2013-07-25 15:20:23 -04:00
Colin Surprenant 4d7bf4879f bump to v0.6.6 2013-07-25 13:42:25 -04:00