sc2ai 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,139 +1,139 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sc2ai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dyson Returns
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-07 00:00:00.000000000 Z
11
+ date: 2024-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.6.5
19
+ version: '2.9'
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.6.5
26
+ version: '2.9'
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
33
  version: 0.26.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
40
  version: 0.26.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: 3.25.1
47
+ version: 3.25.3
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: 3.25.1
54
+ version: 3.25.3
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: async-process
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '='
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 1.3.1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '='
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 1.3.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: thor
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '='
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.3.0
75
+ version: 1.3.1
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '='
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.3.0
82
+ version: 1.3.1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: perfect-shape
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '='
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: 1.0.8
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '='
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: 1.0.8
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: numo-narray
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '='
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: 0.9.2.1
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '='
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: 0.9.2.1
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: numo-linalg
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '='
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: 0.1.7
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
124
  version: 0.1.7
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rumale
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '='
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
131
  version: 0.28.1
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '='
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: 0.28.1
139
139
  - !ruby/object:Gem::Dependency
@@ -179,61 +179,47 @@ dependencies:
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0.9'
181
181
  - !ruby/object:Gem::Dependency
182
- name: standard
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - "~>"
186
- - !ruby/object:Gem::Version
187
- version: '1.33'
188
- type: :development
189
- prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - "~>"
193
- - !ruby/object:Gem::Version
194
- version: '1.33'
195
- - !ruby/object:Gem::Dependency
196
- name: memory_profiler
182
+ name: webrick
197
183
  requirement: !ruby/object:Gem::Requirement
198
184
  requirements:
199
185
  - - "~>"
200
186
  - !ruby/object:Gem::Version
201
- version: '1.0'
187
+ version: '1.8'
202
188
  type: :development
203
189
  prerelease: false
204
190
  version_requirements: !ruby/object:Gem::Requirement
205
191
  requirements:
206
192
  - - "~>"
207
193
  - !ruby/object:Gem::Version
208
- version: '1.0'
194
+ version: '1.8'
209
195
  - !ruby/object:Gem::Dependency
210
- name: benchmark
196
+ name: sord
211
197
  requirement: !ruby/object:Gem::Requirement
212
198
  requirements:
213
- - - "~>"
199
+ - - ">="
214
200
  - !ruby/object:Gem::Version
215
- version: '0.3'
201
+ version: '0'
216
202
  type: :development
217
203
  prerelease: false
218
204
  version_requirements: !ruby/object:Gem::Requirement
219
205
  requirements:
220
- - - "~>"
206
+ - - ">="
221
207
  - !ruby/object:Gem::Version
222
- version: '0.3'
208
+ version: '0'
223
209
  - !ruby/object:Gem::Dependency
224
- name: benchmark-ips
210
+ name: standard
225
211
  requirement: !ruby/object:Gem::Requirement
226
212
  requirements:
227
213
  - - "~>"
228
214
  - !ruby/object:Gem::Version
229
- version: '2.13'
215
+ version: '1.34'
230
216
  type: :development
231
217
  prerelease: false
232
218
  version_requirements: !ruby/object:Gem::Requirement
233
219
  requirements:
234
220
  - - "~>"
235
221
  - !ruby/object:Gem::Version
236
- version: '2.13'
222
+ version: '1.34'
237
223
  - !ruby/object:Gem::Dependency
238
224
  name: factory_bot
239
225
  requirement: !ruby/object:Gem::Requirement
@@ -268,31 +254,17 @@ dependencies:
268
254
  requirements:
269
255
  - - "~>"
270
256
  - !ruby/object:Gem::Version
271
- version: '3.12'
272
- type: :development
273
- prerelease: false
274
- version_requirements: !ruby/object:Gem::Requirement
275
- requirements:
276
- - - "~>"
277
- - !ruby/object:Gem::Version
278
- version: '3.12'
279
- - !ruby/object:Gem::Dependency
280
- name: simplecov
281
- requirement: !ruby/object:Gem::Requirement
282
- requirements:
283
- - - "~>"
284
- - !ruby/object:Gem::Version
285
- version: '0.22'
257
+ version: '3.13'
286
258
  type: :development
287
259
  prerelease: false
288
260
  version_requirements: !ruby/object:Gem::Requirement
289
261
  requirements:
290
262
  - - "~>"
291
263
  - !ruby/object:Gem::Version
292
- version: '0.22'
264
+ version: '3.13'
293
265
  description: This is a Ruby interface to STARCRAFT® II. It can be used for machine
294
266
  learning via Rumale or custom scripted AI battle.
295
- email:
267
+ email:
296
268
  executables:
297
269
  - sc2ai
298
270
  extensions: []
@@ -389,7 +361,7 @@ files:
389
361
  - lib/templates/new/boot.rb.tt
