sc2ai 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker_build/Dockerfile.ruby +1 -1
- data/lib/sc2ai/api/data.rb +0 -3
- data/lib/sc2ai/connection/requests.rb +26 -11
- data/lib/sc2ai/player/game_state.rb +8 -5
- data/lib/sc2ai/player/geometry.rb +94 -16
- data/lib/sc2ai/player/previous_state.rb +1 -1
- data/lib/sc2ai/player/units.rb +41 -0
- data/lib/sc2ai/player.rb +3 -1
- data/lib/sc2ai/protocol/extensions/ability_remapable.rb +22 -0
- data/lib/sc2ai/protocol/extensions/point.rb +3 -1
- data/lib/sc2ai/protocol/extensions/position.rb +41 -4
- data/lib/sc2ai/protocol/extensions/unit.rb +25 -0
- data/lib/sc2ai/unit_group/filter_ext.rb +12 -1
- data/lib/sc2ai/unit_group/geo_ext.rb +28 -0
- data/lib/sc2ai/unit_group.rb +3 -0
- data/lib/sc2ai/version.rb +1 -1
- data/sig/sc2ai.rbs +274 -62
- metadata +9 -21
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sc2ai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dyson Returns
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.11'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '2.
|
26
|
+
version: '2.11'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: async-websocket
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.26.
|
33
|
+
version: 0.26.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.26.
|
40
|
+
version: 0.26.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: google-protobuf
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,20 +80,6 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 1.3.1
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: perfect-shape
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 1.0.8
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 1.0.8
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: numo-narray
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -343,6 +329,7 @@ files:
|
|
343
329
|
- lib/sc2ai/protocol/data_pb.rb
|
344
330
|
- lib/sc2ai/protocol/debug_pb.rb
|
345
331
|
- lib/sc2ai/protocol/error_pb.rb
|
332
|
+
- lib/sc2ai/protocol/extensions/ability_remapable.rb
|
346
333
|
- lib/sc2ai/protocol/extensions/color.rb
|
347
334
|
- lib/sc2ai/protocol/extensions/point.rb
|
348
335
|
- lib/sc2ai/protocol/extensions/point_2_d.rb
|
@@ -359,6 +346,7 @@ files:
|
|
359
346
|
- lib/sc2ai/unit_group.rb
|
360
347
|
- lib/sc2ai/unit_group/action_ext.rb
|
361
348
|
- lib/sc2ai/unit_group/filter_ext.rb
|
349
|
+
- lib/sc2ai/unit_group/geo_ext.rb
|
362
350
|
- lib/sc2ai/version.rb
|
363
351
|
- lib/templates/ladderzip/bin/ladder.tt
|
364
352
|
- lib/templates/new/.ladderignore
|
@@ -399,7 +387,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
399
387
|
- !ruby/object:Gem::Version
|
400
388
|
version: '0'
|
401
389
|
requirements: []
|
402
|
-
rubygems_version: 3.5.
|
390
|
+
rubygems_version: 3.5.9
|
403
391
|
signing_key:
|
404
392
|
specification_version: 4
|
405
393
|
summary: STARCRAFT® II AI API
|