active_public_resources 0.1.1 → 0.1.2
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ff6d0f27288db85020b4f62fdc0b89cefb45e555
|
|
4
|
+
data.tar.gz: 29f8b4f8e1d73da661ddd93950ed0314dc49c1c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c14b018256c01c05a05de105fff6564d9679091b53231291840663294be9e12b4abeda484a641ea9247f270f1abd36efe202ae6012be060bbb3aa1c9d6b1255
|
|
7
|
+
data.tar.gz: 245d1833a9b297d89457825a774ff15d86279587fabf28a6c01ad82e9611609567ab51b12b7c7a90c264e0940aa6a21672f1efd90c5409eebb98f3be1860448a
|
|
@@ -95,20 +95,20 @@ module ActivePublicResources
|
|
|
95
95
|
|
|
96
96
|
# Return Types
|
|
97
97
|
video.return_types << APR::ReturnTypes::Url.new(
|
|
98
|
-
:driver
|
|
99
|
-
:
|
|
100
|
-
:url
|
|
101
|
-
:text
|
|
102
|
-
:title
|
|
98
|
+
:driver => DRIVER_NAME,
|
|
99
|
+
:remote_id => data['youtube_id'],
|
|
100
|
+
:url => video.url,
|
|
101
|
+
:text => video.title,
|
|
102
|
+
:title => video.title
|
|
103
103
|
)
|
|
104
104
|
video.return_types << APR::ReturnTypes::Iframe.new(
|
|
105
|
-
:driver
|
|
105
|
+
:driver => DRIVER_NAME,
|
|
106
106
|
:remote_id => data['youtube_id'],
|
|
107
|
-
:url
|
|
108
|
-
:text
|
|
109
|
-
:title
|
|
110
|
-
:width
|
|
111
|
-
:height
|
|
107
|
+
:url => "https://www.youtube.com/embed/#{data['youtube_id']}?feature=oembed",
|
|
108
|
+
:text => video.title,
|
|
109
|
+
:title => video.title,
|
|
110
|
+
:width => 640,
|
|
111
|
+
:height => 360
|
|
112
112
|
)
|
|
113
113
|
video
|
|
114
114
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_public_resources
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric Berry
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-02-
|
|
11
|
+
date: 2014-02-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|