sinatra-hexacta 0.8.4 → 0.8.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0befef98fe4dd879c83aa2bef032f9c14b0fd7d99827624d29eac4534410aa7
4
- data.tar.gz: 15ff5feba0286aa289d1c37a3a197d4d6ab21c0ca5cac8b7a715470b4c676bc7
3
+ metadata.gz: 6d6be02726f449dec366288a8e986cf950a350412e36138a0081faae3de4d85f
4
+ data.tar.gz: 4f7dcaeb8123ec8154b38a668cfb02205f44809583dd4d0eb39ee7dabcd447e7
5
5
  SHA512:
6
- metadata.gz: 5f927ed2709ef6473f7931efc27846e0cb8c22733d54d0cc72db124ae5d20c6f50f9ca7590af33e7fb398993b4b5d75b775c6c993335561a0d1750bcc8d8a0cc
7
- data.tar.gz: 272264081fd19267b2faad9450f7085c27df83fe0031f9465ec28af67677abd6bceb74422788e9aaac0a9f90091d51aaa34df5edb0e4e41827479a25c09c62e7
6
+ metadata.gz: f343d242e5d4683f1ef4a6e218024125b2095bb12f3245e18ec0f4d2288497b6b686bfa4815dca14ddeef452733e76339b214e61c78dd13ec8a7755cea896667
7
+ data.tar.gz: 856b37635174175a17585071b60b5ac3151db247327afd8a44720876319cf0e2b5653209e1574756bbe25d1ae8a9659ab38074dc5330e2c4bd25618d107764b6
@@ -36,6 +36,21 @@ class ProcessManager {
36
36
  });
37
37
  }
38
38
 
39
+ static start_with_map(clazz,map) {
40
+ map['class'] = clazz;
41
+ $.ajax({
42
+ url: "/process",
43
+ type: 'POST',
44
+ data: map,
45
+ success: function(result) {
46
+ ProcessManager.show('Cargando...');
47
+ ProcessManager.update(0);
48
+ },
49
+ error: function(error) {
50
+ }
51
+ });
52
+ }
53
+
39
54
  static getProcesses(clazz) {
40
55
  $.ajax({
41
56
  url: "/processes",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-hexacta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Zanger