eventq_rabbitmq 1.6.5 → 1.6.19

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
  SHA1:
3
- metadata.gz: 5edc08684077e62de24f492c4594d4b5e511a329
4
- data.tar.gz: 559105d371ecb32d9b6f4bc999bbfaf1e0021dd1
3
+ metadata.gz: ff9955c7a810bd0ec9279eb3c5f8b151c64c6284
4
+ data.tar.gz: 6807fd7d9d0ac601f7630d584aeb685c547b4f2a
5
5
  SHA512:
6
- metadata.gz: 9b6cc10b5d21edd090a81501f7adf96d6ca0168a4584cf2429032fcf8bda1f958615e6e0a208788f7a8b230a8a53341b444a92bf3027d85fdecd78f21668b09a
7
- data.tar.gz: dae08d60128fcfd10966f528a568fa05d0e454e9adca159c41f12252792fc50b9d7f03ec613e95b097216d5fe594165b27b9d854b8e4734fb79d21e9a1fd43c4
6
+ metadata.gz: f0c43dd19d8cf82e9d54a900b61b486d01c7fa246953cd44f1b2aecfa4a7d2ddc58301c3ce5c7898ed429b7eed44d36eafaac412dfa0de977129119fc0884fd9
7
+ data.tar.gz: 0d9d17015b336e1acd8506b955ec3042cf3eaac5ddf2360147ad540db8dc4c683eb21926968709d14403930dd1a7ee3f04d815253ae33ee9e4fb213aa3cef19e
@@ -11,6 +11,7 @@ module EventQ
11
11
  @client = options[:client]
12
12
  @queue_manager = QueueManager.new
13
13
  @event_raised_exchange = EventRaisedExchange.new
14
+ @serialization_manager = EventQ::SerializationProviders::Manager.new
14
15
  end
15
16
 
16
17
  def raise_event(event_type, event)
@@ -21,7 +22,9 @@ module EventQ
21
22
  qm.content = event
22
23
  qm.type = event_type
23
24
 
24
- message = Oj.dump(qm)
25
+ serialization_provider = @serialization_manager.get_provider(EventQ::Configuration.serialization_provider)
26
+
27
+ message = serialization_provider.serialize(qm)
25
28
 
26
29
  ex.publish(message, :routing_key => event_type)
27
30
  channel.close
@@ -1,3 +1,3 @@
1
1
  module EventqRabbitmq
2
- VERSION = "1.6.5"
2
+ VERSION = "1.6.19"
3
3
  end
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eventq_rabbitmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.5
4
+ version: 1.6.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaughanbrittonsage
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-05 00:00:00.000000000 Z
11
+ date: 2016-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.11'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.11'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: pry
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bunny
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: eventq_base
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: hash_kit
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  description: This is the rabbitmq implementation for EventQ
@@ -117,7 +117,6 @@ extra_rdoc_files: []
117
117
  files:
118
118
  - bin/console
119
119
  - bin/setup
120
- - lib/eventq_rabbitmq.rb
121
120
  - lib/eventq_rabbitmq/default_queue.rb
122
121
  - lib/eventq_rabbitmq/rabbitmq_eventq_client.rb
123
122
  - lib/eventq_rabbitmq/rabbitmq_queue_client.rb
@@ -125,6 +124,7 @@ files:
125
124
  - lib/eventq_rabbitmq/rabbitmq_queue_worker.rb
126
125
  - lib/eventq_rabbitmq/rabbitmq_subscription_manager.rb
127
126
  - lib/eventq_rabbitmq/version.rb
127
+ - lib/eventq_rabbitmq.rb
128
128
  homepage: https://github.com/vaughanbrittonsage/eventq
129
129
  licenses:
130
130
  - MIT
@@ -135,18 +135,19 @@ require_paths:
135
135
  - lib
136
136
  required_ruby_version: !ruby/object:Gem::Requirement
137
137
  requirements:
138
- - - ">="
138
+ - - '>='
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ">="
143
+ - - '>='
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []
147
147
  rubyforge_project:
148
- rubygems_version: 2.5.1
148
+ rubygems_version: 2.0.14.1
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: This is the rabbitmq implementation for EventQ
152
152
  test_files: []
153
+ has_rdoc: