Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
minor updates for a13g loading
  • Loading branch information
kookster committed Jun 6, 2012
1 parent 683a519 commit 8024f04
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/generators/say_when/migration/migration_generator.rb
@@ -1,5 +1,5 @@
module SayWhen
class MigrationGenerator < Rails::Generator::Base
class MigrationGenerator < Rails::Generator::Base
def manifest
record do |m|
m.migration_template 'migration.rb', 'db/migrate'
Expand Down
2 changes: 2 additions & 0 deletions lib/say_when.rb
Expand Up @@ -6,7 +6,9 @@
require 'say_when/processor/base'
require 'say_when/processor/simple'
require 'say_when/scheduler'

require 'say_when/processor/active_messaging' if defined?(ActiveMessaging)

require 'say_when/storage/active_record/job' if defined?(ActiveRecord)

module SayWhen
Expand Down
4 changes: 3 additions & 1 deletion lib/say_when/processor/active_messaging.rb
@@ -1,9 +1,11 @@
require 'activemessaging/message_sender'

module SayWhen
module Processor

class ActiveMessaging < SayWhen::Processor::Base

include ::ActiveMessaging::MessageSender
include ::ActiveMessaging::MessageSender

def initialize(scheduler)
super(scheduler)
Expand Down
1 change: 1 addition & 0 deletions say_when.gemspec
Expand Up @@ -15,6 +15,7 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

s.add_development_dependency "activemessaging", '~> 0.9.0'
s.add_development_dependency "activesupport", '~> 2.3.14'
s.add_development_dependency "activerecord", '~> 2.3.14'
s.add_development_dependency "mongoid", '~> 1.9.5'
Expand Down

0 comments on commit 8024f04

Please sign in to comment.