mux_ruby 2.1.0 → 2.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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/docs/RealTimeBreakdownValue.md +2 -2
- data/docs/RealTimeTimeseriesDatapoint.md +2 -2
- data/gen/generator-config.json +2 -1
- data/gen/templates/gemspec.mustache +1 -0
- data/lib/mux_ruby/models/real_time_breakdown_value.rb +7 -7
- data/lib/mux_ruby/models/real_time_timeseries_datapoint.rb +7 -7
- data/lib/mux_ruby/version.rb +1 -1
- data/mux_ruby.gemspec +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44c937ce2f7785420b50a766695222406348f91f883995215717db027a7b7c44
|
4
|
+
data.tar.gz: fba6ffdabd6fa52f8e189d46261fc54052a80044dc9856c7d9a5927e1b3d8ad6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac85c2e8118ca383192f7fd4e416bacb06b3715fc863cd0d29aa5e8d8c60c0801ced666a051766616f7ad5755cb3e58e278ed9c139c254d91589b8c78460cb58
|
7
|
+
data.tar.gz: 8dd842dd4222c06018d9daa2d6b9b5a2698346cd38f5192e7ac942c69d6e461e37e17fb2b9c3d9e04ec5c1055e37765ca28af03d10100583d48e10e659cf3490
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -17,7 +17,7 @@ Not familiar with Mux? Check out https://mux.com/ for more information.
|
|
17
17
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
18
18
|
|
19
19
|
- API version: v1
|
20
|
-
- Package version: 2.1.
|
20
|
+
- Package version: 2.1.1
|
21
21
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
22
22
|
For more information, please visit [https://docs.mux.com](https://docs.mux.com)
|
23
23
|
|
@@ -34,16 +34,16 @@ gem build mux_ruby.gemspec
|
|
34
34
|
Then either install the gem locally:
|
35
35
|
|
36
36
|
```shell
|
37
|
-
gem install ./mux_ruby-2.1.
|
37
|
+
gem install ./mux_ruby-2.1.1.gem
|
38
38
|
```
|
39
39
|
|
40
|
-
(for development, run `gem install --dev ./mux_ruby-2.1.
|
40
|
+
(for development, run `gem install --dev ./mux_ruby-2.1.1.gem` to install the development dependencies)
|
41
41
|
|
42
42
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
43
43
|
|
44
44
|
Finally add this to the Gemfile:
|
45
45
|
|
46
|
-
gem 'mux_ruby', '~> 2.1.
|
46
|
+
gem 'mux_ruby', '~> 2.1.1'
|
47
47
|
|
48
48
|
### Install from Git
|
49
49
|
|
@@ -8,7 +8,7 @@
|
|
8
8
|
| **negative_impact** | **Integer** | | [optional] |
|
9
9
|
| **metric_value** | **Float** | | [optional] |
|
10
10
|
| **display_value** | **String** | | [optional] |
|
11
|
-
| **
|
11
|
+
| **concurrent_viewers** | **Integer** | | [optional] |
|
12
12
|
|
13
13
|
## Example
|
14
14
|
|
@@ -20,7 +20,7 @@ instance = MuxRuby::RealTimeBreakdownValue.new(
|
|
20
20
|
negative_impact: null,
|
21
21
|
metric_value: null,
|
22
22
|
display_value: null,
|
23
|
-
|
23
|
+
concurrent_viewers: null
|
24
24
|
)
|
25
25
|
```
|
26
26
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **value** | **Float** | | [optional] |
|
8
8
|
| **date** | **String** | | [optional] |
|
9
|
-
| **
|
9
|
+
| **concurrent_viewers** | **Integer** | | [optional] |
|
10
10
|
|
11
11
|
## Example
|
12
12
|
|
@@ -16,7 +16,7 @@ require 'mux_ruby'
|
|
16
16
|
instance = MuxRuby::RealTimeTimeseriesDatapoint.new(
|
17
17
|
value: null,
|
18
18
|
date: null,
|
19
|
-
|
19
|
+
concurrent_viewers: null
|
20
20
|
)
|
21
21
|
```
|
22
22
|
|
data/gen/generator-config.json
CHANGED
@@ -5,7 +5,8 @@
|
|
5
5
|
"gemAuthorEmail": "devex@mux.com",
|
6
6
|
"gemDescription": "The Ruby client for Mux Data and Mux Video.",
|
7
7
|
"gemHomepage": "https://docs.mux.com",
|
8
|
+
"gemSourceLocation": "https://github.com/muxinc/mux-ruby",
|
8
9
|
"gemLicense": "MIT",
|
9
10
|
"moduleName": "MuxRuby",
|
10
|
-
"gemVersion": "2.1.
|
11
|
+
"gemVersion": "2.1.1"
|
11
12
|
}
|
@@ -16,6 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.homepage = "{{gemHomepage}}{{^gemHomepage}}https://openapi-generator.tech{{/gemHomepage}}"
|
17
17
|
s.summary = "{{gemSummary}}{{^gemSummary}}{{{appName}}} Ruby Gem{{/gemSummary}}"
|
18
18
|
s.description = "{{gemDescription}}{{^gemDescription}}{{{appDescription}}}{{^appDescription}}{{{appName}}} Ruby Gem{{/appDescription}}{{/gemDescription}}"
|
19
|
+
s.metadata = { "source_code_uri" => "{{gemSourceLocation}}" }
|
19
20
|
s.license = "{{{gemLicense}}}{{^gemLicense}}Unlicense{{/gemLicense}}"
|
20
21
|
s.required_ruby_version = "{{{gemRequiredRubyVersion}}}{{^gemRequiredRubyVersion}}>= 2.4{{/gemRequiredRubyVersion}}"
|
21
22
|
|
@@ -23,7 +23,7 @@ module MuxRuby
|
|
23
23
|
|
24
24
|
attr_accessor :display_value
|
25
25
|
|
26
|
-
attr_accessor :
|
26
|
+
attr_accessor :concurrent_viewers
|
27
27
|
|
28
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
29
|
def self.attribute_map
|
@@ -32,7 +32,7 @@ module MuxRuby
|
|
32
32
|
:'negative_impact' => :'negative_impact',
|
33
33
|
:'metric_value' => :'metric_value',
|
34
34
|
:'display_value' => :'display_value',
|
35
|
-
:'
|
35
|
+
:'concurrent_viewers' => :'concurrent_viewers'
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
@@ -48,7 +48,7 @@ module MuxRuby
|
|
48
48
|
:'negative_impact' => :'Integer',
|
49
49
|
:'metric_value' => :'Float',
|
50
50
|
:'display_value' => :'String',
|
51
|
-
:'
|
51
|
+
:'concurrent_viewers' => :'Integer'
|
52
52
|
}
|
53
53
|
end
|
54
54
|
|
@@ -89,8 +89,8 @@ module MuxRuby
|
|
89
89
|
self.display_value = attributes[:'display_value']
|
90
90
|
end
|
91
91
|
|
92
|
-
if attributes.key?(:'
|
93
|
-
self.
|
92
|
+
if attributes.key?(:'concurrent_viewers')
|
93
|
+
self.concurrent_viewers = attributes[:'concurrent_viewers']
|
94
94
|
end
|
95
95
|
end
|
96
96
|
|
@@ -116,7 +116,7 @@ module MuxRuby
|
|
116
116
|
negative_impact == o.negative_impact &&
|
117
117
|
metric_value == o.metric_value &&
|
118
118
|
display_value == o.display_value &&
|
119
|
-
|
119
|
+
concurrent_viewers == o.concurrent_viewers
|
120
120
|
end
|
121
121
|
|
122
122
|
# @see the `==` method
|
@@ -128,7 +128,7 @@ module MuxRuby
|
|
128
128
|
# Calculates hash code according to all attributes.
|
129
129
|
# @return [Integer] Hash code
|
130
130
|
def hash
|
131
|
-
[value, negative_impact, metric_value, display_value,
|
131
|
+
[value, negative_impact, metric_value, display_value, concurrent_viewers].hash
|
132
132
|
end
|
133
133
|
|
134
134
|
# Builds the object from hash
|
@@ -19,14 +19,14 @@ module MuxRuby
|
|
19
19
|
|
20
20
|
attr_accessor :date
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :concurrent_viewers
|
23
23
|
|
24
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
25
|
def self.attribute_map
|
26
26
|
{
|
27
27
|
:'value' => :'value',
|
28
28
|
:'date' => :'date',
|
29
|
-
:'
|
29
|
+
:'concurrent_viewers' => :'concurrent_viewers'
|
30
30
|
}
|
31
31
|
end
|
32
32
|
|
@@ -40,7 +40,7 @@ module MuxRuby
|
|
40
40
|
{
|
41
41
|
:'value' => :'Float',
|
42
42
|
:'date' => :'String',
|
43
|
-
:'
|
43
|
+
:'concurrent_viewers' => :'Integer'
|
44
44
|
}
|
45
45
|
end
|
46
46
|
|
@@ -73,8 +73,8 @@ module MuxRuby
|
|
73
73
|
self.date = attributes[:'date']
|
74
74
|
end
|
75
75
|
|
76
|
-
if attributes.key?(:'
|
77
|
-
self.
|
76
|
+
if attributes.key?(:'concurrent_viewers')
|
77
|
+
self.concurrent_viewers = attributes[:'concurrent_viewers']
|
78
78
|
end
|
79
79
|
end
|
80
80
|
|
@@ -98,7 +98,7 @@ module MuxRuby
|
|
98
98
|
self.class == o.class &&
|
99
99
|
value == o.value &&
|
100
100
|
date == o.date &&
|
101
|
-
|
101
|
+
concurrent_viewers == o.concurrent_viewers
|
102
102
|
end
|
103
103
|
|
104
104
|
# @see the `==` method
|
@@ -110,7 +110,7 @@ module MuxRuby
|
|
110
110
|
# Calculates hash code according to all attributes.
|
111
111
|
# @return [Integer] Hash code
|
112
112
|
def hash
|
113
|
-
[value, date,
|
113
|
+
[value, date, concurrent_viewers].hash
|
114
114
|
end
|
115
115
|
|
116
116
|
# Builds the object from hash
|
data/lib/mux_ruby/version.rb
CHANGED
data/mux_ruby.gemspec
CHANGED
@@ -24,6 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.homepage = "https://docs.mux.com"
|
25
25
|
s.summary = "Mux API Ruby Gem"
|
26
26
|
s.description = "The Ruby client for Mux Data and Mux Video."
|
27
|
+
s.metadata = { "source_code_uri" => "https://github.com/muxinc/mux-ruby" }
|
27
28
|
s.license = "MIT"
|
28
29
|
s.required_ruby_version = ">= 2.4"
|
29
30
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mux_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -463,7 +463,8 @@ files:
|
|
463
463
|
homepage: https://docs.mux.com
|
464
464
|
licenses:
|
465
465
|
- MIT
|
466
|
-
metadata:
|
466
|
+
metadata:
|
467
|
+
source_code_uri: https://github.com/muxinc/mux-ruby
|
467
468
|
post_install_message:
|
468
469
|
rdoc_options: []
|
469
470
|
require_paths:
|