artfully_ose 1.2.0.pre.2 → 1.2.0.pre.3
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 +8 -8
- data/app/models/member.rb +13 -0
- data/lib/artfully_ose/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NDQ5MzdhZmU4MmM3OTExYjViMGExNTY2OWU4ZTcxMWEyM2U5YTQxNQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MTNiYWI5ZThiMTQwOTViODA4NmQ0NmM1M2Q4NTBlMTg5NTFjZDk4OQ==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YzdmMjM4NDgwNWRlMTI1MGY4YzM3YjFjNzNhMGY2MjIzOGI1NjU5MWZmMjQy
|
|
10
|
+
ZDgyZDc4ZTI0ZTVjODY1ZGY2NDc0NzYyYzliYzUyNTZlY2Q2MGY1N2YxOWU3
|
|
11
|
+
MjIyODcyZWZiYmFkOGFlZWU0MmZlN2QxMDkzNTg3ZDlkOGQ3OWI=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NmUwOWE4ZmE2OWEzZjhhZTI1N2NkZWJlMzZmOGQyMGNhZTE0NzY4Njk3Mzgw
|
|
14
|
+
Mjk3YzFmZTczMmM2NjBjMmMyNDY3ZTgyNGNlMzA0ZDBiMjhkNWY5OWE0YmM0
|
|
15
|
+
OWIyNDdlZjZlYzE5ZDE4ZjE5ZGJhZmM5YjBmYjU2ZTQ3ZTJjMjI=
|
data/app/models/member.rb
CHANGED
|
@@ -12,6 +12,19 @@ class Member < ActiveRecord::Base
|
|
|
12
12
|
|
|
13
13
|
before_create :set_member_number
|
|
14
14
|
|
|
15
|
+
#
|
|
16
|
+
# devise_invitable needs this otherwise it can't set the :from param in an email
|
|
17
|
+
#
|
|
18
|
+
def headers_for(action)
|
|
19
|
+
case action.to_s
|
|
20
|
+
when "invitation_instructions"
|
|
21
|
+
puts "aye"
|
|
22
|
+
{:from => self.organization.email}
|
|
23
|
+
else
|
|
24
|
+
{}
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
|
|
15
28
|
def self.generate_password
|
|
16
29
|
Devise.friendly_token
|
|
17
30
|
end
|
data/lib/artfully_ose/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: artfully_ose
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.0.pre.
|
|
4
|
+
version: 1.2.0.pre.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Artful.ly
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-09-
|
|
11
|
+
date: 2013-09-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|