Skip to content

Commit

Permalink
More explicit about dependency versions in gemspec and when requiring.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed Apr 15, 2009
1 parent b9fcb86 commit 5ce3eeb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
4 changes: 4 additions & 0 deletions History
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0.6.4 - April 14, 2009
* 1 minor tweak
* More explicit about dependency versions in gemspec and when requiring.

0.6.3 - April 14, 2009
* 1 minor addition
* Added Twitter.user method to get user's information without authenticating
Expand Down
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ begin
gem.rubyforge_project = "twitter"
gem.files = FileList["[A-Z]*", "{examples,lib,test}/**/*"]

gem.add_dependency('oauth')
gem.add_dependency('mash')
gem.add_dependency('httparty', '>= 0.4.2')
gem.add_dependency('oauth', '0.3.2')
gem.add_dependency('mash', '0.0.3')
gem.add_dependency('httparty', '0.4.2')

gem.add_development_dependency('thoughtbot-shoulda')
gem.add_development_dependency('jeremymcanally-matchy')
Expand Down
12 changes: 8 additions & 4 deletions lib/twitter.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
require 'forwardable'
require 'rubygems'

%w(oauth mash httparty).each do |lib|
gem lib
require lib
end
gem 'oauth', '0.3.2'
require 'oauth'

gem 'mash', '0.0.3'
require 'mash'

gem 'httparty', '0.4.2'
require 'httparty'

module Twitter
class TwitterError < StandardError
Expand Down

0 comments on commit 5ce3eeb

Please sign in to comment.