murraysum / honeybadger-api Goto Github PK
View Code? Open in Web Editor NEWRuby Library for the HoneyBadger Read API
License: MIT License
Ruby Library for the HoneyBadger Read API
License: MIT License
Under Ruby 2.1.8 the gem raises an unintialized constant exception:
NameError: uninitialized constant Honeybadger::Api::Client::OpenSSL
from /Users/murray/.gem/ruby/2.1.8/gems/honeybadger-api-1.0.0/lib/honeybadger-api/client.rb:26:in `request'
Within Honeybadger::Api::Client
there is a missing require "openssl"
:
https://github.com/murraysum/honeybadger-api/blob/master/lib/honeybadger-api/client.rb#L26
Within https://github.com/murraysum/honeybadger-api/blob/master/lib/honeybadger-api/client.rb#L27
we do not verify ssl certs. Instead we use OpenSSL::SSL::VERIFY_NONE
which defeats the point of SSL. ๐จ
We should be using the OpenSSL::SSL::VERIFY_PEER
mode.
Read more here: http://mislav.net/2013/07/ruby-openssl/
SSL certs are verified
SSL certs are not verified
color_enabled
configuration option.be_true
with be_truthy
and be_false
with be_falsey
.After updating to 2.0.0 version i've encountered problem with notice resource. After calling paginate
method on Notice
i'm receiving error
2.3.1 :001 > Honeybadger::Api::Notice.paginate(XXXX, XXXX)
NoMethodError: undefined method `[]' for nil:NilClass
from gems/honeybadger-api-2.0.0/lib/honeybadger-api/deploy.rb:14:in `initialize'
from gems/honeybadger-api-2.0.0/lib/honeybadger-api/notice.rb:22:in `new'
from gems/honeybadger-api-2.0.0/lib/honeybadger-api/notice.rb:22:in `initialize'
from gems/honeybadger-api-2.0.0/lib/honeybadger-api/notice.rb:42:in `new'
from gems/honeybadger-api-2.0.0/lib/honeybadger-api/notice.rb:42:in `block in handler'
from gems/honeybadger-api-2.0.0/lib/honeybadger-api/paginator.rb:22:in `block in initialize'
from gems/honeybadger-api-2.0.0/lib/honeybadger-api/paginator.rb:21:in `map'
from gems/honeybadger-api-2.0.0/lib/honeybadger-api/paginator.rb:21:in `initialize'
from gems/honeybadger-api-2.0.0/lib/honeybadger-api/request.rb:40:in `new'
from gems/honeybadger-api-2.0.0/lib/honeybadger-api/request.rb:40:in `paginate'
from gems/honeybadger-api-2.0.0/lib/honeybadger-api/request.rb:36:in `paginate'
from gems/honeybadger-api-2.0.0/lib/honeybadger-api/notice.rb:37:in `paginate'
from (irb):1
From what i see, Notice resource is now using Deploy resource. Why Deploy is
obligatory now ?
EDIT 1
I think empty deploy key in response is causing that problem
There is a missing github_project
attribute coming from the API response but not on the Project class
Hey,
I'm using latest version and since today, I have a problem with paginator.
Pulling notices like this:
notices = Honeybadger::Api::Notice.paginate(project_id, fault_id, { created_after: created_after })
There is a NoMethodError: undefined method '<' for nil:NilClass
when trying to access next page with notices.next?
Since the gem was written several of the Read API endpoints now support URL parameter filters and ordering:
See Read API docs for details.
Support for these filters and ordering parameters should be in the gem
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.