unimatrix 2.7.1 → 2.8.0

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: 08b74cf755b674e1c4042ef72126caba06cf1a0e
4
- data.tar.gz: 3b63a0b05aef608bdd60a82d195964fbf71a8e53
3
+ metadata.gz: 3b8851c0c59e5587aec42a017edac543dc7e35a5
4
+ data.tar.gz: b90b695322bba20c0b266627a3c13a7e81f5d5d8
5
5
  SHA512:
6
- metadata.gz: 5dcdb4995e6d5db61d172098e37e5c1263b80d28f59e45b4f9ac95e41a1a8df91f8a53f363541c1d18132f0b915bd3b3fca0190091c8a10353b6de1e629d96cb
7
- data.tar.gz: c1421e9f9d52ef0dec0df9f89efa4d0dc4f1aa5456132f57311e9369ed70a2fd07e16757aba77b3b61db44fe177967ad417f7179fdc9730299b4398fb824bffe
6
+ metadata.gz: ffd85037206500beca3543f21533743cf7155938bc57242e9f8d03da54727d61f29f4095dce57055455a49c31d9602182c21df0a8605e7d3ba2a600b319fa2f2
7
+ data.tar.gz: 540247f643c40af799dd919386329b92a04da8f3d131f8f8a5ab885b0f52bdf812de88607c1e8f0957ac71e3413256ffd155e176bdcb04ca925324485fd057b8
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.7.1
1
+ 2.8.0
@@ -22,6 +22,7 @@ require 'unimatrix/bad_request_error'
22
22
 
23
23
  # errors
24
24
  require 'unimatrix/error'
25
+ require 'unimatrix/authorization_error'
25
26
  require 'unimatrix/attribute_error'
26
27
  require 'unimatrix/bad_request_error'
27
28
  require 'unimatrix/forbidden_error'
@@ -0,0 +1,15 @@
1
+ module Unimatrix
2
+
3
+ class AuthorizationError < StandardError
4
+
5
+ def initialize( message = nil )
6
+
7
+ message = 'Error: Authorization has failed.' if message.nil?
8
+
9
+ super( message )
10
+
11
+ end
12
+
13
+ end
14
+
15
+ end
@@ -8,7 +8,6 @@ module Unimatrix::Iris
8
8
  field :uuid
9
9
  field :state
10
10
  field :minimum_segment_duration
11
- field :maximum_segment_duration
12
11
  field :stream_id
13
12
  field :stream_uuid
14
13
 
@@ -3,7 +3,6 @@ module Unimatrix::Zephyrus
3
3
  class TranscribingOutput < Output
4
4
 
5
5
  field :minimum_segment_duration
6
- field :maximum_segment_duration
7
6
 
8
7
  end
9
8
 
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.7.1
4
+ version: 2.8.0
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-04-09 00:00:00.000000000 Z
11
+ date: 2018-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -129,6 +129,7 @@ files:
129
129
  - lib/unimatrix/authorization/resource_owner.rb
130
130
  - lib/unimatrix/authorization/resource_server.rb
131
131
  - lib/unimatrix/authorization/response.rb
132
+ - lib/unimatrix/authorization_error.rb
132
133
  - lib/unimatrix/bad_request_error.rb
133
134
  - lib/unimatrix/blueprint_operation.rb
134
135
  - lib/unimatrix/blueprintable.rb
@@ -201,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
202
  version: '0'
202
203
  requirements: []
203
204
  rubyforge_project:
204
- rubygems_version: 2.4.8
205
+ rubygems_version: 2.5.2
205
206
  signing_key:
206
207
  specification_version: 4
207
208
  summary: Unimatrix is used to communicate with Unimatrix APIs.