Skip to content

Commit 84a2878

Browse files
committed
Move to bundler/inline
1 parent ed4941d commit 84a2878

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

workers/event_catcher/Gemfile

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1-
require "manageiq-messaging"
2-
require "sd_notify"
3-
require "rbvmomi2"
4-
require "json"
1+
#!/usr/bin/env ruby
2+
3+
require "bundler/inline"
4+
5+
gemfile do
6+
source "https://rubygems.org"
7+
8+
gem "manageiq-messaging", "~> 1.0"
9+
gem "rbvmomi2", "~> 3.3"
10+
gem "sd_notify"
11+
gem "json"
12+
end
513

614
class EventCatcher
715
def initialize(ems_id, default_endpoint, default_authentication, messaging, page_size = 20)
@@ -51,7 +59,7 @@ def connect
5159
:ssl => true,
5260
:insecure => default_endpoint["verify_ssl"] == OpenSSL::SSL::VERIFY_NONE,
5361
:path => '/sdk',
54-
:port => default_endpoint["port"],
62+
:port => default_endpoint["port"] || 443,
5563
:rev => '7.0',
5664
}
5765

0 commit comments

Comments
 (0)