alephant-broker 1.0.2 → 1.0.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: d7c2a4bd832e9620f656243342fb612dd1abef6d
4
- data.tar.gz: 473481c1bb7c731e2c5e7e85aa5a27e8d730d279
3
+ metadata.gz: 665eac0425432b900dc8434efd9b7e18d1da9039
4
+ data.tar.gz: 107b83ecfc567c16d92c545181e0334d2e4b1880
5
5
  SHA512:
6
- metadata.gz: 4a89f89e007355da7bc32af8cfae1b105a38ae0d9dfa866b56eaf0bab89647a4ecdab9a891fe884c64985103b0e65aa05a04f63eb472f9cf690ff32a132f9301
7
- data.tar.gz: bdbe66a5a920843cfecb4ba5292aa65b88f93df3f332b9e4c6fca9030b77c5e99a2f05e4b2a2f3b6d6d89015353c74a5021369482b12aa8703de074c312e62d9
6
+ metadata.gz: af7416d5348a1f2c9bd8294a932c0acadc7c00272c53dfc7530158dde972ca928285710bc8775470e6d0504777689d3afa9894e34c8e83248a41049cb5022b4e
7
+ data.tar.gz: ac66ae4b58898ac9202eafa4926408f4c26d47cd2d9b49d2364a4b0b3084fd1f704d39baa0182a025839a90a3298dfee781e8bc07cb125355efb102334dc6530
@@ -15,7 +15,7 @@ module Alephant
15
15
  @@elasticache ||= ::Dalli::ElastiCache.new(config_endpoint, { :expires_in => ttl })
16
16
  @client = @@elasticache.client
17
17
  else
18
- logger.info('Broker::Cache::Client#initialize: No config endpoint, NullClient used')
18
+ logger.debug('Broker::Cache::Client#initialize: No config endpoint, NullClient used')
19
19
  @client = NullClient.new
20
20
  end
21
21
  end
@@ -52,7 +52,7 @@ module Alephant
52
52
  begin
53
53
  JSON.parse(json)
54
54
  rescue JSON::ParserError => e
55
- logger.info("Broker.environment#data: ParserError")
55
+ logger.warn("Broker.environment#data: ParserError")
56
56
  nil
57
57
  end
58
58
  end
@@ -11,7 +11,7 @@ module Alephant
11
11
  attr_reader :component
12
12
 
13
13
  def initialize(env)
14
- logger.info("Request::Asset#initialize(#{env.settings})")
14
+ logger.debug("Request::Asset#initialize(#{env.settings})")
15
15
  component_id = component_id_for env.path
16
16
 
17
17
  @component = Component.new(
@@ -20,7 +20,7 @@ module Alephant
20
20
  env.options
21
21
  )
22
22
 
23
- logger.info("Request::Asset#initialize: id: #{component_id}")
23
+ logger.debug("Request::Asset#initialize: id: #{component_id}")
24
24
  raise InvalidAssetId.new("No Asset ID specified") if component_id.nil?
25
25
  end
26
26
 
@@ -11,12 +11,12 @@ module Alephant
11
11
  attr_reader :batch_id, :components
12
12
 
13
13
  def initialize(env)
14
- logger.info("Request::Batch#initialize(#{env.settings})")
14
+ logger.debug("Request::Batch#initialize(#{env.settings})")
15
15
 
16
16
  @batch_id = env.data['batch_id']
17
17
  @components = components_for env
18
18
 
19
- logger.info("Request::Batch#initialize: id: #{@batch_id}")
19
+ logger.debug("Request::Batch#initialize: id: #{@batch_id}")
20
20
  end
21
21
 
22
22
  private
@@ -23,7 +23,7 @@ module Alephant
23
23
  begin
24
24
  response_for request_for(env)
25
25
  rescue Exception => e
26
- logger.info("Broker.requestHandler.process: Exception raised (#{e.message}, #{e.backtrace.join('\n')})")
26
+ logger.warn("Broker.requestHandler.process: Exception raised (#{e.message}, #{e.backtrace.join('\n')})")
27
27
  Response::Factory.error
28
28
  end
29
29
  end
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Broker
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alephant-broker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Jack
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-14 00:00:00.000000000 Z
11
+ date: 2014-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec