unimatrix 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b72ae5b72687fb86162dcc1e803ee68a8301ebb
4
- data.tar.gz: 91ab9f9abbd5cad7b00ef121c205c15529ba1fa7
3
+ metadata.gz: d53a593c457bab904685c35dd94420773aa254a8
4
+ data.tar.gz: 4b7f87ff0a292a5f50d0015b14d5427f0fd965cf
5
5
  SHA512:
6
- metadata.gz: cd4766351264038bf7403bc97886b42a3158045e7de9725ba39a456597168d8e8ff7480e909b15fc9943cdd6ddd362c00f14c6a0f8c8a94ea40ed5578967c422
7
- data.tar.gz: 8ad69179676bcb105501f45be83254cd22ee7b91874ed722de137d90c14e06a6624b834bcbdf8c1d0a218a6413ba1f3d5102212bd67e897c95ba1e2c9353ddfc
6
+ metadata.gz: 0a5658f3568754e9ba348378f3d1b54f2f0fa9bae27aa8ea5e567553f3efa05dd4dcbfdd1de4c139fcbaf3d31d08770a526843d5924021ba495cdee959d719b8
7
+ data.tar.gz: afa67d355baf54e7dedb512c0a2e6110435d165626b2a8ba621c35970a07fc3228b7300d9bf403ee09818e47860bf77600a09587e9d153746999fc58a5b263ae
@@ -34,11 +34,11 @@ require 'unimatrix/activist/activity'
34
34
 
35
35
  # alchemist
36
36
  require 'unimatrix/alchemist/activity_proxy'
37
- require 'unimatrix/alchemist/encoder'
38
37
  require 'unimatrix/alchemist/rendition'
39
38
  require 'unimatrix/alchemist/rendition_profile'
40
39
  require 'unimatrix/alchemist/text'
41
40
  require 'unimatrix/alchemist/video'
41
+ require 'unimatrix/alchemist/video_encoder'
42
42
  require 'unimatrix/alchemist/aws_rendition_profile'
43
43
  require 'unimatrix/alchemist/picture_rendition'
44
44
  require 'unimatrix/alchemist/sprite_rendition'
@@ -63,13 +63,13 @@ require 'unimatrix/distributor/destination'
63
63
  require 'unimatrix/distributor/distribution'
64
64
 
65
65
  # iris
66
- require 'unimatrix/iris/encoder'
67
- require 'unimatrix/iris/input'
68
- require 'unimatrix/iris/output'
69
- require 'unimatrix/iris/recorder'
70
66
  require 'unimatrix/iris/stream'
71
- require 'unimatrix/iris/transcriber'
72
- require 'unimatrix/iris/transmutator'
67
+ require 'unimatrix/iris/stream_encoder'
68
+ require 'unimatrix/iris/stream_input'
69
+ require 'unimatrix/iris/stream_output'
70
+ require 'unimatrix/iris/stream_recorder'
71
+ require 'unimatrix/iris/stream_transcriber'
72
+ require 'unimatrix/iris/stream_transmutator'
73
73
 
74
74
  # zephyrus
75
75
  require 'unimatrix/zephyrus/input'
@@ -13,7 +13,7 @@ module Unimatrix::Alchemist
13
13
 
14
14
  has_many :renditions
15
15
  has_many :activity_proxies
16
- has_many :encoders
16
+ has_many :video_encoders
17
17
 
18
18
  end
19
19
 
@@ -34,7 +34,7 @@ module Unimatrix::Alchemist
34
34
  field :audio_bit_rate
35
35
  field :audio_sample_rate
36
36
 
37
- has_many :encoders
37
+ has_many :video_encoders
38
38
  has_many :renditions
39
39
  has_many :activity_proxies
40
40
 
@@ -1,6 +1,6 @@
1
1
  module Unimatrix::Alchemist
2
2
 
3
- class Encoder < Unimatrix::DynamicResource
3
+ class VideoEncoder < Unimatrix::DynamicResource
4
4
 
5
5
  field :id
6
6
  field :uuid
@@ -1,7 +1,7 @@
1
1
  module Unimatrix::Archivist
2
-
3
- class Blueprint < Unimatrix::DynamicResource
4
-
2
+
3
+ class BlueprintAttribute < Unimatrix::DynamicResource
4
+
5
5
  field :id
6
6
  field :uuid
7
7
  field :realm_uuid
@@ -27,8 +27,8 @@ module Unimatrix::Archivist
27
27
  field :validates_type
28
28
  field :created_at
29
29
  field :updated_at
30
-
30
+
31
31
  has_many :errors
32
-
32
+
33
33
  end
34
34
  end
@@ -10,12 +10,12 @@ module Unimatrix::Iris
10
10
  field :stream_type
11
11
  field :realm_uuid
12
12
 
13
- has_many :inputs
14
- has_many :outputs
15
- has_many :encoders
16
- has_many :recorders
17
- has_many :transmutators
18
- has_many :transcribers
13
+ has_many :stream_inputs
14
+ has_many :stream_outputs
15
+ has_many :stream_encoders
16
+ has_many :stream_recorders
17
+ has_many :stream_transmutators
18
+ has_many :stream_transcribers
19
19
 
20
20
  end
21
21
 
@@ -1,6 +1,6 @@
1
1
  module Unimatrix::Iris
2
2
 
3
- class Encoder < Unimatrix::DynamicResource
3
+ class StreamEncoder < Unimatrix::DynamicResource
4
4
 
