kickboxio / kickbox-ruby Goto Github PK
View Code? Open in Web Editor NEWEmail Address Verification for Ruby
Home Page: http://kickbox.com
Email Address Verification for Ruby
Home Page: http://kickbox.com
Hi,
Your service allows for batch email verification. https://docs.kickbox.com/docs/batch-verification-api, but that's not in the ruby gem. It would be awesome if you could add this feature here. I made a PR with the work already. Thanks
Over the weekend (the night of September 2nd) I got hundreds of these errors. It seems likely to me that Kickbox had an availability issue and went down for a while, but I would expect these errors to be more descriptive an allow me to recover better than a nil error.
Here's an example stack trace (email address redacted).
Sep 03 01:32:31 nova-background_i-60de5998 production.log: [2016-09-03T05:32:31.338866 #23985] ERROR Error verifing '********@hotmail.com' through Kickbox: undefined method `include?' for nil:NilClass
Sep 03 01:32:31 nova-background_i-60de5998 production.log: [2016-09-03T05:32:31.338950 #23985] ERROR /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client/response_handler.rb:13:in `get_body'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client/error_handler.rb:21:in `block in call'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/response.rb:57:in `on_complete'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client/error_handler.rb:13:in `call'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client/auth_handler.rb:34:in `call'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb:140:in `get'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client.rb:102:in `create_request'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client.rb:101:in `instance_eval'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client.rb:101:in `create_request'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client.rb:85:in `request'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/http_client.rb:48:in `get'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/vendor/bundle/ruby/2.3.0/gems/kickbox-2.0.1/lib/kickbox/api/kickbox.rb:23:in `verify'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/app/lib/email_verification_service.rb:54:in `verify'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/app/lib/email_verification_service.rb:34:in `block (3 levels) in verify_batch'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/app/lib/email_verification_service.rb:33:in `each'
Sep 03 01:32:31 nova-background_i-60de5998 production.log: /var/app/current/app/lib/email_verification_service.rb:33:in `block (2 levels) in verify_batch'
Would it be possible to change the Faraday dependency to version 0.9.0 instead of 0.8.8? I can't currently install it (without forking myself) because of conflicts with other libraries that depend on 0.9.0.
kickbox-ruby/lib/kickbox/http_client.rb
Line 23 in c2fc19d
This prevents kickbox EU customers from calling kickbox EU API.
We tried to install kickbox gem using bundle install command and got some error message.
Bundler could not find compatible versions for gem "faraday":
In Gemfile:
kickbox (>= 0) ruby depends on
faraday (~> 0.8.8) ruby
omniauth-facebook (>= 0) ruby depends on
omniauth-oauth2 (~> 1.2) ruby depends on
faraday (0.9.0)
Is there a plan to upgrade the gem to use Faraday v2?
Can you confirm this works with Ruby 3? I don't see it listed anywhere.
Would it be possible to upgrade the Faraday Gemspec for Kickbox? Faraday is now at 1.0 and Kickbox's gemspec is holding me back from upgrading other gems that require Faraday 1.0.
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.