background_lite 0.5 → 0.5.1

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.
@@ -40,7 +40,7 @@ module BackgroundLite
40
40
  if logger.debug?
41
41
  logger.debug "--- executing method: #{method}"
42
42
  logger.debug "--- with variables: #{args.inspect}"
43
- logger.debug "--- in object: #{object.class.name}, #{object.id}"
43
+ logger.debug "--- in object: #{[object.class.name, (object.id if object.respond_to?(:id))].compact.inspect}"
44
44
  logger.debug "--- Transaction ID: #{transaction_id}"
45
45
  end
46
46
  object.send(method, *args)
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: background_lite
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- version: "0.5"
9
+ - 1
10
+ version: 0.5.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Thomas Kadauke