bumbleworks 0.0.13 → 0.0.14

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.
@@ -153,9 +153,9 @@ module Bumbleworks
153
153
  Bumbleworks.logger.info({
154
154
  :actor => params['claimant'],
155
155
  :action => action,
156
- :object_type => 'Task',
157
- :object_id => id,
158
- :metadata => metadata.merge(fields)
156
+ :target_type => 'Task',
157
+ :target_id => id,
158
+ :metadata => metadata.merge(:current_fields => fields)
159
159
  })
160
160
  end
161
161
 
@@ -1,3 +1,3 @@
1
1
  module Bumbleworks
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
3
3
  end
@@ -342,9 +342,12 @@ describe Bumbleworks::Task do
342
342
  :level => :info, :entry => {
343
343
  :actor => :some_user,
344
344
  :action => :update,
345
- :object_type => 'Task',
346
- :object_id => task.id,
347
- :metadata => { :extra_data => :fancy }.merge(task.fields)
345
+ :target_type => 'Task',
346
+ :target_id => task.id,
347
+ :metadata => {
348
+ :extra_data => :fancy,
349
+ :current_fields => task.fields
350
+ }
348
351
  }
349
352
  }
350
353
  end
@@ -384,9 +387,12 @@ describe Bumbleworks::Task do
384
387
  :level => :info, :entry => {
385
388
  :actor => :some_user,
386
389
  :action => :complete,
387
- :object_type => 'Task',
388
- :object_id => task.id,
389
- :metadata => { :extra_data => :fancy }.merge(task.fields)
390
+ :target_type => 'Task',
391
+ :target_id => task.id,
392
+ :metadata => {
393
+ :extra_data => :fancy,
394
+ :current_fields => task.fields
395
+ }
390
396
  }
391
397
  }
392
398
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bumbleworks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-06-29 00:00:00.000000000 Z
15
+ date: 2013-07-01 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: ruote