Skip to content

Commit

Permalink
removed ugly World.include(Rufus::Verbs) (shame on me)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmettraux committed Jan 24, 2010
1 parent 73a47bc commit f5bd3c5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Expand Up @@ -4,6 +4,7 @@

== rufus-rtm - 0.1.3 not yet released

- removed ugly World.include(Rufus::Verbs) (shame on me)
- ruby 1.9.x friendly
- removed evil "require 'rubygems'" from rufus/rtm/base.rb
- can now pass rtm key and secret via method params (Giorgio's request)
Expand Down
4 changes: 4 additions & 0 deletions TODO.txt
@@ -0,0 +1,4 @@

[ ] use rufus-json
[ ] use rufus-jig (patron, ...)

5 changes: 1 addition & 4 deletions lib/rufus/rtm/base.rb
Expand Up @@ -44,9 +44,6 @@ def md5 (s)
end


include Rufus::Verbs


module Rufus
module RTM

Expand Down Expand Up @@ -95,7 +92,7 @@ def self.milk (params={}) #:nodoc:

sign(ps, secret)

res = get(endpoint, :query => ps)
res = Rufus::Verbs.get(endpoint, :query => ps)

JSON.parse(res.body)['rsp']
end
Expand Down

0 comments on commit f5bd3c5

Please sign in to comment.