Skip to content

Commit

Permalink
Pin njh/ruby-mqtt 0.5.0
Browse files Browse the repository at this point in the history
This commit changes the ruby-mqtt dependency to be pinned to the 0.5.0
version instead of a branched version. An exact pin was used to guard
against potential breaking changes in a newer version of the upstream
project (specifically around client connection handling). The previous
branched version included a change which avoids frequent hangs when
running under JRuby -- see njh/ruby-mqtt#104.
By reverting to the upstream release, the JRuby hangs would be
reintroduced for now.
  • Loading branch information
jbarlow-mcafee committed Oct 18, 2018
1 parent d74ba78 commit d4eec63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
source 'https://rubygems.org'

gem 'mqtt', :git => 'https://github.com/camlow325/ruby-mqtt.git', :branch => 'dxl-changes'

gemspec
2 changes: 1 addition & 1 deletion dxlclient.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Gem::Specification.new do |s|
s.files = Dir['lib/**/*.rb']

s.add_runtime_dependency 'iniparse', '~> 1.4.4'
s.add_runtime_dependency 'mqtt'
s.add_runtime_dependency 'mqtt', '0.5.0'
s.add_runtime_dependency 'msgpack', '~> 1.2.2'

s.add_development_dependency 'rspec'
Expand Down

0 comments on commit d4eec63

Please sign in to comment.