velir_kaltura-ruby 0.4.9 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/kaltura/kaltura_client.rb +32 -0
- data/lib/kaltura/kaltura_client_base.rb +3 -3
- data/velir_kaltura-ruby.gemspec +127 -137
- metadata +8 -42
- data/.gitignore +0 -7
data/VERSION.yml
CHANGED
@@ -77,6 +77,13 @@ module Kaltura
|
|
77
77
|
attr_accessor :access_control_id
|
78
78
|
attr_accessor :start_date
|
79
79
|
attr_accessor :end_date
|
80
|
+
attr_accessor :reference_id
|
81
|
+
attr_accessor :replacing_entry_id
|
82
|
+
attr_accessor :replaced_entry_id
|
83
|
+
attr_accessor :replacement_status
|
84
|
+
attr_accessor :partner_sort_value
|
85
|
+
attr_accessor :conversion_profile_id
|
86
|
+
|
80
87
|
|
81
88
|
def partner_id=(val)
|
82
89
|
@partner_id = val.to_i
|
@@ -129,6 +136,31 @@ module Kaltura
|
|
129
136
|
def categories_ids=(val)
|
130
137
|
@categories_ids = val.to_i
|
131
138
|
end
|
139
|
+
|
140
|
+
def reference_at=(val)
|
141
|
+
@reference_id = val.to_i
|
142
|
+
end
|
143
|
+
|
144
|
+
def replacing_entry_id=(val)
|
145
|
+
@replacing_entry_id = val.to_i
|
146
|
+
end
|
147
|
+
|
148
|
+
def replaced_entry_id=(val)
|
149
|
+
@replaced_entry_id = val.to_i
|
150
|
+
end
|
151
|
+
|
152
|
+
def replacement_status=(val)
|
153
|
+
@replacement_status = val.to_i
|
154
|
+
end
|
155
|
+
|
156
|
+
def partner_sort_value=(val)
|
157
|
+
@partner_sort_value = val.to_i
|
158
|
+
end
|
159
|
+
|
160
|
+
def conversion_profile_id=(val)
|
161
|
+
@conversion_profile_id = val.to_i
|
162
|
+
end
|
163
|
+
|
132
164
|
end
|
133
165
|
|
134
166
|
class ModerationFlag < ObjectBase
|
@@ -221,8 +221,8 @@ module Kaltura
|
|
221
221
|
attr_accessor :timeout
|
222
222
|
attr_accessor :partner_id
|
223
223
|
|
224
|
-
def initialize(partner_id = -1)
|
225
|
-
@service_url =
|
224
|
+
def initialize(partner_id = -1, service_url="http://www.kaltura.com")
|
225
|
+
@service_url = service_url
|
226
226
|
@format = 2 # xml
|
227
227
|
@client_tag = "ruby"
|
228
228
|
@timeout = 10
|
@@ -262,7 +262,7 @@ module Kaltura
|
|
262
262
|
end
|
263
263
|
|
264
264
|
def self.underscore(val)
|
265
|
-
val.gsub(/(.)([A-Z])/,'\1_\2').downcase
|
265
|
+
val.gsub(/(.)([A-Z]+)/,'\1_\2').downcase
|
266
266
|
end
|
267
267
|
|
268
268
|
def self.set_instance(object_request_class)
|
data/velir_kaltura-ruby.gemspec
CHANGED
@@ -1,161 +1,151 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{velir_kaltura-ruby}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.10"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Patrick Robertson"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-07-11}
|
13
13
|
s.email = %q{patrick.robertson@velir.com}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"LICENSE",
|
16
|
-
|
17
|
-
|
16
|
+
"README.markdown",
|
17
|
+
"README.rdoc"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
"velir_kaltura-ruby.gemspec"
|
21
|
+
"LICENSE",
|
22
|
+
"README.markdown",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"VERSION.yml",
|
27
|
+
"lib/kaltura.rb",
|
28
|
+
"lib/kaltura/constants.rb",
|
29
|
+
"lib/kaltura/constants/access_control_order_by.rb",
|
30
|
+
"lib/kaltura/constants/audio_codec.rb",
|
31
|
+
"lib/kaltura/constants/base.rb",
|
32
|
+
"lib/kaltura/constants/batch_job.rb",
|
33
|
+
"lib/kaltura/constants/bit_rate_mode.rb",
|
34
|
+
"lib/kaltura/constants/category_order_by.rb",
|
35
|
+
"lib/kaltura/constants/commercial_use_type.rb",
|
36
|
+
"lib/kaltura/constants/container_format.rb",
|
37
|
+
"lib/kaltura/constants/control_panel_command.rb",
|
38
|
+
"lib/kaltura/constants/conversion_profile_order_by.rb",
|
39
|
+
"lib/kaltura/constants/country_restriction_type.rb",
|
40
|
+
"lib/kaltura/constants/data_entry_order_by.rb",
|
41
|
+
"lib/kaltura/constants/directory_restriction_type.rb",
|
42
|
+
"lib/kaltura/constants/document.rb",
|
43
|
+
"lib/kaltura/constants/duration_type.rb",
|
44
|
+
"lib/kaltura/constants/editor_type.rb",
|
45
|
+
"lib/kaltura/constants/email_ingestion_profile_status.rb",
|
46
|
+
"lib/kaltura/constants/entry.rb",
|
47
|
+
"lib/kaltura/constants/file_sync.rb",
|
48
|
+
"lib/kaltura/constants/flavor_asset_status.rb",
|
49
|
+
"lib/kaltura/constants/gender.rb",
|
50
|
+
"lib/kaltura/constants/google_syndication_feed.rb",
|
51
|
+
"lib/kaltura/constants/i_tunes_syndication_feed.rb",
|
52
|
+
"lib/kaltura/constants/i_tunes_syndication_feed/categories.rb",
|
53
|
+
"lib/kaltura/constants/license_type.rb",
|
54
|
+
"lib/kaltura/constants/live_stream_admin_entry_order_by.rb",
|
55
|
+
"lib/kaltura/constants/mail_job_order_by.rb",
|
56
|
+
"lib/kaltura/constants/media.rb",
|
57
|
+
"lib/kaltura/constants/mix_entry_order_by.rb",
|
58
|
+
"lib/kaltura/constants/moderation.rb",
|
59
|
+
"lib/kaltura/constants/notification.rb",
|
60
|
+
"lib/kaltura/constants/nullable_boolean.rb",
|
61
|
+
"lib/kaltura/constants/partner.rb",
|
62
|
+
"lib/kaltura/constants/playable_entry_order_by.rb",
|
63
|
+
"lib/kaltura/constants/playlist.rb",
|
64
|
+
"lib/kaltura/constants/report_type.rb",
|
65
|
+
"lib/kaltura/constants/search_provider_type.rb",
|
66
|
+
"lib/kaltura/constants/session_type.rb",
|
67
|
+
"lib/kaltura/constants/site_restriction_type.rb",
|
68
|
+
"lib/kaltura/constants/source_type.rb",
|
69
|
+
"lib/kaltura/constants/stats.rb",
|
70
|
+
"lib/kaltura/constants/stats/kmc_event_type.rb",
|
71
|
+
"lib/kaltura/constants/syndication_feed.rb",
|
72
|
+
"lib/kaltura/constants/system_user.rb",
|
73
|
+
"lib/kaltura/constants/tube_mogul_syndication_feed.rb",
|
74
|
+
"lib/kaltura/constants/ui_conf.rb",
|
75
|
+
"lib/kaltura/constants/upload_error_code.rb",
|
76
|
+
"lib/kaltura/constants/user.rb",
|
77
|
+
"lib/kaltura/constants/video_codec.rb",
|
78
|
+
"lib/kaltura/constants/widget.rb",
|
79
|
+
"lib/kaltura/constants/yahoo_syndication_feed.rb",
|
80
|
+
"lib/kaltura/filter.rb",
|
81
|
+
"lib/kaltura/filter/access_control_filter.rb",
|
82
|
+
"lib/kaltura/filter/base_entry_filter.rb",
|
83
|
+
"lib/kaltura/filter/base_filter.rb",
|
84
|
+
"lib/kaltura/filter/base_job_filter.rb",
|
85
|
+
"lib/kaltura/filter/batch_job_filter.rb",
|
86
|
+
"lib/kaltura/filter/category_filter.rb",
|
87
|
+
"lib/kaltura/filter/control_panel_command_filter.rb",
|
88
|
+
"lib/kaltura/filter/conversion_profile_filter.rb",
|
89
|
+
"lib/kaltura/filter/document_entry_filter.rb",
|
90
|
+
"lib/kaltura/filter/file_sync_filter.rb",
|
91
|
+
"lib/kaltura/filter/flavor_params_filter.rb",
|
92
|
+
"lib/kaltura/filter/flavor_params_output_filter.rb",
|
93
|
+
"lib/kaltura/filter/media_entry_filter.rb",
|
94
|
+
"lib/kaltura/filter/media_entry_filter_for_playlist.rb",
|
95
|
+
"lib/kaltura/filter/partner_filter.rb",
|
96
|
+
"lib/kaltura/filter/playable_entry_filter.rb",
|
97
|
+
"lib/kaltura/filter/report_input_filter.rb",
|
98
|
+
"lib/kaltura/filter/system_partner_usage_filter.rb",
|
99
|
+
"lib/kaltura/filter/ui_conf_filter.rb",
|
100
|
+
"lib/kaltura/filter/user_filter.rb",
|
101
|
+
"lib/kaltura/filter/widget_filter.rb",
|
102
|
+
"lib/kaltura/kaltura_client.rb",
|
103
|
+
"lib/kaltura/kaltura_client_base.rb",
|
104
|
+
"lib/kaltura/response.rb",
|
105
|
+
"lib/kaltura/service.rb",
|
106
|
+
"lib/kaltura/service/access_control_service.rb",
|
107
|
+
"lib/kaltura/service/admin_user_service.rb",
|
108
|
+
"lib/kaltura/service/base_entry_service.rb",
|
109
|
+
"lib/kaltura/service/base_service.rb",
|
110
|
+
"lib/kaltura/service/bulk_upload_service.rb",
|
111
|
+
"lib/kaltura/service/category_service.rb",
|
112
|
+
"lib/kaltura/service/conversion_profile_service.rb",
|
113
|
+
"lib/kaltura/service/data_service.rb",
|
114
|
+
"lib/kaltura/service/email_ingestion_profile_service.rb",
|
115
|
+
"lib/kaltura/service/flavor_asset_service.rb",
|
116
|
+
"lib/kaltura/service/flavor_params_service.rb",
|
117
|
+
"lib/kaltura/service/live_stream_service.rb",
|
118
|
+
"lib/kaltura/service/media_service.rb",
|
119
|
+
"lib/kaltura/service/mixing_service.rb",
|
120
|
+
"lib/kaltura/service/notification_service.rb",
|
121
|
+
"lib/kaltura/service/partner_service.rb",
|
122
|
+
"lib/kaltura/service/playlist_service.rb",
|
123
|
+
"lib/kaltura/service/report_service.rb",
|
124
|
+
"lib/kaltura/service/search_service.rb",
|
125
|
+
"lib/kaltura/service/session_service.rb",
|
126
|
+
"lib/kaltura/service/stats_service.rb",
|
127
|
+
"lib/kaltura/service/syndication_feed_service.rb",
|
128
|
+
"lib/kaltura/service/system_partner_service.rb",
|
129
|
+
"lib/kaltura/service/system_service.rb",
|
130
|
+
"lib/kaltura/service/system_user_service.rb",
|
131
|
+
"lib/kaltura/service/ui_conf_service.rb",
|
132
|
+
"lib/kaltura/service/upload_service.rb",
|
133
|
+
"lib/kaltura/service/user_service.rb",
|
134
|
+
"lib/kaltura/service/widget_service.rb",
|
135
|
+
"lib/kaltura/service/x_internal_service.rb",
|
136
|
+
"test/kaltura-ruby_test.rb",
|
137
|
+
"test/test.rb",
|
138
|
+
"test/test_2.rb",
|
139
|
+
"test/test_error.rb",
|
140
|
+
"test/test_helper.rb",
|
141
|
+
"velir_kaltura-ruby.gemspec"
|
143
142
|
]
|
144
143
|
s.homepage = %q{http://github.com/Velir/kaltura-ruby}
|
145
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
146
144
|
s.require_paths = ["lib"]
|
147
|
-
s.rubygems_version = %q{1.
|
145
|
+
s.rubygems_version = %q{1.6.2}
|
148
146
|
s.summary = %q{Ruby gem for accessing the Kaltura API}
|
149
|
-
s.test_files = [
|
150
|
-
"test/kaltura-ruby_test.rb",
|
151
|
-
"test/test.rb",
|
152
|
-
"test/test_2.rb",
|
153
|
-
"test/test_error.rb",
|
154
|
-
"test/test_helper.rb"
|
155
|
-
]
|
156
147
|
|
157
148
|
if s.respond_to? :specification_version then
|
158
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
159
149
|
s.specification_version = 3
|
160
150
|
|
161
151
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: velir_kaltura-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 9
|
10
|
-
version: 0.4.9
|
4
|
+
prerelease:
|
5
|
+
version: 0.4.10
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Patrick Robertson
|
@@ -15,7 +10,7 @@ autorequire:
|
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date:
|
13
|
+
date: 2011-07-11 00:00:00 -04:00
|
19
14
|
default_executable:
|
20
15
|
dependencies:
|
21
16
|
- !ruby/object:Gem::Dependency
|
@@ -26,11 +21,6 @@ dependencies:
|
|
26
21
|
requirements:
|
27
22
|
- - ">="
|
28
23
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 19
|
30
|
-
segments:
|
31
|
-
- 2
|
32
|
-
- 3
|
33
|
-
- 8
|
34
24
|
version: 2.3.8
|
35
25
|
type: :runtime
|
36
26
|
version_requirements: *id001
|
@@ -42,11 +32,6 @@ dependencies:
|
|
42
32
|
requirements:
|
43
33
|
- - ">="
|
44
34
|
- !ruby/object:Gem::Version
|
45
|
-
hash: 19
|
46
|
-
segments:
|
47
|
-
- 2
|
48
|
-
- 3
|
49
|
-
- 8
|
50
35
|
version: 2.3.8
|
51
36
|
type: :runtime
|
52
37
|
version_requirements: *id002
|
@@ -58,9 +43,6 @@ dependencies:
|
|
58
43
|
requirements:
|
59
44
|
- - ">="
|
60
45
|
- !ruby/object:Gem::Version
|
61
|
-
hash: 3
|
62
|
-
segments:
|
63
|
-
- 0
|
64
46
|
version: "0"
|
65
47
|
type: :runtime
|
66
48
|
version_requirements: *id003
|
@@ -72,11 +54,6 @@ dependencies:
|
|
72
54
|
requirements:
|
73
55
|
- - ">="
|
74
56
|
- !ruby/object:Gem::Version
|
75
|
-
hash: 1
|
76
|
-
segments:
|
77
|
-
- 1
|
78
|
-
- 5
|
79
|
-
- 1
|
80
57
|
version: 1.5.1
|
81
58
|
type: :runtime
|
82
59
|
version_requirements: *id004
|
@@ -92,7 +69,6 @@ extra_rdoc_files:
|
|
92
69
|
- README.rdoc
|
93
70
|
files:
|
94
71
|
- .document
|
95
|
-
- .gitignore
|
96
72
|
- LICENSE
|
97
73
|
- README.markdown
|
98
74
|
- README.rdoc
|
@@ -219,8 +195,8 @@ homepage: http://github.com/Velir/kaltura-ruby
|
|
219
195
|
licenses: []
|
220
196
|
|
221
197
|
post_install_message:
|
222
|
-
rdoc_options:
|
223
|
-
|
198
|
+
rdoc_options: []
|
199
|
+
|
224
200
|
require_paths:
|
225
201
|
- lib
|
226
202
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -228,29 +204,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
228
204
|
requirements:
|
229
205
|
- - ">="
|
230
206
|
- !ruby/object:Gem::Version
|
231
|
-
hash: 3
|
232
|
-
segments:
|
233
|
-
- 0
|
234
207
|
version: "0"
|
235
208
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
236
209
|
none: false
|
237
210
|
requirements:
|
238
211
|
- - ">="
|
239
212
|
- !ruby/object:Gem::Version
|
240
|
-
hash: 3
|
241
|
-
segments:
|
242
|
-
- 0
|
243
213
|
version: "0"
|
244
214
|
requirements: []
|
245
215
|
|
246
216
|
rubyforge_project:
|
247
|
-
rubygems_version: 1.
|
217
|
+
rubygems_version: 1.6.2
|
248
218
|
signing_key:
|
249
219
|
specification_version: 3
|
250
220
|
summary: Ruby gem for accessing the Kaltura API
|
251
|
-
test_files:
|
252
|
-
|
253
|
-
- test/test.rb
|
254
|
-
- test/test_2.rb
|
255
|
-
- test/test_error.rb
|
256
|
-
- test/test_helper.rb
|
221
|
+
test_files: []
|
222
|
+
|