comfortable_mexican_loveseat 0.0.19 → 0.0.20

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e8cca0ee71563ad311f95974e44ca0fc94b82108
4
- data.tar.gz: ae25ed4c2727f5537da9e3e652eb0d241fba0c72
3
+ metadata.gz: 97771fb4fb8a050fe53a43bf55299c91778051cb
4
+ data.tar.gz: 5a333d0f257fc6c19f3b7783ecfab97e2ba908c8
5
5
  SHA512:
6
- metadata.gz: ed4335ac777c0ee194f171f39cc460bee960139b245fafe585287fae66e845bdeb630721be0be14afb08fba87fd6757a9ec7a2b2a5bb6e26130a050652c92fb2
7
- data.tar.gz: cabd8ff92258b1a31e8af4ec3bc7a4aeeae7230e5ada0150085c93809156ea16e055bda3e3537a08689dde96bebd48f3a5949b398a3bb2af6682c754c71ff3bf
6
+ metadata.gz: 88ab506863654118d8990d71ba831f67a6997b9c71e164c1793ef0f8a28eeaf54632ee084e82d3e9fe5ded195bdd6ea1278774398aeac3ba3cc8438bc54ae9ea
7
+ data.tar.gz: 7e5159b924934d915c3e509bf1d2d6e8e4e57a5f6f4757908a5039cf2d59ceaa57d8b37e21ce246025a05f3ab185532f412251cf03cd82df00476d9ef08ee322
@@ -0,0 +1,8 @@
1
+ class CommentMailer < ApplicationMailer
2
+
3
+ def admin_mention(comment)
4
+ @comment = comment
5
+
6
+ mail(to: @comment.admins.pluck(:email), subject: t('.subject'))
7
+ end
8
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comfortable_mexican_loveseat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Bahlke
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-28 00:00:00.000000000 Z
12
+ date: 2015-11-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -131,6 +131,7 @@ files:
131
131
  - app/controllers/concerns/routify.rb
132
132
  - app/controllers/concerns/sortify.rb
133
133
  - app/helpers/comfy/cms_helper.rb
134
+ - app/mailers/comment_mailer.rb
134
135
  - app/models/comfy/cms/snippet.rb
135
136
  - app/views/comfy/admin/cms/files/_form.html.haml
136
137
  - app/views/comfy/admin/cms/files/index.html.haml