bitly 0.5.4 → 0.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 0.5.5 / 2010-12-22
2
+
3
+ * 1 minor bug fix
4
+
5
+ * fixed method redifined warnings
6
+
1
7
  === 0.5.4 / 2010-12-01
2
8
 
3
9
  * 4 minor enhancements
data/bitly.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{bitly}
5
- s.version = "0.5.4"
5
+ s.version = "0.5.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Phil Nash"]
9
- s.date = %q{2010-12-01}
9
+ s.date = %q{2010-12-22}
10
10
  s.description = %q{Use the bit.ly API to shorten or expand URLs}
11
11
  s.email = %q{philnash@gmail.com}
12
12
  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"]
data/lib/bitly/url.rb CHANGED
@@ -4,7 +4,6 @@ module Bitly
4
4
  include Bitly::Utils
5
5
 
6
6
  attr_accessor :long_url, :short_url, :hash, :user_hash
7
- attr_reader :info, :stats
8
7
  VARIABLES = ['long_url', 'short_url', 'hash', 'user_hash']
9
8
 
10
9
  def initialize(login,api_key,obj=nil)
@@ -4,13 +4,4 @@ module Bitly
4
4
  Bitly::V3::Client.new(login, api_key)
5
5
  end
6
6
  end
7
- end
8
-
9
- class BitlyError < StandardError
10
- attr_reader :code
11
- alias :msg :message
12
- def initialize(msg, code)
13
- @code = code
14
- super("#{msg} - '#{code}'")
15
- end
16
7
  end
data/lib/bitly/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Bitly
2
- VERSION = '0.5.4'
2
+ VERSION = '0.5.5'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitly
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 4
10
- version: 0.5.4
9
+ - 5
10
+ version: 0.5.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Phil Nash
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-01 00:00:00 +00:00
18
+ date: 2010-12-22 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency