From 8f6ce63059059b4d8ee9d240c6d0f8eaa25e39a1 Mon Sep 17 00:00:00 2001 From: Ian Cooper Date: Thu, 23 Apr 2015 14:01:44 -0700 Subject: [PATCH] Removes typhoeus version lock, fixes a "broken" test. --- mixpanel_client.gemspec | 2 +- spec/mixpanel_client/mixpanel_client_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mixpanel_client.gemspec b/mixpanel_client.gemspec index 39cc6e2..1202c5f 100644 --- a/mixpanel_client.gemspec +++ b/mixpanel_client.gemspec @@ -19,7 +19,7 @@ Gem::Specification.new do |s| s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ['lib'] - s.add_runtime_dependency('typhoeus', '~> 0.6.7') + s.add_runtime_dependency('typhoeus') s.add_development_dependency('bundler', '>=1.5.3') s.add_development_dependency('rake', '>=10.1.1') s.add_development_dependency('rdoc', '>=4.1.1') diff --git a/spec/mixpanel_client/mixpanel_client_spec.rb b/spec/mixpanel_client/mixpanel_client_spec.rb index 3ecf280..f45e48b 100644 --- a/spec/mixpanel_client/mixpanel_client_spec.rb +++ b/spec/mixpanel_client/mixpanel_client_spec.rb @@ -168,7 +168,7 @@ specify 'Mixpanel::URI instance should receive the custom expiry time in the options[:expiry] instead of 600s' do - Mixpanel::URI.should_receive(:mixpanel).with do |*args| + Mixpanel::URI.should_receive(:mixpanel) do |*args| args.pop[:expire].should eq expiry.to_i true end.and_return(fake_url)