forwardable 1.3.2 → 1.3.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
  SHA256:
3
- metadata.gz: 8729830e9c34626b9912c4ea6424e9edadd6c86d6dc6816ee4c2b1defc5923a1
4
- data.tar.gz: 69b7122793c8d0b6dac6a4f03b20c70481f1c1ec3ac4f8641639249d5c7f9024
3
+ metadata.gz: be1ea87f9c0fe48a60c350cfdb0c9bf3963fa4659d44f4fc5022001172be70c0
4
+ data.tar.gz: cbc3f7ec86c55d37f198a8202e362ca965674fdc2bf9da85b35a972b1897efa9
5
5
  SHA512:
6
- metadata.gz: 67bb1876e2ac2da9367b3744332ee376de7ffebeaaf20d7bbc01a5af537d087c4bcbed6eebaad140a4c20cd1f8dafa46f1250a14c8617e22ee20eda688683045
7
- data.tar.gz: 1a244c0a3ce5227258862e7632fd28d224cf1b2d65f9ec67eabb93e2c6369c177a199ea465f366bc5a15d53177ba1b565b591eb6a1c940a4454bb74cc6488d24
6
+ metadata.gz: e4dcc43faa62d31a7f89f737f2addd0d53725d9bdab946a9c5a9beeae92f23e2f972053001a42e561deb22945611bde807fa4844bb666f6dea5d46981af27121
7
+ data.tar.gz: 90709a6c3db371492dfcf3a41df15c973cd3016d3a7e2d53b2ea160723a1a8dba8e34cba2900af87ee531c4ff1848b15f9f8b181b7753a0929055cab0694866e
data/forwardable.gemspec CHANGED
@@ -21,6 +21,6 @@ Gem::Specification.new do |spec|
21
21
  spec.required_ruby_version = '>= 2.4.0'
22
22
  spec.files = ["forwardable.gemspec", "lib/forwardable.rb", "lib/forwardable/impl.rb"]
23
23
  spec.bindir = "exe"
24
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
+ spec.executables = []
25
25
  spec.require_paths = ["lib"]
26
26
  end
@@ -1,5 +1,6 @@
1
- # :stopdoc:
2
1
  module Forwardable
2
+ # :stopdoc:
3
+
3
4
  def self._valid_method?(method)
4
5
  catch {|tag|
5
6
  eval("BEGIN{throw tag}; ().#{method}", binding, __FILE__, __LINE__)
data/lib/forwardable.rb CHANGED
@@ -76,7 +76,7 @@
76
76
  # def_delegators :@q, :clear, :first, :push, :shift, :size
77
77
  # end
78
78
  #
79
- # q = Queue.new
79
+ # q = Thread::Queue.new
80
80
  # q.enq 1, 2, 3, 4, 5
81
81
  # q.push 6
82
82
  #
@@ -112,8 +112,10 @@ module Forwardable
112
112
  require 'forwardable/impl'
113
113
 
114
114
  # Version of +forwardable.rb+
115
- VERSION = "1.3.2"
115
+ VERSION = "1.3.3"
116
+ VERSION.freeze
116
117
  FORWARDABLE_VERSION = VERSION
118
+ FORWARDABLE_VERSION.freeze
117
119
 
118
120
  @debug = nil
119
121
  class << self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forwardable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keiju ISHITSUKA
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-22 00:00:00.000000000 Z
11
+ date: 2022-12-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Provides delegation of specified methods to a designated object.
14
14
  email:
@@ -40,7 +40,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  requirements: []
43
- rubygems_version: 3.2.2
43
+ rubygems_version: 3.4.0.dev
44
44
  signing_key:
45
45
  specification_version: 4
46
46
  summary: Provides delegation of specified methods to a designated object.