gamefic-sdk 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/gamefic-sdk.gemspec +2 -2
- data/lib/gamefic-sdk/server.rb +1 -2
- data/lib/gamefic-sdk/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33f493dc96f3c27065f78900fcddbf966da5772770c9ed40f7e8bc665e93851f
|
4
|
+
data.tar.gz: 6a9cde8c298e3640852d34bfa50ecd77df2d0998cec43cf13c3c67855b0c53b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d7508ff80cb9457cad967c340ad023616df7c25b746d2906a036a737b3da2eae2f04ab94c1cbba85465ac8241c56c3129614a049b0e6ec949b3009e6def7aa0
|
7
|
+
data.tar.gz: 39e7fce05531a992ce3e1de4b01a9869a68103957a999f259559e651fb31fefa69e098956da1d6574778c3c1789c4c2164533b91fcd11775733359014f60dfe1
|
data/CHANGELOG.md
ADDED
data/gamefic-sdk.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
|
25
25
|
s.required_ruby_version = '>= 2.3.0'
|
26
26
|
|
27
|
-
s.add_runtime_dependency 'gamefic', '~> 2.0', '>= 2.0.
|
27
|
+
s.add_runtime_dependency 'gamefic', '~> 2.0', '>= 2.0.2'
|
28
28
|
s.add_runtime_dependency 'gamefic-standard', '~> 2.0'
|
29
29
|
s.add_runtime_dependency 'gamefic-tty', '~> 2.0', '>= 2.0.1'
|
30
30
|
s.add_runtime_dependency 'listen', '~> 3.0'
|
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
|
|
35
35
|
s.add_development_dependency 'bundler', '~> 2.0'
|
36
36
|
s.add_development_dependency 'capybara', '~> 3.3'
|
37
37
|
s.add_development_dependency 'puma', '~> 3'
|
38
|
-
s.add_development_dependency 'rake', '~>
|
38
|
+
s.add_development_dependency 'rake', '~> 13.0'
|
39
39
|
s.add_development_dependency 'rspec', '~> 3.0'
|
40
40
|
s.add_development_dependency 'selenium-webdriver', '~> 3.13'
|
41
41
|
s.add_development_dependency 'simplecov', '~> 0.14'
|
data/lib/gamefic-sdk/server.rb
CHANGED
@@ -32,7 +32,6 @@ module Gamefic
|
|
32
32
|
content_type :json
|
33
33
|
@@plot.update
|
34
34
|
@@plot.ready
|
35
|
-
# @@character.state.merge(input: params['command'], continued: @@character.queue.any?).to_json
|
36
35
|
@@character.output.to_json
|
37
36
|
end
|
38
37
|
|
@@ -45,7 +44,7 @@ module Gamefic
|
|
45
44
|
content_type :json
|
46
45
|
# The snapshot needs to be received as a JSON string because of issues
|
47
46
|
# with IndifferentHash malforming arrays.
|
48
|
-
snapshot = JSON.parse(params['snapshot']
|
47
|
+
snapshot = JSON.parse(params['snapshot'])
|
49
48
|
@@plot.restore snapshot
|
50
49
|
@@character.cue @@plot.default_scene
|
51
50
|
@@plot.update
|
data/lib/gamefic-sdk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gamefic-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fred Snyder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gamefic
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '2.0'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 2.0.
|
22
|
+
version: 2.0.2
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '2.0'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 2.0.
|
32
|
+
version: 2.0.2
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: gamefic-standard
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -168,14 +168,14 @@ dependencies:
|
|
168
168
|
requirements:
|
169
169
|
- - "~>"
|
170
170
|
- !ruby/object:Gem::Version
|
171
|
-
version: '
|
171
|
+
version: '13.0'
|
172
172
|
type: :development
|
173
173
|
prerelease: false
|
174
174
|
version_requirements: !ruby/object:Gem::Requirement
|
175
175
|
requirements:
|
176
176
|
- - "~>"
|
177
177
|
- !ruby/object:Gem::Version
|
178
|
-
version: '
|
178
|
+
version: '13.0'
|
179
179
|
- !ruby/object:Gem::Dependency
|
180
180
|
name: rspec
|
181
181
|
requirement: !ruby/object:Gem::Requirement
|
@@ -228,6 +228,7 @@ files:
|
|
228
228
|
- ".gitignore"
|
229
229
|
- ".rspec"
|
230
230
|
- ".travis.yml"
|
231
|
+
- CHANGELOG.md
|
231
232
|
- Gemfile
|
232
233
|
- LICENSE.txt
|
233
234
|
- README.md
|