bundle_notification 0.2.0 → 0.2.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: 2a231784d1a1b74ec10be4eed111d283bfbdc6386f62be831962c944ab19ad50
4
- data.tar.gz: 9f05f49490047b2e40d2252a34d599567e2ee724ab22f1e5c70d1ca6ee101363
3
+ metadata.gz: 2ac5f2b0295540eae9f13cf3af4d06e7634433dbffcafff934aa012268d7f05f
4
+ data.tar.gz: 8afe3ab7484e90a5a0b59bfabdd5e160d5061becd186acecc50eb552f5a52fea
5
5
  SHA512:
6
- metadata.gz: 75b6d6729ea8bae8b68cb1af5ad398c4773ae882355c66cfd7d0d64d60972d72b8c18fdfbfb7b43bbd944e3ecd57c5921bb92a317b0c627331e0b02c43f3556f
7
- data.tar.gz: f8389cf4abfca2d68b16bfedca7f5ab91ab303aef40c25a5696d00e368112259c140bdb7f4d6a134c2756f884e34546db893bea5e12bf091627f6bd6569730d0
6
+ metadata.gz: 13f3a1f3ddf6384f0848c8a1f6c5885b78d6f9bd96ca2c15ce166173860290fe7c57c6ab7b88c442e78ab25373dcca65c4e70a136a3645eab7aead74f52ce53a
7
+ data.tar.gz: 9a83e07b40a46cbc2ade35ddc7a46b9d70b3582b8de3c110b6cbbdfc2a8ba02a1b6c3dfba8d2cc5e12f48d1647ccf77db1b1a4a4d8212f8311c565c332e3af44
@@ -9,6 +9,8 @@ module BundleNotification
9
9
 
10
10
  serialize :data, Serializer
11
11
 
12
+ validates :recipient, presence: true
13
+
12
14
  scope :unsent_for, ->(mailer_class) { where(mailer_class: mailer_class, sent_at: nil) }
13
15
  end
14
16
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BundleNotification
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundle_notification
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ad2games GmbH
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-18 00:00:00.000000000 Z
11
+ date: 2018-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer