bpm_manager 0.6.19 → 0.6.20

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: c5ba6b12200c50e4a281fda4b0eda7f2e9079da0
4
- data.tar.gz: ef9018468cf24a3ba5d7333fdbf1851f3cc6433e
3
+ metadata.gz: 3674cc8ec192a28909b8b7a5470d5fa21c4a60b9
4
+ data.tar.gz: dda78c640f14bdc6ed1fd6327fd50bb37ffdb695
5
5
  SHA512:
6
- metadata.gz: 6d7f6eba9ec21e66fdddfb444945a26b2d7f061e8d210321ada1fde0d59c0d3d123a79efb3bbb92a20d3f63c9ec039c14c206cdfe1b920be40224cb06bda8a2a
7
- data.tar.gz: 6ed50d29d3f8cb637bb01c75b39c9fa750bb63ce696aaf78dec84bbae6082c246288f4ecf8286b20c60ac55955dc22bbffc5dc5f959bc4dd810b4f14e7eb10d6
6
+ metadata.gz: 3ceff42ec4b452f8699a85f1a20deccdef65ec4d9e3cbd699422c149be9dce6871327f2826caedf6b8896561befd9432cbe18198841483838b5489e8a1a3f317
7
+ data.tar.gz: d8d6a7046bc1e2679c5c9ce7b37e2cef745c0613dc60b86c17c465335fc6d0ba127de0c3612ab15868f5afe48fffa4b7a9f5379e438301d77561e6a688ef2e62
@@ -29,6 +29,11 @@ module BpmManager
29
29
  RestClient.post(URI.encode(BpmManager.uri('/task/assign/' + task_id.to_s + '/' + user_id.to_s)), :headers => {:content_type => :json, :accept => :json})
30
30
  end
31
31
 
32
+ # Releases a Task
33
+ def self.release_task(task_id)
34
+ RestClient.post(URI.encode(BpmManager.uri('/task/release/' + task_id.to_s)), :headers => {:content_type => :json, :accept => :json})
35
+ end
36
+
32
37
  # Starts a Task
33
38
  # def self.start_task(task_id)
34
39
  # RestClient.post(URI.encode(BpmManager.uri('/task/' + task_id.to_s + '/start')), :headers => {:content_type => :json, :accept => :json})
@@ -49,11 +54,6 @@ module BpmManager
49
54
  RestClient.post(URI.encode(BpmManager.uri('/task/action' + task_id.to_s + '/SYS_RESUME')), :headers => {:content_type => :json, :accept => :json})
50
55
  end
51
56
 
52
- # Releases a Task
53
- def self.release_task(task_id)
54
- RestClient.post(URI.encode(BpmManager.uri('/task/action/' + task_id.to_s + '/SYS_RELEASE')), :headers => {:content_type => :json, :accept => :json})
55
- end
56
-
57
57
  # Skips a Task
58
58
  # def self.skip_task(task_id)
59
59
  # RestClient.post(URI.encode(BpmManager.uri('/task/' + task_id.to_s + '/skip')), :headers => {:content_type => :json, :accept => :json})
@@ -48,6 +48,11 @@ module BpmManager
48
48
  RestClient.post(URI.encode(BpmManager.uri('/task/' + task_id.to_s + '/start')), :headers => {:content_type => :json, :accept => :json})
49
49
  end
50
50
 
51
+ # Releases a Task
52
+ def self.release_task(task_id)
53
+ RestClient.post(URI.encode(BpmManager.uri('/task/' + task_id.to_s + '/release')), :headers => {:content_type => :json, :accept => :json})
54
+ end
55
+
51
56
  # Stops a Task
52
57
  def self.stop_task(task_id)
53
58
  RestClient.post(URI.encode(BpmManager.uri('/task/' + task_id.to_s + '/stop')), :headers => {:content_type => :json, :accept => :json})
@@ -63,11 +68,6 @@ module BpmManager
63
68
  RestClient.post(URI.encode(BpmManager.uri('/task/' + task_id.to_s + '/resumes')), :headers => {:content_type => :json, :accept => :json})
64
69
  end
65
70
 
66
- # Releases a Task
67
- def self.release_task(task_id)
68
- RestClient.post(URI.encode(BpmManager.uri('/task/' + task_id.to_s + '/release')), :headers => {:content_type => :json, :accept => :json})
69
- end
70
-
71
71
  # Skips a Task
72
72
  def self.skip_task(task_id)
73
73
  RestClient.post(URI.encode(BpmManager.uri('/task/' + task_id.to_s + '/skip')), :headers => {:content_type => :json, :accept => :json})
@@ -1,3 +1,3 @@
1
1
  module BpmManager
2
- VERSION = "0.6.19"
2
+ VERSION = "0.6.20"
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.6.19
4
+ version: 0.6.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Presa