app/volt/models/active_volt_instance.rb in volt-0.9.6 vs app/volt/models/active_volt_instance.rb in volt-0.9.7.pre2
- old
+ new
@@ -1,6 +1,8 @@
-class ActiveVoltInstance < Volt::Model
- field :server_id, String
- field :ips, String
- field :port, Fixnum
- field :time#, Time
-end
\ No newline at end of file
+unless ENV['NO_MESSAGE_BUS']
+ class ActiveVoltInstance < Volt::Model
+ field :server_id, String
+ field :ips, String
+ field :port, Fixnum
+ field :time#, Time
+ end
+end