fb_graph2 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -4
- data/VERSION +1 -1
- data/lib/fb_graph2.rb +5 -0
- data/spec/fb_graph2_spec.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b78918c26f4bd98699a0850e7a87745cc36624b8302fc6c6407eebf04bff568
|
4
|
+
data.tar.gz: 2ad5f7c82abd4fe19e56d67e7bfc71eeb8b764147e255e24550b6e7d23e1ed2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ec2238a424c786bce0c8d7992aad00f599e480be4500427c0b2b36f6667160d668e16b5846f46d2c2fd185cc1df536243f1594feaea20551f6fc95494d14f3c
|
7
|
+
data.tar.gz: 28d874e1a551bc4472fc634ca7f23c633500cb067635dc78bc782c0353fa7ef16305aa21a2d8a0d1cc7100f92d5d094056fb060dced8fc414ff57b4a8322239c
|
data/.travis.yml
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.3.0
|
data/lib/fb_graph2.rb
CHANGED
@@ -47,6 +47,11 @@ module FbGraph2
|
|
47
47
|
_http_client_ = HTTPClient.new(
|
48
48
|
agent_name: "FbGraph2 (#{gem_version})"
|
49
49
|
)
|
50
|
+
|
51
|
+
# NOTE: httpclient gem seems stopped maintaining root certtificate set, use OS default.
|
52
|
+
_http_client_.ssl_config.clear_cert_store
|
53
|
+
_http_client_.ssl_config.cert_store.set_default_paths
|
54
|
+
|
50
55
|
_http_client_.request_filter.delete_if do |filter|
|
51
56
|
filter.is_a? HTTPClient::WWWAuth
|
52
57
|
end
|
data/spec/fb_graph2_spec.rb
CHANGED
@@ -6,7 +6,7 @@ describe FbGraph2 do
|
|
6
6
|
|
7
7
|
context 'as default' do
|
8
8
|
its(:logger) { should be_a Logger }
|
9
|
-
its(:api_version) { should == '
|
9
|
+
its(:api_version) { should == 'v7.0' }
|
10
10
|
its(:root_url) { should == 'https://graph.facebook.com' }
|
11
11
|
it { should_not be_debugging }
|
12
12
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fb_graph2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nov matake
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|
@@ -474,7 +474,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
474
474
|
- !ruby/object:Gem::Version
|
475
475
|
version: '0'
|
476
476
|
requirements: []
|
477
|
-
rubygems_version: 3.
|
477
|
+
rubygems_version: 3.1.4
|
478
478
|
signing_key:
|
479
479
|
specification_version: 4
|
480
480
|
summary: Facebook Graph API v2.x Wrapper in Ruby
|