core 3.4.0 → 3.5.0
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
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +3 -3
- data/core.gemspec +1 -1
- data/lib/core/identity.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 946459e0823cedd36851a09dffe2bef985ad77a20701372fdfc3d843451ff990
|
|
4
|
+
data.tar.gz: 432296797033c8bffa3b646b1b9eee9314fe7c748aea6ac9d1341376791d7e4a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 90e5170fe267e78daef4fcd3d2d9e673edb992271505ce6792836f1d190e394e5550a3297aa66dd780acb593e193e04d2bb1c3f445aa4ae89f53b91c2be8bdcd
|
|
7
|
+
data.tar.gz: ffe56401a602f2bbd44c4200a5442858bf706155121b52944649b0f9206dbb2fc24b854331af47779438fe803141d8c2acec721189e2350e4460b5313d6bc152
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/README.adoc
CHANGED
|
@@ -68,7 +68,7 @@ To use, include `Composable` and implement `#call` as follows:
|
|
|
68
68
|
class Greeter
|
|
69
69
|
include Core::Composable
|
|
70
70
|
|
|
71
|
-
def initialize salutation
|
|
71
|
+
def initialize salutation = "Hi"
|
|
72
72
|
@salutation = salutation
|
|
73
73
|
end
|
|
74
74
|
|
|
@@ -84,12 +84,12 @@ The above then allows you to compose your objects as functional pipelines:
|
|
|
84
84
|
|
|
85
85
|
[source,ruby]
|
|
86
86
|
----
|
|
87
|
-
appender = -> text { "#{text} -- An example of function composition."}
|
|
87
|
+
appender = -> text { "#{text} -- An example of function composition." }
|
|
88
88
|
greeter = Greeter.new
|
|
89
89
|
|
|
90
90
|
(greeter >> appender).call "visitor"
|
|
91
91
|
|
|
92
|
-
# "
|
|
92
|
+
# "Hi visitor -- An example of function composition."
|
|
93
93
|
----
|
|
94
94
|
|
|
95
95
|
== Development
|
data/core.gemspec
CHANGED
data/lib/core/identity.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brooke Kuhlmann
|
|
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '0'
|
|
76
76
|
requirements: []
|
|
77
|
-
rubygems_version: 4.0.
|
|
77
|
+
rubygems_version: 4.0.21
|
|
78
78
|
specification_version: 4
|
|
79
79
|
summary: A collection of foundational objects.
|
|
80
80
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|