bi-frost 0.1.1 → 0.1.2

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: 363ad309cb14525b8eff19191a79063afbd1dafa
4
- data.tar.gz: ca5ff194604f4bfd3748082c40cfb4b5252f20be
3
+ metadata.gz: 533fe67ffbe175327e17f804236dc3b90e033551
4
+ data.tar.gz: ae0b7820e19390971654ce9fc8c6eadbc2ec5d35
5
5
  SHA512:
6
- metadata.gz: 6e01794fc41e75b97540793609859481ea476d3f0029e30b2451dac5438e7afc73cf4d868678c9e718a109ad83d9b3010cb0d2363cb420fe9f33c20b09ecb230
7
- data.tar.gz: bafa72e44054663f88246a33e072b379747e17969c78112cdeb854c193eb4637ebe37d1c53ecfb433f0fec0368ac1bbd132a148f96c5b1b4a004b95c601616bb
6
+ metadata.gz: b3e78411ef1729d457cf91959ad3eb8868444dd94774bf983127784294f118bb423a89c206c8ca866c2f2ef4ba10286adb80db9d34143b0497af24382422b280
7
+ data.tar.gz: 37bb8f048d02fcd11513398d3a1e8ae58c07ff3e06ac29c11e96d4e5122a84cfbd3ed159194320c742c2596d6acaaa5cead22db55fd110efb1fec2572044062c
data/lib/bifrost.rb CHANGED
@@ -4,9 +4,17 @@ require 'bifrost/topic'
4
4
  require 'bifrost/subscriber'
5
5
  require 'bifrost/manager'
6
6
  require 'bifrost/worker'
7
+ require 'celluloid'
7
8
 
8
9
  # Bifrost is a pub/sub gem built on top of the Azure MessageBus system
9
10
  module Bifrost
11
+
12
+ # Workers and the infrastructure can log using the standard level of granularity affored to any
13
+ # standard logger (i.e. info, debug, error levels etc)
14
+ def self.logger=(log_provider)
15
+ Celluloid.logger = log_provider
16
+ end
17
+
10
18
  # Simple utlity that creates a topic and a single subscriber for the given
11
19
  # topic. The topic is returned
12
20
  def self.create_topic_with_subscriber(topic, subscriber)
@@ -9,7 +9,7 @@ module Bifrost
9
9
 
10
10
  # The patch version of Bifrost, updated only for bug fixes from the last
11
11
  # feature release.
12
- PATCH_VERSION = 1
12
+ PATCH_VERSION = 2
13
13
 
14
14
  # The full version as a string.
15
15
  VERSION = "#{MAJOR_VERSION}.#{MINOR_VERSION}.#{PATCH_VERSION}".freeze
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bi-frost
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shirren Premaratne