arkaan 2.7.0 → 2.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/arkaan/campaign.rb +5 -2
- data/lib/arkaan/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6071d575435983f455e7d27bc319a2ae2b0e41c0af841de7cc1d913b9de361cc
|
4
|
+
data.tar.gz: 80679ea438105b33983fd988e9983d93b5f5ec9fd62814f559790105b3838029
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbbb37a386bad165d89dbfcd9e21c6b1a3d6b05897c32b0f35ff1fc337c140aa62c65f87908cf9d78e3929022c92e83279ace0c74b09d498601a190401752b90
|
7
|
+
data.tar.gz: dad545ddc2fba3fbc89c08492c2a8ebaf854d87d44511fbedb2fc6595cb2d715705c2a31d4bf48cc9e4802aa35863eaf210f7f19d17fde054b07e1a8e5046295
|
data/lib/arkaan/campaign.rb
CHANGED
@@ -51,8 +51,11 @@ module Arkaan
|
|
51
51
|
# @param account [Arkaan::Account] the account of the creator for this campaign.
|
52
52
|
def creator=(account)
|
53
53
|
if !invitations.where(account: account).exists?
|
54
|
-
invitation = Arkaan::Campaigns::Invitation.create(
|
55
|
-
|
54
|
+
invitation = Arkaan::Campaigns::Invitation.create(
|
55
|
+
campaign: self,
|
56
|
+
account: account,
|
57
|
+
status: :creator
|
58
|
+
)
|
56
59
|
end
|
57
60
|
end
|
58
61
|
|
data/lib/arkaan/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arkaan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vincent Courtois
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|