-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename dispatch_event method to avoid potential conflicts and fix JSO…
…N serialization issues
- Loading branch information
1 parent
babb2e6
commit 9df71aa
Showing
6 changed files
with
47 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module Stealth | ||
class Jobs | ||
|
||
include Sidekiq::Worker | ||
|
||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
require_relative "lib/stealth/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = 'stealth' | ||
spec.summary = 'Ruby framework for conversational bots' | ||
spec.description = 'Ruby framework for building conversational bots.' | ||
spec.homepage = 'https://github.com/hellostealth/stealth' | ||
spec.licenses = ['MIT'] | ||
spec.version = '3.0.0.alpha1' | ||
spec.authors = ['Matthew Black'] | ||
spec.email = '[email protected]' | ||
Gem::Specification.new do |s| | ||
s.name = 'stealth' | ||
s.summary = 'Ruby framework for conversational bots' | ||
s.description = 'Ruby framework for building conversational bots.' | ||
s.homepage = 'https://github.com/hellostealth/stealth' | ||
s.licenses = ['MIT'] | ||
s.version = '3.0.0.alpha1' | ||
s.authors = ['Matthew Black'] | ||
s.email = '[email protected]' | ||
|
||
s.add_dependency 'redis', '~> 5.0' | ||
s.add_dependency 'sidekiq', '~> 7.0' | ||
|
||
s.add_development_dependency 'rspec', '~> 3.9' | ||
s.add_development_dependency 'rack-test', '~> 2.0' | ||
s.add_development_dependency 'mock_redis', '~> 0.22' | ||
|
||
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the "allowed_push_host" | ||
# to allow pushing to a single host or delete this section to allow pushing to any host. | ||
|
@@ -19,9 +25,9 @@ Gem::Specification.new do |spec| | |
# spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here." | ||
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here." | ||
|
||
spec.files = Dir.chdir(File.expand_path(__dir__)) do | ||
s.files = Dir.chdir(File.expand_path(__dir__)) do | ||
Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"] | ||
end | ||
|
||
spec.add_dependency "rails", ">= 7.1.3.4" | ||
s.add_dependency "rails", ">= 7.1.3.4" | ||
end |