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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 98cfdfe07d1fbbd4386d80edf4a326df41f13ea7
4
- data.tar.gz: 6b5120a21d96fc407afa0151e426cad89879d554
3
+ metadata.gz: e6cece0614fd1a5f2a4d90d165e6afa5e5158121
4
+ data.tar.gz: c7add32c0b92fbb571d39beb42322caf5bedd82c
5
5
  SHA512:
6
- metadata.gz: 6afb656a89c697e4791a9ef308bb3bcf2ac0b6f04a4303b027c35aa009fb0749b6820198f7564688a52681f4775340ebef0020e8d13c7d124ab4e38c77ab23fc
7
- data.tar.gz: c71c69e825e4ac8ddcd61db909271c428810ef5655a537f7c4dace39fb77c851f20f053101235233abb7821df3fec449776034ed933a32e121f0a2a5ba5eec37
6
+ metadata.gz: f1d8466e3a9d8ff0db3dc6ef999c53182891100d2d30919d6f7969147169b158bf8e9e03146c81b1f06b298a2902b36e1cf322ed4dcd2ed3675b75e49f248870
7
+ data.tar.gz: 7436ee67f393ba344aa5b893830cfa5989ec405272cbd0667b169bb81e3a8968b4f0f8b71882afe8f4e85a1f8ef6bb573ffba074c9f4c2aeaae461cd5b47eb2e
@@ -1,5 +1,5 @@
1
1
  module Kantox
2
2
  module Chronoscope
3
- VERSION = "0.7.2"
3
+ VERSION = '0.7.3'
4
4
  end
5
5
  end
@@ -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.end_with?('=') ? ['self.', 'arg'] : [nil, '*args'] # to satisfy setter
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.2
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-06-27 00:00:00.000000000 Z
11
+ date: 2016-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler