camunda-workflow 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/camunda.rb +1 -0
- data/lib/camunda/external_task.rb +1 -1
- data/lib/camunda/railtie.rb +6 -0
- data/lib/camunda/workflow/version.rb +1 -1
- data/lib/generators/camunda/spring_boot/spring_boot_generator.rb +0 -30
- data/lib/{generators/camunda/spring_boot/templates → tasks}/camunda.rake +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de3f5b53f63bf54079ee7c40c5b4484610f5fff5aea834f277c53c2a19061066
|
4
|
+
data.tar.gz: 9bc948e1114eb799505598a585874070436097ec1ee86396f806457aad8a304c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75e7a0452733b6c14c62a60bcb794c29d5760431721ab85bc138ea3bb35e32ae11803466247de18ec86825f4f057963f9735744c6418b5549f2f0811dd9f13d2
|
7
|
+
data.tar.gz: f97120868b79674a2dc60c04d7c646fe511da2674113f198da67fcfc6081507fc263edc8713d4631e371c979cea2f9b564f62a846c316856170b8640089e5063
|
data/lib/camunda.rb
CHANGED
@@ -43,7 +43,7 @@ class Camunda::ExternalTask < Camunda::Model
|
|
43
43
|
self.class.post_raw("#{collection_path}/#{id}/failure",
|
44
44
|
workerId: worker_id, errorMessage: exception.message,
|
45
45
|
errorDetails:
|
46
|
-
variables_information.to_s +
|
46
|
+
variables_information.to_s + exception.message +
|
47
47
|
backtrace_cleaner.clean(exception.backtrace).join("\n"))[:response]
|
48
48
|
end
|
49
49
|
|
@@ -21,7 +21,6 @@ module Camunda
|
|
21
21
|
copy_file 'logback.xml', File.join(java_app_path, 'src/main/resources/logback.xml')
|
22
22
|
copy_file 'application.properties', File.join(java_app_path, 'src/main/resources/application.properties')
|
23
23
|
copy_file 'Camunda.java', File.join(java_app_path, 'src/main/java/camunda/Camunda.java')
|
24
|
-
copy_file 'camunda.rake', 'lib/tasks/camunda.rake'
|
25
24
|
end
|
26
25
|
|
27
26
|
# Copies a sample bpmn file to help demonstrate the usage for camunda-workflow
|
@@ -43,35 +42,6 @@ module Camunda
|
|
43
42
|
end
|
44
43
|
end
|
45
44
|
|
46
|
-
# Provides instruction regarding an error with EventedFileChecker listening on the entire Rails folder.
|
47
|
-
def output_error_instructions
|
48
|
-
puts <<~DOC
|
49
|
-
If you get an error when starting your Rails app
|
50
|
-
|
51
|
-
** ERROR: directory is already being watched! **
|
52
|
-
|
53
|
-
Directory: bpmn/java_app/src/main/resources
|
54
|
-
is already being watched through: bpmn/diagrams
|
55
|
-
|
56
|
-
MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
|
57
|
-
|
58
|
-
It is because ActionMailer preview causes test/mailers/previews to get added to the Rails EventedFileChecker
|
59
|
-
by default. RSpec is supposed to override it, but it is not overridden properly for EventedFileChecker and/or
|
60
|
-
you don't have spec/mailers/preview existing. If that directory does not exist it goes to the first common
|
61
|
-
directory that exists which is your Rails root folder.
|
62
|
-
|
63
|
-
So EventedFileChecker is listening to your entire Rails folder. Not a big problem, but it causes a problem
|
64
|
-
for our created symlink.
|
65
|
-
|
66
|
-
So add:
|
67
|
-
|
68
|
-
config.action_mailer.show_previews = false
|
69
|
-
|
70
|
-
to your development.rb file to solve Listen errors about a symlink. Unless you are using ActionMailer
|
71
|
-
previews in which case you should have the directory created already.
|
72
|
-
DOC
|
73
|
-
end
|
74
|
-
|
75
45
|
private
|
76
46
|
|
77
47
|
def bpmn_folder_name
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: camunda-workflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ankur Sethi
|
@@ -215,6 +215,7 @@ files:
|
|
215
215
|
- lib/camunda/poller.rb
|
216
216
|
- lib/camunda/process_definition.rb
|
217
217
|
- lib/camunda/process_instance.rb
|
218
|
+
- lib/camunda/railtie.rb
|
218
219
|
- lib/camunda/signal.rb
|
219
220
|
- lib/camunda/task.rb
|
220
221
|
- lib/camunda/variable_serialization.rb
|
@@ -233,10 +234,10 @@ files:
|
|
233
234
|
- lib/generators/camunda/spring_boot/templates/ProcessScenarioTest.java
|
234
235
|
- lib/generators/camunda/spring_boot/templates/application.properties
|
235
236
|
- lib/generators/camunda/spring_boot/templates/camunda.cfg.xml
|
236
|
-
- lib/generators/camunda/spring_boot/templates/camunda.rake
|
237
237
|
- lib/generators/camunda/spring_boot/templates/logback.xml
|
238
238
|
- lib/generators/camunda/spring_boot/templates/pom.xml
|
239
239
|
- lib/generators/camunda/spring_boot/templates/sample.bpmn
|
240
|
+
- lib/tasks/camunda.rake
|
240
241
|
homepage: https://github.com/amalagaura/camunda-workflow
|
241
242
|
licenses:
|
242
243
|
- MIT
|