xot 0.1.25 → 0.1.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/xot/hookable.rb +1 -2
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d28e71082099d11ea8291b3b0584625a0f4965f4eac7ddc7e773fdf85c63168d
4
- data.tar.gz: 36695805ada2c39a9d5fbc843192a88c1673d1cdae16726cd258ba35fdee5853
3
+ metadata.gz: 9e2be8037141ab103027112b4590cc85fe2921ac78ef8003fe376de7ebea8cee
4
+ data.tar.gz: 0cb1c59e4b7bcbd24d8c22d48b64f8c690eaf2434b5c6a58f8a5019181e47281
5
5
  SHA512:
6
- metadata.gz: b2fc66704a8acc15b95b9c637ebbc955bb4b8c6c33eb4d873cbd7395c710174a6f02721aa9b7d9a8f80748b6f4f095c01b5eb72b61645f95e2b5e770c71f72f4
7
- data.tar.gz: 7e38df2591560cb874bd9a9f4d1ea8f18dd75d4a434faa1617142dbbed41d2e3f5a6903b67dff4938f96a745ee095e5bc55769e403a2afdd9f6101f5aa02288c
6
+ metadata.gz: 36c4ba7a8c6d161ad8dc90e78c3f9eb8b2a80dab87b0a239e57f59266e2a37fe3d79d25e774c9baaa6b21925fc86159282a6d0ef374943697616e95dc00f5506
7
+ data.tar.gz: 747eadf9e01fc91c38a50ba64aaf3f1eb24a8c36225877bfb223426ad1dbad009d865d2d47e5556f9833dd73d18c75c3aca5083aa4a96a7efa4435a3e861d784
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.25
1
+ 0.1.26
data/lib/xot/hookable.rb CHANGED
@@ -7,8 +7,7 @@ module Xot
7
7
  module Hookable
8
8
 
9
9
  def hook(name, &block)
10
- c = class << self; self; end
11
- c.__send__ :define_method, name, &block
10
+ singleton_class.__send__ :define_method, name, &block
12
11
  self
13
12
  end
14
13
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.25
4
+ version: 0.1.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - xordog
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-04 00:00:00.000000000 Z
11
+ date: 2022-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubygems_version: 3.2.32
104
+ rubygems_version: 3.2.33
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: A Utility library for C++ developemt.