googl-api 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{googl-api}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["John Allen"]
12
- s.date = %q{2011-01-13}
12
+ s.date = %q{2011-03-02}
13
13
  s.description = %q{A very simple ruby wrapper for the goo.gl URL Shortening service}
14
14
  s.email = %q{john@threedogconsulting.com}
15
15
  s.extra_rdoc_files = [
@@ -26,7 +26,7 @@ module GooglApi
26
26
 
27
27
  def shorten(url)
28
28
  raise ArgumentError.new("A URL to shorten is required") if url.blank?
29
- load_respose(self.class.post('/url', :query => @api_key, :body => "{ \"longUrl\" => \"#{url}\" }"))
29
+ load_respose(self.class.post('/url', :query => @api_key, :body => "{ \"longUrl\": \"#{url}\" }"))
30
30
  end
31
31
 
32
32
  def expand(url)
@@ -9,22 +9,22 @@ rescue Bundler::BundlerError => e
9
9
  end
10
10
  require 'test/unit'
11
11
  require 'shoulda'
12
-
12
+
13
13
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
14
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib', 'googl-api'))
15
15
  $LOAD_PATH.unshift(File.dirname(__FILE__))
16
16
  require 'googl-api'
17
-
17
+
18
18
  class Test::Unit::TestCase
19
19
  def api_key
20
20
  'test_key'
21
21
  end
22
-
22
+
23
23
  def email
24
24
  "email"
25
25
  end
26
-
26
+
27
27
  def password
28
28
  "password"
29
29
  end
30
- end
30
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 0
9
- version: 0.3.0
8
+ - 1
9
+ version: 0.3.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - John Allen
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-13 00:00:00 -05:00
17
+ date: 2011-03-02 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -153,7 +153,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
153
153
  requirements:
154
154
  - - ">="
155
155
  - !ruby/object:Gem::Version
156
- hash: 3605682061074164118
156
+ hash: -3266401598461001155
157
157
  segments:
158
158
  - 0
159
159
  version: "0"