framey 1.0.4 → 1.1.0

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.
Files changed (5) hide show
  1. data/README.md +13 -10
  2. data/Rakefile +1 -1
  3. data/lib/framey/api.rb +1 -1
  4. data/lib/framey.rb +1 -1
  5. metadata +8 -9
data/README.md CHANGED
@@ -54,14 +54,17 @@ When your user then views this recorder, records a video, and clicks "Publish",
54
54
 
55
55
  {
56
56
  :video => {
57
- :name => [video name], # this is the video's UUID within the Framey system
58
- :filesize => [filesize], # the filesize in bytes of the video
59
- :duration => [duration], # the duration of the video in seconds
60
- :state => [state], # the state of the video, in this case "uploaded"
61
- :views => [number of views], # the number of times this video has been viewed, in this case 0
62
- :data => [the data hash you specified], # this is the exact data you specified in the :session_data hash when rendering the recorder
63
- :url => [video url], # url to the flash video file on framey that you can feed into a video player later
64
- :thumbnail => [thumbnail url] # url to the thumbnail image that was generated for this video
57
+ :name => [video name], # this is the video's UUID within the Framey system
58
+ :filesize => [filesize], # the filesize in bytes of the video
59
+ :duration => [duration], # the duration of the video in seconds
60
+ :state => [state], # the state of the video, in this case "uploaded"
61
+ :views => [number of views], # the number of times this video has been viewed, in this case 0
62
+ :data => [the data hash you specified], # this is the exact data you specified in the :session_data hash when rendering the recorder
63
+ :flv_url => [video url], # url to the flash video file on framey that you can feed into a video player later
64
+ :mp4_url => [h.264 video url], # url to the h.264 video file on framey that you can feed into a video player later
65
+ :large_thumbnail_url => [thumbnail url] # url to the large thumbnail image that was generated for this video
66
+ :medium_thumbnail_url => [thumbnail url] # url to the medium thumbnail image that was generated for this video
67
+ :small_thumbnail_url => [thumbnail url] # url to the small thumbnail image that was generated for this video
65
68
  }
66
69
  }
67
70
 
@@ -84,7 +87,7 @@ To get updated stats information about a given video, do:
84
87
 
85
88
  This returns a simple Framey::Video object, like so:
86
89
 
87
- #<Framey::Video:0x1037b4450 @state="uploaded", @filesize=123456, @name="c96323e0-54b1-012e-9d34-7c6d628c53d4", @thumbnail="http://framey.com/videos/c96323e0-54b1-012e-9d34-7c6d628c53d4/thumbnail.jpg", @data={"user_id" => 1}, @url="http://framey.com/videos/c96323e0-54b1-012e-9d34-7c6d628c53d4/source.flv", @views=12, @duration=15.62>
90
+ #<Framey::Video:0x1037b4450 @state="uploaded", @filesize=123456, @name="c96323e0-54b1-012e-9d34-7c6d628c53d4", @large_thumbnail_url="http://framey.com/thumbnails/c96323e0-54b1-012e-9d34-7c6d628c53d4.jpg", @medium_thumbnail_url="http://framey.com/thumbnails/c96323e0-54b1-012e-9d34-7c6d628c53d4.jpg", @small_thumbnail_url="http://framey.com/thumbnails/c96323e0-54b1-012e-9d34-7c6d628c53d4.jpg", @data={"user_id" => 1}, @flv_url="http://framey.com/videos/source/c96323e0-54b1-012e-9d34-7c6d628c53d4/source.flv", @mp4_url="http://framey.com/videos/source/c96323e0-54b1-012e-9d34-7c6d628c53d4/source.mp4", @views=12, @duration=15.62>
88
91
 
89
92
  To delete a video on Framey, do:
90
93
 
@@ -96,7 +99,7 @@ or:
96
99
 
97
100
  # Other Documentation
98
101
 
99
- * http://rubydoc.info/gems/framey/1.0.0/frames
102
+ * http://rubydoc.info/gems/framey/1.1.0/frames
100
103
 
101
104
  # License
102
105
 
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'framey'
5
5
 
6
6
  Hoe.spec('framey') do |p|
7
7
  p.name = "framey"
8
- p.version = '1.0.4'
8
+ p.version = '1.1.0'
9
9
  p.author = "Shaun Salzberg"
10
10
  p.description = "A gem for easy Rails integration with the Framey video recording service."
11
11
  p.email = 'shaun@qlabs.com'
data/lib/framey/api.rb CHANGED
@@ -86,7 +86,7 @@ module Framey
86
86
  end
87
87
 
88
88
  class Video
89
- attr_accessor :name, :url, :filesize, :duration, :state, :views, :data, :url, :thumbnail
89
+ attr_accessor :name, :flv_url, :mp4_url, :filesize, :duration, :state, :views, :data, :large_thumbnail_url, :medium_thumbnail_url, :small_thumbnail_url
90
90
 
91
91
  def initialize(attrs={})
92
92
  attrs.each do |k,v|
data/lib/framey.rb CHANGED
@@ -3,7 +3,7 @@ require 'framey/api'
3
3
  require 'framey/view_helpers'
4
4
 
5
5
  module Framey
6
- VERSION = "1.0.4"
6
+ VERSION = "1.1.0"
7
7
 
8
8
  extend Configuration
9
9
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: framey
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
+ - 1
8
9
  - 0
9
- - 4
10
- version: 1.0.4
10
+ version: 1.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Shaun Salzberg
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-03 00:00:00 Z
18
+ date: 2011-06-24 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: httparty
@@ -39,14 +39,13 @@ dependencies:
39
39
  requirement: &id002 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
- - - ">="
42
+ - - ~>
43
43
  - !ruby/object:Gem::Version
44
- hash: 35
44
+ hash: 17
45
45
  segments:
46
46
  - 2
47
47
  - 9
48
- - 4
49
- version: 2.9.4
48
+ version: "2.9"
50
49
  type: :development
51
50
  version_requirements: *id002
52
51
  description: A gem for easy Rails integration with the Framey video recording service.
@@ -97,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
96
  requirements: []
98
97
 
99
98
  rubyforge_project: framey
100
- rubygems_version: 1.7.2
99
+ rubygems_version: 1.8.5
101
100
  signing_key:
102
101
  specification_version: 3
103
102
  summary: A gem for easy Rails integration with the Framey video recording service.