mirror of
https://github.com/nov/fb_graph2
synced 2023-03-27 23:22:15 -04:00
Compare commits
No commits in common. "master" and "v1.2.0" have entirely different histories.
5 changed files with 6 additions and 13 deletions
3
.github/FUNDING.yml
vendored
3
.github/FUNDING.yml
vendored
|
@ -1,3 +0,0 @@
|
||||||
# These are supported funding model platforms
|
|
||||||
|
|
||||||
github: nov
|
|
|
@ -2,6 +2,7 @@ before_install:
|
||||||
- gem install bundler
|
- gem install bundler
|
||||||
|
|
||||||
rvm:
|
rvm:
|
||||||
- 2.5.8
|
- 2.3.3
|
||||||
- 2.6.6
|
- 2.4.0
|
||||||
- 2.7.2
|
- 2.5.6
|
||||||
|
- 2.6.4
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
1.3.0
|
1.2.0
|
|
@ -47,11 +47,6 @@ 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 == 'v7.0' }
|
its(:api_version) { should == 'v2.11' }
|
||||||
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