redstorm 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md CHANGED
@@ -0,0 +1,5 @@
1
+ # 0.1.0, 11-07-2011
2
+ - initial release
3
+
4
+ # 0.1.1, 11-10-2011
5
+ - issue #1 cannot find redstorm gem when using rbenv
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # RedStorm v0.1.0 - JRuby on Storm
1
+ # RedStorm v0.1.1 - JRuby on Storm
2
2
 
3
3
  RedStorm provides the JRuby integration for the [Storm][storm] distributed realtime computation system.
4
4
 
data/Rakefile CHANGED
@@ -26,7 +26,9 @@ DST_EXAMPLES = "#{CWD}/examples"
26
26
  task :default => [:clean, :build]
27
27
 
28
28
  task :launch, :class_file do |t, args|
29
- system("java -cp \"#{TARGET_CLASSES_DIR}:#{TARGET_DEPENDENCY_DIR}/*\" redstorm.TopologyLauncher #{args[:class_file]}")
29
+ gem_home = ENV["GEM_HOME"].to_s.empty? ? " -Djruby.gem.home=`gem env home`" : ""
30
+ puts("launching java -cp \"#{TARGET_CLASSES_DIR}:#{TARGET_DEPENDENCY_DIR}/*\"#{gem_home} redstorm.TopologyLauncher #{args[:class_file]}")
31
+ system("java -cp \"#{TARGET_CLASSES_DIR}:#{TARGET_DEPENDENCY_DIR}/*\"#{gem_home} redstorm.TopologyLauncher #{args[:class_file]}")
30
32
  end
31
33
 
32
34
  task :clean do
@@ -10,7 +10,6 @@ rescue LoadError
10
10
  require 'red_storm/version'
11
11
  end
12
12
 
13
-
14
13
  java_import 'backtype.storm.Config'
15
14
  java_import 'backtype.storm.LocalCluster'
16
15
  java_import 'backtype.storm.StormSubmitter'
@@ -36,7 +35,7 @@ class TopologyLauncher
36
35
  end
37
36
  class_path = args[0]
38
37
  clazz = camel_case(class_path.split('/').last.split('.').first)
39
- puts("redstorm v#{RedStorm::VERSION} launching #{clazz}")
38
+ puts("RedStorm v#{RedStorm::VERSION} starting topology #{clazz}")
40
39
  require class_path
41
40
  Object.module_eval(clazz).new.start(class_path)
42
41
  end
@@ -1,3 +1,3 @@
1
1
  module RedStorm
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
data/pom.xml CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  <groupId>redstorm</groupId>
6
6
  <artifactId>redstorm</artifactId>
7
- <version>0.1.0</version>
7
+ <version>0.1.1</version>
8
8
  <name>RedStorm JRuby on Storm</name>
9
9
 
10
10
  <properties>
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: redstorm
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Colin Surprenant
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-11-07 00:00:00 Z
13
+ date: 2011-11-10 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rubyforge