Gemfile in message-driver-0.4.0 vs Gemfile in message-driver-0.5.0

- old
+ new

@@ -5,41 +5,50 @@ platform :rbx do gem 'rubysl' end +gem 'rubocop', platform: [:ruby_20, :ruby_21] + group :tools do - gem 'guard' - gem 'guard-bundler' - gem 'guard-rspec' - gem 'guard-cucumber' - gem 'guard-rubocop' + gem 'guard', platform: [:mri_20, :mri_21] + gem 'guard-bundler', platform: [:mri_20, :mri_21] + gem 'guard-rspec', platform: [:mri_20, :mri_21] + gem 'guard-cucumber', platform: [:mri_20, :mri_21] + gem 'guard-rubocop', platform: [:mri_20, :mri_21] gem 'pry' gem 'pry-byebug', platform: [:mri_20, :mri_21] + gem 'pry-stack_explorer', platform: [:ruby_20, :ruby_21] group :darwin do gem 'ruby_gntp' gem 'rb-fsevent' gem 'relish' gem 'lunchy' end gem 'yard' gem 'redcarpet' gem 'launchy' -end if RUBY_VERSION >= '1.9.3' +end require File.expand_path('../test_lib/broker_config', __FILE__) adapter = BrokerConfig.current_adapter.to_s version = BrokerConfig.adapter_version +provider = BrokerConfig.provider case adapter when 'in_memory' else case version when nil gem adapter else gem adapter.to_s, "~> #{version}" end +end + +case provider +when :rabbitmq + gem 'rabbitmq_http_api_client', '> 1.3.0', github: 'soupmatt/rabbitmq_http_api_client', branch: :master end gem 'coveralls', require: false