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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92c1923102fbcfca0367da7124e0c327bace5bc0e278fcb68d9ae36294457433
4
- data.tar.gz: d423e97b6f33510840b2f1354b9545868f0a38ad1ae08084850ba50c411a8fcd
3
+ metadata.gz: a86053ae78a901ffca0b5adf3147662d027a1da2bd1a243b16932111d07cb061
4
+ data.tar.gz: d71ad0bd60910e81afc8377a92a69e09b72b2a7089ce7f1d924750a0633417df
5
5
  SHA512:
6
- metadata.gz: a254ecf3b75fe4174ded870e40224991f60a75647a8730bf3471f0280b6de5b1a2d42d9fb82bbdf5ea8d302b29391b47c7054c5d1bb848a1fb923861073a9521
7
- data.tar.gz: 7e12556638533c9e0d93136233fdd9097126d299e656ca72bd699e6600813e125a4c9718065f2d078971fac25d688235f76610c4a6e5edd805e0b0a9daefcb7b
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-event-core'
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 :Version, 'icalia-sdk-event-notification/version'
11
- autoload :Publisher, 'icalia-sdk-event-notification/publisher'
12
- autoload :Subscriber, 'icalia-sdk-event-notification/subscriber'
13
- autoload :Notification, 'icalia-sdk-event-notification/notification'
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
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Icalia
4
- module Event
5
- NOTIFICATION_VERSION = '0.3.5'
4
+ module SDK
5
+ EVENT_NOTIFICATION_VERSION = '0.3.6'
6
6
  end
7
7
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'icalia-sdk-event-core'
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::Event::Deserializer.new(raw_data).perform
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])
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.5
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-02-16 00:00:00.000000000 Z
11
+ date: 2020-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: icalia-sdk-event-core
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.5
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.5
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.0
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.0
40
+ version: '5.2'
41
41
  - !ruby/object:Gem::Dependency
42
- name: msgpack
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: '1.3'
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: '1.3'
54
+ version: '0.31'
55
55
  - !ruby/object:Gem::Dependency
56
- name: google-cloud-pubsub
56
+ name: msgpack
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.31'
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: '0.31'
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: '10.0'
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: '10.0'
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 Events via AWS Simple Notification Service.
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 Events for Ruby - via AWS Simple Notification Service
152
+ summary: Icalia SDK Event Notification for Ruby
152
153
  test_files: []