topsy 1.0.0 → 1.0.1

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/topsy.rb +3 -3
  2. data/lib/topsy/version.rb +1 -1
  3. metadata +1 -1
@@ -2,7 +2,7 @@ require 'hashie'
2
2
  require 'httparty'
3
3
 
4
4
  directory = File.expand_path(File.dirname(__FILE__))
5
- Dir[directory + '/topsy/*.rb'].each{ |f| require f unless f =~ /version/ }
5
+ Dir[directory + '/topsy/*.rb'].each{ |f| require f unless f =~ /version\.rb$/ }
6
6
 
7
7
  Hash.send :include, Hashie::HashExtensions
8
8
 
@@ -20,10 +20,10 @@ module Topsy
20
20
  self.credit if @rate_limit_info.nil?
21
21
  @rate_limit_info
22
22
  end
23
-
23
+
24
24
  def rate_limit=(info)
25
25
  @rate_limit_info = Topsy::RateLimitInfo.new(info)
26
- end
26
+ end
27
27
 
28
28
  def respond_to_missing?(method_name , include_private=false); client.respond_to?(method_name, include_private); end if RUBY_VERSION >= "1.9"
29
29
  def respond_to?(method_name, include_private=false); client.respond_to?(method_name, include_private) || super; end if RUBY_VERSION < "1.9"
@@ -1,3 +1,3 @@
1
1
  module Topsy
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: topsy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: