cpee-logging-xes-yaml 1.3.7 → 1.3.9
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 +4 -4
- data/cpee-logging-xes-yaml.gemspec +2 -1
- data/lib/cpee-logging-xes-yaml/tools.rb +1 -1
- data/tools/cpee-logging-xes-yaml +3 -3
- metadata +23 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bd3feb67e21827ff291d088aa41a6d01961d3f370b32951fa24a197249b3621
|
4
|
+
data.tar.gz: a57208f7d61301df19cc067a7447792ded0978b6c556fbe7eec9d9841e0ebac1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce3b336f9284d9e48b22673cc41e74096ad0a9e6f86e3b1fdef5fcdfe119fb774cb3e64795fd849cf0cd921269b91db982adee96b0d2daa6dc987dcc75fca7ea
|
7
|
+
data.tar.gz: 8fae51f0a3be53f3c044e21ae6b4477002249edf4a45073b8de6a49eca968236ec8ce96eff6f87535deebe7244b000e5215a794621a987f2e31d1e59f2376eff
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "cpee-logging-xes-yaml"
|
3
|
-
s.version = "1.3.
|
3
|
+
s.version = "1.3.9"
|
4
4
|
s.platform = Gem::Platform::RUBY
|
5
5
|
s.license = "LGPL-3.0"
|
6
6
|
s.summary = "Logging for the cloud process execution engine (cpee.org)"
|
@@ -23,4 +23,5 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.add_runtime_dependency 'riddl', '~> 1.0'
|
24
24
|
s.add_runtime_dependency 'json', '~> 2.1'
|
25
25
|
s.add_runtime_dependency 'cpee', '~> 2.1', '>= 2.1.4'
|
26
|
+
s.add_runtime_dependency 'msgpack', '~> 1.7', '>= 1.7.2'
|
26
27
|
end
|
@@ -346,7 +346,7 @@ module CPEE
|
|
346
346
|
end
|
347
347
|
end
|
348
348
|
if receiving && !receiving.empty?
|
349
|
-
event["
|
349
|
+
event["data"] = receiving
|
350
350
|
end
|
351
351
|
event["time:timestamp"]= notification['timestamp'] || Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z")
|
352
352
|
File.open(File.join(log_dir,instance+'.xes.yaml'),'a') do |f|
|
data/tools/cpee-logging-xes-yaml
CHANGED
@@ -75,7 +75,7 @@ TEMPLATE_XES_XML = <<-END
|
|
75
75
|
END
|
76
76
|
|
77
77
|
def rec_type(it)
|
78
|
-
if (Time.parse(it) rescue nil)
|
78
|
+
if it.is_a?(String) && it =~ /^\d/ && (Time.parse(it) rescue nil)
|
79
79
|
'x:date'
|
80
80
|
elsif it.is_a? Float
|
81
81
|
'x:float'
|
@@ -145,7 +145,7 @@ def follow(fname,io,copy,deep=0,index=nil)
|
|
145
145
|
end
|
146
146
|
|
147
147
|
def react(name,copy=false,deep=0,index=nil)
|
148
|
-
index ||= File.open('index.txt','
|
148
|
+
index ||= File.open('index.txt','a')
|
149
149
|
if name.nil?
|
150
150
|
help
|
151
151
|
elsif name =~ /^https?:\/\//
|
@@ -170,7 +170,7 @@ def extract(path)
|
|
170
170
|
if path =~ /^http.*/
|
171
171
|
unlink = true
|
172
172
|
text = Tempfile.new('extract-model-download')
|
173
|
-
request = Typhoeus::Request.new(
|
173
|
+
request = Typhoeus::Request.new(path)
|
174
174
|
request.on_headers do |response|
|
175
175
|
if response.code != 200
|
176
176
|
raise "Request failed"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cpee-logging-xes-yaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: tools
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-07-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: riddl
|
@@ -59,6 +59,26 @@ dependencies:
|
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 2.1.4
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: msgpack
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.7'
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: 1.7.2
|
72
|
+
type: :runtime
|
73
|
+
prerelease: false
|
74
|
+
version_requirements: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - "~>"
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '1.7'
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: 1.7.2
|
62
82
|
description: see http://cpee.org
|
63
83
|
email: juergen.mangler@gmail.com
|
64
84
|
executables:
|
@@ -98,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
118
|
- !ruby/object:Gem::Version
|
99
119
|
version: '0'
|
100
120
|
requirements: []
|
101
|
-
rubygems_version: 3.
|
121
|
+
rubygems_version: 3.5.9
|
102
122
|
signing_key:
|
103
123
|
specification_version: 4
|
104
124
|
summary: Logging for the cloud process execution engine (cpee.org)
|