appfuel-service 0.3.3 → 0.3.4

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: 76b435db4ed58d89eb57435c6dd3e4cd6bf271f4
4
- data.tar.gz: 10afe5bc9be23f2dd7f16cb5f7729ac3818e6f04
3
+ metadata.gz: b4fb6da63bfcf8f11729fc8d3d1162f2e20b02ca
4
+ data.tar.gz: 552e1e5d59591828710d22828a7f5b280c0587a9
5
5
  SHA512:
6
- metadata.gz: 19b2d02d8f88f7e4065b2a96e4b68c0f34d8785fd0da13d8d7a30d87ef4f94d0d36d28c3b3ac7eada62f48a4822e7f127a19c4a0260ea4cdba331afc016235c4
7
- data.tar.gz: 79202ec211a042cd6630c77b94d7097125ba44248993d86b3f79c94e65e873180b712c21e21e4c7a5d0f6f860f53b344d123bd5d91870ed8bdaaa4df63ceb7b8
6
+ metadata.gz: 62eacc1270c059feb97429e1729c5c928d8a1d6b26ccd9c540a3ae5b25f8806625c1994b026702ad05cfff513d5755305603505c2edfa8a898b765227ef290d9
7
+ data.tar.gz: 9d693988fc1459af6770bf5a32b24abe6121d61cb58d062f56f0bf5ad549f58865737239cd8e3fa95acf71068df44beadc1d845453fea0d6e492168386220780
@@ -5,7 +5,12 @@ All notable changes to this project will be documented in this file. (Pending ap
5
5
 
6
6
 
7
7
  # Releases
8
- ## [[0.3.3]](https://github.com/rsb/appfuel/releases/tag/0.3.2) 2017-09-19
8
+ ## [[0.3.4]](https://github.com/rsb/appfuel/releases/tag/0.3.4) 2017-09-19
9
+ ### Fixed
10
+ - standard config settings to logfile instead of log
11
+
12
+ ## [[0.3.3]](https://github.com/rsb/appfuel/releases/tag/0.3.3) 2017-09-19
13
+ ### Fixed
9
14
  - worker was not using response errors correctly
10
15
 
11
16
  ## [[0.3.2]](https://github.com/rsb/appfuel/releases/tag/0.3.2) 2017-09-19
@@ -29,7 +29,7 @@ module Appfuel
29
29
  defaults heartbeat: 60,
30
30
  ack: true,
31
31
  pid_path: 'tmp/pids/sneakers.pid',
32
- log: 'tmp/log/sneakers.log',
32
+ logfile: 'tmp/log/sneakers.log',
33
33
  daemonize: true,
34
34
  workers: 1,
35
35
  threads: 1,
@@ -49,7 +49,7 @@ module Appfuel
49
49
  required(:ack).filled(:bool?)
50
50
  required(:daemonize).filled(:bool?)
51
51
  required(:heartbeat).filled(:int?)
52
- required(:log).filled(:str?)
52
+ required(:logfile).filled(:str?)
53
53
  required(:pid_path).filled(:str?)
54
54
  required(:threads).filled(:int?)
55
55
  required(:workers).filled(:int?)
@@ -4,7 +4,7 @@ Appfuel::Initialize.define('global.message_broker') do |config, container|
4
4
  end
5
5
 
6
6
  unless container['message_brokers.consumer_keys'].is_a?(Array)
7
- fail "[initializer message_broker] message_borker.consumer_keys " +
7
+ fail "[initializer message_broker] message_broker.consumer_keys " +
8
8
  "must be an Array"
9
9
  end
10
10
 
@@ -12,7 +12,10 @@ Appfuel::Initialize.define('global.message_broker') do |config, container|
12
12
  require 'sneakers/runner'
13
13
  require 'sneakers/handlers/maxretry'
14
14
 
15
- Sneakers.configure(config[:sneakers])
15
+ settings = config[:sneakers]
16
+ settings[:log] = settings.delete(:logfile)
17
+
18
+ Sneakers.configure(settings)
16
19
 
17
20
 
18
21
  container.register("message_brokers.runner_class", Sneakers::Runner)
@@ -1,5 +1,5 @@
1
1
  module Appfuel
2
2
  module Service
3
- VERSION = "0.3.3"
3
+ VERSION = "0.3.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appfuel-service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Scott-Buccleuch