mirror of
https://github.com/nov/fb_graph2
synced 2023-03-27 23:22:15 -04:00
Compare commits
5 commits
Author | SHA1 | Date | |
---|---|---|---|
|
c8a5d3ed4d | ||
|
d1a40675b8 | ||
|
b9348c452e | ||
|
0f63289c35 | ||
|
1647bc42bd |
5 changed files with 13 additions and 6 deletions
3
.github/FUNDING.yml
vendored
Normal file
3
.github/FUNDING.yml
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# These are supported funding model platforms
|
||||||
|
|
||||||
|
github: nov
|
|
@ -2,7 +2,6 @@ before_install:
|
||||||
- gem install bundler
|
- gem install bundler
|
||||||
|
|
||||||
rvm:
|
rvm:
|
||||||
- 2.3.3
|
- 2.5.8
|
||||||
- 2.4.0
|
- 2.6.6
|
||||||
- 2.5.6
|
- 2.7.2
|
||||||
- 2.6.4
|
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
1.2.0
|
1.3.0
|
|
@ -47,6 +47,11 @@ module FbGraph2
|
||||||
_http_client_ = HTTPClient.new(
|
_http_client_ = HTTPClient.new(
|
||||||
agent_name: "FbGraph2 (#{gem_version})"
|
agent_name: "FbGraph2 (#{gem_version})"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# NOTE: httpclient gem seems stopped maintaining root certtificate set, use OS default.
|
||||||
|
_http_client_.ssl_config.clear_cert_store
|
||||||
|
_http_client_.ssl_config.cert_store.set_default_paths
|
||||||
|
|
||||||
_http_client_.request_filter.delete_if do |filter|
|
_http_client_.request_filter.delete_if do |filter|
|
||||||
filter.is_a? HTTPClient::WWWAuth
|
filter.is_a? HTTPClient::WWWAuth
|
||||||
end
|
end
|
||||||
|
|
|
@ -6,7 +6,7 @@ describe FbGraph2 do
|
||||||
|
|
||||||
context 'as default' do
|
context 'as default' do
|
||||||
its(:logger) { should be_a Logger }
|
its(:logger) { should be_a Logger }
|
||||||
its(:api_version) { should == 'v2.11' }
|
its(:api_version) { should == 'v7.0' }
|
||||||
its(:root_url) { should == 'https://graph.facebook.com' }
|
its(:root_url) { should == 'https://graph.facebook.com' }
|
||||||
it { should_not be_debugging }
|
it { should_not be_debugging }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue