alephant-broker 3.15.1 → 3.15.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: 214c59f6fa05a2a77e994ecccfcf688c305d1d61
4
- data.tar.gz: 329d9389678e66155a86b7a71e89c8e62a143d93
3
+ metadata.gz: a1d2a83b80e06b6997939b7ac7a05017d46ce02f
4
+ data.tar.gz: 5db2fd8af88502c3ee560b7c925ce80e2c8cc4bf
5
5
  SHA512:
6
- metadata.gz: 385b4d08d156992cd88f33692be1bc4c580d006fa2552532606884f1a64784f3f1eb51ceaa972152775d15e321a26e81a05f04d9edfa65e9e1e74fea28ec823c
7
- data.tar.gz: 97eed03d2d8ac334b56dbb365f0c96a307f1c28ffc3e6e66a98bd0a76195a3ca5ab40421aa1069d9ae5f1432ef54db64b46279eef3df144de0700e4ceedc7131
6
+ metadata.gz: 61f971597070da6cf55911398e7124945d873b8420db7fea05f443dd666763e271abe4db86bac68601ee1ae73b50857f8c76b57af666108b5b43893a6d854c8c
7
+ data.tar.gz: 233504dc59be0a68487fc1e6670d3919194c266f5531773c3dd4c1e7d8cffd2be092b2aa72479037f1cfb1a35f86009b63846ecf5576d9424a1d45d0cd726798
@@ -13,22 +13,22 @@ module Alephant
13
13
  end
14
14
 
15
15
  def self.request_for(load_strategy, env)
16
- component_factory = ComponentFactory.new load_strategy
16
+ component_factory = ComponentFactory.new(load_strategy)
17
17
 
18
- logger.metric('RequestCount')
18
+ logger.increment('request_count')
19
19
 
20
20
  case request_type_from(env)
21
21
  when "component"
22
- logger.metric('ActionableRequestCount')
22
+ logger.increment('actionable_request_count')
23
23
  Asset.new(component_factory, env)
24
24
  when "components"
25
- logger.metric('ActionableRequestCount')
25
+ logger.increment('actionable_request_count')
26
26
  Batch.new(component_factory, env)
27
27
  when "status"
28
- logger.metric('StatusRequest')
28
+ logger.increment('status_request')
29
29
  Status.new
30
30
  else
31
- logger.metric('NotFoundRequest')
31
+ logger.increment('not_found_request')
32
32
  NotFound.new
33
33
  end
34
34
  end
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Broker
3
- VERSION = "3.15.1".freeze
3
+ VERSION = "3.15.2".freeze
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: 3.15.1
4
+ version: 3.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - BBC News
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-10 00:00:00.000000000 Z
11
+ date: 2016-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec