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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15f29a2d1dc424ac2db2aed441e007437b4aab5fe6030711f89e8afe3ca7d1ed
4
- data.tar.gz: c8f989b214ae66572e0b06249a95362642341c4a34ffe63c2eacb4e33e264150
3
+ metadata.gz: 6071d575435983f455e7d27bc319a2ae2b0e41c0af841de7cc1d913b9de361cc
4
+ data.tar.gz: 80679ea438105b33983fd988e9983d93b5f5ec9fd62814f559790105b3838029
5
5
  SHA512:
6
- metadata.gz: 01dd270f06012cce7c1aef0e4da22deb04698e36312c1a306b9c465431fdf76cb267f86b4f616bbb8895d3b850ec3a6a9afd21e5c829d103e81ef1cbf0305952
7
- data.tar.gz: 3e5a3d6cd2fdaff73b2cc88d754040267de4db4fb100ed4977a5f8ab106ccae7ba2b2e5fdfb2663b0f2fd07d87150bbb4a6e5783a7087d8019e4941eb00025e0
6
+ metadata.gz: bbbb37a386bad165d89dbfcd9e21c6b1a3d6b05897c32b0f35ff1fc337c140aa62c65f87908cf9d78e3929022c92e83279ace0c74b09d498601a190401752b90
7
+ data.tar.gz: dad545ddc2fba3fbc89c08492c2a8ebaf854d87d44511fbedb2fc6595cb2d715705c2a31d4bf48cc9e4802aa35863eaf210f7f19d17fde054b07e1a8e5046295
@@ -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(campaign: self, account: account)
55
- invitation.status = :creator
54
+ invitation = Arkaan::Campaigns::Invitation.create(
55
+ campaign: self,
56
+ account: account,
57
+ status: :creator
58
+ )
56
59
  end
57
60
  end
58
61
 
@@ -1,3 +1,3 @@
1
1
  module Arkaan
2
- VERSION = '2.7.0'
2
+ VERSION = '2.7.1'
3
3
  end
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.0
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-06-22 00:00:00.000000000 Z
11
+ date: 2020-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec