proc_evaluate 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/proc_evaluate/version.rb +1 -1
- metadata +12 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7c913a9137d7f2461fd7fe38b336198b4d7c56cbb06650411dcfb2f1b1c8e45d
|
4
|
+
data.tar.gz: 719a568535e451c68746f5ace30e990d88f8f9b01011cb62cebc3579553976d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f6fa4317f28f45d6947d168ba89c9f7200b050ce731c8bb0331f63f8299c6a0364a12257a082d51d039694a9bf8ce39f736d517972b74bf41cf1711be5b281f
|
7
|
+
data.tar.gz: 22c732a77ac475c6b3e2bb891aef6fb9c64f7188afce205557c7b80a8ef1032f7c5717cc6f0ca566804144f29643f85bedcb6e5f91b35f83736943363492f8e3
|
metadata
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: proc_evaluate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brent Jacobs
|
8
8
|
- br3nt
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-09-05 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: |2
|
15
|
-
Adds an `
|
15
|
+
Adds an `evaluate` refinement method to Proc and Object instances.
|
16
16
|
|
17
|
-
The goal of this gem is to allow evaluation of variables, procs, and lambdas with the same level of flexibility.
|
17
|
+
The goal of this gem is to allow the evaluation of variables, procs, and lambdas with the same level of flexibility.
|
18
18
|
|
19
|
-
The `evaluate` method has been added to the Object class to
|
20
|
-
The `evaluate` method is
|
19
|
+
The `evaluate` method has been added to the Object class to return the evaluated value of the variable.
|
20
|
+
The `evaluate` method is overridden on the Proc class to allow parameters to be passed to lambdas in the same flexible way as procs.
|
21
21
|
This takes into consideration, required/optional/remaining parameters, and required/optional/remaining keyword parameters.
|
22
22
|
|
23
23
|
For information on Refinements, see:
|
@@ -27,7 +27,7 @@ description: |2
|
|
27
27
|
- https://ruby-doc.org/core-2.3.0/doc/syntax/refinements_rdoc.html
|
28
28
|
- https://ruby-doc.org/core-2.4.0/doc/syntax/refinements_rdoc.html
|
29
29
|
- http://yehudakatz.com/2010/11/30/ruby-2-0-refinements-in-practice/
|
30
|
-
email:
|
30
|
+
email:
|
31
31
|
executables: []
|
32
32
|
extensions: []
|
33
33
|
extra_rdoc_files: []
|
@@ -38,13 +38,13 @@ homepage: https://github.com/br3nt/proc_evaluate
|
|
38
38
|
licenses:
|
39
39
|
- MIT
|
40
40
|
metadata: {}
|
41
|
-
post_install_message:
|
41
|
+
post_install_message:
|
42
42
|
rdoc_options: []
|
43
43
|
require_paths:
|
44
44
|
- lib
|
45
45
|
required_ruby_version: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - "
|
47
|
+
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '2.0'
|
50
50
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -53,9 +53,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
requirements: []
|
56
|
-
|
57
|
-
|
58
|
-
signing_key:
|
56
|
+
rubygems_version: 3.2.22
|
57
|
+
signing_key:
|
59
58
|
specification_version: 4
|
60
59
|
summary: Allow evaluation of variables, procs, and lambdas with the same level of
|
61
60
|
flexibility.
|