zencoder 2.5.0 → 2.5.1

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
- ---
2
- SHA512:
3
- data.tar.gz: a294f0ff19c60db70d7599036852febc63e759dca261879450455b68b56f287ebf6715ce15c86e8549a8f1c73463208a9d21bb5f0f7107c0d90e17b1dbc97f73
4
- metadata.gz: 726e657308c6ea25c41e3869082f50cea083c88afe47c6bfad51bea9a129f12b568f8a2a9ed1984513c41865368e30d9c06896a5c620d41b8fb081745345645e
5
- SHA1:
6
- data.tar.gz: 3dbdc5a1e0fa815d5459bf1c6b7a1a505cf4d9d6
7
- metadata.gz: 43159bc2341a7f9c16df6d30d2a2fc3b85c1925a
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7839add68b45b468e1bc7aa7f9180ac24ad7c47e
4
+ data.tar.gz: 65d77aa446fd5bd2059b4201c7e68eb0e9141319
5
+ SHA512:
6
+ metadata.gz: 99f26b5e759b17e57c4ae785a6d9f9e852219e7d7311cb01f98fdfda8e510e124b0761d36df4b9e51e421fc66007f2756e9a44232efdd20214443b16c7d05e59
7
+ data.tar.gz: 58019aec17f2015926ef648242265fb097839e5034848ac6aa4685352742ce85a02296958334d776104a45b7e4e050831c3a35683c1d4dd8eb06e8d22ae39eab
@@ -1,5 +1,7 @@
1
1
  # Zencoder
2
2
 
3
+ [![Build Status](https://travis-ci.org/zencoder/zencoder-rb.svg?branch=master)](https://travis-ci.org/zencoder/zencoder-rb)
4
+
3
5
  The gem for interacting with the API on [Zencoder](http://zencoder.com).
4
6
 
5
7
  See [http://zencoder.com/docs/api](http://zencoder.com/docs/api) for more details on the API.
@@ -19,7 +21,9 @@ Tested on the following versions of Ruby:
19
21
 
20
22
  Version 2.5 brings a single, significant change to the gem which you should be aware of:
21
23
 
22
- * __The Zencoder SSL CA chain is no longer bundled.__ Our cert is expiring and the necessary file may change in the future. You can now specify the CA file or CA path along with the request.
24
+ * __The Zencoder SSL CA chain is no longer bundled.__ Our intermediate SSL cert is expiring and the necessary file may change in the future. You can now specify the CA file or CA path along with the request.
25
+
26
+ [We recommend installing a CA bundle (probably cURL's) in your OS and have ruby use that.](http://mislav.uniqpath.com/2013/07/ruby-openssl/)
23
27
 
24
28
  ## v2.4 WARNING!!!
25
29
 
@@ -252,6 +256,7 @@ Zencoder::Account.create({:terms_of_service => 1,
252
256
  Zencoder::Account.create({:terms_of_service => 1,
253
257
  :email => 'bob@example.com',
254
258
  :password => 'abcd1234',
259
+ :password_confirmation => 'abcd1234',
255
260
  :affiliate_code => 'abcd1234'})
256
261
  ```
257
262
 
@@ -62,10 +62,17 @@ module Zencoder
62
62
  http.verify_mode = OpenSSL::SSL::VERIFY_NONE
63
63
  else
64
64
  http.verify_mode = OpenSSL::SSL::VERIFY_PEER
65
- end
66
65
 
67
- http.ca_file = ca_file if ca_file
68
- http.ca_path = ca_path if ca_path
66
+ http.cert_store = OpenSSL::X509::Store.new
67
+ http.cert_store.set_default_paths
68
+
69
+ if defined?(OpenSSL::X509::V_FLAG_CRL_CHECK_ALL)
70
+ http.cert_store.flags = OpenSSL::X509::V_FLAG_CRL_CHECK_ALL
71
+ end
72
+
73
+ http.cert_store.add_file(ca_file) if ca_file
74
+ http.cert_store.add_path(ca_path) if ca_path
75
+ end
69
76
  end
70
77
 
71
78
  http
@@ -1,3 +1,3 @@
1
1
  module Zencoder
2
- GEM_VERSION = '2.5.0'
2
+ GEM_VERSION = '2.5.1'
3
3
  end
metadata CHANGED
@@ -1,65 +1,39 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: zencoder
3
- version: !ruby/object:Gem::Version
4
- version: 2.5.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.5.1
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Nathan Sutton
8
8
  - Brandon Arbini
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2014-07-23 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: multi_json
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
19
- requirements:
20
- - &id002
21
- - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
12
+ date: 2014-08-01 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
24
15
  type: :runtime
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: shoulda
28
- prerelease: false
29
- requirement: &id003 !ruby/object:Gem::Requirement
30
- requirements:
31
- - *id002
32
- type: :development
33
- version_requirements: *id003
34
- - !ruby/object:Gem::Dependency
35
- name: mocha
36
- prerelease: false
37
- requirement: &id004 !ruby/object:Gem::Requirement
38
- requirements:
39
- - *id002
40
- type: :development
41
- version_requirements: *id004
42
- - !ruby/object:Gem::Dependency
43
- name: webmock
16
+ name: multi_json
44
17
  prerelease: false
45
- requirement: &id005 !ruby/object:Gem::Requirement
46
- requirements:
47
- - *id002
48
- type: :development
49
- version_requirements: *id005
18
+ requirement: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
50
28
  description: Zencoder <http://zencoder.com> integration library.
51
29
  email: info@zencoder.com
52
30
  executables: []
53
-
54
31
  extensions: []
55
-
56
32
  extra_rdoc_files: []
57
-
58
- files:
33
+ files:
34
+ - lib/zencoder.rb
59
35
  - lib/zencoder/account.rb
60
36
  - lib/zencoder/errors.rb
61
- - lib/zencoder/http/net_http.rb
62
- - lib/zencoder/http/typhoeus.rb
63
37
  - lib/zencoder/http.rb
64
38
  - lib/zencoder/input.rb
65
39
  - lib/zencoder/job.rb
@@ -71,33 +45,32 @@ files:
71
45
  - lib/zencoder/serializer.rb
72
46
  - lib/zencoder/version.rb
73
47
  - lib/zencoder/zencoder.rb
74
- - lib/zencoder.rb
48
+ - lib/zencoder/http/net_http.rb
49
+ - lib/zencoder/http/typhoeus.rb
75
50
  - LICENSE
76
51
  - README.markdown
77
52
  - Rakefile
78
53
  homepage: http://github.com/zencoder/zencoder-rb
79
54
  licenses: []
80
-
81
55
  metadata: {}
82
-
83
56
  post_install_message:
84
57
  rdoc_options: []
85
-
86
- require_paths:
58
+ require_paths:
87
59
  - lib
88
- required_ruby_version: !ruby/object:Gem::Requirement
89
- requirements:
90
- - *id002
91
- required_rubygems_version: !ruby/object:Gem::Requirement
92
- requirements:
93
- - *id002
60
+ required_ruby_version: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ required_rubygems_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
94
70
  requirements: []
95
-
96
71
  rubyforge_project: zencoder
97
- rubygems_version: 2.0.14
72
+ rubygems_version: 2.1.5
98
73
  signing_key:
99
74
  specification_version: 4
100
75
  summary: Zencoder <http://zencoder.com> integration library.
101
76
  test_files: []
102
-
103
- has_rdoc: