cloudenvoy 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +2 -2
- data/app/controllers/cloudenvoy/subscriber_controller.rb +1 -3
- data/gemfiles/rails_5.2.gemfile.lock +2 -2
- data/gemfiles/rails_6.0.gemfile.lock +2 -2
- data/gemfiles/semantic_logger_3.4.gemfile.lock +2 -2
- data/gemfiles/semantic_logger_4.6.gemfile.lock +2 -2
- data/gemfiles/semantic_logger_4.7.0.gemfile.lock +2 -2
- data/gemfiles/semantic_logger_4.7.2.gemfile.lock +2 -2
- data/lib/cloudenvoy/publisher.rb +1 -0
- data/lib/cloudenvoy/subscriber.rb +2 -1
- data/lib/cloudenvoy/version.rb +1 -1
- data/lib/tasks/cloudenvoy.rake +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0d42680109f30e014cb88dff9c7dc4fad3479f4cfd47131eb934c23ae0e08b2
|
4
|
+
data.tar.gz: af8a2e13e9f44dfc4af98e421084772a4961833a44faeb72b113aaa2e19ea825
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6449a39dc1bb6e066e9020d824f9c204930e3c32e07c42a9464a2d48ef2b6dc4c179a302236dbaae56f525c7fca3bda33c5ce1fcdb7f03a2234e807a706baab1
|
7
|
+
data.tar.gz: 1271d88b89fc101ad5dccf86236983ff8bfaea72cdcbee52ce6bd484eb79c8cbbc4c312d73e4a73133a1bc60fb88362f49e7a663ca251ba9c0f9b2849f343fe4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v0.4.1](https://github.com/keypup-io/cloudenvoy/tree/v0.4.1) (2020-10-06)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/keypup-io/cloudenvoy/compare/v0.4.0...v0.4.1)
|
6
|
+
|
7
|
+
**Bug fix:**
|
8
|
+
- Logging: log publisher and subscriber errors during execution
|
9
|
+
- Rake tasks: fix early return statement when publisher or subscriber list is empty
|
10
|
+
|
3
11
|
## [v0.4.0](https://github.com/keypup-io/cloudenvoy/tree/v0.4.0) (2020-10-05)
|
4
12
|
|
5
13
|
[Full Changelog](https://github.com/keypup-io/cloudenvoy/compare/v0.3.1...v0.4.0)
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cloudenvoy (0.4.
|
4
|
+
cloudenvoy (0.4.1)
|
5
5
|
activesupport
|
6
6
|
google-cloud-pubsub (~> 2.0)
|
7
7
|
jwt
|
@@ -95,7 +95,7 @@ GEM
|
|
95
95
|
google-cloud-env (1.3.3)
|
96
96
|
faraday (>= 0.17.3, < 2.0)
|
97
97
|
google-cloud-errors (1.0.1)
|
98
|
-
google-cloud-pubsub (2.
|
98
|
+
google-cloud-pubsub (2.1.0)
|
99
99
|
concurrent-ruby (~> 1.1)
|
100
100
|
google-cloud-core (~> 1.5)
|
101
101
|
google-cloud-pubsub-v1 (~> 0.0)
|
@@ -22,10 +22,8 @@ module Cloudenvoy
|
|
22
22
|
rescue InvalidSubscriberError
|
23
23
|
# 404: Message delivery will be retried
|
24
24
|
head :not_found
|
25
|
-
rescue StandardError
|
25
|
+
rescue StandardError
|
26
26
|
# 422: Message delivery will be retried
|
27
|
-
Cloudenvoy.logger.error(e)
|
28
|
-
Cloudenvoy.logger.error(e.backtrace.join("\n"))
|
29
27
|
head :unprocessable_entity
|
30
28
|
end
|
31
29
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
cloudenvoy (0.4.
|
4
|
+
cloudenvoy (0.4.1)
|
5
5
|
activesupport
|
6
6
|
google-cloud-pubsub (~> 2.0)
|
7
7
|
jwt
|
@@ -82,7 +82,7 @@ GEM
|
|
82
82
|
google-cloud-env (1.3.3)
|
83
83
|
faraday (>= 0.17.3, < 2.0)
|
84
84
|
google-cloud-errors (1.0.1)
|
85
|
-
google-cloud-pubsub (2.
|
85
|
+
google-cloud-pubsub (2.1.0)
|
86
86
|
concurrent-ruby (~> 1.1)
|
87
87
|
google-cloud-core (~> 1.5)
|
88
88
|
google-cloud-pubsub-v1 (~> 0.0)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
cloudenvoy (0.4.
|
4
|
+
cloudenvoy (0.4.1)
|
5
5
|
activesupport
|
6
6
|
google-cloud-pubsub (~> 2.0)
|
7
7
|
jwt
|
@@ -95,7 +95,7 @@ GEM
|
|
95
95
|
google-cloud-env (1.3.3)
|
96
96
|
faraday (>= 0.17.3, < 2.0)
|
97
97
|
google-cloud-errors (1.0.1)
|
98
|
-
google-cloud-pubsub (2.
|
98
|
+
google-cloud-pubsub (2.1.0)
|
99
99
|
concurrent-ruby (~> 1.1)
|
100
100
|
google-cloud-core (~> 1.5)
|
101
101
|
google-cloud-pubsub-v1 (~> 0.0)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
cloudenvoy (0.4.
|
4
|
+
cloudenvoy (0.4.1)
|
5
5
|
activesupport
|
6
6
|
google-cloud-pubsub (~> 2.0)
|
7
7
|
jwt
|
@@ -94,7 +94,7 @@ GEM
|
|
94
94
|
google-cloud-env (1.3.3)
|
95
95
|
faraday (>= 0.17.3, < 2.0)
|
96
96
|
google-cloud-errors (1.0.1)
|
97
|
-
google-cloud-pubsub (2.
|
97
|
+
google-cloud-pubsub (2.1.0)
|
98
98
|
concurrent-ruby (~> 1.1)
|
99
99
|
google-cloud-core (~> 1.5)
|
100
100
|
google-cloud-pubsub-v1 (~> 0.0)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
cloudenvoy (0.4.
|
4
|
+
cloudenvoy (0.4.1)
|
5
5
|
activesupport
|
6
6
|
google-cloud-pubsub (~> 2.0)
|
7
7
|
jwt
|
@@ -94,7 +94,7 @@ GEM
|
|
94
94
|
google-cloud-env (1.3.3)
|
95
95
|
faraday (>= 0.17.3, < 2.0)
|
96
96
|
google-cloud-errors (1.0.1)
|
97
|
-
google-cloud-pubsub (2.
|
97
|
+
google-cloud-pubsub (2.1.0)
|
98
98
|
concurrent-ruby (~> 1.1)
|
99
99
|
google-cloud-core (~> 1.5)
|
100
100
|
google-cloud-pubsub-v1 (~> 0.0)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
cloudenvoy (0.4.
|
4
|
+
cloudenvoy (0.4.1)
|
5
5
|
activesupport
|
6
6
|
google-cloud-pubsub (~> 2.0)
|
7
7
|
jwt
|
@@ -94,7 +94,7 @@ GEM
|
|
94
94
|
google-cloud-env (1.3.3)
|
95
95
|
faraday (>= 0.17.3, < 2.0)
|
96
96
|
google-cloud-errors (1.0.1)
|
97
|
-
google-cloud-pubsub (2.
|
97
|
+
google-cloud-pubsub (2.1.0)
|
98
98
|
concurrent-ruby (~> 1.1)
|
99
99
|
google-cloud-core (~> 1.5)
|
100
100
|
google-cloud-pubsub-v1 (~> 0.0)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
cloudenvoy (0.4.
|
4
|
+
cloudenvoy (0.4.1)
|
5
5
|
activesupport
|
6
6
|
google-cloud-pubsub (~> 2.0)
|
7
7
|
jwt
|
@@ -94,7 +94,7 @@ GEM
|
|
94
94
|
google-cloud-env (1.3.3)
|
95
95
|
faraday (>= 0.17.3, < 2.0)
|
96
96
|
google-cloud-errors (1.0.1)
|
97
|
-
google-cloud-pubsub (2.
|
97
|
+
google-cloud-pubsub (2.1.0)
|
98
98
|
concurrent-ruby (~> 1.1)
|
99
99
|
google-cloud-core (~> 1.5)
|
100
100
|
google-cloud-pubsub-v1 (~> 0.0)
|
data/lib/cloudenvoy/publisher.rb
CHANGED
data/lib/cloudenvoy/version.rb
CHANGED
data/lib/tasks/cloudenvoy.rake
CHANGED
@@ -23,8 +23,8 @@ namespace :cloudenvoy do
|
|
23
23
|
|
24
24
|
# Notify user when no suscribers
|
25
25
|
if list.empty?
|
26
|
-
puts '
|
27
|
-
|
26
|
+
puts 'Skipping subscribers (none defined)'
|
27
|
+
next
|
28
28
|
end
|
29
29
|
|
30
30
|
puts 'The following subscribers are configured:'
|
@@ -47,8 +47,8 @@ namespace :cloudenvoy do
|
|
47
47
|
|
48
48
|
# Notify user when no topics
|
49
49
|
if list.empty?
|
50
|
-
puts '
|
51
|
-
|
50
|
+
puts 'Skipping publishers (none defined)'
|
51
|
+
next
|
52
52
|
end
|
53
53
|
|
54
54
|
puts 'The following topics are configured:'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudenvoy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arnaud Lachaume
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|