closure_forwardable 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/README.md +1 -1
- data/lib/closure_forwardable.rb +4 -1
- data/lib/closure_forwardable/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 370ee104922b0079d16bfee2850723d5b8420c43
|
4
|
+
data.tar.gz: f7ffcdd023df327e8132eb5a8d0eab8c1f8af5bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 761d16da6334563785f8dbd2483c7f7e09bfc4f61ad21c81231db44224b2b65ed8ff28dae95fb80549fda6c865911f90fd23933f1bef7b1330435dd1a5b00c4f
|
7
|
+
data.tar.gz: 00171f477c03829014d3951fa4daac2311328d802fd2fcc7ccca62b653e458b14f384ae0dbff38538beaf2721186f68e4f477529a88321d2f49bfa682fe65829
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -99,7 +99,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
99
99
|
|
100
100
|
## Contributing
|
101
101
|
|
102
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/meineerde/closure_forwardable. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
102
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/meineerde/closure_forwardable. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
103
103
|
|
104
104
|
|
105
105
|
## License
|
data/lib/closure_forwardable.rb
CHANGED
@@ -3,7 +3,8 @@ require 'closure_forwardable/version'
|
|
3
3
|
require 'English'
|
4
4
|
|
5
5
|
# The {ClosureForwardable} module provides delegation of specified methods to a
|
6
|
-
# designated object, using the methods {#
|
6
|
+
# designated object, using the methods {#delegate}, {#def_delegator}, and
|
7
|
+
# {#def_delegators}.
|
7
8
|
#
|
8
9
|
# This module is intended to be used very similar to the `Forwardable` module in
|
9
10
|
# the Ruby standard library. For basic usage guidelines, see there. Generally,
|
@@ -22,6 +23,8 @@ module ClosureForwardable
|
|
22
23
|
class << self
|
23
24
|
# If true, `__FILE__` will remain in the backtrace in the event an exception
|
24
25
|
# is raised.
|
26
|
+
#
|
27
|
+
# @return [Boolean]
|
25
28
|
attr_accessor :debug
|
26
29
|
end
|
27
30
|
|
@@ -9,7 +9,7 @@ module ClosureForwardable
|
|
9
9
|
MINOR = 1
|
10
10
|
# PATCH version. It is incremented when making backwards-compatible
|
11
11
|
# bug-fixes.
|
12
|
-
PATCH =
|
12
|
+
PATCH = 1
|
13
13
|
|
14
14
|
# A standard string representation of the version parts
|
15
15
|
STRING = [MAJOR, MINOR, PATCH].compact.join('.').freeze
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: closure_forwardable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Holger Just
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
125
|
rubyforge_project:
|
126
|
-
rubygems_version: 2.4.
|
126
|
+
rubygems_version: 2.4.8
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: A variant of the Forwardable module in the Ruby Standards Library. Instead
|