Git Product home page Git Product logo

helpy_slack's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

helpy_slack's Issues

Missing Gem 'Deface'

When I try to run helpy with this gem in the Gemfile, the following error appears:

rake aborted!
NameError: uninitialized constant Deface
/usr/local/bundle/bundler/gems/helpy_slack-d3fb15355871/app/overrides/settings.rb:5:in `<top (required)>'
/usr/local/bundle/bundler/gems/helpy_slack-d3fb15355871/lib/helpy_slack/engine.rb:9:in `block in activate'
/usr/local/bundle/bundler/gems/helpy_slack-d3fb15355871/lib/helpy_slack/engine.rb:8:in `glob'
/usr/local/bundle/bundler/gems/helpy_slack-d3fb15355871/lib/helpy_slack/engine.rb:8:in `activate'
/usr/local/bundle/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:446:in `instance_exec'
/usr/local/bundle/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:446:in `block in make_lambda'
/usr/local/bundle/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:192:in `call'
/usr/local/bundle/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:192:in `block in simple'
/usr/local/bundle/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:504:in `call'
/usr/local/bundle/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:504:in `block in call'
/usr/local/bundle/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:504:in `each'
/usr/local/bundle/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:504:in `call'
/usr/local/bundle/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
/usr/local/bundle/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:778:in `_run_prepare_callbacks'
/usr/local/bundle/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:81:in `run_callbacks'
/usr/local/bundle/gems/actionpack-4.2.6/lib/action_dispatch/middleware/reloader.rb:83:in `prepare!'
/usr/local/bundle/gems/actionpack-4.2.6/lib/action_dispatch/middleware/reloader.rb:55:in `prepare!'
/usr/local/bundle/gems/railties-4.2.6/lib/rails/application/finisher.rb:50:in `block in <module:Finisher>'
/usr/local/bundle/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `instance_exec'
/usr/local/bundle/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `run'
/usr/local/bundle/gems/railties-4.2.6/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/local/bundle/gems/railties-4.2.6/lib/rails/initializable.rb:54:in `run_initializers'
/usr/local/bundle/gems/railties-4.2.6/lib/rails/application.rb:352:in `initialize!'
/helpy/config/environment.rb:5:in `<top (required)>'
/usr/local/bundle/gems/railties-4.2.6/lib/rails/application.rb:328:in `require_environment!'
/usr/local/bundle/gems/railties-4.2.6/lib/rails/application.rb:457:in `block in run_tasks_blocks'
/usr/local/bundle/gems/sprockets-rails-3.0.4/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
Tasks: TOP => environment
(See full trace by running task with --trace)

Is it possible, you forgot to specify a gem in the Gemfile?

Cheers,
ubergesundheit

Move Slack ping to a background job with perform_later

Helpy ships with the sucker_punch in-memory queue and uses standard ActiveJob constructs. This gem should use a background job to handle pinging the webhook.

To complete this enhancement:

  • Add a background job for pinging the webhook
  • Modify the after_create hook to create the job instead of pinging directly to Slack

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.