kantox-chronoscope 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kantox/chronoscope/version.rb +1 -1
- data/lib/kantox/chronoscope.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6cece0614fd1a5f2a4d90d165e6afa5e5158121
|
4
|
+
data.tar.gz: c7add32c0b92fbb571d39beb42322caf5bedd82c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1d8466e3a9d8ff0db3dc6ef999c53182891100d2d30919d6f7969147169b158bf8e9e03146c81b1f06b298a2902b36e1cf322ed4dcd2ed3675b75e49f248870
|
7
|
+
data.tar.gz: 7436ee67f393ba344aa5b893830cfa5989ec405272cbd0667b169bb81e3a8968b4f0f8b71882afe8f4e85a1f8ef6bb573ffba074c9f4c2aeaae461cd5b47eb2e
|
data/lib/kantox/chronoscope.rb
CHANGED
@@ -57,7 +57,7 @@ module Kantox
|
|
57
57
|
next if methods.include?("#{CHAIN_PREFIX}#{m}".to_sym) # skip already wrapped functions
|
58
58
|
next if (klazz.instance_method(m).parameters.to_h[:block] rescue false) # FIXME: report
|
59
59
|
|
60
|
-
receiver, arg_string = m.to_s
|
60
|
+
receiver, arg_string = (m.to_s =~ /[^\p{L}?]\z/) ? ['self.', 'arg'] : [nil, '*args'] # to satisfy setter
|
61
61
|
|
62
62
|
klazz.class_eval %Q|
|
63
63
|
alias_method :'#{CHAIN_PREFIX}#{m}', :'#{m}'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kantox-chronoscope
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kantox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|