Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Hansen <mokker1234@gmail.com>2011-10-10 07:33:17 +0400
committerDan Hansen <mokker1234@gmail.com>2011-10-10 07:41:01 +0400
commitf859904c767aaf0fc7146824e2fc627227694844 (patch)
treed91093ddacbb49545327c6b0c93fbc665fb92c5e /app/mailers
parent814eb7b426d71c7faf9ca224866b684a812480c9 (diff)
change namespace from Mail to Mailers
locally when Resque tried to constantize Jobs::Mail Object.const_get("Jobs") returned our Jobs module but when it tried to const_get("Mail") it returned the Mail gem. added copyright
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/notification_mailers/also_commented.rb4
-rw-r--r--app/mailers/notification_mailers/base.rb4
-rw-r--r--app/mailers/notification_mailers/comment_on_post.rb4
-rw-r--r--app/mailers/notification_mailers/confirm_email.rb4
-rw-r--r--app/mailers/notification_mailers/liked.rb4
-rw-r--r--app/mailers/notification_mailers/mentioned.rb4
-rw-r--r--app/mailers/notification_mailers/private_message.rb4
-rw-r--r--app/mailers/notification_mailers/reshared.rb4
-rw-r--r--app/mailers/notification_mailers/started_sharing.rb4
-rw-r--r--app/mailers/notifier.rb4
10 files changed, 40 insertions, 0 deletions
diff --git a/app/mailers/notification_mailers/also_commented.rb b/app/mailers/notification_mailers/also_commented.rb
index a92f3a2af..cf5f2435e 100644
--- a/app/mailers/notification_mailers/also_commented.rb
+++ b/app/mailers/notification_mailers/also_commented.rb
@@ -1,3 +1,7 @@
+# Copyright (c) 2010-2011, Diaspora Inc. This file is
+# licensed under the Affero General Public License version 3 or later. See
+# the COPYRIGHT file.
+
module NotificationMailers
class AlsoCommented < NotificationMailers::Base
include ActionView::Helpers::TextHelper
diff --git a/app/mailers/notification_mailers/base.rb b/app/mailers/notification_mailers/base.rb
index cc17db364..8fdf23a69 100644
--- a/app/mailers/notification_mailers/base.rb
+++ b/app/mailers/notification_mailers/base.rb
@@ -1,3 +1,7 @@
+# Copyright (c) 2010-2011, Diaspora Inc. This file is
+# licensed under the Affero General Public License version 3 or later. See
+# the COPYRIGHT file.
+
module NotificationMailers
TRUNCATION_LEN = 70
diff --git a/app/mailers/notification_mailers/comment_on_post.rb b/app/mailers/notification_mailers/comment_on_post.rb
index ffb29fbb5..e5fc9e498 100644
--- a/app/mailers/notification_mailers/comment_on_post.rb
+++ b/app/mailers/notification_mailers/comment_on_post.rb
@@ -1,3 +1,7 @@
+# Copyright (c) 2010-2011, Diaspora Inc. This file is
+# licensed under the Affero General Public License version 3 or later. See
+# the COPYRIGHT file.
+
module NotificationMailers
class CommentOnPost < NotificationMailers::Base
include ActionView::Helpers::TextHelper
diff --git a/app/mailers/notification_mailers/confirm_email.rb b/app/mailers/notification_mailers/confirm_email.rb
index cd94cc76f..11ced8385 100644
--- a/app/mailers/notification_mailers/confirm_email.rb
+++ b/app/mailers/notification_mailers/confirm_email.rb
@@ -1,3 +1,7 @@
+# Copyright (c) 2010-2011, Diaspora Inc. This file is
+# licensed under the Affero General Public License version 3 or later. See
+# the COPYRIGHT file.
+
module NotificationMailers
class ConfirmEmail < NotificationMailers::Base
def set_headers
diff --git a/app/mailers/notification_mailers/liked.rb b/app/mailers/notification_mailers/liked.rb
index 243e018e4..3c0b07d53 100644
--- a/app/mailers/notification_mailers/liked.rb
+++ b/app/mailers/notification_mailers/liked.rb
@@ -1,3 +1,7 @@
+# Copyright (c) 2010-2011, Diaspora Inc. This file is
+# licensed under the Affero General Public License version 3 or later. See
+# the COPYRIGHT file.
+
module NotificationMailers
class Liked < NotificationMailers::Base
attr_accessor :like
diff --git a/app/mailers/notification_mailers/mentioned.rb b/app/mailers/notification_mailers/mentioned.rb
index 2d0b5cd60..9e51f4036 100644
--- a/app/mailers/notification_mailers/mentioned.rb
+++ b/app/mailers/notification_mailers/mentioned.rb
@@ -1,3 +1,7 @@
+# Copyright (c) 2010-2011, Diaspora Inc. This file is
+# licensed under the Affero General Public License version 3 or later. See
+# the COPYRIGHT file.
+
module NotificationMailers
class Mentioned < NotificationMailers::Base
attr_accessor :post
diff --git a/app/mailers/notification_mailers/private_message.rb b/app/mailers/notification_mailers/private_message.rb
index 2cbc655c3..0eff30835 100644
--- a/app/mailers/notification_mailers/private_message.rb
+++ b/app/mailers/notification_mailers/private_message.rb
@@ -1,3 +1,7 @@
+# Copyright (c) 2010-2011, Diaspora Inc. This file is
+# licensed under the Affero General Public License version 3 or later. See
+# the COPYRIGHT file.
+
module NotificationMailers
class PrivateMessage < NotificationMailers::Base
attr_accessor :message, :conversation, :participants
diff --git a/app/mailers/notification_mailers/reshared.rb b/app/mailers/notification_mailers/reshared.rb
index c8287dd27..9f926137f 100644
--- a/app/mailers/notification_mailers/reshared.rb
+++ b/app/mailers/notification_mailers/reshared.rb
@@ -1,3 +1,7 @@
+# Copyright (c) 2010-2011, Diaspora Inc. This file is
+# licensed under the Affero General Public License version 3 or later. See
+# the COPYRIGHT file.
+
module NotificationMailers
class Reshared < NotificationMailers::Base
attr_accessor :reshare
diff --git a/app/mailers/notification_mailers/started_sharing.rb b/app/mailers/notification_mailers/started_sharing.rb
index e02c50e43..7edb6b959 100644
--- a/app/mailers/notification_mailers/started_sharing.rb
+++ b/app/mailers/notification_mailers/started_sharing.rb
@@ -1,3 +1,7 @@
+# Copyright (c) 2010-2011, Diaspora Inc. This file is
+# licensed under the Affero General Public License version 3 or later. See
+# the COPYRIGHT file.
+
module NotificationMailers
class StartedSharing < NotificationMailers::Base
def set_headers
diff --git a/app/mailers/notifier.rb b/app/mailers/notifier.rb
index bee70b83f..985b2a225 100644
--- a/app/mailers/notifier.rb
+++ b/app/mailers/notifier.rb
@@ -1,3 +1,7 @@
+# Copyright (c) 2010-2011, Diaspora Inc. This file is
+# licensed under the Affero General Public License version 3 or later. See
+# the COPYRIGHT file.
+
class Notifier < ActionMailer::Base
helper :application
helper :markdownify