underware 1.0.0.alpha.1 → 1.0.0.alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/underware.rb +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff5960736dccfc3c2216d616810d13f35bd10c07
|
4
|
+
data.tar.gz: 7dcc3f9504e98e2e6b999eb96977e4f0cf84e195
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ff60a21c9bb5a017ce91dae5fdb8e466cff62231583dfad65f7deb7df5154cb621bdf081c50128b37d383c3c15ddd29e5aed76e188ebae81aab2515638bd305
|
7
|
+
data.tar.gz: fc3d00c7ab2cd1e4182dd8ef350f98482287144cc01e8e43783fb197e1914cf37ae62cf9f61babbe0d32da9ad2414696665e72a5e4dbe76ae39b273746b77257
|
data/lib/underware.rb
CHANGED
@@ -8,6 +8,11 @@ module Underware
|
|
8
8
|
def call(*args)
|
9
9
|
raise NotImplementedError
|
10
10
|
end
|
11
|
+
|
12
|
+
def to_proc
|
13
|
+
__other = self
|
14
|
+
->(*args){ __other.call(*args) }
|
15
|
+
end
|
11
16
|
end
|
12
17
|
|
13
18
|
|
@@ -21,7 +26,7 @@ module Underware
|
|
21
26
|
|
22
27
|
def call(*args)
|
23
28
|
left.call(*args) do |*result|
|
24
|
-
right.call(*
|
29
|
+
right.call(*result)
|
25
30
|
end
|
26
31
|
end
|
27
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: underware
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.alpha.
|
4
|
+
version: 1.0.0.alpha.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Lauber
|
@@ -17,7 +17,7 @@ extensions: []
|
|
17
17
|
extra_rdoc_files: []
|
18
18
|
files:
|
19
19
|
- lib/underware.rb
|
20
|
-
homepage:
|
20
|
+
homepage: https://github.com/briandamaged/underware
|
21
21
|
licenses:
|
22
22
|
- MIT
|
23
23
|
metadata: {}
|