getaround_utils 0.1.17 → 0.1.18

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: 8717c0b187d48b946c65de243b0adf849e9b080fbc93aa20345d9b0ffc3cbb77
4
- data.tar.gz: d5e0aca811a9291c79100cfe81e1a996fd7cece23c18cbd5730fba0dee3c08b5
3
+ metadata.gz: 567561d03a3f6a95b4f9b5154db273b0debadeb0c2efea8e77f5af5a88d814a2
4
+ data.tar.gz: af86acc0b179abd2b0794b7ac044df70eefdc00bb1489fdfc6194ce92882747d
5
5
  SHA512:
6
- metadata.gz: 4cc9dcbb8299f7b64370c0e1a18daab356d68a3b417a95b49cdae97515962b5de1746fa848e47eb10df5924c750df2547987f01adae8c32cf2fa21f50e3c2895
7
- data.tar.gz: 812bdc309b271dcb7897540af6a8c32416d985fe6588e9e3efcb6a85c9e685dffe1190fcf3ce6bc83d3353bdcb380517fcb0ed8afc1fd1494aafa1fe77f61534
6
+ metadata.gz: 17f1990b83e09c18c478465bcc5c30a505b2e40cceee64e1e7723c968993ca2f7880bc544b96ded6d75a0f086238cc10e37e12680767b5edc17d33b46e09294d
7
+ data.tar.gz: 2a232bb8717f91e8d0342374a9a28c7358808424587c1c6fb9b3092dc804a2a7ab4b213a62eff1fdf6bd22af168dab7b285fcafd853a1b85c7efa472bd2fbc34
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- getaround_utils (0.1.17)
4
+ getaround_utils (0.1.18)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -21,7 +21,7 @@ For more details, [read the spec](spec/getaround_utils/railties/lograge_spec.rb)
21
21
  Enables lograge (http logs) with favored default.
22
22
  ```
23
23
  class MyClass
24
- include Getaround::Mixins::Loggable
24
+ include GetaroundUtils::Mixins::Loggable
25
25
 
26
26
  def append_infos_to_loggable(payload)
27
27
  payload[:static] = 'value'
@@ -36,7 +36,7 @@ MyClass.new.action # :info message="hello" origin="MyClass" static="value" dynam
36
36
 
37
37
  ```
38
38
 
39
- For more details, [read the spec](spec/getaround_utils/mixins/loggable.rb)
39
+ For more details, [read the spec](spec/getaround_utils/mixins/loggable_spec.rb)
40
40
 
41
41
 
42
42
  ## Patches
@@ -25,6 +25,14 @@ module GetaroundUtils::Mixins::Loggable
25
25
  end
26
26
 
27
27
  def loggable(severity, message, payload = {})
28
+ base_loggable_logger.send(
29
+ :warn,
30
+ "Deprecated usagage of GetaroundUtils::Mixins::Loggable.loggable(args*). Please use GetaroundUtils::Mixins::Loggable.loggable_log(args*) instead"
31
+ )
32
+ loggable_log(severity, message, payload)
33
+ end
34
+
35
+ def loggable_log(severity, message, payload = {})
28
36
  payload = { message: message }.merge(payload)
29
37
  base_append_infos_to_loggable(payload)
30
38
 
@@ -1,3 +1,3 @@
1
1
  module GetaroundUtils
2
- VERSION = '0.1.17'.freeze
2
+ VERSION = '0.1.18'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: getaround_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Drivy
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-01-14 00:00:00.000000000 Z
12
+ date: 2020-01-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler