satori_like_dictionary 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/satori_like_dictionary.rb +4 -3
- data/satori_like_dictionary.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f0b2123dcdb6d8d97d61177eacf1319ae5a96899
|
|
4
|
+
data.tar.gz: f972352a25ea1c97502b17c75757595f4aadb195
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: acef9ba568267eb247aab879b3856acb933f44fcb2e405bd9cbd684cdb41b93a2c235e0a1ee964b4948f8a171a028e8913af8cffa1f06ada1de821cbc13de1f9
|
|
7
|
+
data.tar.gz: b6b6854acdcf4c755c91e25140557b4cfc88bc8ad2c21961756f685139ad88bc536fd3883dbf468f8b9c3e018995c0311f45bdfc39d394b1aa0a1f5b9da353dd
|
|
@@ -233,7 +233,7 @@ class SatoriLikeDictionary
|
|
|
233
233
|
# @param [Events] events events definition
|
|
234
234
|
# @param [OpenStruct] request request hash
|
|
235
235
|
def render(events, request)
|
|
236
|
-
|
|
236
|
+
sample.render(events, request)
|
|
237
237
|
end
|
|
238
238
|
end
|
|
239
239
|
|
|
@@ -251,8 +251,9 @@ class SatoriLikeDictionary
|
|
|
251
251
|
|
|
252
252
|
# change character scope
|
|
253
253
|
def change_scope
|
|
254
|
-
|
|
255
|
-
|
|
254
|
+
scope_info = "__satori_scope_#{self.object_id}"
|
|
255
|
+
request[scope_info] = request[scope_info].nil? || request[scope_info] == 1 ? 0 : 1
|
|
256
|
+
'\\' + request[scope_info].to_s
|
|
256
257
|
end
|
|
257
258
|
|
|
258
259
|
# jump to entry
|