EventChart 2022.5.31 → 2022.6.3

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.
@@ -27,10 +27,34 @@ class ExtremeUnZip
27
27
 
28
28
  x=1..wholeCbor.length
29
29
  y=wholeCbor.map { |event| event["optimisticScore"] }
30
-
30
+ y1=wholeCbor.map { |event| event["speciesScore"] }
31
+
31
32
  puts x
32
33
  puts y
33
34
 
35
+ xString=""
36
+
37
+ x.each { |value| xString=xString+"#{value}," }
38
+
39
+ xString="[#{xString}]"
40
+
41
+ puts xString
42
+
43
+ yString=""
44
+ y.each { |value| yString=yString+"#{value}," }
45
+
46
+ yString="[#{yString}]"
47
+
48
+ puts yString
49
+
50
+ yString1=""
51
+ y1.each { |value| yString1=yString1+"#{value}," }
52
+
53
+ yString1="[#{yString1}]"
54
+
55
+ puts yString1
56
+
57
+
34
58
  result =true # 解压成功
35
59
  rescue EOFError => e # 文件内容提前到末尾。一般是压缩包文件未传输完全 。
36
60
  puts "Error: the exz file may be incomplete." # 报告错误。文件可能不完整。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: EventChart
3
3
  version: !ruby/object:Gem::Version
4
- version: 2022.5.31
4
+ version: 2022.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hxcan Cai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-30 00:00:00.000000000 Z
11
+ date: 2022-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cod
@@ -122,6 +122,7 @@ extensions: []
122
122
  extra_rdoc_files: []
123
123
  files:
124
124
  - bin/eventchart
125
+ - lib/eventchart.js.rb
125
126
  - lib/extremeunzip.zzaqsu.rb
126
127
  - lib/extremezip.zzaqsv.rb
127
128
  homepage: http://rubygems.org/gems/EventChart