safai 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/safai/fires.rb +1 -1
- data/lib/safai.rb +1 -1
- metadata +1 -1
data/lib/safai/fires.rb
CHANGED
@@ -17,7 +17,7 @@ module Safai
|
|
17
17
|
opts[:subject] = :self unless opts.has_key?(:subject)
|
18
18
|
|
19
19
|
send(:"after_#{opts[:on]}", :if => opts[:if]) do
|
20
|
-
create_options = [:actor, :subject, :secondary_subject].inject({}) do |memo, sym|
|
20
|
+
create_options = [:actor, :subject, :secondary_subject, :link, :message].inject({}) do |memo, sym|
|
21
21
|
if opts[sym]
|
22
22
|
if opts[sym].respond_to?(:call)
|
23
23
|
memo[sym] = opts[sym].call(self)
|
data/lib/safai.rb
CHANGED
@@ -123,7 +123,7 @@ require 'safai/clean'
|
|
123
123
|
require 'safai/gravatar'
|
124
124
|
require 'safai/money'
|
125
125
|
require 'safai/date'
|
126
|
-
require '
|
126
|
+
require 'safai/fires'
|
127
127
|
ActiveRecord::Base.send :include, Safai::Fires
|
128
128
|
ActionView::Base.send :include, Safai::Helpers
|
129
129
|
ActionView::Base.send :include, Safai::DeviseHelpers
|