streamio 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 0.9.1 2012-05-02
2
+
3
+ * Audio model
4
+ * Bumped multi_json dependency version
5
+
1
6
  # 0.9.0 2011-12-01
2
7
 
3
8
  * Use `multi_json` gem to handle JSON parsing for maximum backend compatibility.
data/lib/streamio.rb CHANGED
@@ -8,6 +8,7 @@ require "streamio/video"
8
8
  require "streamio/image"
9
9
  require "streamio/playlist"
10
10
  require "streamio/player"
11
+ require "streamio/audio"
11
12
  require "streamio/encoding_profile"
12
13
  require "streamio/upload"
13
14
 
@@ -0,0 +1,8 @@
1
+ module Streamio
2
+ class Audio < Model
3
+ resource_name "audios"
4
+ creatable_attributes %w(file)
5
+ accessable_attributes %w(title description tags)
6
+ readable_attributes %w(id state progress plays duration created_at updated_at account_id transcodings)
7
+ end
8
+ end
@@ -1,3 +1,3 @@
1
1
  module Streamio
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
data/streamio.gemspec CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
6
6
  s.name = "streamio"
7
7
  s.version = Streamio::VERSION
8
8
  s.authors = ["David Backeus"]
9
- s.email = ["david@streamio.se"]
9
+ s.email = ["david@streamio.com"]
10
10
  s.homepage = "http://github.com/streamio/streamio-rb"
11
11
  s.summary = %q{Ruby wrapper for the Streamio API.}
12
12
  s.description = %q{Ruby wrapper for Streamios API.}
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14
14
  s.files = Dir.glob("lib/**/*") + %w(Gemfile streamio.gemspec HISTORY.md README.md)
15
15
 
16
16
  s.add_dependency("rest-client", "~> 1.6.1")
17
- s.add_dependency("multi_json", "~> 1.0.4")
17
+ s.add_dependency("multi_json", "~> 1.3.0")
18
18
 
19
19
  s.add_development_dependency("rspec", "~> 2.7")
20
20
  s.add_development_dependency("webmock", "~> 1.7.8")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: streamio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-01 00:00:00.000000000 Z
12
+ date: 2012-05-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
16
- requirement: &70359592889380 !ruby/object:Gem::Requirement
16
+ requirement: &70293599460060 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,21 +21,21 @@ dependencies:
21
21
  version: 1.6.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70359592889380
24
+ version_requirements: *70293599460060
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: multi_json
27
- requirement: &70359592888660 !ruby/object:Gem::Requirement
27
+ requirement: &70293599457900 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: 1.0.4
32
+ version: 1.3.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70359592888660
35
+ version_requirements: *70293599457900
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &70359592888000 !ruby/object:Gem::Requirement
38
+ requirement: &70293599454580 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '2.7'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70359592888000
46
+ version_requirements: *70293599454580
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: webmock
49
- requirement: &70359592887540 !ruby/object:Gem::Requirement
49
+ requirement: &70293599452340 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.7.8
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70359592887540
57
+ version_requirements: *70293599452340
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rake
60
- requirement: &70359592887080 !ruby/object:Gem::Requirement
60
+ requirement: &70293599450580 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,14 +65,15 @@ dependencies:
65
65
  version: 0.9.2
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70359592887080
68
+ version_requirements: *70293599450580
69
69
  description: Ruby wrapper for Streamios API.
70
70
  email:
71
- - david@streamio.se
71
+ - david@streamio.com
72
72
  executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - lib/streamio/audio.rb
76
77
  - lib/streamio/encoding_profile.rb
77
78
  - lib/streamio/image.rb
78
79
  - lib/streamio/model.rb
@@ -106,9 +107,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
107
  version: '0'
107
108
  requirements: []
108
109
  rubyforge_project:
109
- rubygems_version: 1.8.10
110
+ rubygems_version: 1.8.17
110
111
  signing_key:
111
112
  specification_version: 3
112
113
  summary: Ruby wrapper for the Streamio API.
113
114
  test_files: []
114
- has_rdoc: