Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit 2dddf0d

Browse files
committed
closes #4 and fixes Application policy problem
1 parent 8260b84 commit 2dddf0d

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

lib/hyper-operation/transport/hyperloop.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def self.reset_operations
2828
application = begin
2929
Object.const_get('Application')
3030
rescue LoadError
31-
rescue NameError
31+
rescue NameError => e
3232
raise e unless e.message =~ /uninitialized constant Application/
3333
end if policy
3434
if policy && !application

spec/test_app/config/initializers/synchromesh.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@
99
# config.channel_prefix = "synchromesh"
1010
# config.opts = {app_id: Pusher.app_id, key: Pusher.key, secret: Pusher.secret}.merge(PusherFake.configuration.web_options)
1111
# end
12+
13+
Hyperloop.configuration do |config|
14+
config.transport = :simple_poller
15+
end

spec/test_app/test_db_name

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)