Browse files

Fix order of imports.

  • Loading branch information...
1 parent afbee05 commit 3dc9895c521e3634d80a9badaea46e36e2b6f078 @azymnis committed May 25, 2012
Showing with 4 additions and 8 deletions.
  1. +4 −5 src/rb/storm_thrift/lib/storm_thrift.rb
  2. +0 −3 src/rb/storm_thrift/storm_thrift.gemspec
View
9 src/rb/storm_thrift/lib/storm_thrift.rb
@@ -1,10 +1,9 @@
-module StormThrift
-end
+$:.push(File.expand_path("../gen-rb", __FILE__))
require 'thrift'
## START THRIFT REQUIRE STATEMENTS ##
-require 'gen-rb/nimbus'
-require 'gen-rb/distributed_r_p_c'
-require 'gen-rb/distributed_r_p_c_invocations'
+require 'nimbus'
+require 'distributed_r_p_c'
+require 'distributed_r_p_c_invocations'
## END THRIFT REQUIRE STATEMENTS ##
View
3 src/rb/storm_thrift/storm_thrift.gemspec
@@ -1,7 +1,4 @@
# -*- encoding: utf-8 -*-
-$:.push File.expand_path("../lib", __FILE__)
-require "storm_thrift/version"
-
Gem::Specification.new do |s|
s.name = "storm_thrift"
s.version = "0.0.1"

0 comments on commit 3dc9895

Please sign in to comment.