icalia-sdk-event-notification 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/.DS_Store +0 -0
- data/lib/icalia-sdk-event-notification.rb +6 -8
- data/lib/icalia-sdk-event-notification/version.rb +2 -2
- data/lib/{icalia-sdk-event-notification → icalia/event}/notification.rb +0 -0
- data/lib/{icalia-sdk-event-notification → icalia/event}/publisher.rb +0 -0
- data/lib/{icalia-sdk-event-notification → icalia/event}/subscriber.rb +2 -2
- data/lib/{icalia-sdk-event-notification → icalia/event}/topic_message_processing.rb +0 -0
- metadata +23 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a86053ae78a901ffca0b5adf3147662d027a1da2bd1a243b16932111d07cb061
|
4
|
+
data.tar.gz: d71ad0bd60910e81afc8377a92a69e09b72b2a7089ce7f1d924750a0633417df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ac2b0afa58fe93b2d2e1d0354b1c6ec63d60697ceb7031b59e47c2a2fcde61ff70ba9134fd82720ec7739ead167595c09e19c0579159924d5ec0992af161709
|
7
|
+
data.tar.gz: caef3c6b1d737bdeda71821712a7f46a436c00a87ab4805f51934ad2744e0c2689f67678de32fd46a350eb8dcfc341070170549bcde5d389059283906b65ffdd
|
data/lib/.DS_Store
ADDED
Binary file
|
@@ -1,19 +1,17 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'icalia-sdk-
|
3
|
+
require 'icalia-sdk-core'
|
4
|
+
require 'icalia-sdk-event-notification/version'
|
4
5
|
|
5
6
|
require 'active_support'
|
6
7
|
require 'active_support/core_ext/object/blank'
|
7
8
|
|
8
9
|
module Icalia
|
9
10
|
module Event
|
10
|
-
autoload :
|
11
|
-
autoload :
|
12
|
-
autoload :
|
13
|
-
autoload :
|
14
|
-
|
15
|
-
autoload :TopicMessageProcessing,
|
16
|
-
'icalia-sdk-event-notification/topic_message_processing'
|
11
|
+
autoload :Publisher, 'icalia/event/publisher'
|
12
|
+
autoload :Subscriber, 'icalia/event/subscriber'
|
13
|
+
autoload :Notification, 'icalia/event/notification'
|
14
|
+
autoload :TopicMessageProcessing, 'icalia/event/topic_message_processing'
|
17
15
|
|
18
16
|
mattr_reader :deferred_publishing, default: true
|
19
17
|
end
|
File without changes
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'icalia-sdk-
|
3
|
+
require 'icalia-sdk-core'
|
4
4
|
|
5
5
|
module Icalia::Event
|
6
6
|
module Subscriber
|
@@ -18,7 +18,7 @@ module Icalia::Event
|
|
18
18
|
|
19
19
|
def perform(message)
|
20
20
|
raw_data = MessagePack.unpack(message.data)
|
21
|
-
event = Icalia::
|
21
|
+
event = Icalia::Deserializer.new(raw_data).perform
|
22
22
|
event_class_name = event.class.name.demodulize
|
23
23
|
|
24
24
|
if (processor_class = processor_map[event_class_name])
|
File without changes
|
metadata
CHANGED
@@ -1,71 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: icalia-sdk-event-notification
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Quintanilla
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: icalia-sdk-
|
14
|
+
name: icalia-sdk-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.3.
|
19
|
+
version: 0.3.6
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.3.
|
26
|
+
version: 0.3.6
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 5.2
|
33
|
+
version: '5.2'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 5.2
|
40
|
+
version: '5.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: google-cloud-pubsub
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0.31'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0.31'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: msgpack
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '1.3'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '1.3'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '13.0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '13.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,20 +108,21 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '3.0'
|
111
|
-
description: Official Ruby gem for Icalia
|
112
|
-
This gem is part of the Icalia SDK for Ruby.
|
111
|
+
description: Official Ruby gem for Icalia Event Notification via Google Cloud Pub/Sub
|
112
|
+
Service. This gem is part of the Icalia SDK for Ruby.
|
113
113
|
email:
|
114
114
|
- vov@icalialabs.com
|
115
115
|
executables: []
|
116
116
|
extensions: []
|
117
117
|
extra_rdoc_files: []
|
118
118
|
files:
|
119
|
+
- lib/.DS_Store
|
119
120
|
- lib/icalia-sdk-event-notification.rb
|
120
|
-
- lib/icalia-sdk-event-notification/notification.rb
|
121
|
-
- lib/icalia-sdk-event-notification/publisher.rb
|
122
|
-
- lib/icalia-sdk-event-notification/subscriber.rb
|
123
|
-
- lib/icalia-sdk-event-notification/topic_message_processing.rb
|
124
121
|
- lib/icalia-sdk-event-notification/version.rb
|
122
|
+
- lib/icalia/event/notification.rb
|
123
|
+
- lib/icalia/event/publisher.rb
|
124
|
+
- lib/icalia/event/subscriber.rb
|
125
|
+
- lib/icalia/event/topic_message_processing.rb
|
125
126
|
homepage: https://github.com/IcaliaLabs/icalia-sdk-ruby
|
126
127
|
licenses:
|
127
128
|
- MIT
|
@@ -148,5 +149,5 @@ requirements: []
|
|
148
149
|
rubygems_version: 3.0.3
|
149
150
|
signing_key:
|
150
151
|
specification_version: 4
|
151
|
-
summary: Icalia SDK
|
152
|
+
summary: Icalia SDK Event Notification for Ruby
|
152
153
|
test_files: []
|