1
0
Fork 0
mirror of https://github.com/nov/fb_graph2 synced 2023-03-27 23:22:15 -04:00

Compare commits

...

5 commits

Author SHA1 Message Date
Nov Matake
c8a5d3ed4d
Create FUNDING.yml 2022-06-25 10:02:19 +09:00
nov
d1a40675b8 v1.3.0 2021-10-01 11:54:40 +09:00
nov
b9348c452e update travis.yml 2021-10-01 11:52:35 +09:00
nov
0f63289c35 stop using httpclient's root cert set.
ref.) https://github.com/nahi/httpclient/issues/445
2021-10-01 11:50:08 +09:00
nov
1647bc42bd fix broken spec 2020-06-30 14:17:54 +09:00
5 changed files with 13 additions and 6 deletions

3
.github/FUNDING.yml vendored Normal file
View file

@ -0,0 +1,3 @@
# These are supported funding model platforms
github: nov

View file

@ -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

View file

@ -1 +1 @@
1.2.0 1.3.0

View file

@ -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

View file

@ -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