390
362
  - lib/templates/new/my_bot.rb.tt
391
363
  - lib/templates/new/run_example_match.rb.tt
392
- - sc2ai.gemspec
364
+ - sig/sc2ai.rbs
393
365
  homepage: https://www.github.com/dysonreturns/sc2ai
394
366
  licenses:
395
367
  - MIT
@@ -397,7 +369,7 @@ licenses:
397
369
  metadata:
398
370
  homepage_uri: https://www.github.com/dysonreturns/sc2ai
399
371
  changelog_uri: https://www.github.com/dysonreturns/sc2ai/blob/main/docs/CHANGELOG.md
400
- post_install_message:
372
+ post_install_message:
401
373
  rdoc_options: []
402
374
  require_paths:
403
375
  - lib
@@ -413,7 +385,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
413
385
  version: '0'
414
386
  requirements: []
415
387
  rubygems_version: 3.5.3
416
- signing_key:
388
+ signing_key:
417
389
  specification_version: 4
418
390
  summary: STARCRAFT® II AI API
419
391
  test_files: []
data/sc2ai.gemspec DELETED
@@ -1,80 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- $LOAD_PATH.unshift(File.expand_path("./lib"))
4
- require_relative "lib/sc2ai/version"
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "sc2ai"
8
- spec.version = Sc2::VERSION
9
- spec.authors = ["Dyson Returns"]
10
-
11
- spec.summary = "STARCRAFT® II AI API"
12
- spec.description = "This is a Ruby interface to STARCRAFT® II. It can be used for machine learning via Rumale or custom scripted AI battle."
13
- spec.homepage = "https://www.github.com/dysonreturns/sc2ai"
14
- spec.licenses = ["MIT", "Nonstandard"]
15
- spec.required_ruby_version = ">= 3.2.2"
16
-
17
- spec.metadata["homepage_uri"] = spec.homepage
18
- # spec.metadata["source_code_uri"] = spec.homepage
19
- spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/docs/CHANGELOG.md"
20
-
21
- # Specify which files should be added to the gem when it is released.
22
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
- spec.files = Dir.chdir(__dir__) do
24
- `git ls-files -z`.split("\x0").select do |f|
25
- (File.expand_path(f) == __FILE__) ||
26
- %r{\A(?:lib|data|exe)/}.match?(f)
27
- end
28
- end
29
-
30
- spec.bindir = "exe"
31
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
32
- spec.require_paths = ["lib"]
33
-
34
- # Live dependencies ---
35
- spec.add_dependency "async", "2.6.5"
36
- # Sc2::Connection
37
- spec.add_dependency "async-websocket", "0.26.0"
38
- spec.add_dependency "google-protobuf", "3.25.1"
39
- # Sc2::Client / Controller
40
- spec.add_dependency "async-process", "1.3.1"
41
- # Cli
42
- spec.add_dependency "thor", "1.3.0"
43
-
44
- # Geometry
45
- spec.add_dependency "perfect-shape", "1.0.8"
46
-
47
- spec.add_dependency "numo-narray", "0.9.2.1"
48
- spec.add_dependency "numo-linalg", "0.1.7"
49
- spec.add_dependency "rumale", "0.28.1"
50
-
51
- # TODO: Find a way to not depend on a patched gem and yank this
52
- spec.add_dependency "sc2ai-kdtree", "~> 0.4"
53
-
54
- # Pre-packaged ladder dependencies
55
- # We add these locally, so that authors know what to use
56
- # spec.add_dependency "activerecord", "7.1.2"
57
- # spec.add_dependency "sqlite3", "1.7.0"
58
- # spec.add_dependency "rb_sys", "0.9.85"
59
- # spec.add_dependency "concurrent-ruby", "1.2.2"
60
- # spec.add_dependency "parallel", "1.24.0"
61
-
62
- # Dev dependencies ---
63
- spec.add_development_dependency "rake", "~> 13.1"
64
- # Doc
65
- spec.add_development_dependency "yard", "~> 0.9"
66
- # Linting
67
- # spec.add_development_dependency "fasterer" # no 3.3 support yet
68
- spec.add_development_dependency "standard", "~> 1.33"
69
-
70
- # Profiling
71
- spec.add_development_dependency "memory_profiler", "~> 1.0"
72
- spec.add_development_dependency "benchmark", "~> 0.3"
73
- spec.add_development_dependency "benchmark-ips", "~> 2.13"
74
-
75
- # Testing
76
- spec.add_development_dependency "factory_bot", "~> 6.4"
77
- spec.add_development_dependency "fakefs", "~> 2.5"
78
- spec.add_development_dependency "rspec", "~> 3.12"
79
- spec.add_development_dependency "simplecov", "~> 0.22"
80
- end