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 +4 -4
- data/lib/unimatrix.rb +7 -7
- data/lib/unimatrix/alchemist/rendition_profile.rb +1 -1
- data/lib/unimatrix/alchemist/video.rb +1 -1
- data/lib/unimatrix/alchemist/{encoder.rb → video_encoder.rb} +1 -1
- data/lib/unimatrix/archivist/blueprint_attribute.rb +5 -5
- data/lib/unimatrix/iris/stream.rb +6 -6
- data/lib/unimatrix/iris/{encoder.rb → stream_encoder.rb} +1 -1
- data/lib/unimatrix/iris/{input.rb → stream_input.rb} +1 -1
- data/lib/unimatrix/iris/{output.rb → stream_output.rb} +1 -1
- data/lib/unimatrix/iris/{recorder.rb → stream_recorder.rb} +1 -1
- data/lib/unimatrix/iris/{transcriber.rb → stream_transcriber.rb} +1 -1
- data/lib/unimatrix/iris/{transmutator.rb → stream_transmutator.rb} +1 -1
- data/lib/unimatrix/operation.rb +2 -21
- data/lib/unimatrix/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d53a593c457bab904685c35dd94420773aa254a8
|
4
|
+
data.tar.gz: 4b7f87ff0a292a5f50d0015b14d5427f0fd965cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a5658f3568754e9ba348378f3d1b54f2f0fa9bae27aa8ea5e567553f3efa05dd4dcbfdd1de4c139fcbaf3d31d08770a526843d5924021ba495cdee959d719b8
|
7
|
+
data.tar.gz: afa67d355baf54e7dedb512c0a2e6110435d165626b2a8ba621c35970a07fc3228b7300d9bf403ee09818e47860bf77600a09587e9d153746999fc58a5b263ae
|
data/lib/unimatrix.rb
CHANGED
@@ -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/
|
72
|
-
require 'unimatrix/iris/
|
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'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Unimatrix::Archivist
|
2
|
-
|
3
|
-
class
|
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 :
|
14
|
-
has_many :
|
15
|
-
has_many :
|
16
|
-
has_many :
|
17
|
-
has_many :
|
18
|
-
has_many :
|
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
|
|
data/lib/unimatrix/operation.rb
CHANGED
@@ -50,8 +50,9 @@ module Unimatrix
|
|
50
50
|
self.spawn( :include => self.normalize_include( *arguments ) )
|
51
51
|
end
|
52
52
|
|
53
|
-
def
|
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 |
|
data/lib/unimatrix/version.rb
CHANGED
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.
|
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-
|
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/
|
130
|
-
- lib/unimatrix/iris/
|
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.
|
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.
|