pingplusplus / pingpp-ruby Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
报错信息
Resolving dependencies...
Bundler could not find compatible versions for gem "mime-types":
In snapshot (Gemfile.lock):
mime-types (= 3.1)
In Gemfile:
rails (< 5.1, >= 5.0.0.rc1) was resolved to 5.0.0.rc1, which depends on
actionmailer (= 5.0.0.rc1) was resolved to 5.0.0.rc1, which depends on
mail (>= 2.5.4, ~> 2.5) was resolved to 2.6.4, which depends on
mime-types (< 4, >= 1.16)
pingpp was resolved to 1.0.2, which depends on
mime-types (< 3.0, >= 1.25)
Running bundle update
will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
当系统内有多个pingpp的账户时,pub_key就不是全局唯一的了,所以目前的方式无法针对这样的场景来使用。
另外,pub_key作为参数的话可以将这个方法完全独立为一个工具方法,对外部就没有依赖了。
如果pub_key传入为空的时候,可以默认使用Pingpp.pub_key
https://github.com/PingPlusPlus/pingpp-ruby/blob/master/example/webhooks.rb#L23
这一行应该用 request.raw_post
如题,能否更新rest-client 依赖至2.0
https://github.com/rest-client/rest-client
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
服务端Ruby: 2.3.0
openssl gem : 0.2.0
openssl : openssl-1.0.1e
RUBY: 2.1.5
Rails: 4.2.4
pingpp gem: 2.1.0
然后我在rails控制器里面open("xxx")测了一下,https://github.com ok. https://aliyun.com ok.
https://pingxx.com 报SSL错误
如何解决?现在网站整个支付都不可用了。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.