freddy 1.3.2 → 1.3.3

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: 323270ebc446fc4857f9e8400f3301e60fa8ff53
4
- data.tar.gz: 2734c9554f077204fb88a0b8fb4e386f5414061c
3
+ metadata.gz: 6809d8dfe197985c19b6532983f40188859b6bd6
4
+ data.tar.gz: c1d04587a9098019a7a7ccb832c520cabfa6031d
5
5
  SHA512:
6
- metadata.gz: 498aa8fdbb7c04331cb85ab8efc81d1036f1179823a6601aa70f8b88885f8523250bf8fa62c5cf59fb154137625b5c625982f210b39bd54c4b29b3ea328188cf
7
- data.tar.gz: 6d69eb0fca0ad6c1b5d791ac34e4dec92345367e37025c544530a75f6cc67598e479142a38e22bb50a9b984728b239eb6e227d95491603c9e815af0da24bba8b
6
+ metadata.gz: d3d3963b6684b4666459e31f5985da07243ef7296cd19c60d63a54f1abde9a1f6e960a60d49eabc3922b9a92a15a01b9a96fdfc759f5f96aa24098793723313e
7
+ data.tar.gz: 9b9e3e1dd2d0660163f7bbad86ecced0e710a1ec6c34ccc9c0c5af1f77f492f9cb7ae4975813e82a2f620d4cae1a376e27d21cadeb9d57f7483900e0d5468436
data/Gemfile CHANGED
@@ -4,6 +4,6 @@ gem 'rspec'
4
4
  gem 'pry'
5
5
  gem 'codeclimate-test-reporter'
6
6
  gem 'hamster', '~> 3.0'
7
- gem 'logasm-tracer', '0.2.2'
7
+ gem 'logasm-tracer', '0.3.0'
8
8
 
9
9
  gemspec
data/freddy.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  else
9
9
  spec.name = "freddy"
10
10
  end
11
- spec.version = '1.3.2'
11
+ spec.version = '1.3.3'
12
12
  spec.authors = ["Salemove TechMovers"]
13
13
  spec.email = ["techmovers@salemove.com"]
14
14
  spec.description = %q{Messaging API}
@@ -32,5 +32,5 @@ Gem::Specification.new do |spec|
32
32
  end
33
33
 
34
34
  spec.add_dependency "thread", "~> 0.1"
35
- spec.add_dependency "opentracing", "~> 0.3"
35
+ spec.add_dependency "opentracing", "~> 0.4"
36
36
  end
@@ -41,7 +41,7 @@ class Freddy
41
41
  'span.kind': 'server' # RPC
42
42
  }
43
43
  )
44
- Freddy.trace.log(
44
+ Freddy.trace.log_kv(
45
45
  event: 'Received message through respond_to',
46
46
  queue: @destination,
47
47
  payload: delivery.payload,
@@ -50,7 +50,7 @@ class Freddy
50
50
  },
51
51
  force_follows_from: true
52
52
  )
53
- Freddy.trace.log(
53
+ Freddy.trace.log_kv(
54
54
  event: 'Received message through tap_into',
55
55
  payload: delivery.payload,
56
56
  correlation_id: delivery.correlation_id
@@ -9,7 +9,7 @@ class Freddy
9
9
  end
10
10
 
11
11
  def produce(destination, payload, properties)
12
- Freddy.trace.log event: 'Sending response', queue: destination, payload: payload
12
+ Freddy.trace.log_kv event: 'Sending response', queue: destination, payload: payload
13
13
 
14
14
  properties = properties.merge(
15
15
  routing_key: destination,
@@ -18,7 +18,7 @@ class Freddy
18
18
  'span.kind': 'producer' # Message Bus
19
19
  }
20
20
  )
21
- span.log event: 'Sending message', payload: payload
21
+ span.log_kv event: 'Sending message', payload: payload
22
22
 
23
23
  properties = properties.merge(
24
24
  routing_key: destination,
@@ -56,7 +56,7 @@ class Freddy
56
56
  OpenTracing.global_tracer.inject(span.context, OpenTracing::FORMAT_TEXT_MAP, TraceCarrier.new(properties))
57
57
  json_payload = Payload.dump(payload)
58
58
 
59
- span.log(
59
+ span.log_kv(
60
60
  event: 'Publishing request',
61
61
  payload: payload,
62
62
  response_queue: @response_queue.name,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freddy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salemove TechMovers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-27 00:00:00.000000000 Z
11
+ date: 2018-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.3'
89
+ version: '0.4'
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
- version: '0.3'
96
+ version: '0.4'
97
97
  description: Messaging API
98
98
  email:
99
99
  - techmovers@salemove.com
@@ -169,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  version: '0'
170
170
  requirements: []
171
171
  rubyforge_project:
172
- rubygems_version: 2.6.8
172
+ rubygems_version: 2.6.11
173
173
  signing_key:
174
174
  specification_version: 4
175
175
  summary: API for inter-application messaging supporting acknowledgements and request-response