kaltura 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +1 -0
- data/README.md +77 -0
- data/kaltura.gemspec +1 -0
- data/lib/kaltura/version.rb +1 -1
- metadata +15 -2
data/.travis.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
rvm: 1.9.2
|
data/README.md
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
Mobile Path
|
2
|
+
--------------
|
3
|
+
**Homepage**: [http://www.p-rob.me](http://www.p-rob.me)
|
4
|
+
**Author**: [Patrick Robertson](mailto:patricksrobertson@gmail.com)
|
5
|
+
**Copyright**: 2011
|
6
|
+
**License**: [MIT License](file:LICENSE.txt)
|
7
|
+
|
8
|
+
About Kaltura
|
9
|
+
-----------------
|
10
|
+
|
11
|
+
Kaltura is a Ruby API Wrapper for the Kaltura API. It differentiates
|
12
|
+
itself from the Kaltura-Ruby library by the fact that it:
|
13
|
+
|
14
|
+
* Is actually tested if that's your bag (I know it's mine).
|
15
|
+
* Uses idiomatic Ruby
|
16
|
+
* Considerably lighter weight.
|
17
|
+
|
18
|
+
Currently, the following services are the only ones implemented:
|
19
|
+
|
20
|
+
* Session
|
21
|
+
* Media
|
22
|
+
|
23
|
+
Installation
|
24
|
+
------------
|
25
|
+
You can install the gem like so:
|
26
|
+
|
27
|
+
gem install kaltura
|
28
|
+
|
29
|
+
If you are using rails, chuck that bitch in your Gemfile:
|
30
|
+
|
31
|
+
gem "kaltura"
|
32
|
+
|
33
|
+
|
34
|
+
You can override some of the defaults in your config/initializers/ folder like so:
|
35
|
+
|
36
|
+
#config/initializers/kaltura.rb
|
37
|
+
MobilePath.configure do |config|
|
38
|
+
config.partner_id = 12423
|
39
|
+
config.adminsitrator_secret = 'somesecretstring'
|
40
|
+
config.service_url = 'kaltura-ce.installed.url.com'
|
41
|
+
end
|
42
|
+
|
43
|
+
Usage
|
44
|
+
-----
|
45
|
+
|
46
|
+
This thing is so easy to use! It's why I made it.
|
47
|
+
|
48
|
+
If you need a specific Video:
|
49
|
+
|
50
|
+
entry = Kaltura::MediaEntry.get('id')
|
51
|
+
|
52
|
+
If you need quite a few more:
|
53
|
+
|
54
|
+
entries = Kaltura::MediaEntry.list
|
55
|
+
|
56
|
+
If you need to change it up:
|
57
|
+
|
58
|
+
entry.update(:tags => "delicious, waffles")
|
59
|
+
|
60
|
+
|
61
|
+
Contributing to Kaltura
|
62
|
+
---------------------------
|
63
|
+
|
64
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
65
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
|
66
|
+
* Fork the project
|
67
|
+
* Start a feature/bugfix branch
|
68
|
+
* Commit and push until you are happy with your contribution
|
69
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
70
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
71
|
+
|
72
|
+
Copyright
|
73
|
+
---------
|
74
|
+
|
75
|
+
Copyright (c) 2011 Patrick Robertson. See LICENSE.txt for
|
76
|
+
further details.
|
77
|
+
|
data/kaltura.gemspec
CHANGED
data/lib/kaltura/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: kaltura
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Patrick Robertson
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-08-
|
13
|
+
date: 2011-08-27 00:00:00 -04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -68,6 +68,17 @@ dependencies:
|
|
68
68
|
version: "1.7"
|
69
69
|
type: :development
|
70
70
|
version_requirements: *id005
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: rake
|
73
|
+
prerelease: false
|
74
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ~>
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: 0.9.2
|
80
|
+
type: :development
|
81
|
+
version_requirements: *id006
|
71
82
|
description: A ruby client for the Kaltura API.
|
72
83
|
email:
|
73
84
|
- patricksrobertson@gmail.com
|
@@ -80,7 +91,9 @@ extra_rdoc_files: []
|
|
80
91
|
files:
|
81
92
|
- .gitignore
|
82
93
|
- .rspec
|
94
|
+
- .travis.yml
|
83
95
|
- Gemfile
|
96
|
+
- README.md
|
84
97
|
- Rakefile
|
85
98
|
- kaltura.gemspec
|
86
99
|
- lib/kaltura.rb
|