lucid-cumulus 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/Gemfile.lock +10 -8
- data/lib/common/BaseLoader.rb +2 -2
- data/lib/sqs/models/QueueConfig.rb +5 -5
- data/lucid-cumulus.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDEwMGZjNjNjZmI5YWE2ZGVjMDUzMjAxZDZiOGY1NmNkZGE1NWVmZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjM5ZjIzNDJlOTFmZTJjN2UxOTBjZDUxM2UwYTQyNTZkZWRmZDIwNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDU1OWQ4MTFlM2NmOWMyM2VlMDVjZDBhNDhiMTNkYzFmM2ZiY2E5MDc3ODdm
|
10
|
+
NDU2ZmY1OWMyNzA3N2ZhNmUzZjI3NTM4OTQ2NjQ5NzZiZmQ5Y2U3ODEwNDZh
|
11
|
+
ODc2NjhkZjJhZjU5ZGUxZDkxYjBjNzdhYWM0NmRiZTE5NDYxYTA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWQyOGYwMDAzYzdkN2YyMGQyZjkyMjJmMDBjOWYxYzhhNWIzYTFhNjgzNzlj
|
14
|
+
ZjZjNDZlYjU1MDAzZGVkNmQ5MzJhM2I4OWVjNzkxMDljZTlmYjZiNmM5YmM0
|
15
|
+
OTc5YmNlYWRiZmFiOTA1MDY4MjNjZDYwMWZlZDExZjYzOTA5NjU=
|
data/Gemfile.lock
CHANGED
@@ -1,20 +1,22 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lucid-cumulus (0.11.
|
5
|
-
aws-sdk (= 2.2.
|
4
|
+
lucid-cumulus (0.11.1)
|
5
|
+
aws-sdk (= 2.2.30)
|
6
6
|
parse-cron (~> 0.1.4)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
aws-sdk (2.2.
|
12
|
-
aws-sdk-resources (= 2.2.
|
13
|
-
aws-sdk-core (2.2.
|
11
|
+
aws-sdk (2.2.30)
|
12
|
+
aws-sdk-resources (= 2.2.30)
|
13
|
+
aws-sdk-core (2.2.30)
|
14
14
|
jmespath (~> 1.0)
|
15
|
-
aws-sdk-resources (2.2.
|
16
|
-
aws-sdk-core (= 2.2.
|
17
|
-
jmespath (1.
|
15
|
+
aws-sdk-resources (2.2.30)
|
16
|
+
aws-sdk-core (= 2.2.30)
|
17
|
+
jmespath (1.2)
|
18
|
+
json (>= 1.8.1)
|
19
|
+
json (1.8.3)
|
18
20
|
parse-cron (0.1.4)
|
19
21
|
rake (11.2.2)
|
20
22
|
|
data/lib/common/BaseLoader.rb
CHANGED
@@ -15,7 +15,7 @@ module Cumulus
|
|
15
15
|
# Returns an array of resources
|
16
16
|
def self.resources(dir, json = true, &individual_loader)
|
17
17
|
Dir.entries(dir)
|
18
|
-
.reject { |f| f == "." or f == ".." or File.directory?(File.join(dir, f)) }
|
18
|
+
.reject { |f| f == "." or f == ".." or File.directory?(File.join(dir, f)) or f.end_with?(".swp") or f.end_with?("~") }
|
19
19
|
.map { |f| resource(f, dir, json, &individual_loader) }.reject(&:nil?)
|
20
20
|
end
|
21
21
|
|
@@ -27,7 +27,7 @@ module Cumulus
|
|
27
27
|
# json - indicates if the resources are in json format
|
28
28
|
# loader - the function that will handle the read json
|
29
29
|
def self.resource(file, dir, json = true, &loader)
|
30
|
-
name = file.end_with?(".json") ? file
|
30
|
+
name = file.end_with?(".json") ? file.chomp(".json") : file
|
31
31
|
|
32
32
|
begin
|
33
33
|
contents = load_file(file, dir)
|
@@ -50,11 +50,11 @@ module Cumulus
|
|
50
50
|
#
|
51
51
|
# attributes - the queue attributes in AWS
|
52
52
|
def populate!(attributes)
|
53
|
-
@delay = if attributes["DelaySeconds"] then attributes["DelaySeconds"]
|
54
|
-
@max_message_size = if attributes["MaximumMessageSize"] then attributes["MaximumMessageSize"]
|
55
|
-
@message_retention = if attributes["MessageRetentionPeriod"] then attributes["MessageRetentionPeriod"]
|
56
|
-
@receive_wait_time = if attributes["ReceiveMessageWaitTimeSeconds"] then attributes["ReceiveMessageWaitTimeSeconds"]
|
57
|
-
@visibility_timeout = if attributes["VisibilityTimeout"] then attributes["VisibilityTimeout"]
|
53
|
+
@delay = if attributes["DelaySeconds"] then attributes["DelaySeconds"] end
|
54
|
+
@max_message_size = if attributes["MaximumMessageSize"] then attributes["MaximumMessageSize"] end
|
55
|
+
@message_retention = if attributes["MessageRetentionPeriod"] then attributes["MessageRetentionPeriod"] end
|
56
|
+
@receive_wait_time = if attributes["ReceiveMessageWaitTimeSeconds"] then attributes["ReceiveMessageWaitTimeSeconds"] end
|
57
|
+
@visibility_timeout = if attributes["VisibilityTimeout"] then attributes["VisibilityTimeout"] end
|
58
58
|
@dead_letter = if attributes["RedrivePolicy"] then DeadLetterConfig.new().populate!(attributes["RedrivePolicy"]) end
|
59
59
|
|
60
60
|
# Policy is handled specially because we store them in a separate file locally.
|
data/lucid-cumulus.gemspec
CHANGED
@@ -4,7 +4,7 @@ require "bundler"
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "lucid-cumulus"
|
7
|
-
s.version = "0.11.
|
7
|
+
s.version = "0.11.1"
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Keilan Jackson", "Mark Siebert"]
|
10
10
|
s.email = "cumulus@lucidchart.com"
|
@@ -15,6 +15,6 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
16
16
|
s.license = "Apache-2.0"
|
17
17
|
|
18
|
-
s.add_runtime_dependency "aws-sdk", "2.2.
|
18
|
+
s.add_runtime_dependency "aws-sdk", "2.2.30"
|
19
19
|
s.add_runtime_dependency "parse-cron", "~> 0.1.4"
|
20
20
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lucid-cumulus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Keilan Jackson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-07-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 2.2.
|
20
|
+
version: 2.2.30
|
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: 2.2.
|
27
|
+
version: 2.2.30
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: parse-cron
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|