prefab-cloud-ruby 1.6.0.pre1 → 1.6.0.pre2

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
  SHA256:
3
- metadata.gz: 216fce2170e0fc185a3a79d2f9b7ffa4830e966fc203dc97bcb9b69aa4d79fd0
4
- data.tar.gz: c2e4ac474cd6b83b33042a9a0cc3ef95d3f96b3f2c3044884831215d4f3af418
3
+ metadata.gz: 20317c94cd1f107434e8d4df80851ecaecf026cc406dc421e0f36a769f1cbda1
4
+ data.tar.gz: 5efce4e6ab0ada5a01257c41e716726e591eab2e91ec70fa9f57e220cfd1cd5d
5
5
  SHA512:
6
- metadata.gz: be331123d75a902d6a48a4fa0fb59eb3dbf74254d9671ab0f3b8d3507a6ac2958815e014494288c9e61c2469110dbfc8c374be7d958e3e7dd95142b7ced01cd1
7
- data.tar.gz: c73394980ed15e9edf8e3b513bca62922bded72aacc3efc75f2a1915701c89c75aad7c70c534cc350c68bf25bfe77b123a819ea39e0bfc589d45eeca0bf9d209
6
+ metadata.gz: 5bdf94c45e6c0a9c3e49939f392670cf0ed499eb5dfdbe63a8bfdf63ad6f501dbea7e6802b6053e2ee472d006663bfd353d2fe73be10ff5f68e06a574430e88b
7
+ data.tar.gz: f29975d152647db4ba6ee3249732790dc89ed709d50b313a228c809f63b5ba770fae06f529a9ce6d213c12f1f6f6904ecb84f007824bcbfef6b88fe0f34c4f01
data/Gemfile CHANGED
@@ -10,7 +10,7 @@ gem 'uuid'
10
10
  gem 'activesupport', '>= 4'
11
11
  gem 'actionpack', '>= 4'
12
12
 
13
- gem 'semantic_logger'
13
+ gem 'semantic_logger', require: "semantic_logger/sync"
14
14
 
15
15
  group :development do
16
16
  gem 'benchmark-ips'
data/README.md CHANGED
@@ -61,6 +61,7 @@ gem "rails_semantic_logger"
61
61
  ```
62
62
  ```ruby
63
63
  #application.rb
64
+ SemanticLogger.sync!
64
65
  SemanticLogger.default_level = :trace # Prefab will take over the filtering
65
66
  SemanticLogger.add_appender(
66
67
  io: $stdout,
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0.pre1
1
+ 1.6.0.pre2
data/lib/prefab/client.rb CHANGED
@@ -127,14 +127,10 @@ module Prefab
127
127
 
128
128
  # When starting a forked process, use this to re-use the options
129
129
  # on_worker_boot do
130
- # $prefab = $prefab.fork
131
- # $prefab.set_rails_loggers
130
+ # Prefab.fork
132
131
  # end
133
132
  def fork
134
- log_options = self.log.context_keys.to_a # get keys pre-fork
135
- Prefab::Client.new(@options.for_fork).tap do |client|
136
- client.log.add_context_keys(*log_options)
137
- end
133
+ Prefab::Client.new(@options.for_fork)
138
134
  end
139
135
 
140
136
  private
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: prefab-cloud-ruby 1.6.0.pre1 ruby lib
5
+ # stub: prefab-cloud-ruby 1.6.0.pre2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "prefab-cloud-ruby".freeze
9
- s.version = "1.6.0.pre1"
9
+ s.version = "1.6.0.pre2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prefab-cloud-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0.pre1
4
+ version: 1.6.0.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Dwyer