devise_invitations 0.2 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91bd073ebc856b96f8e2f0541c39983cedc74799
4
- data.tar.gz: 93f4bfb68faec7e739d1f1d36010c6fcbeab6291
3
+ metadata.gz: e2fc494b8c2fbd761add9ef91797ffa90039e829
4
+ data.tar.gz: d8eddbbae46187b957b38c60f8edd4216f92250e
5
5
  SHA512:
6
- metadata.gz: cac6278daf78658be5d5229c358225b241fbbfb56434c280eb822072fbc74a09fd2049f4f83bc45c650a0692eaf1015f42b8695cf86681bbf43b2073a607c03f
7
- data.tar.gz: e8e2880cf12d27ef549ff7eb96941fac48f9009d08fd91c890f8ba4ac1ada873682a91966ae538c9eeaeba0543fd973e3178030ac77f8bd2ae7eb458877e2ae7
6
+ metadata.gz: 5133904316773e8f08736449abc634b7f0722018d521b4ee3f3d812f74ee253251e592ab509d9116573644ebbe7ca8e84259602aca845f69edd43ae945174e9a
7
+ data.tar.gz: fdd9e7809c5b6aba92a0ad4adc9c2456b7e8371f469dd8d9b81a6f106c3e240b40415c48e4f677767f8263eb4986112cb4db035b18ae7fcb1b1b1f510dc9fd29
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- devise_invitations (0.2)
4
+ devise_invitations (0.2.1)
5
5
  devise_invitable (~> 1.5)
6
6
  faker (~> 1.6)
7
7
  has_secure_token (~> 1.0)
@@ -10,36 +10,36 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actionmailer (4.2.5)
14
- actionpack (= 4.2.5)
15
- actionview (= 4.2.5)
16
- activejob (= 4.2.5)
13
+ actionmailer (4.2.5.1)
14
+ actionpack (= 4.2.5.1)
15
+ actionview (= 4.2.5.1)
16
+ activejob (= 4.2.5.1)
17
17
  mail (~> 2.5, >= 2.5.4)
18
18
  rails-dom-testing (~> 1.0, >= 1.0.5)
19
- actionpack (4.2.5)
20
- actionview (= 4.2.5)
21
- activesupport (= 4.2.5)
19
+ actionpack (4.2.5.1)
20
+ actionview (= 4.2.5.1)
21
+ activesupport (= 4.2.5.1)
22
22
  rack (~> 1.6)
23
23
  rack-test (~> 0.6.2)
24
24
  rails-dom-testing (~> 1.0, >= 1.0.5)
25
25
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
26
- actionview (4.2.5)
27
- activesupport (= 4.2.5)
26
+ actionview (4.2.5.1)
27
+ activesupport (= 4.2.5.1)
28
28
  builder (~> 3.1)
29
29
  erubis (~> 2.7.0)
30
30
  rails-dom-testing (~> 1.0, >= 1.0.5)
31
31
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
32
- activejob (4.2.5)
33
- activesupport (= 4.2.5)
32
+ activejob (4.2.5.1)
33
+ activesupport (= 4.2.5.1)
34
34
  globalid (>= 0.3.0)
35
- activemodel (4.2.5)
36
- activesupport (= 4.2.5)
35
+ activemodel (4.2.5.1)
36
+ activesupport (= 4.2.5.1)
37
37
  builder (~> 3.1)
38
- activerecord (4.2.5)
39
- activemodel (= 4.2.5)
40
- activesupport (= 4.2.5)
38
+ activerecord (4.2.5.1)
39
+ activemodel (= 4.2.5.1)
40
+ activesupport (= 4.2.5.1)
41
41
  arel (~> 6.0)
42
- activesupport (4.2.5)
42
+ activesupport (4.2.5.1)
43
43
  i18n (~> 0.7)
44
44
  json (~> 1.7, >= 1.7.7)
45
45
  minitest (~> 5.1)
@@ -86,11 +86,11 @@ GEM
86
86
  activesupport (>= 4.2.0.beta, < 5.0)
87
87
  nokogiri (~> 1.6.0)
88
88
  rails-deprecated_sanitizer (>= 1.0.1)
89
- rails-html-sanitizer (1.0.2)
89
+ rails-html-sanitizer (1.0.3)
90
90
  loofah (~> 2.0)
91
- railties (4.2.5)
92
- actionpack (= 4.2.5)
93
- activesupport (= 4.2.5)
91
+ railties (4.2.5.1)
92
+ actionpack (= 4.2.5.1)
93
+ activesupport (= 4.2.5.1)
94
94
  rake (>= 0.8.7)
95
95
  thor (>= 0.18.1, < 2.0)
96
96
  rake (10.5.0)
@@ -6,12 +6,16 @@ class DeviseInvitations::Mailer < ApplicationMailer
6
6
 
7
7
  mail(
8
8
  subject: t('.subject'),
9
- from: @sender.email,
9
+ from: sender_email,
10
10
  to: invitation.email,
11
11
  )
12
12
  end
13
13
 
14
- private
14
+ protected
15
+
16
+ def sender_email
17
+ @sender.email
18
+ end
15
19
 
16
20
  def app_name
17
21
  Rails.application.class.parent_name
@@ -1,3 +1,3 @@
1
1
  module DeviseInvitations
2
- VERSION = '0.2'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_invitations
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roxas Shadow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-25 00:00:00.000000000 Z
11
+ date: 2016-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: devise_invitable