embedly 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +6 -3
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/features/oembed.feature +2 -2
- data/lib/embedly/api.rb +2 -1
- metadata +87 -92
data/README.rdoc
CHANGED
@@ -1,8 +1,11 @@
|
|
1
1
|
= embedly
|
2
2
|
|
3
|
-
Embedly
|
4
|
-
|
5
|
-
|
3
|
+
embedly is the Embedly Ruby client library and commandline tool. It allows
|
4
|
+
you to integrate Embedly into your Ruby applications, as well as use
|
5
|
+
Embedly's API from the commandline.
|
6
|
+
|
7
|
+
To find out what Embedly is all about, please visit http://embed.ly. To see
|
8
|
+
our api documentation, visit http://api.embed.ly/docs.
|
6
9
|
|
7
10
|
== Installing
|
8
11
|
|
data/Rakefile
CHANGED
@@ -44,7 +44,7 @@ YARD::Rake::YardocTask.new do |t|
|
|
44
44
|
t.files = FileList['lib/**/*.rb'].exclude('lib/jeweler/templates/**/*.rb')
|
45
45
|
end
|
46
46
|
|
47
|
-
require '
|
47
|
+
require 'rdoc/task'
|
48
48
|
Rake::RDocTask.new do |rdoc|
|
49
49
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
50
50
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5.
|
1
|
+
1.5.2
|
data/features/oembed.feature
CHANGED
@@ -15,8 +15,8 @@ Feature: OEmbed
|
|
15
15
|
| http://www.scribd.com/doc/28452730/Easter-Cards | http://www.scribd.com/ |
|
16
16
|
| http://www.youtube.com/watch?v=Zk7dDekYej0 | http://www.youtube.com/ |
|
17
17
|
| http://yfrog.com/h7qqespj | http://yfrog.com |
|
18
|
-
| http://blog.embed.ly/bob | http://
|
19
|
-
| http://blog.doki-pen.org/cassandra-rules | http://
|
18
|
+
| http://blog.embed.ly/bob | http://blog.embed.ly/ |
|
19
|
+
| http://blog.doki-pen.org/cassandra-rules | http://blog.doki-pen.org/ |
|
20
20
|
| http://www.guardian.co.uk/media/2011/jan/21/andy-coulson-phone-hacking-statement | http://www.guardian.co.uk/ |
|
21
21
|
|
22
22
|
|
data/lib/embedly/api.rb
CHANGED
@@ -71,7 +71,8 @@ class Embedly::API
|
|
71
71
|
def _do_basic_call path
|
72
72
|
scheme, host, port = uri_parse hostname
|
73
73
|
logger.debug { "calling #{site}#{path} with headers #{headers} using Net::HTTP" }
|
74
|
-
Net::HTTP.start(host, port
|
74
|
+
Net::HTTP.start(host, port) do |http|
|
75
|
+
http.use_ssl = (scheme == 'https')
|
75
76
|
http.read_timeout = @timeout
|
76
77
|
http.get(path, headers)
|
77
78
|
end
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: embedly
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.5.2
|
4
5
|
prerelease:
|
5
|
-
version: 1.5.1
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Bob Corsaro
|
9
9
|
- Filipe Elias Philipp
|
10
10
|
- Russ Bradberry
|
@@ -12,120 +12,118 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
- !ruby/object:Gem::Dependency
|
15
|
+
date: 2012-01-25 00:00:00.000000000Z
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
19
18
|
name: querystring
|
20
|
-
requirement: &
|
19
|
+
requirement: &26010640 !ruby/object:Gem::Requirement
|
21
20
|
none: false
|
22
|
-
requirements:
|
23
|
-
- -
|
24
|
-
- !ruby/object:Gem::Version
|
25
|
-
version:
|
21
|
+
requirements:
|
22
|
+
- - ! '>='
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: '0'
|
26
25
|
type: :runtime
|
27
26
|
prerelease: false
|
28
|
-
version_requirements: *
|
29
|
-
- !ruby/object:Gem::Dependency
|
27
|
+
version_requirements: *26010640
|
28
|
+
- !ruby/object:Gem::Dependency
|
30
29
|
name: oauth
|
31
|
-
requirement: &
|
30
|
+
requirement: &26009960 !ruby/object:Gem::Requirement
|
32
31
|
none: false
|
33
|
-
requirements:
|
34
|
-
- -
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version:
|
32
|
+
requirements:
|
33
|
+
- - ! '>='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
37
36
|
type: :runtime
|
38
37
|
prerelease: false
|
39
|
-
version_requirements: *
|
40
|
-
- !ruby/object:Gem::Dependency
|
38
|
+
version_requirements: *26009960
|
39
|
+
- !ruby/object:Gem::Dependency
|
41
40
|
name: typhoeus
|
42
|
-
requirement: &
|
41
|
+
requirement: &26009280 !ruby/object:Gem::Requirement
|
43
42
|
none: false
|
44
|
-
requirements:
|
45
|
-
- -
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version:
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
48
47
|
type: :runtime
|
49
48
|
prerelease: false
|
50
|
-
version_requirements: *
|
51
|
-
- !ruby/object:Gem::Dependency
|
49
|
+
version_requirements: *26009280
|
50
|
+
- !ruby/object:Gem::Dependency
|
52
51
|
name: jeweler
|
53
|
-
requirement: &
|
52
|
+
requirement: &25993960 !ruby/object:Gem::Requirement
|
54
53
|
none: false
|
55
|
-
requirements:
|
56
|
-
- -
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
version:
|
54
|
+
requirements:
|
55
|
+
- - ! '>='
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '0'
|
59
58
|
type: :development
|
60
59
|
prerelease: false
|
61
|
-
version_requirements: *
|
62
|
-
- !ruby/object:Gem::Dependency
|
60
|
+
version_requirements: *25993960
|
61
|
+
- !ruby/object:Gem::Dependency
|
63
62
|
name: cucumber
|
64
|
-
requirement: &
|
63
|
+
requirement: &25993140 !ruby/object:Gem::Requirement
|
65
64
|
none: false
|
66
|
-
requirements:
|
67
|
-
- -
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version:
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
70
69
|
type: :development
|
71
70
|
prerelease: false
|
72
|
-
version_requirements: *
|
73
|
-
- !ruby/object:Gem::Dependency
|
71
|
+
version_requirements: *25993140
|
72
|
+
- !ruby/object:Gem::Dependency
|
74
73
|
name: rake
|
75
|
-
requirement: &
|
74
|
+
requirement: &25992520 !ruby/object:Gem::Requirement
|
76
75
|
none: false
|
77
|
-
requirements:
|
78
|
-
- -
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version:
|
76
|
+
requirements:
|
77
|
+
- - ! '>='
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0'
|
81
80
|
type: :development
|
82
81
|
prerelease: false
|
83
|
-
version_requirements: *
|
84
|
-
- !ruby/object:Gem::Dependency
|
82
|
+
version_requirements: *25992520
|
83
|
+
- !ruby/object:Gem::Dependency
|
85
84
|
name: rspec
|
86
|
-
requirement: &
|
85
|
+
requirement: &25991800 !ruby/object:Gem::Requirement
|
87
86
|
none: false
|
88
|
-
requirements:
|
89
|
-
- -
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version:
|
87
|
+
requirements:
|
88
|
+
- - ! '>='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
92
91
|
type: :development
|
93
92
|
prerelease: false
|
94
|
-
version_requirements: *
|
95
|
-
- !ruby/object:Gem::Dependency
|
93
|
+
version_requirements: *25991800
|
94
|
+
- !ruby/object:Gem::Dependency
|
96
95
|
name: yard
|
97
|
-
requirement: &
|
96
|
+
requirement: &25990940 !ruby/object:Gem::Requirement
|
98
97
|
none: false
|
99
|
-
requirements:
|
100
|
-
- -
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version:
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
103
102
|
type: :development
|
104
103
|
prerelease: false
|
105
|
-
version_requirements: *
|
106
|
-
- !ruby/object:Gem::Dependency
|
104
|
+
version_requirements: *25990940
|
105
|
+
- !ruby/object:Gem::Dependency
|
107
106
|
name: aruba
|
108
|
-
requirement: &
|
107
|
+
requirement: &25990220 !ruby/object:Gem::Requirement
|
109
108
|
none: false
|
110
|
-
requirements:
|
111
|
-
- -
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version:
|
109
|
+
requirements:
|
110
|
+
- - ! '>='
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
114
113
|
type: :development
|
115
114
|
prerelease: false
|
116
|
-
version_requirements: *
|
115
|
+
version_requirements: *25990220
|
117
116
|
description: Ruby Embedly client library
|
118
117
|
email: bob@embed.ly
|
119
|
-
executables:
|
118
|
+
executables:
|
120
119
|
- embedly_objectify
|
121
120
|
- embedly_oembed
|
122
121
|
- embedly_preview
|
123
122
|
extensions: []
|
124
|
-
|
125
|
-
extra_rdoc_files:
|
123
|
+
extra_rdoc_files:
|
126
124
|
- ChangeLog
|
127
125
|
- README.rdoc
|
128
|
-
files:
|
126
|
+
files:
|
129
127
|
- .rvmrc
|
130
128
|
- ChangeLog
|
131
129
|
- Gemfile
|
@@ -153,34 +151,31 @@ files:
|
|
153
151
|
- spec/embedly/configuration_spec.rb
|
154
152
|
- spec/spec_helper.rb
|
155
153
|
homepage: http://github.com/embedly/embedly-ruby
|
156
|
-
licenses:
|
154
|
+
licenses:
|
157
155
|
- MIT
|
158
156
|
post_install_message:
|
159
157
|
rdoc_options: []
|
160
|
-
|
161
|
-
require_paths:
|
158
|
+
require_paths:
|
162
159
|
- lib
|
163
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
160
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
164
161
|
none: false
|
165
|
-
requirements:
|
166
|
-
- -
|
167
|
-
- !ruby/object:Gem::Version
|
168
|
-
|
169
|
-
segments:
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
segments:
|
170
167
|
- 0
|
171
|
-
|
172
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
|
+
hash: -725885001768586602
|
169
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
170
|
none: false
|
174
|
-
requirements:
|
175
|
-
- -
|
176
|
-
- !ruby/object:Gem::Version
|
177
|
-
version:
|
171
|
+
requirements:
|
172
|
+
- - ! '>='
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
178
175
|
requirements: []
|
179
|
-
|
180
176
|
rubyforge_project:
|
181
|
-
rubygems_version: 1.8.
|
177
|
+
rubygems_version: 1.8.10
|
182
178
|
signing_key:
|
183
179
|
specification_version: 3
|
184
180
|
summary: Ruby Embedly client library
|
185
181
|
test_files: []
|
186
|
-
|