embedly 0.3.1 → 0.3.2

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.1
1
+ 0.3.2
@@ -4,16 +4,6 @@ Feature: Objectify
4
4
  I want to call the the embedly api
5
5
  Because I want to objectify a url
6
6
 
7
- Scenario Outline: Get the meta description
8
- Given an embedly endpoint
9
- When objectify is called with the <url> URL
10
- Then the meta.description should start with <metadesc>
11
- And objectify api_version is 1
12
-
13
- Examples:
14
- | url | metadesc |
15
- | http://tweetphoto.com/14784358 | Plixi allows user to ins |
16
-
17
7
  Scenario Outline: Get the meta description with pro
18
8
  Given an embedly endpoint with key
19
9
  When objectify is called with the <url> URL
@@ -44,10 +44,10 @@ class Embedly::API
44
44
  def initialize opts={}
45
45
  @key = opts[:key]
46
46
  @api_version = Hash.new('1')
47
+ @api_version.merge!({:objectify => '2'})
47
48
  if @key
48
49
  logger.debug('using pro')
49
50
  @endpoint = opts[:endpoint] || 'pro.embed.ly'
50
- @api_version.merge!({:objectify => '2'})
51
51
  else
52
52
  @endpoint = opts[:endpoint] || 'api.embed.ly'
53
53
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 1
9
- version: 0.3.1
8
+ - 2
9
+ version: 0.3.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Bob Corsaro
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-02-04 00:00:00 -05:00
17
+ date: 2011-02-14 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency