sc2ai 0.0.6 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/stableid.json +424 -2562
- data/data/versions.json +8 -0
- data/lib/docker_build/Dockerfile.ruby +1 -1
- data/lib/sc2ai/api/ability_id.rb +12 -314
- data/lib/sc2ai/api/buff_id.rb +9 -16
- data/lib/sc2ai/api/data.rb +1 -1
- data/lib/sc2ai/api/tech_tree.rb +35 -0
- data/lib/sc2ai/api/tech_tree_data.rb +14 -9
- data/lib/sc2ai/api/unit_type_id.rb +6 -58
- data/lib/sc2ai/api/upgrade_id.rb +9 -9
- data/lib/sc2ai/connection/requests.rb +10 -7
- data/lib/sc2ai/data.rb +101 -0
- data/lib/sc2ai/local_play/match.rb +1 -3
- data/lib/sc2ai/player/actions.rb +8 -4
- data/lib/sc2ai/player/debug.rb +2 -3
- data/lib/sc2ai/player/game_state.rb +28 -0
- data/lib/sc2ai/player/geometry.rb +44 -39
- data/lib/sc2ai/player/previous_state.rb +1 -0
- data/lib/sc2ai/player/units.rb +25 -37
- data/lib/sc2ai/player.rb +7 -7
- data/lib/sc2ai/protocol/_meta_documentation.rb +18 -0
- data/lib/sc2ai/protocol/extensions/point_2_d.rb +1 -1
- data/lib/sc2ai/protocol/extensions/point_distance.rb +11 -0
- data/lib/sc2ai/protocol/extensions/position.rb +8 -10
- data/lib/sc2ai/protocol/extensions/unit.rb +29 -3
- data/lib/sc2ai/protocol/extensions/unit_type.rb +9 -0
- data/lib/sc2ai/unit_group/action_ext.rb +3 -3
- data/lib/sc2ai/unit_group/filter_ext.rb +22 -7
- data/lib/sc2ai/version.rb +1 -1
- data/lib/templates/new/run_example_match.rb.tt +1 -1
- data/sig/sc2ai.rbs +387 -530
- metadata +39 -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.8
|
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-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.14.1
|
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:
|
26
|
+
version: 2.14.1
|
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.
|
33
|
+
version: 0.27.0
|
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.
|
40
|
+
version: 0.27.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: google-protobuf
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 4.27.2
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 4.27.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: async-process
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
117
|
+
version: 0.29.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.
|
124
|
+
version: 0.29.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: sc2ai-kdtree
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,28 +142,28 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '13.
|
145
|
+
version: '13.2'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '13.
|
152
|
+
version: '13.2'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: yard
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
159
|
+
version: 0.9.36
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
166
|
+
version: 0.9.36
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: webrick
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,14 +198,14 @@ dependencies:
|
|
198
198
|
requirements:
|
199
199
|
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: '1.
|
201
|
+
version: '1.39'
|
202
202
|
type: :development
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
206
|
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version: '1.
|
208
|
+
version: '1.39'
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
210
|
name: factory_bot
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
@@ -262,6 +262,20 @@ dependencies:
|
|
262
262
|
- - "~>"
|
263
263
|
- !ruby/object:Gem::Version
|
264
264
|
version: '1.17'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: conventional-changelog
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
type: :development
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0'
|
265
279
|
description: This is a Ruby interface to STARCRAFT® II. Write your own AI using an
|
266
280
|
easy interface and compete against others.
|
267
281
|
email:
|
@@ -307,6 +321,7 @@ files:
|
|
307
321
|
- lib/sc2ai/connection/connection_listener.rb
|
308
322
|
- lib/sc2ai/connection/requests.rb
|
309
323
|
- lib/sc2ai/connection/status_listener.rb
|
324
|
+
- lib/sc2ai/data.rb
|
310
325
|
- lib/sc2ai/local_play/client.rb
|
311
326
|
- lib/sc2ai/local_play/client/configurable_options.rb
|
312
327
|
- lib/sc2ai/local_play/client_manager.rb
|
@@ -333,9 +348,11 @@ files:
|
|
333
348
|
- lib/sc2ai/protocol/extensions/color.rb
|
334
349
|
- lib/sc2ai/protocol/extensions/point.rb
|
335
350
|
- lib/sc2ai/protocol/extensions/point_2_d.rb
|
351
|
+
- lib/sc2ai/protocol/extensions/point_distance.rb
|
336
352
|
- lib/sc2ai/protocol/extensions/position.rb
|
337
353
|
- lib/sc2ai/protocol/extensions/power_source.rb
|
338
354
|
- lib/sc2ai/protocol/extensions/unit.rb
|
355
|
+
- lib/sc2ai/protocol/extensions/unit_type.rb
|
339
356
|
- lib/sc2ai/protocol/extensions/unit_type_data.rb
|
340
357
|
- lib/sc2ai/protocol/query_pb.rb
|
341
358
|
- lib/sc2ai/protocol/raw_pb.rb
|
@@ -365,13 +382,14 @@ files:
|
|
365
382
|
- lib/templates/new/my_bot.rb.tt
|
366
383
|
- lib/templates/new/run_example_match.rb.tt
|
367
384
|
- sig/sc2ai.rbs
|
368
|
-
homepage: https://
|
385
|
+
homepage: https://sc2ai.pages.dev/
|
369
386
|
licenses:
|
370
387
|
- MIT
|
371
388
|
- Nonstandard
|
372
389
|
metadata:
|
373
|
-
homepage_uri: https://
|
374
|
-
|
390
|
+
homepage_uri: https://sc2ai.pages.dev/
|
391
|
+
source_code_uri: https://gitlab.com/dysonreturns/sc2ai
|
392
|
+
changelog_uri: https://sc2ai.pages.dev/file.CHANGELOG
|
375
393
|
post_install_message:
|
376
394
|
rdoc_options: []
|
377
395
|
require_paths:
|
@@ -380,14 +398,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
380
398
|
requirements:
|
381
399
|
- - ">="
|
382
400
|
- !ruby/object:Gem::Version
|
383
|
-
version: 3.2.
|
401
|
+
version: 3.2.5
|
384
402
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
385
403
|
requirements:
|
386
404
|
- - ">="
|
387
405
|
- !ruby/object:Gem::Version
|
388
406
|
version: '0'
|
389
407
|
requirements: []
|
390
|
-
rubygems_version: 3.5.
|
408
|
+
rubygems_version: 3.5.14
|
391
409
|
signing_key:
|
392
410
|
specification_version: 4
|
393
411
|
summary: STARCRAFT® II AI API
|