hermes_messenger_of_the_gods 3.0.0.rc3 → 3.0.0.rc5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 198222807509b3910bc1db6d0bbe5819956401176abd8b3f1d13c7163c95c1dd
|
4
|
+
data.tar.gz: f476dc6f1ebf9123527890d229d63e1068c1c6487004879550f9dc3a8307643a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ac7755e67b7c37be401031ea1f8e596d3afe1d26719d7d028964835185d3b2f2fa822bbc7c7dec97f5f411f97b1527397d6d9067e5b718a83eed6f511e74337
|
7
|
+
data.tar.gz: ad8a934c454ab879432ebdf2d7f363fcbfb8bcf31f74354064274bcf761c0eba21dca927fa1d085cb57d5f35a11025bec62093ddf5c1401c2753c16585a75432
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.1.2
|
@@ -29,8 +29,8 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
30
30
|
spec.require_paths = ['lib']
|
31
31
|
|
32
|
-
spec.add_dependency 'activemodel', '
|
33
|
-
spec.add_dependency 'activesupport', '
|
32
|
+
spec.add_dependency 'activemodel', '~> 7.0'
|
33
|
+
spec.add_dependency 'activesupport', '~> 7.0'
|
34
34
|
spec.add_dependency 'aws-sdk-sns', '~> 1.0'
|
35
35
|
spec.add_dependency 'aws-sdk-sqs', '~> 1.0'
|
36
36
|
spec.add_dependency 'rexml'
|
@@ -71,6 +71,8 @@ module HermesMessengerOfTheGods
|
|
71
71
|
|
72
72
|
class_methods do
|
73
73
|
def send_messages(messages, options = {})
|
74
|
+
return if messages.empty?
|
75
|
+
|
74
76
|
raise ArgumentError, "All messages must be #{self.class}" unless messages.all?{|m| m.is_a?(self) }
|
75
77
|
messages.map(&:validate!)
|
76
78
|
messages.first.endpoint.bulk_dispatch!(messages, options)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hermes_messenger_of_the_gods
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.
|
4
|
+
version: 3.0.0.rc5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Malinconico
|
@@ -15,30 +15,30 @@ dependencies:
|
|
15
15
|
name: activemodel
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: '7.0'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - "
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
27
|
+
version: '7.0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: activesupport
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
34
|
+
version: '7.0'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - "
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
41
|
+
version: '7.0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: aws-sdk-sns
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -254,7 +254,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
254
254
|
- !ruby/object:Gem::Version
|
255
255
|
version: 1.3.1
|
256
256
|
requirements: []
|
257
|
-
rubygems_version: 3.
|
257
|
+
rubygems_version: 3.3.7
|
258
258
|
signing_key:
|
259
259
|
specification_version: 4
|
260
260
|
summary: Create and receive messages like a god!
|