twimage 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/twimage/version.rb +1 -1
  2. data/lib/twimage.rb +8 -2
  3. metadata +1 -1
@@ -1,3 +1,3 @@
1
1
  module Twimage
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/twimage.rb CHANGED
@@ -2,8 +2,14 @@ require 'nokogiri'
2
2
  require 'open-uri'
3
3
  require 'httparty'
4
4
  require 'tempfile'
5
- require_relative './twimage/base'
6
- Dir.glob('./twimage/*').each { |f| require_relative f }
5
+
6
+ $:.unshift(File.dirname(__FILE__)) unless
7
+ $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
8
+
9
+ require 'twimage/base'
10
+ require 'twimage/twitpic'
11
+ require 'twimage/version'
12
+ #Dir.glob('./twimage/*').each { |f| require_relative f }
7
13
 
8
14
  module Twimage
9
15
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: twimage
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Rob Cameron