toast 1.0.13 → 1.0.14

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: 15d8c91556868fec4a2eb93b977cab39e2d2d06c
4
- data.tar.gz: 22412e33779968782f5ae7c6dac0f6eb9c3e686d
3
+ metadata.gz: cb20068ccb6f141c38b26e707b274ced64694b53
4
+ data.tar.gz: b88e271b12dd5f243216284a9530aead835bbc4f
5
5
  SHA512:
6
- metadata.gz: 3cfef32e7435032a2534965f03d5cbf22b766bcaa9533b7f9354706fbccee07ed543b6e18b46287b1e3f100e909a9fff7f966c9cf7d09d3dc0d6bb3fe85b9415
7
- data.tar.gz: c08a6e341dd4cf532773961d623832e32091e18e5b3b540cdc782bc7fc91b84802cc3dc0f2131f1e3b884281f170675005d033a405c46854aa4714c075a45f9e
6
+ metadata.gz: 77ae72c8df947ed7be17f89035dbd65caa67c3f96a5151d04cb2f83d84e07cedb39ecd45b4a157a773d987d196b32456dde3e1f66a35c54df4009b5e41d8b9a7
7
+ data.tar.gz: bc084558fdeedeb1b32199065c45c7e71328c363337c67960b6b2a573d59da0ccf949a903869a9322fb8f38e031e8ac08bcdf95ea9cd8ef315851603d8d6ba84
@@ -18,7 +18,7 @@ class Toast::RackApp
18
18
  request = ActionDispatch::Request.new(env)
19
19
  Toast.request = request
20
20
 
21
- Toast.logger.info "[#{Thread.current.object_id}] processing: <#{request.method} #{URI.decode(request.fullpath)}>"
21
+ Toast.logger.info "processing: <#{request.method} #{URI.decode(request.fullpath)}>"
22
22
 
23
23
  # Authentication: respond with 401 on exception or falsy return value:
24
24
  begin
@@ -90,7 +90,7 @@ module Toast::RequestHelpers
90
90
  #
91
91
  # Return: Rack conform response
92
92
  def response status_sym, headers: {}, msg: nil, body: nil
93
- Toast.logger.info "[#{Thread.current.object_id}] done: #{msg}"
93
+ Toast.logger.info "done: #{msg}"
94
94
 
95
95
  unless Rails.env == 'production'
96
96
  # put message in body, too, if body is free
@@ -50,7 +50,7 @@ class Toast::SingularAssocRequest
50
50
  response :ok,
51
51
  headers: {"Content-Type" => @config.media_type},
52
52
  body: represent(model_instance, target_config),
53
- msg: "sent ##{@config.model_class}##{@id}"
53
+ msg: "sent #{target_config.model_class}##{model_instance.id}"
54
54
  end
55
55
 
56
56
  rescue NotAllowed => error
@@ -1,3 +1,3 @@
1
1
  module Toast
2
- VERSION = '1.0.13'
2
+ VERSION = '1.0.14'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toast
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - robokopp (Robert Annies)