bitmovin-ruby 0.2.0 → 0.3.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: d8ef07e664cfc690d2ece8094c032194931a759d
4
- data.tar.gz: 73e0bd6e9de760cc431bbb26b1e0599b7b731a0a
3
+ metadata.gz: 45b37ec43acfba76cfe20cfa6d5e7241c2cf975e
4
+ data.tar.gz: e6f42b701acc7fe70596dc9b58207ed775622e96
5
5
  SHA512:
6
- metadata.gz: 02ce2014b4a5b92c391c848d4998c8a10f6bc99faed2f13d35cb184ff3c169dc7839e032525c2bc25355a5da0b290b5398e567883fb0fdf63220b5c676d9b3ae
7
- data.tar.gz: d0470fb0a1d2b9321da40ae883c18b473a0e87563f80a11c77592c5288bcb137243f3e8477c2b8fff7f71c7288e25bea9dc109ffa97efb5cdb92bf8570b74f1c
6
+ metadata.gz: 99f8c6f75bf858b56e2e9b4d0ad6f7e8645481a56defc78359397c2e59526eb1bb25943dda6f960769f5743294deaf93ca5d5a1cf614c8b64cc1235f945378ea
7
+ data.tar.gz: b7517a96af4228181d58f2f3eb49cd78d386005b49c9b021a6223625c7ee890dbf0a610f9e6c53b6e431665dc180daf5d0de08724d4d9ca17c7fd893afff68bd
data/Gemfile CHANGED
@@ -9,5 +9,7 @@ group :development do
9
9
  gem 'rspec-collection_matchers'
10
10
  end
11
11
 
12
+ gem 'activesupport', '4.2.0'
13
+
12
14
  # Specify your gem's dependencies in bitmovin-ruby.gemspec
13
15
  gemspec
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bitmovin-ruby (0.1.1)
5
- activesupport (~> 5.0.2, >= 5.0.2)
4
+ bitmovin-ruby (0.3.0)
5
+ activesupport (>= 4.0.0)
6
6
  faraday (~> 0.11.0)
7
7
  faraday_middleware (~> 0.11.0)
8
8
  httpclient (~> 2.8.3, >= 2.8.3)
@@ -10,10 +10,11 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (5.0.2)
14
- concurrent-ruby (~> 1.0, >= 1.0.2)
13
+ activesupport (4.2.0)
15
14
  i18n (~> 0.7)
15
+ json (~> 1.7, >= 1.7.7)
16
16
  minitest (~> 5.1)
17
+ thread_safe (~> 0.3, >= 0.3.4)
17
18
  tzinfo (~> 1.1)
18
19
  addressable (2.5.0)
19
20
  public_suffix (~> 2.0, >= 2.0.2)
@@ -22,7 +23,6 @@ GEM
22
23
  simplecov
23
24
  url
24
25
  coderay (1.1.1)
25
- concurrent-ruby (1.0.5)
26
26
  crack (0.4.3)
27
27
  safe_yaml (~> 1.0.0)
28
28
  diff-lcs (1.3)
@@ -50,7 +50,7 @@ GEM
50
50
  hashdiff (0.3.2)
51
51
  httpclient (2.8.3)
52
52
  i18n (0.8.1)
53
- json (2.0.3)
53
+ json (1.8.6)
54
54
  listen (3.1.5)
55
55
  rb-fsevent (~> 0.9, >= 0.9.4)
56
56
  rb-inotify (~> 0.9, >= 0.9.7)
@@ -90,7 +90,7 @@ GEM
90
90
  ruby_dep (1.5.0)
91
91
  safe_yaml (1.0.4)
92
92
  shellany (0.0.1)
93
- simplecov (0.13.0)
93
+ simplecov (0.14.1)
94
94
  docile (~> 1.1.0)
95
95
  json (>= 1.8, < 3)
96
96
  simplecov-html (~> 0.10.0)
@@ -98,7 +98,7 @@ GEM
98
98
  slop (3.6.0)
99
99
  thor (0.19.4)
100
100
  thread_safe (0.3.6)
101
- tzinfo (1.2.2)
101
+ tzinfo (1.2.3)
102
102
  thread_safe (~> 0.1)
103
103
  url (0.3.2)
104
104
  webmock (2.3.2)
@@ -110,6 +110,7 @@ PLATFORMS
110
110
  ruby
111
111
 
112
112
  DEPENDENCIES
113
+ activesupport (= 4.2.0)
113
114
  bitmovin-ruby!
114
115
  bundler (~> 1.13)
115
116
  codecov
data/README.md CHANGED
@@ -23,9 +23,9 @@ Or install it yourself as:
23
23
 
24
24
  $ gem install bitmovin-ruby
25
25
 
26
- ## Usage
26
+ ## Examples
27
27
 
28
- TODO: Write usage instructions here
28
+ Please check out our examples at [examples](https://github.com/bitmovin/bitmovin-ruby/tree/develop/examples).
29
29
 
30
30
  ## Development
31
31
 
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.add_dependency "faraday", "~> 0.11.0"
25
25
  spec.add_dependency "httpclient", "~> 2.8.3", ">= 2.8.3"
26
- spec.add_dependency "activesupport", "~> 5.0.2", ">= 5.0.2"
26
+ spec.add_dependency "activesupport", ">= 4.0.0"
27
27
  spec.add_dependency "faraday_middleware", "~> 0.11.0"
28
28
  spec.add_development_dependency "bundler", "~> 1.13"
29
29
  spec.add_development_dependency "rake", "~> 10.0"
@@ -38,6 +38,7 @@ module Bitmovin
38
38
  post.url self.class.resource_path
39
39
  post.body = collect_attributes
40
40
  end
41
+ yield(response.body) if block_given?
41
42
  init_from_hash(result(response))
42
43
  self
43
44
  end
@@ -1,3 +1,3 @@
1
1
  module Bitmovin
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
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.2.0
4
+ version: 0.3.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: 2017-03-24 00:00:00.000000000 Z
11
+ date: 2017-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -48,22 +48,16 @@ dependencies:
48
48
  name: activesupport
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 5.0.2
54
51
  - - ">="
55
52
  - !ruby/object:Gem::Version
56
- version: 5.0.2
53
+ version: 4.0.0
57
54
  type: :runtime
58
55
  prerelease: false
59
56
  version_requirements: !ruby/object:Gem::Requirement
60
57
  requirements:
61
- - - "~>"
62
- - !ruby/object:Gem::Version
63
- version: 5.0.2
64
58
  - - ">="
65
59
  - !ruby/object:Gem::Version
66
- version: 5.0.2
60
+ version: 4.0.0
67
61
  - !ruby/object:Gem::Dependency
68
62
  name: faraday_middleware
69
63
  requirement: !ruby/object:Gem::Requirement
@@ -218,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
212
  version: '0'
219
213
  requirements: []
220
214
  rubyforge_project:
221
- rubygems_version: 2.6.10
215
+ rubygems_version: 2.6.11
222
216
  signing_key:
223
217
  specification_version: 4
224
218
  summary: Api Client for the Bitmovin API