twimage 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/twimage/version.rb +1 -1
- data/lib/twimage.rb +3 -6
- metadata +1 -1
data/lib/twimage/version.rb
CHANGED
data/lib/twimage.rb
CHANGED
@@ -3,13 +3,10 @@ require 'open-uri'
|
|
3
3
|
require 'httparty'
|
4
4
|
require 'tempfile'
|
5
5
|
|
6
|
-
$:.unshift(File.dirname(__FILE__)) unless
|
7
|
-
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
|
6
|
+
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
|
8
7
|
|
9
8
|
require 'twimage/base'
|
10
|
-
|
11
|
-
require 'twimage/yfrog'
|
12
|
-
require 'twimage/version'
|
9
|
+
Dir.glob('./twimage/*').each { |r| require r }
|
13
10
|
|
14
11
|
module Twimage
|
15
12
|
|
@@ -19,4 +16,4 @@ module Twimage
|
|
19
16
|
|
20
17
|
end
|
21
18
|
|
22
|
-
|
19
|
+
puts Twimage::Yfrog.new('http://yfrog.com/hsjdhxqj').inspect
|