gamefic 2.2.2 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -4
- data/CHANGELOG.md +3 -0
- data/lib/gamefic/scriptable.rb +3 -2
- data/lib/gamefic/subplot.rb +2 -2
- data/lib/gamefic/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a57ab533bcfbcbd650cf3ee60c5a639b3ddd40ad3ad96d0d4e42e6658547f3d9
|
4
|
+
data.tar.gz: 904c5211a6bde65f870ae8bab1218423afd6618c6ddd79c44b01174bb069256b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afc3e6a06d6ac451827cea70db94b8c9e4b10c795dac9812df0c24f8c1e0ce654748dfae53c4c0565bbfff8abb5d2f853f866c1aac8b398c5cf8331ee3ea1795
|
7
|
+
data.tar.gz: dd790a5574ae81e91b61d01c7f18adba0abcd7e43650e72934329dfd84c9515adb54b6e1e0938814c9d6c6582d23801c66a470a28ae99700659fa0c462830660
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/lib/gamefic/scriptable.rb
CHANGED
@@ -76,8 +76,9 @@ Gamefic::Scriptable.module_exec do
|
|
76
76
|
instance = self
|
77
77
|
theater ||= Object.new
|
78
78
|
theater.instance_exec do
|
79
|
-
define_singleton_method :method_missing do |symbol, *args, &block|
|
80
|
-
instance.public_send :public_send, symbol, *args, &block
|
79
|
+
define_singleton_method :method_missing do |symbol, *args, **splat, &block|
|
80
|
+
result = instance.public_send :public_send, symbol, *args, **splat, &block
|
81
|
+
result
|
81
82
|
end
|
82
83
|
end
|
83
84
|
theater.extend Gamefic::Serialize
|
data/lib/gamefic/subplot.rb
CHANGED
@@ -19,7 +19,7 @@ module Gamefic
|
|
19
19
|
@next_cue = next_cue
|
20
20
|
@concluded = false
|
21
21
|
@more = more
|
22
|
-
configure more
|
22
|
+
configure **more
|
23
23
|
run_scripts
|
24
24
|
playbook.freeze
|
25
25
|
self.introduce introduce unless introduce.nil?
|
@@ -97,7 +97,7 @@ module Gamefic
|
|
97
97
|
# Subclasses can override this method to handle additional configuration
|
98
98
|
# options.
|
99
99
|
#
|
100
|
-
def configure more
|
100
|
+
def configure **more
|
101
101
|
end
|
102
102
|
end
|
103
103
|
end
|
data/lib/gamefic/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gamefic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fred Snyder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
149
|
- !ruby/object:Gem::Version
|
150
150
|
version: '0'
|
151
151
|
requirements: []
|
152
|
-
rubygems_version: 3.
|
152
|
+
rubygems_version: 3.3.7
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: Gamefic
|