bitmovin-ruby 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -0
- data/Gemfile.lock +1 -1
- data/lib/bitmovin/resource.rb +8 -12
- data/lib/bitmovin/version.rb +1 -1
- metadata +9 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6d5158ae62ce340766775af50ef91eaa53724c8d
|
4
|
+
data.tar.gz: df6c0cf69b53d202545482deee685f6e987d9d84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 532b8f3cfebd756a9f907111d9eb5c5d00036d6b22e8c86b5732a929bb994eef7da154fbe9be892ed107ea10795555db69d1dda7e3621fa6306106bd9c8c414e
|
7
|
+
data.tar.gz: e96fa927bf5d6723d5940d141d48c6e71c7c24498993f0331c7fbeca7a700bd15f8c3cc0ee208c5627f5d9990aa93f5af7173f6d29eccf1bcd041ab965de1415
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.3.8
|
data/Gemfile.lock
CHANGED
data/lib/bitmovin/resource.rb
CHANGED
@@ -71,26 +71,22 @@ module Bitmovin
|
|
71
71
|
end
|
72
72
|
|
73
73
|
def collect_attributes
|
74
|
-
val = Hash.new
|
75
74
|
ignored_variables = []
|
76
75
|
if (self.respond_to?(:ignore_fields))
|
77
76
|
ignored_variables = self.ignore_fields
|
78
77
|
end
|
79
78
|
ignored_variables.push(:@instance_resource_path)
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
next
|
84
|
-
end
|
85
|
-
|
86
|
-
if name == :@max_ctu_size
|
87
|
-
val['maxCTUSize'] = instance_variable_get(name)
|
79
|
+
attributes_value = instance_variables.inject({}) do |result, item|
|
80
|
+
if ignored_variables.include?(item)
|
81
|
+
result
|
88
82
|
else
|
89
|
-
|
90
|
-
|
83
|
+
name = item == :@max_ctu_size ? 'maxCTUSize' : item.to_s.gsub(/@/, '')
|
84
|
+
result.merge(
|
85
|
+
name => instance_variable_get(item)
|
86
|
+
)
|
91
87
|
end
|
92
88
|
end
|
93
|
-
|
89
|
+
camelize_hash(attributes_value)
|
94
90
|
end
|
95
91
|
end
|
96
92
|
end
|
data/lib/bitmovin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bitmovin-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Hoelbling-Inzko
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -28,20 +28,20 @@ dependencies:
|
|
28
28
|
name: httpclient
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 2.8.3
|
34
|
-
- - "
|
34
|
+
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
36
|
version: 2.8.3
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- - "
|
41
|
+
- - "~>"
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 2.8.3
|
44
|
-
- - "
|
44
|
+
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 2.8.3
|
47
47
|
- !ruby/object:Gem::Dependency
|
@@ -123,6 +123,7 @@ extra_rdoc_files: []
|
|
123
123
|
files:
|
124
124
|
- ".gitignore"
|
125
125
|
- ".rspec"
|
126
|
+
- ".ruby-version"
|
126
127
|
- ".travis.yml"
|
127
128
|
- Gemfile
|
128
129
|
- Gemfile.lock
|
@@ -227,7 +228,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
227
228
|
- !ruby/object:Gem::Version
|
228
229
|
version: '0'
|
229
230
|
requirements: []
|
230
|
-
|
231
|
+
rubyforge_project:
|
232
|
+
rubygems_version: 2.5.2.3
|
231
233
|
signing_key:
|
232
234
|
specification_version: 4
|
233
235
|
summary: Api Client for the Bitmovin API
|