telestream_cloud 1.0.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 (45) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +22 -0
  3. data/.rspec +1 -0
  4. data/Gemfile +2 -0
  5. data/LICENSE +20 -0
  6. data/README.md +357 -0
  7. data/Rakefile +9 -0
  8. data/lib/telestream_cloud.rb +30 -0
  9. data/lib/telestream_cloud/api_authentication.rb +66 -0
  10. data/lib/telestream_cloud/base.rb +111 -0
  11. data/lib/telestream_cloud/config.rb +87 -0
  12. data/lib/telestream_cloud/connection.rb +101 -0
  13. data/lib/telestream_cloud/errors.rb +17 -0
  14. data/lib/telestream_cloud/faraday.rb +84 -0
  15. data/lib/telestream_cloud/flip.rb +9 -0
  16. data/lib/telestream_cloud/modules/associations.rb +55 -0
  17. data/lib/telestream_cloud/modules/builders.rb +45 -0
  18. data/lib/telestream_cloud/modules/destroyers.rb +25 -0
  19. data/lib/telestream_cloud/modules/factory_connection.rb +7 -0
  20. data/lib/telestream_cloud/modules/finders.rb +68 -0
  21. data/lib/telestream_cloud/modules/router.rb +62 -0
  22. data/lib/telestream_cloud/modules/updatable.rb +31 -0
  23. data/lib/telestream_cloud/modules/video_state.rb +16 -0
  24. data/lib/telestream_cloud/proxies/encoding_scope.rb +56 -0
  25. data/lib/telestream_cloud/proxies/profile_scope.rb +7 -0
  26. data/lib/telestream_cloud/proxies/proxy.rb +27 -0
  27. data/lib/telestream_cloud/proxies/scope.rb +94 -0
  28. data/lib/telestream_cloud/proxies/video_scope.rb +28 -0
  29. data/lib/telestream_cloud/resources/encoding.rb +47 -0
  30. data/lib/telestream_cloud/resources/factory.rb +72 -0
  31. data/lib/telestream_cloud/resources/profile.rb +22 -0
  32. data/lib/telestream_cloud/resources/resource.rb +48 -0
  33. data/lib/telestream_cloud/resources/video.rb +39 -0
  34. data/lib/telestream_cloud/telestream_cloud.rb +69 -0
  35. data/lib/telestream_cloud/upload_session.rb +102 -0
  36. data/lib/telestream_cloud/version.rb +3 -0
  37. data/spec/cloud_spec.rb +132 -0
  38. data/spec/encoding_spec.rb +260 -0
  39. data/spec/heroku_spec.rb +32 -0
  40. data/spec/panda_spec.rb +206 -0
  41. data/spec/profile_spec.rb +117 -0
  42. data/spec/spec_helper.rb +18 -0
  43. data/spec/video_spec.rb +399 -0
  44. data/telestream_cloud.gemspec +30 -0
  45. metadata +191 -0
@@ -0,0 +1,30 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "telestream_cloud/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "telestream_cloud"
7
+ s.version = TelestreamCloud::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Telestream Cloud"]
10
+ s.email = ["cloudsupport@telestream.net"]
11
+ s.homepage = "http://github.com/pandastream/panda_gem"
12
+ s.summary = %q{Telestream Cloud Client}
13
+ s.description = %q{Telestream Cloud Client}
14
+
15
+ s.add_dependency "ruby-hmac", ">= 0.3.2"
16
+ s.add_dependency "faraday", ">= 0.7.0"
17
+ s.add_dependency "multi_json", ">= 1.2.0"
18
+
19
+ s.add_development_dependency "rake"
20
+ s.add_development_dependency "timecop"
21
+ s.add_development_dependency "rspec", ">= 2.8.0"
22
+ s.add_development_dependency "webmock", ">= 1.8.2"
23
+
24
+ s.rubyforge_project = "telestream_cloud"
25
+
26
+ s.files = `git ls-files`.split("\n")
27
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
28
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
29
+ s.require_paths = ["lib"]
30
+ end
metadata ADDED
@@ -0,0 +1,191 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: telestream_cloud
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Telestream Cloud
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-01-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ruby-hmac
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: 0.3.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 0.3.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: 0.7.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: 0.7.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: multi_json
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: 1.2.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 1.2.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: timecop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: 2.8.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: 2.8.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: webmock
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: 1.8.2
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: 1.8.2
111
+ description: Telestream Cloud Client
112
+ email:
113
+ - cloudsupport@telestream.net
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - .gitignore
119
+ - .rspec
120
+ - Gemfile
121
+ - LICENSE
122
+ - README.md
123
+ - Rakefile
124
+ - lib/telestream_cloud.rb
125
+ - lib/telestream_cloud/api_authentication.rb
126
+ - lib/telestream_cloud/base.rb
127
+ - lib/telestream_cloud/config.rb
128
+ - lib/telestream_cloud/connection.rb
129
+ - lib/telestream_cloud/errors.rb
130
+ - lib/telestream_cloud/faraday.rb
131
+ - lib/telestream_cloud/flip.rb
132
+ - lib/telestream_cloud/modules/associations.rb
133
+ - lib/telestream_cloud/modules/builders.rb
134
+ - lib/telestream_cloud/modules/destroyers.rb
135
+ - lib/telestream_cloud/modules/factory_connection.rb
136
+ - lib/telestream_cloud/modules/finders.rb
137
+ - lib/telestream_cloud/modules/router.rb
138
+ - lib/telestream_cloud/modules/updatable.rb
139
+ - lib/telestream_cloud/modules/video_state.rb
140
+ - lib/telestream_cloud/proxies/encoding_scope.rb
141
+ - lib/telestream_cloud/proxies/profile_scope.rb
142
+ - lib/telestream_cloud/proxies/proxy.rb
143
+ - lib/telestream_cloud/proxies/scope.rb
144
+ - lib/telestream_cloud/proxies/video_scope.rb
145
+ - lib/telestream_cloud/resources/encoding.rb
146
+ - lib/telestream_cloud/resources/factory.rb
147
+ - lib/telestream_cloud/resources/profile.rb
148
+ - lib/telestream_cloud/resources/resource.rb
149
+ - lib/telestream_cloud/resources/video.rb
150
+ - lib/telestream_cloud/telestream_cloud.rb
151
+ - lib/telestream_cloud/upload_session.rb
152
+ - lib/telestream_cloud/version.rb
153
+ - spec/cloud_spec.rb
154
+ - spec/encoding_spec.rb
155
+ - spec/heroku_spec.rb
156
+ - spec/panda_spec.rb
157
+ - spec/profile_spec.rb
158
+ - spec/spec_helper.rb
159
+ - spec/video_spec.rb
160
+ - telestream_cloud.gemspec
161
+ homepage: http://github.com/pandastream/panda_gem
162
+ licenses: []
163
+ metadata: {}
164
+ post_install_message:
165
+ rdoc_options: []
166
+ require_paths:
167
+ - lib
168
+ required_ruby_version: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - '>='
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ required_rubygems_version: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - '>='
176
+ - !ruby/object:Gem::Version
177
+ version: '0'
178
+ requirements: []
179
+ rubyforge_project: telestream_cloud
180
+ rubygems_version: 2.0.14
181
+ signing_key:
182
+ specification_version: 4
183
+ summary: Telestream Cloud Client
184
+ test_files:
185
+ - spec/cloud_spec.rb
186
+ - spec/encoding_spec.rb
187
+ - spec/heroku_spec.rb
188
+ - spec/panda_spec.rb
189
+ - spec/profile_spec.rb
190
+ - spec/spec_helper.rb
191
+ - spec/video_spec.rb