5
5
  field :id
6
6
  field :created_at
@@ -1,6 +1,6 @@
1
1
  module Unimatrix::Iris
2
2
 
3
- class Input < Unimatrix::DynamicResource
3
+ class StreamInput < Unimatrix::DynamicResource
4
4
 
5
5
  field :id
6
6
  field :created_at
@@ -1,6 +1,6 @@
1
1
  module Unimatrix::Iris
2
2
 
3
- class Output < Unimatrix::DynamicResource
3
+ class StreamOutput < Unimatrix::DynamicResource
4
4
 
5
5
  field :id
6
6
  field :created_at
@@ -1,6 +1,6 @@
1
1
  module Unimatrix::Iris
2
2
 
3
- class Recorder < Unimatrix::DynamicResource
3
+ class StreamRecorder < Unimatrix::DynamicResource
4
4
 
5
5
  field :id
6
6
  field :created_at
@@ -1,6 +1,6 @@
1
1
  module Unimatrix::Iris
2
2
 
3
- class Transcriber < Unimatrix::DynamicResource
3
+ class StreamTranscriber < Unimatrix::DynamicResource
4
4
 
5
5
  field :id
6
6
  field :created_at
@@ -1,6 +1,6 @@
1
1
  module Unimatrix::Iris
2
2
 
3
- class Transmutator < Unimatrix::DynamicResource
3
+ class StreamTransmutator < Unimatrix::DynamicResource
4
4
 
5
5
  field :id
6
6
  field :created_at
@@ -50,8 +50,9 @@ module Unimatrix
50
50
  self.spawn( :include => self.normalize_include( *arguments ) )
51
51
  end
52
52
 
53
- def query( &block )
53
+ def read( &block )
54
54
  result = nil
55
+ response = nil
55
56
  Request.new.tap do | request |
56
57
  request.get( @path, @parameters ).tap do | response |
57
58
  result = response.resources
@@ -67,26 +68,6 @@ module Unimatrix
67
68
  result
68
69
  end
69
70
 
70
- def read( &block )
71
- response = nil
72
- result = nil
73
- self.query do | _result, _response |
74
- result = _result
75
- response = _response
76
- end
77
- if response.success?
78
- result = result.first if result.present? && result.is_a?( Enumerable )
79
- if block_given?
80
- case block.arity
81
- when 0; yield
82
- when 1; yield result
83
- when 2; yield result, response
84
- end
85
- end
86
- end
87
- result
88
- end
89
-
90
71
  def write( node, objects, &block )
91
72
  result = nil
92
73
  Request.new.tap do | request |
@@ -1,3 +1,3 @@
1
1
  module Unimatrix
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unimatrix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jackson Souza
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-23 00:00:00.000000000 Z
11
+ date: 2018-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -92,7 +92,6 @@ files:
92
92
  - lib/unimatrix/activist/task.rb
93
93
  - lib/unimatrix/alchemist/activity_proxy.rb
94
94
  - lib/unimatrix/alchemist/aws_rendition_profile.rb
95
- - lib/unimatrix/alchemist/encoder.rb
96
95
  - lib/unimatrix/alchemist/picture_rendition.rb
97
96
  - lib/unimatrix/alchemist/rendition.rb
98
97
  - lib/unimatrix/alchemist/rendition_profile.rb
@@ -101,6 +100,7 @@ files:
101
100
  - lib/unimatrix/alchemist/text_rendition.rb
102
101
  - lib/unimatrix/alchemist/text_storage_activity_proxy.rb
103
102
  - lib/unimatrix/alchemist/video.rb
103
+ - lib/unimatrix/alchemist/video_encoder.rb
104
104
  - lib/unimatrix/alchemist/video_encoding_activity_proxy.rb
105
105
  - lib/unimatrix/alchemist/video_picture_activity_proxy.rb
106
106
  - lib/unimatrix/alchemist/video_rendition.rb
@@ -121,13 +121,13 @@ files:
121
121
  - lib/unimatrix/dynamic_resource.rb
122
122
  - lib/unimatrix/error.rb
123
123
  - lib/unimatrix/forbidden_error.rb
124
- - lib/unimatrix/iris/encoder.rb
125
- - lib/unimatrix/iris/input.rb
126
- - lib/unimatrix/iris/output.rb
127
- - lib/unimatrix/iris/recorder.rb
128
124
  - lib/unimatrix/iris/stream.rb
129
- - lib/unimatrix/iris/transcriber.rb
130
- - lib/unimatrix/iris/transmutator.rb
125
+ - lib/unimatrix/iris/stream_encoder.rb
126
+ - lib/unimatrix/iris/stream_input.rb
127
+ - lib/unimatrix/iris/stream_output.rb
128
+ - lib/unimatrix/iris/stream_recorder.rb
129
+ - lib/unimatrix/iris/stream_transcriber.rb
130
+ - lib/unimatrix/iris/stream_transmutator.rb
131
131
  - lib/unimatrix/malformed_parameter_error.rb
132
132
  - lib/unimatrix/missing_parameter_error.rb
133
133
  - lib/unimatrix/not_found_error.rb
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  version: '0'
171
171
  requirements: []
172
172
  rubyforge_project:
173
- rubygems_version: 2.4.8
173
+ rubygems_version: 2.6.12
174
174
  signing_key:
175
175
  specification_version: 4
176
176
  summary: Unimatrix is used to communicate with Unimatrix APIs.