bpm_manager 0.5.0 → 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d23c40031bbbc734dd9c42f30ad459792912585
4
- data.tar.gz: b486afbd3ec775a3779c28a31adb516889167e9d
3
+ metadata.gz: b3e38b0d6962acf21a49685f8429fc92cbb88881
4
+ data.tar.gz: e8284c820e3d4bc4733b19a98de897d3e96bb79d
5
5
  SHA512:
6
- metadata.gz: e4f84c75a05f49cae6607886b6fd8ce12dc80cc841222a473d4099df3585ca65437e74ad8858586a58b34861b0a88759232466acaedd4c9484726e0f8b7dac3a
7
- data.tar.gz: fd12631bf3cbb938303700ff6e16e2f485e2a8d76db90054db7ab8a90fe2b915cdd6b008b3133f7dc2aecae71f0a89c1714ac321e025cd65778b6640cc70dc54
6
+ metadata.gz: 5a2757a753453e32e22a48cda17acb81d9051bfa99d8df6608b17238f5cc850df609507830816c93f311dd90a6e8a605cb92a1c04901d364bdecaad123d5d0f2
7
+ data.tar.gz: 542d51614fc300eb9023412b2251a4ed00c113401c67aced57c82b3aa1e09f52d5ba8d0b17a8976fc834dae6810a65204e32733c6108a3047ea167eb525822b2
@@ -55,7 +55,7 @@ module BpmManager
55
55
  end
56
56
 
57
57
  # Resumes a Task
58
- def self.suspend_task(task_id)
58
+ def self.resume_task(task_id)
59
59
  RestClient.post(URI.encode(BpmManager.uri('/task/' + task_id.to_s + '/resumes')), :headers => {:content_type => :json, :accept => :json})
60
60
  end
61
61
 
@@ -65,7 +65,7 @@ module BpmManager
65
65
  end
66
66
 
67
67
  # Skips a Task
68
- def self.release_task(task_id)
68
+ def self.skip_task(task_id)
69
69
  RestClient.post(URI.encode(BpmManager.uri('/task/' + task_id.to_s + '/skip')), :headers => {:content_type => :json, :accept => :json})
70
70
  end
71
71
 
@@ -75,12 +75,12 @@ module BpmManager
75
75
  end
76
76
 
77
77
  # Fails a Task
78
- def self.complete_task(task_id)
78
+ def self.fail_task(task_id)
79
79
  RestClient.post(URI.encode(BpmManager.uri('/task/' + task_id.to_s + '/fail')), :headers => {:content_type => :json, :accept => :json})
80
80
  end
81
81
 
82
82
  # Exits a Task
83
- def self.complete_task(task_id)
83
+ def self.exit_task(task_id)
84
84
  RestClient.post(URI.encode(BpmManager.uri('/task/' + task_id.to_s + '/exit')), :headers => {:content_type => :json, :accept => :json})
85
85
  end
86
86
 
@@ -1,3 +1,3 @@
1
1
  module BpmManager
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bpm_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Presa