unimatrix 2.3.1 → 2.4.2
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.
- checksums.yaml +4 -4
- data/lib/unimatrix.rb +5 -1
- data/lib/unimatrix/alchemist/activity_proxy.rb +1 -1
- data/lib/unimatrix/alchemist/rendition.rb +1 -1
- data/lib/unimatrix/alchemist/rendition_profile.rb +1 -1
- data/lib/unimatrix/alchemist/text.rb +1 -1
- data/lib/unimatrix/alchemist/video.rb +1 -1
- data/lib/unimatrix/alchemist/video_encoder.rb +1 -1
- data/lib/unimatrix/archivist/artifact.rb +1 -1
- data/lib/unimatrix/iris/stream.rb +1 -1
- data/lib/unimatrix/iris/stream_encoder.rb +1 -1
- data/lib/unimatrix/iris/stream_input.rb +1 -1
- data/lib/unimatrix/iris/stream_output.rb +1 -1
- data/lib/unimatrix/iris/stream_recorder.rb +1 -1
- data/lib/unimatrix/iris/stream_transcriber.rb +1 -1
- data/lib/unimatrix/iris/stream_transmutator.rb +1 -1
- data/lib/unimatrix/quartermaster/binary.rb +5 -7
- data/lib/unimatrix/quartermaster/binary_ingressor.rb +15 -0
- data/lib/unimatrix/regent/realm.rb +17 -0
- data/lib/unimatrix/regent/setting.rb +14 -0
- data/lib/unimatrix/resource.rb +0 -1
- data/lib/unimatrix/serializer.rb +11 -9
- data/lib/unimatrix/version.rb +1 -1
- data/lib/unimatrix/zephyrus/input.rb +1 -1
- data/lib/unimatrix/zephyrus/output.rb +1 -1
- data/lib/unimatrix/zephyrus/rendition.rb +1 -1
- data/lib/unimatrix/zephyrus/transmutation_output.rb +3 -0
- metadata +6 -4
- data/lib/unimatrix/quartermaster/binaries_ingressor.rb +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed292811a1941eaed362b535c42f65fb5e567e98
|
4
|
+
data.tar.gz: 0971b1f61add81fb08c2e818942495994cf18759
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15a014c4b463d4a1b8a984f79b9bc592613e7690dbefd5395a223a92883e6499a8f68cdc77f7df60cdd873764eedfd366b5e418f333c00ce063921d8d910aeae
|
7
|
+
data.tar.gz: 72b534d6c49cb4e2c6e3e065fddbf19cee5defeed7c786fe6b9ddf2c05fbc45d3af4bebe91f419ede755e7f252d4d550f637b9d483ae3b20a0850d9b1246b020
|
data/lib/unimatrix.rb
CHANGED
@@ -98,6 +98,10 @@ require 'unimatrix/iris/stream_recorder'
|
|
98
98
|
require 'unimatrix/iris/stream_transcriber'
|
99
99
|
require 'unimatrix/iris/stream_transmutator'
|
100
100
|
|
101
|
+
# regent
|
102
|
+
require 'unimatrix/regent/realm'
|
103
|
+
require 'unimatrix/regent/setting'
|
104
|
+
|
101
105
|
# zephyrus
|
102
106
|
require 'unimatrix/zephyrus/input'
|
103
107
|
require 'unimatrix/zephyrus/output'
|
@@ -116,4 +120,4 @@ require 'unimatrix/curator/source'
|
|
116
120
|
|
117
121
|
# quartermaster
|
118
122
|
require 'unimatrix/quartermaster/binary'
|
119
|
-
require 'unimatrix/quartermaster/
|
123
|
+
require 'unimatrix/quartermaster/binary_ingressor'
|
@@ -22,7 +22,7 @@ module Unimatrix::Archivist
|
|
22
22
|
field :uuid
|
23
23
|
field :realm_uuid
|
24
24
|
field :component_uuids
|
25
|
-
field relationships: [ :category, :
|
25
|
+
field relationships: [ :category, :person, :season, :asset, :athlete ]
|
26
26
|
field :name
|
27
27
|
field :created_at
|
28
28
|
field :updated_at
|
@@ -1,19 +1,17 @@
|
|
1
1
|
module Unimatrix::Quartermaster
|
2
2
|
|
3
|
-
class Binary < Unimatrix::
|
3
|
+
class Binary < Unimatrix::Resource
|
4
4
|
|
5
|
-
field :id
|
6
5
|
field :filename
|
7
6
|
field :content_length
|
8
7
|
field :content_type
|
9
|
-
field :realm_uuid
|
10
|
-
field :created_at
|
11
|
-
field :updated_at
|
12
|
-
field :properties
|
8
|
+
field :realm_uuid, read_only: true
|
9
|
+
field :created_at, read_only: true
|
10
|
+
field :updated_at, read_only: true
|
13
11
|
field :uuid
|
14
12
|
field :storage_key
|
15
13
|
|
16
|
-
|
14
|
+
has_one :binary_ingressor
|
17
15
|
|
18
16
|
end
|
19
17
|
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Unimatrix::Quartermaster
|
2
|
+
|
3
|
+
class BinaryIngressor < Unimatrix::Resource
|
4
|
+
|
5
|
+
field :binary_uuid, read_only: true
|
6
|
+
field :state, read_only: true
|
7
|
+
field :created_at, read_only: true
|
8
|
+
field :updated_at, read_only: true
|
9
|
+
field :uuid
|
10
|
+
field :url
|
11
|
+
field :realm_uuid, read_only: true
|
12
|
+
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
data/lib/unimatrix/resource.rb
CHANGED
data/lib/unimatrix/serializer.rb
CHANGED
@@ -18,15 +18,17 @@ module Unimatrix
|
|
18
18
|
)
|
19
19
|
if object.respond_to?( :fields )
|
20
20
|
object.fields.each do | name, options |
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
21
|
+
unless options[ :read_only ]
|
22
|
+
value = object.send( name ) if object.respond_to?( name )
|
23
|
+
if value.is_a?( Struct )
|
24
|
+
nested_attributes = value.members
|
25
|
+
nested_attributes.each do | nested_attribute |
|
26
|
+
key = "#{ name }.#{ nested_attribute }"
|
27
|
+
node_object[ key.to_sym ] = value.send( nested_attribute )
|
28
|
+
end
|
29
|
+
else
|
30
|
+
node_object[ name.to_sym ] = value
|
27
31
|
end
|
28
|
-
else
|
29
|
-
node_object[ name.to_sym ] = value
|
30
32
|
end
|
31
33
|
end
|
32
34
|
end
|
@@ -37,4 +39,4 @@ module Unimatrix
|
|
37
39
|
|
38
40
|
end
|
39
41
|
|
40
|
-
end
|
42
|
+
end
|
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: 2.
|
4
|
+
version: 2.4.2
|
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-03-
|
11
|
+
date: 2018-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -157,9 +157,11 @@ files:
|
|
157
157
|
- lib/unimatrix/not_found_error.rb
|
158
158
|
- lib/unimatrix/operation.rb
|
159
159
|
- lib/unimatrix/parser.rb
|
160
|
-
- lib/unimatrix/quartermaster/binaries_ingressor.rb
|
161
160
|
- lib/unimatrix/quartermaster/binary.rb
|
161
|
+
- lib/unimatrix/quartermaster/binary_ingressor.rb
|
162
162
|
- lib/unimatrix/realm.rb
|
163
|
+
- lib/unimatrix/regent/realm.rb
|
164
|
+
- lib/unimatrix/regent/setting.rb
|
163
165
|
- lib/unimatrix/request.rb
|
164
166
|
- lib/unimatrix/resource.rb
|
165
167
|
- lib/unimatrix/response.rb
|
@@ -196,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
198
|
version: '0'
|
197
199
|
requirements: []
|
198
200
|
rubyforge_project:
|
199
|
-
rubygems_version: 2.
|
201
|
+
rubygems_version: 2.4.8
|
200
202
|
signing_key:
|
201
203
|
specification_version: 4
|
202
204
|
summary: Unimatrix is used to communicate with Unimatrix APIs.
|
@@ -1,18 +0,0 @@
|
|
1
|
-
module Unimatrix::Quartermaster
|
2
|
-
|
3
|
-
class BinariesIngressor < Unimatrix::DynamicResource
|
4
|
-
|
5
|
-
field :id
|
6
|
-
field :binary_uuid
|
7
|
-
field :activity_id
|
8
|
-
field :state
|
9
|
-
field :properties
|
10
|
-
field :created_at
|
11
|
-
field :updated_at
|
12
|
-
field :uuid
|
13
|
-
field :binary_id
|
14
|
-
field :url
|
15
|
-
|
16
|
-
end
|
17
|
-
|
18
|
-
end
|