Skip to content

Commit

Permalink
Version bump to 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bleigh committed Mar 20, 2009
1 parent a55ea9a commit 7b764bb
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
15 changes: 15 additions & 0 deletions Rakefile
Expand Up @@ -9,3 +9,18 @@ Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
t.spec_files = FileList['spec/**/*_spec.rb']
end

begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "the-perfect-gem"
s.summary = "TODO"
s.email = "josh@technicalpickles.com"
s.homepage = "http://github.com/technicalpickles/the-perfect-gem"
s.description = "TODO"
s.authors = ["Josh Nichols"]
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

2 changes: 1 addition & 1 deletion VERSION.yml
@@ -1,4 +1,4 @@
---
:minor: 0
:minor: 1
:patch: 0
:major: 0
6 changes: 5 additions & 1 deletion spec/twitter_auth/dispatcher/basic_spec.rb
Expand Up @@ -52,7 +52,11 @@
%w(get post delete put).each do |method|
it "should have a ##{method} method that calls request(:#{method})" do
dispatcher = TwitterAuth::Dispatcher::Basic.new(@user)
dispatcher.should_receive(:request).with(method.to_sym, '/fake.json')
if %w(get delete).include?(method)
dispatcher.should_receive(:request).with(method.to_sym, '/fake.json')
else
dispatcher.should_receive(:request).with(method.to_sym, '/fake.json', '')
end
dispatcher.send(method, '/fake.json')
end
end
Expand Down

0 comments on commit 7b764bb

Please sign in to comment.