bitly 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,9 @@
1
+ === 0.10.2 / 2014-09-20
2
+
3
+ * 1 minor update
4
+
5
+ * Relaxed OAuth2 gem version to allow for version 1. Fixes issue #57.
6
+
1
7
  === 0.10.1 / 2014-03-10
2
8
 
3
9
  * 1 minor update
@@ -2,20 +2,20 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "bitly"
5
- s.version = "0.10.1"
5
+ s.version = "0.10.2"
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 = "2014-03-10"
9
+ s.date = "2014-09-20"
10
10
  s.description = "Use the bit.ly API to shorten or expand URLs"
11
11
  s.email = "philnash@gmail.com"
12
12
  s.extra_rdoc_files = ["README.md", "lib/bitly.rb", "lib/bitly/client.rb", "lib/bitly/config.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/oauth.rb", "lib/bitly/v3/realtime_link.rb", "lib/bitly/v3/referrer.rb", "lib/bitly/v3/url.rb", "lib/bitly/v3/user.rb", "lib/bitly/version.rb"]
13
13
  s.files = ["Gemfile", "History.txt", "Manifest", "README.md", "Rakefile", "lib/bitly.rb", "lib/bitly/client.rb", "lib/bitly/config.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/oauth.rb", "lib/bitly/v3/realtime_link.rb", "lib/bitly/v3/referrer.rb", "lib/bitly/v3/url.rb", "lib/bitly/v3/user.rb", "lib/bitly/version.rb", "test/bitly/test_client.rb", "test/bitly/test_config.rb", "test/bitly/test_url.rb", "test/bitly/test_utils.rb", "test/fixtures/cnn.json", "test/fixtures/cnn_and_google.json", "test/fixtures/expand_cnn.json", "test/fixtures/expand_cnn_and_google.json", "test/fixtures/google_and_cnn_info.json", "test/fixtures/google_info.json", "test/fixtures/google_stats.json", "test/fixtures/shorten_error.json", "test/test_helper.rb", "bitly.gemspec"]
14
14
  s.homepage = "http://github.com/philnash/bitly"
15
- s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Bitly", "--main", "README.md"]
15
+ s.rdoc_options = ["--line-numbers", "--title", "Bitly", "--main", "README.md"]
16
16
  s.require_paths = ["lib"]
17
17
  s.rubyforge_project = "bitly"
18
- s.rubygems_version = "1.8.23"
18
+ s.rubygems_version = "1.8.23.2"
19
19
  s.summary = "Use the bit.ly API to shorten or expand URLs"
20
20
  s.test_files = ["test/bitly/test_client.rb", "test/bitly/test_config.rb", "test/bitly/test_url.rb", "test/bitly/test_utils.rb", "test/test_helper.rb"]
21
21
 
@@ -39,7 +39,7 @@ module Bitly
39
39
  attr_accessor *Config::OPTION_KEYS
40
40
 
41
41
  def initialize(login,api_key)
42
- warn "[DEPRECATION] The bit.ly version 2 API has been superceded by version 3 and will be removed. See the README for details"
42
+ warn "[DEPRECATION] The bit.ly version 2 API has been superseded by version 3 and will be removed. See the README for details"
43
43
  @login = login
44
44
  @api_key = api_key
45
45
  end
@@ -1,3 +1,3 @@
1
1
  module Bitly
2
- VERSION = '0.10.1'
2
+ VERSION = '0.10.2'
3
3
  end
@@ -20,7 +20,7 @@ class TestClient < Test::Unit::TestCase
20
20
  b = Bitly.client
21
21
  assert_kind_of Bitly::Client, b
22
22
  assert_equal api_key, b.api_key
23
- assert_equal login, login
23
+ assert_equal login, b.login
24
24
  end
25
25
  end
26
26
  context "using the bitly client" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-10 00:00:00.000000000 Z
12
+ date: 2014-09-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json
@@ -48,23 +48,23 @@ dependencies:
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
- - - <
52
- - !ruby/object:Gem::Version
53
- version: '0.10'
54
51
  - - ! '>='
55
52
  - !ruby/object:Gem::Version
56
53
  version: 0.5.0
54
+ - - <
55
+ - !ruby/object:Gem::Version
56
+ version: '0.10'
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  none: false
61
61
  requirements:
62
- - - <
63
- - !ruby/object:Gem::Version
64
- version: '0.10'
65
62
  - - ! '>='
66
63
  - !ruby/object:Gem::Version
67
64
  version: 0.5.0
65
+ - - <
66
+ - !ruby/object:Gem::Version
67
+ version: '0.10'
68
68
  - !ruby/object:Gem::Dependency
69
69
  name: echoe
70
70
  requirement: !ruby/object:Gem::Requirement
@@ -210,7 +210,6 @@ licenses: []
210
210
  post_install_message:
211
211
  rdoc_options:
212
212
  - --line-numbers
213
- - --inline-source
214
213
  - --title
215
214
  - Bitly
216
215
  - --main
@@ -231,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
231
230
  version: '1.2'
232
231
  requirements: []
233
232
  rubyforge_project: bitly
234
- rubygems_version: 1.8.23
233
+ rubygems_version: 1.8.23.2
235
234
  signing_key:
236
235
  specification_version: 3
237
236
  summary: Use the bit.ly API to shorten or expand URLs