restpack-group-client 0.0.39 → 0.0.40

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,8 +26,10 @@ module RestPack::Group::Client
26
26
 
27
27
  for id in data[:invitation_ids]
28
28
  invitation = invitations.find { |i| i.id == id }
29
- invitation.group = self
30
- @invitations << invitation
29
+ if invitations
30
+ invitation.group = self
31
+ @invitations << invitation
32
+ end
31
33
  end
32
34
  end
33
35
  end
@@ -1,7 +1,7 @@
1
1
  module RestPack
2
2
  module Group
3
3
  module Client
4
- VERSION = "0.0.39"
4
+ VERSION = "0.0.40"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restpack-group-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.39
4
+ version: 0.0.40
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: