uiza 1.1.0 → 1.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93fe30440df8aa9273e55759ffcc7ac76638ea95476b15f349441c0371d7541a
4
- data.tar.gz: 9a435b501ebcfdaa15abc340400ab79fd38564da8b4ae3a98fbfe16e09381889
3
+ metadata.gz: 6c138520bf1258148cdbbcf9539c0178e400c4caae9a69835f489f71cdcbbe0e
4
+ data.tar.gz: 8d6666866e771dc11e8bef1e0d7794f0c12a2a06053cfe920537c64c4b1dd966
5
5
  SHA512:
6
- metadata.gz: c90f9c8d7c5640fbf34b6ec3f089edbc121197b6db0b2b04124bcc572ab18c31ee993cd329a65e1d99319d64c9b498ea0847ee8043c56858d319d1087158b6eb
7
- data.tar.gz: 94bc3e52d459312d90ec73870404724269b8ce2fc16806b51213584200aaf6e016e50064f28f9b79fbd0fb06dc8091b7355327d2df3312fb371081ca7c5c1080
6
+ metadata.gz: 43a345233984081c0b003236656b7a5ce8cee2043ae814132794bda4f0c5fa2f04aa1e873b690205623ea2b7211f08114037bf93f51a6597c3f825ce4393e870
7
+ data.tar.gz: b4ff6a137446846094ba3e38afa37b102d2c1a1b89ac97bd50e59b1a4d22c3ddc3c71970aef1fee7406d90b6fe68495b77b39a6280c93a6aa47075f532e0530f
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- uiza (0.1.0)
4
+ uiza (1.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -64,7 +64,7 @@ Uiza.authorization = ENV["AUTHORIZATION"]
64
64
  ## Entity
65
65
  These below APIs used to take action with your media files (we called Entity).
66
66
 
67
- See details [here](https://github.com/uizaio/api-wrapper-ruby/blob/master/doc/ENTITY.md).
67
+ See details [here](https://github.com/uizaio/api-wrapper-ruby/blob/master_v3/doc/ENTITY.md).
68
68
 
69
69
  ```ruby
70
70
  begin
@@ -83,7 +83,7 @@ end
83
83
  ## Category
84
84
  Category has been splits into 3 types: `folder`, `playlist` and `tag`. These will make the management of entity more easier.
85
85
 
86
- See details [here](https://github.com/uizaio/api-wrapper-ruby/blob/master/doc/CATEGORY.md).
86
+ See details [here](https://github.com/uizaio/api-wrapper-ruby/blob/master_v3/doc/CATEGORY.md).
87
87
 
88
88
  ```ruby
89
89
  require "uiza"
@@ -108,7 +108,7 @@ end
108
108
  You can add your storage (`FTP`, `AWS S3`) with UIZA.
109
109
  After synced, you can select your content easier from your storage to [create entity](https://docs.uiza.io/#create-entity).
110
110
 
111
- See details [here](https://github.com/uizaio/api-wrapper-ruby/blob/master/doc/STORAGE.md).
111
+ See details [here](https://github.com/uizaio/api-wrapper-ruby/blob/master_v3/doc/STORAGE.md).
112
112
 
113
113
  ```ruby
114
114
  require "json"
@@ -134,7 +134,7 @@ These APIs used to create and manage live streaming event.
134
134
  * When a Live is not start : it's named as `Event`.
135
135
  * When have an `Event` , you can start it : it's named as `Feed`.
136
136
 
137
- See details [here](https://github.com/uizaio/api-wrapper-ruby/blob/master/doc/LIVE_STREAMING.md).
137
+ See details [here](https://github.com/uizaio/api-wrapper-ruby/blob/master_v3/doc/LIVE_STREAMING.md).
138
138
 
139
139
  ```ruby
140
140
  require "json"
@@ -158,7 +158,7 @@ end
158
158
  ## Callback
159
159
  Callback used to retrieve an information for Uiza to your server, so you can have a trigger notice about an entity is upload completed and .
160
160
 
161
- See details [here](https://github.com/uizaio/api-wrapper-ruby/blob/master/doc/CALLBACK.md).
161
+ See details [here](https://github.com/uizaio/api-wrapper-ruby/blob/master_v3/doc/CALLBACK.md).
162
162
 
163
163
  ```ruby
164
164
  require "json"
@@ -209,7 +209,7 @@ end
209
209
  Monitor the four key dimensions of video QoS: playback failures, startup time, rebuffering, and video quality.
210
210
  These 15 metrics help you track playback performance, so your team can know exactly what’s going on.
211
211
 
212
- See details [here](https://github.com/uizaio/api-wrapper-ruby/blob/master/doc/ANALYTIC.md).
212
+ See details [here](https://github.com/uizaio/api-wrapper-ruby/blob/master_v3/doc/ANALYTIC.md).
213
213
 
214
214
  ```ruby
215
215
  require "json"
@@ -240,7 +240,7 @@ end
240
240
  ## Embed Metadata
241
241
  Embed metadata is information that can be embed into video/audio file. You can embed into file by adding a json compose these tag.
242
242
 
243
- See details [here](https://github.com/uizaio/api-wrapper-ruby/blob/master/doc/EMBED_METADATA.md).
243
+ See details [here](https://github.com/uizaio/api-wrapper-ruby/blob/master_v3/doc/EMBED_METADATA.md).
244
244
 
245
245
  ## Errors Code
246
246
  Uiza uses conventional HTTP response codes to indicate the success or failure of an API request.
@@ -248,7 +248,7 @@ In general: Codes in the `2xx` range indicate success.
248
248
  Codes in the `4xx` range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a charge failed, etc.).
249
249
  Codes in the `5xx` range indicate an error with Uiza's servers.
250
250
 
251
- See details [here](https://github.com/uizaio/api-wrapper-ruby/blob/master/doc/ERRORS_CODE.md).
251
+ See details [here](https://github.com/uizaio/api-wrapper-ruby/blob/master_v3/doc/ERRORS_CODE.md).
252
252
 
253
253
  ## Development
254
254
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -271,4 +271,4 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/uizaio
271
271
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
272
272
 
273
273
  ## Code of Conduct
274
- Everyone interacting in the Uiza project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/uizaio/api-wrapper-ruby/blob/master/CODE_OF_CONDUCT.md).
274
+ Everyone interacting in the Uiza project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/uizaio/api-wrapper-ruby/blob/master_v3/CODE_OF_CONDUCT.md).
@@ -25,9 +25,7 @@ module Uiza
25
25
  params = {id: id}
26
26
 
27
27
  uiza_client = UizaClient.new url, method, headers, params, OBJECT_API_DESCRIPTION_LINK[:start_feed]
28
- response = uiza_client.execute_request
29
-
30
- retrieve response.entityId
28
+ uiza_client.execute_request
31
29
  end
32
30
 
33
31
  def get_view id
@@ -48,9 +46,7 @@ module Uiza
48
46
  params = {id: id}
49
47
 
50
48
  uiza_client = UizaClient.new url, method, headers, params, OBJECT_API_DESCRIPTION_LINK[:stop_feed]
51
- response = uiza_client.execute_request
52
-
53
- retrieve response.entityId
49
+ uiza_client.execute_request
54
50
  end
55
51
 
56
52
  def list_recorded params = {}
@@ -1,3 +1,3 @@
1
1
  module Uiza
2
- VERSION = "1.1.0".freeze
2
+ VERSION = "1.1.1".freeze
3
3
  end
@@ -6,12 +6,12 @@ Gem::Specification.new do |spec|
6
6
  spec.name = "uiza"
7
7
  spec.version = Uiza::VERSION
8
8
  spec.required_ruby_version = ">= 2.0.0"
9
- spec.authors = ["Vo Khanh Toan"]
10
- spec.email = ["toanvk@uiza.io"]
9
+ spec.authors = ["Uiza"]
10
+ spec.email = ["developer@uiza.io"]
11
11
 
12
12
  spec.summary = "Ruby wrapper library for Uiza API"
13
13
  spec.description = "See https://docs.uiza.io for details"
14
- spec.homepage = "https://docs.uiza.io"
14
+ spec.homepage = "https://uiza.io"
15
15
  spec.license = "MIT"
16
16
 
17
17
  if spec.respond_to?(:metadata)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uiza
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
- - Vo Khanh Toan
7
+ - Uiza
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-07 00:00:00.000000000 Z
11
+ date: 2019-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '3.0'
55
55
  description: See https://docs.uiza.io for details
56
56
  email:
57
- - toanvk@uiza.io
57
+ - developer@uiza.io
58
58
  executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
@@ -111,12 +111,12 @@ files:
111
111
  - lib/uiza/user.rb
112
112
  - lib/uiza/version.rb
113
113
  - uiza.gemspec
114
- homepage: https://docs.uiza.io
114
+ homepage: https://uiza.io
115
115
  licenses:
116
116
  - MIT
117
117
  metadata:
118
118
  allowed_push_host: https://rubygems.org
119
- homepage_uri: https://docs.uiza.io
119
+ homepage_uri: https://uiza.io
120
120
  source_code_uri: https://github.com/uizaio/api-wrapper-ruby
121
121
  post_install_message:
122
122
  rdoc_options: []