satori_like_dictionary 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 004bfe4b13f51b830732b6190a866e7dc4c7ed97
4
- data.tar.gz: b8a61c023afbcec06be4a920287b77475b9e3e49
3
+ metadata.gz: 41d15e9e900d9a3a4d03d0dd1f2d722e47613d63
4
+ data.tar.gz: 372f635e5c13931dd1e38a659dc4a644f0e8d5ac
5
5
  SHA512:
6
- metadata.gz: 374abe773c9008c345a1d2524b41d1fdd8566bdae1dcf5156b1a17355b1eae06198382092b7b6732b0e1077ebc6b1d6b82a482ced8535b3a6cb1858136a2038d
7
- data.tar.gz: 83554875b992ac24633ad187087798ccd1c771609cc96f1a1e9fde9702710dc7111b69444ac00a56c077538bf8ce702b532d4272266c496bebf62227ce9b7e1d
6
+ metadata.gz: f38038f352eb259ed756368a93637f4b5a4b4517655385ffd7d69b517ea6b60bd665023f17a6d09ccebb10a5cc4c67a2c01df601792aa77da659931a7b193f7a
7
+ data.tar.gz: 5bf331fa214fa119a2197e5d9ac586fcd3328d83245c28d6004b2640e771ab614279f974db1ca2de73cd8c6f99589528187a795a952f408a6bcbfbd53f15df3a
@@ -333,6 +333,9 @@ class SatoriLikeDictionaryIntegratedEvents
333
333
  # detect caller method name (= request ID)
334
334
  if RUBY_ENGINE == 'opal'
335
335
  matched = caller[1].match(/\[as \$(.*?)\]/)
336
+ unless matched
337
+ matched = caller[1].match(/^\s*at \S*\$([^$]+?)\b/)
338
+ end
336
339
  return unless matched
337
340
  method = matched[1]
338
341
  else
@@ -3,7 +3,7 @@ lib = File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "satori_like_dictionary"
6
- spec.version = "0.0.5"
6
+ spec.version = "0.0.6"
7
7
  spec.authors = ["Narazaka"]
8
8
  spec.email = ["info@narazaka.net"]
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: satori_like_dictionary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Narazaka