cannikin-encosion 0.2.0 → 0.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/README.rdoc CHANGED
@@ -31,6 +31,10 @@ read or write methods.
31
31
  # find videos by your own reference id
32
32
  video = Encosion::Video.find_by_reference_id('our_internal_id', :token => '123abc')
33
33
 
34
+ # check the status of a video (technically this uses the write API so you need to provide your write token)
35
+ status = Encosion::Video.status(12345, :token => '123abc') # finds by Brightcove video_id
36
+ status = Encosion::Video.status('our_internal_id', :token => '123abc') # finds by reference_id (string instead of integer)
37
+
34
38
  See Encosion::Video for all the available find methods and their variants.
35
39
 
36
40
  == Write Methods
@@ -62,6 +66,6 @@ And of course the video file itself.
62
66
 
63
67
  = To Do
64
68
 
65
- * Implement the remaining Video write methods: update_video, delete_video, share_video, get_upload_status, add_image
69
+ * Implement the remaining Video write methods: update_video, delete_video, share_video, add_image
66
70
  * Implement the Playlist API read/write methods
67
- * Create a persistent config store so you can set the tokens once instead of on each method call
71
+ * Create a persistent config store so you can set the tokens once instead of on each method call
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
data/encosion.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{encosion}
5
- s.version = "0.2.0"
5
+ s.version = "0.2.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Rob Cameron"]
9
- s.date = %q{2009-07-22}
9
+ s.date = %q{2009-08-03}
10
10
  s.email = %q{cannikinn@gmail.com}
11
11
  s.extra_rdoc_files = [
12
12
  "LICENSE",
@@ -157,7 +157,6 @@ module Encosion
157
157
 
158
158
  # Creates a new Video object from a Ruby hash (used to create a video from a parsed API call)
159
159
  def parse(obj)
160
- puts obj.inspect
161
160
  if obj
162
161
  args = {:id => obj['id'].to_i,
163
162
  :name => obj['name'],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cannikin-encosion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Cameron
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-22 00:00:00 -07:00
12
+ date: 2009-08-03 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -62,6 +62,7 @@ files:
62
62
  - test/test_helper.rb
63
63
  has_rdoc: false
64
64
  homepage: http://github.com/cannikin/encosion
65
+ licenses:
65
66
  post_install_message:
66
67
  rdoc_options:
67
68
  - --charset=UTF-8
@@ -82,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
83
  requirements: []
83
84
 
84
85
  rubyforge_project:
85
- rubygems_version: 1.2.0
86
+ rubygems_version: 1.3.5
86
87
  signing_key:
87
88
  specification_version: 3
88
89
  summary: Ruby library for working with the Brightcove API