cpee-logging-xes-yaml 1.3.6 → 1.3.8

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
  SHA256:
3
- metadata.gz: 899e0d2f04869dfa68eb7c7922222c825f87a1bd90d3b73f0cbb528bd95779d3
4
- data.tar.gz: 64ef69bebaad740bb8ef4944fb2a5fa3a37d26ab1e0156bf58b75392c9fe8d39
3
+ metadata.gz: 6576f37c33679f4b82b2598f3f2806a4530e7116dd5ce583766bdfa2df5098b9
4
+ data.tar.gz: f562359957660cde71f663916230b6edcc754c2e80bb77011a1ce32ef4672abc
5
5
  SHA512:
6
- metadata.gz: 0b0f53c72122468d2f3c4e6a17cd69a7bb7ca0c9088bb843e82ebe3700cb0e6b78a20b453d761648acba181afcb3f9122eb4e4a65c0da166f07249c7b3b48341
7
- data.tar.gz: 0557b1e7f8cb2e1538b4984238530d713db7b7927b6ccba5abc949c1b2f180d307370c9d2d6781f689cfce156f1b19339e624dab2eae1a8dfc0478706329ed61
6
+ metadata.gz: ac2920294dfea212035cf94c51e6a27faa155fce1d8300c1da2497c54f1f34c909847fe8937b13f0e54227dc45c54865cf53ee550649fa90cbe8ba9e300c4946
7
+ data.tar.gz: 343f6ca6274e8cc907970f47fa7c48e19b44fbe500283839221e51e5aa9367f608b9ad6310094fec29c94e9116421269f73bbfc18dd4c8aca9345ee69d9d12a7
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee-logging-xes-yaml"
3
- s.version = "1.3.6"
3
+ s.version = "1.3.8"
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)"
@@ -20,7 +20,8 @@ Gem::Specification.new do |s|
20
20
  s.email = 'juergen.mangler@gmail.com'
21
21
  s.homepage = 'http://cpee.org/'
22
22
 
23
- s.add_runtime_dependency 'riddl', '~> 0.99'
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
@@ -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'
@@ -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("www.example.com/huge.iso")
173
+ request = Typhoeus::Request.new(path)
174
174
  request.on_headers do |response|
175
175
  if response.code != 200
176
176
  raise "Request failed"
@@ -243,11 +243,11 @@ ARGV.options { |opt|
243
243
  opt.on("")
244
244
  opt.on(wrap("extract-all [LOG] extract cpee testset from cpee xes-yaml log. Works for local and remote logs. Write logs to files in folder named like the instance uuid contained in the log. Examples: \n#{exname} extract https://cpee.org/log/123.xes.yaml\n#{exname} extract ~/log/logs/456.xes.yaml"))
245
245
  opt.on("")
246
- opt.on(wrap("extract-last [LOG] extract cpee testset from cpee xes-yaml log. Works for local and remote logs. When called with out [LOG], models for all log files in the current directory are extracted. Examples:\n#{exname} extract https://cpee.org/log/123.xes.yaml\n#{exname} extract ~/log/logs/456.xes.yaml"))
246
+ opt.on(wrap("extract-last [LOG] extract cpee testset from cpee xes-yaml log. Works for local and remote logs. When called without [LOG], models for all log files in the current directory are extracted. Examples:\n#{exname} extract https://cpee.org/log/123.xes.yaml\n#{exname} extract ~/log/logs/456.xes.yaml"))
247
247
  opt.on("")
248
248
  opt.on(wrap("index [LOG] creates an index for a log file, for more efficient parsing. When called without [LOG], indexes all log files in the current directory. Examples:\n#{exname} index https://cpee.org/log/123.xes.yaml\n#{exname} index ~/log/logs/456.xes.yaml"))
249
249
  opt.on("")
250
- opt.on(wrap("to-xes-xml [LOG] convert cpee xes-yaml to xes-xml. Works for local and remote logs. When called with out [LOG], all log files in the current directory are converted. Examples:\n#{exname} to-xes-xml https://cpee.org/log/123.xes.yaml\n#{exname} to-xes-xml ~/log/logs/456.xes.yaml"))
250
+ opt.on(wrap("to-xes-xml [LOG] convert cpee xes-yaml to xes-xml. Works for local and remote logs. When called without [LOG], all log files in the current directory are converted. Examples:\n#{exname} to-xes-xml https://cpee.org/log/123.xes.yaml\n#{exname} to-xes-xml ~/log/logs/456.xes.yaml"))
251
251
  opt.parse!
252
252
  }
253
253
 
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.6
4
+ version: 1.3.8
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-03-05 00:00:00.000000000 Z
12
+ date: 2024-07-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: riddl
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '0.99'
20
+ version: '1.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '0.99'
27
+ version: '1.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: json
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -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.4.10
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)