Skip to content

Commit

Permalink
Removed warnings, bump gem to 0.5.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
philnash committed Dec 22, 2010
1 parent a42ca5c commit f08da54
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 13 deletions.
6 changes: 6 additions & 0 deletions History.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
=== 0.5.5 / 2010-12-22

* 1 minor bug fix

* fixed method redifined warnings

=== 0.5.4 / 2010-12-01

* 4 minor enhancements
Expand Down
4 changes: 2 additions & 2 deletions bitly.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

Gem::Specification.new do |s|
s.name = %q{bitly}
s.version = "0.5.4"
s.version = "0.5.5"

s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
s.authors = ["Phil Nash"]
s.date = %q{2010-12-01}
s.date = %q{2010-12-22}
s.description = %q{Use the bit.ly API to shorten or expand URLs}
s.email = %q{[email protected]}
s.extra_rdoc_files = ["README.txt", "lib/bitly.rb", "lib/bitly/client.rb", "lib/bitly/url.rb", "lib/bitly/utils.rb", "lib/bitly/v3.rb", "lib/bitly/v3/bitly.rb", "lib/bitly/v3/client.rb", "lib/bitly/v3/country.rb", "lib/bitly/v3/day.rb", "lib/bitly/v3/missing_url.rb", "lib/bitly/v3/referrer.rb", "lib/bitly/v3/url.rb", "lib/bitly/version.rb"]
Expand Down
1 change: 0 additions & 1 deletion lib/bitly/url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ class Url
include Bitly::Utils

attr_accessor :long_url, :short_url, :hash, :user_hash
attr_reader :info, :stats
VARIABLES = ['long_url', 'short_url', 'hash', 'user_hash']

def initialize(login,api_key,obj=nil)
Expand Down
9 changes: 0 additions & 9 deletions lib/bitly/v3/bitly.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,4 @@ def self.new(login, api_key)
Bitly::V3::Client.new(login, api_key)
end
end
end

class BitlyError < StandardError
attr_reader :code
alias :msg :message
def initialize(msg, code)
@code = code
super("#{msg} - '#{code}'")
end
end
2 changes: 1 addition & 1 deletion lib/bitly/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Bitly
VERSION = '0.5.4'
VERSION = '0.5.5'
end

0 comments on commit f08da54

Please sign in to comment.