vzaar 0.2.2.1 → 0.2.2.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.
- data/Changelog +4 -0
- data/lib/vzaar/video_details.rb +3 -0
- metadata +17 -26
data/Changelog
CHANGED
data/lib/vzaar/video_details.rb
CHANGED
|
@@ -12,6 +12,7 @@ module Vzaar
|
|
|
12
12
|
:framegrab_width,
|
|
13
13
|
:height,
|
|
14
14
|
:html,
|
|
15
|
+
:play_count,
|
|
15
16
|
:provider_name,
|
|
16
17
|
:provider_url,
|
|
17
18
|
:thumbnail_height,
|
|
@@ -43,6 +44,8 @@ module Vzaar
|
|
|
43
44
|
doc.elements['oembed/framegrab_width'].text : ''
|
|
44
45
|
@height = doc.elements['oembed/height'] ? doc.elements['oembed/height'].text : ''
|
|
45
46
|
@html = doc.elements['oembed/html'] ? doc.elements['oembed/html'].texts[1] : ''
|
|
47
|
+
@play_count = doc.elements['oembed/play_count'] ?
|
|
48
|
+
doc.elements['oembed/play_count'].text : ''
|
|
46
49
|
@provider_name = doc.elements['oembed/provider_name'] ?
|
|
47
50
|
doc.elements['oembed/provider_name'].text : ''
|
|
48
51
|
@provider_url = doc.elements['oembed/provider_url'] ?
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vzaar
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash: 85
|
|
5
4
|
prerelease: false
|
|
6
5
|
segments:
|
|
7
6
|
- 0
|
|
8
7
|
- 2
|
|
9
8
|
- 2
|
|
10
|
-
-
|
|
11
|
-
version: 0.2.2.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.2.2.2
|
|
12
11
|
platform: ruby
|
|
13
12
|
authors:
|
|
14
13
|
- Mariusz Lusiak
|
|
@@ -16,18 +15,16 @@ autorequire:
|
|
|
16
15
|
bindir: bin
|
|
17
16
|
cert_chain: []
|
|
18
17
|
|
|
19
|
-
date: 2010-
|
|
18
|
+
date: 2010-09-02 00:00:00 +02:00
|
|
20
19
|
default_executable:
|
|
21
20
|
dependencies:
|
|
22
21
|
- !ruby/object:Gem::Dependency
|
|
23
22
|
name: httpclient
|
|
24
23
|
prerelease: false
|
|
25
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
26
|
-
none: false
|
|
27
25
|
requirements:
|
|
28
26
|
- - ">="
|
|
29
27
|
- !ruby/object:Gem::Version
|
|
30
|
-
hash: 1
|
|
31
28
|
segments:
|
|
32
29
|
- 2
|
|
33
30
|
- 1
|
|
@@ -39,11 +36,9 @@ dependencies:
|
|
|
39
36
|
name: oauth
|
|
40
37
|
prerelease: false
|
|
41
38
|
requirement: &id002 !ruby/object:Gem::Requirement
|
|
42
|
-
none: false
|
|
43
39
|
requirements:
|
|
44
40
|
- - "="
|
|
45
41
|
- !ruby/object:Gem::Version
|
|
46
|
-
hash: 31
|
|
47
42
|
segments:
|
|
48
43
|
- 0
|
|
49
44
|
- 3
|
|
@@ -64,27 +59,27 @@ files:
|
|
|
64
59
|
- Changelog
|
|
65
60
|
- LICENSE
|
|
66
61
|
- demo.rb
|
|
67
|
-
- lib/rails/views/view_helpers.rb
|
|
68
62
|
- lib/rails/controllers/vzaar_controller.rb
|
|
69
|
-
- lib/
|
|
70
|
-
- lib/vzaar/video_details.rb
|
|
71
|
-
- lib/vzaar/base.rb
|
|
63
|
+
- lib/rails/views/view_helpers.rb
|
|
72
64
|
- lib/vzaar/account_type.rb
|
|
65
|
+
- lib/vzaar/base.rb
|
|
66
|
+
- lib/vzaar/errors.rb
|
|
73
67
|
- lib/vzaar/signature.rb
|
|
74
|
-
- lib/vzaar/video.rb
|
|
75
68
|
- lib/vzaar/user.rb
|
|
76
|
-
- lib/vzaar/
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
- rails_generators/vzaar_uploader/templates/images/cancelbutton.gif
|
|
80
|
-
- rails_generators/vzaar_uploader/templates/stylesheets/swfupload.css
|
|
69
|
+
- lib/vzaar/video.rb
|
|
70
|
+
- lib/vzaar/video_details.rb
|
|
71
|
+
- lib/vzaar.rb
|
|
81
72
|
- rails_generators/vzaar_uploader/templates/flash/swfupload.swf
|
|
82
73
|
- rails_generators/vzaar_uploader/templates/flash/swfupload_fp9.swf
|
|
83
|
-
- rails_generators/vzaar_uploader/templates/
|
|
74
|
+
- rails_generators/vzaar_uploader/templates/images/cancelbutton.gif
|
|
84
75
|
- rails_generators/vzaar_uploader/templates/javascripts/fileprogress.js
|
|
85
|
-
- rails_generators/vzaar_uploader/templates/javascripts/swfupload.queue.js
|
|
86
|
-
- rails_generators/vzaar_uploader/templates/javascripts/json_parse.js
|
|
87
76
|
- rails_generators/vzaar_uploader/templates/javascripts/handlers.js
|
|
77
|
+
- rails_generators/vzaar_uploader/templates/javascripts/json_parse.js
|
|
78
|
+
- rails_generators/vzaar_uploader/templates/javascripts/swfupload.js
|
|
79
|
+
- rails_generators/vzaar_uploader/templates/javascripts/swfupload.queue.js
|
|
80
|
+
- rails_generators/vzaar_uploader/templates/stylesheets/swfupload.css
|
|
81
|
+
- rails_generators/vzaar_uploader/templates/views/uploader.html.erb
|
|
82
|
+
- rails_generators/vzaar_uploader/vzaar_uploader_generator.rb
|
|
88
83
|
- rails_generators/vzaar_uploader/USAGE
|
|
89
84
|
has_rdoc: true
|
|
90
85
|
homepage: http://developer.vzaar.com
|
|
@@ -96,27 +91,23 @@ rdoc_options: []
|
|
|
96
91
|
require_paths:
|
|
97
92
|
- lib
|
|
98
93
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
99
|
-
none: false
|
|
100
94
|
requirements:
|
|
101
95
|
- - ">="
|
|
102
96
|
- !ruby/object:Gem::Version
|
|
103
|
-
hash: 3
|
|
104
97
|
segments:
|
|
105
98
|
- 0
|
|
106
99
|
version: "0"
|
|
107
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
|
-
none: false
|
|
109
101
|
requirements:
|
|
110
102
|
- - ">="
|
|
111
103
|
- !ruby/object:Gem::Version
|
|
112
|
-
hash: 3
|
|
113
104
|
segments:
|
|
114
105
|
- 0
|
|
115
106
|
version: "0"
|
|
116
107
|
requirements: []
|
|
117
108
|
|
|
118
109
|
rubyforge_project:
|
|
119
|
-
rubygems_version: 1.3.
|
|
110
|
+
rubygems_version: 1.3.6
|
|
120
111
|
signing_key:
|
|
121
112
|
specification_version: 3
|
|
122
113
|
summary: The vzaar_api gem provides means to access and manage resources on http://vzaar.com
|