bumbleworks 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -110,19 +110,19 @@ module Bumbleworks
110
110
  end
111
111
 
112
112
  # update workitem with changes to fields & params
113
- def update(params = {})
114
- before_update(params)
113
+ def update(metadata = {})
114
+ before_update(metadata)
115
115
  update_workitem
116
- after_update(params)
116
+ after_update(metadata)
117
117
  end
118
118
 
119
119
  # proceed workitem (saving changes to fields)
120
- def complete(params = {})
121
- before_update(params)
122
- before_complete(params)
120
+ def complete(metadata = {})
121
+ before_update(metadata)
122
+ before_complete(metadata)
123
123
  proceed_workitem
124
- after_complete(params)
125
- after_update(params)
124
+ after_complete(metadata)
125
+ after_update(metadata)
126
126
  end
127
127
 
128
128
  # Token used to claim task, nil if not claimed
@@ -1,3 +1,3 @@
1
1
  module Bumbleworks
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  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.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: