mudis 0.7.1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c8d2af60ebd6e5423bd7864ccaa02e597d90fa047bdc2f4b766c0772c16d9dd8
4
- data.tar.gz: 23a3524cca4ee8b520e4984a24950962aaa3ee52543f95634016f8a7cdc45488
3
+ metadata.gz: 46467fd3a292ea00c4d9f87c3b760c59061e8edb206b0a1e43eda5aac1977acf
4
+ data.tar.gz: 9be690f934f833fda1ad5fea73d025655733865ce1e66a4c72e4f55cf99230a0
5
5
  SHA512:
6
- metadata.gz: abc5c28bd8c7bc0b2da2e3f9ca42cbcf458e4d2c3009654c24ee5a17c4b68b447f4f3866916bf8d8abd4b06d3790faca5ed5bc98190008277a1f4489e944d4d1
7
- data.tar.gz: eaaa49a62a501f12fa5f1ebf46d2acc0c1d42fdaac0538aa015088fc4a9ae05ed18be298bffb4ffe7a7a3c5fae8369cd22b723bd16191cba1ce0cd676a751624
6
+ metadata.gz: aef5fce5ecb5b2e3d615924ee7797ffbc68cf187f924ddab3794e36386965338c13a42ce06aa0644e37222f6545d3213692a3defd74d6624d6f54e43c371a653
7
+ data.tar.gz: 35ca0cdf7548ab7603346c6ca554479c6b4c0cec6504c74b2fd9169430a62979f100d1500a4f3f3cec09e01a8e59eb2421fa893b46b1e7b16d273af7d70dfc38
data/README.md CHANGED
@@ -682,10 +682,12 @@ on_worker_boot do
682
682
  end
683
683
  ```
684
684
 
685
- For more granular control over Mudis, adding the Proxy manually to `initializers` (Rails) or `boot` (Hanami) allows seamless use of the API as documented.
685
+ For more granular control over Mudis, adding a custom Proxy manually to `initializers` (Rails) or `boot` (Hanami) allows seamless use of the API as documented.
686
686
 
687
687
  **Do not require `mudis_proxy` if following this method**
688
688
 
689
+ Example custom proxy:
690
+
689
691
  ```ruby
690
692
  # config/<<initializers|boot>>/mudis_proxy.rb
691
693
  unless defined?(MudisServer)
data/lib/mudis/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- MUDIS_VERSION = "0.7.1"
3
+ MUDIS_VERSION = "0.7.2"
data/lib/mudis_proxy.rb CHANGED
@@ -7,10 +7,9 @@
7
7
  #
8
8
  # The proxy will forward calls to `$mudis` (an instance of MudisClient)
9
9
  # if it is defined, otherwise fallback to standard in-process behaviour.
10
-
11
- require_relative "mudis"
12
- require_relative "mudis_server"
13
- require_relative "mudis_client"
10
+ #
11
+ # Note that this file must be required *after* MudisClient and MudisServer
12
+ # have been loaded, otherwise the proxy will not be activated.
14
13
 
15
14
  if defined?(MudisServer)
16
15
  # In the master process — no proxy needed.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mudis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - kiebor81