embedly 1.5.4 → 1.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/Gemfile +1 -1
- data/VERSION +1 -1
- data/lib/embedly/command_line.rb +8 -2
- metadata +2 -2
data/Gemfile
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.5.
|
|
1
|
+
1.5.5
|
data/lib/embedly/command_line.rb
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
require "optparse"
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
begin
|
|
4
|
+
require "typhoeus"
|
|
5
|
+
Embedly.configuration.typhoeus = true
|
|
6
|
+
rescue LoadError
|
|
7
|
+
Embedly.configuration.typhoeus = false
|
|
8
|
+
end
|
|
9
|
+
|
|
4
10
|
module Embedly
|
|
5
11
|
class CommandLine
|
|
6
12
|
|
|
@@ -35,7 +41,7 @@ module Embedly
|
|
|
35
41
|
:timeout => nil,
|
|
36
42
|
:headers => {},
|
|
37
43
|
:query => {},
|
|
38
|
-
:typhoeus =>
|
|
44
|
+
:typhoeus => Embedly.configuration.typhoeus
|
|
39
45
|
}
|
|
40
46
|
end
|
|
41
47
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: embedly
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -226,7 +226,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
226
226
|
version: '0'
|
|
227
227
|
segments:
|
|
228
228
|
- 0
|
|
229
|
-
hash:
|
|
229
|
+
hash: 825670033
|
|
230
230
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
231
231
|
none: false
|
|
232
232
|
requirements:
|