elixirize 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elixirize.rb +3 -5
- data/lib/elixirize/version.rb +1 -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: ec8353ab05acce4f80012cc37c13da13fb9c0c40
|
4
|
+
data.tar.gz: 18e55ef51c20156ab5b112e14a33d2a915bdf196
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '030608b94aeff1b467875e697b0fd26f4d93b6f37758fe605d5a3ab28647a3236308b2e719c412bf1db7c8a53f922edaaa2bc2ce0d590bb881400a7de7a9aab8'
|
7
|
+
data.tar.gz: 96381eeafae5bb3ec45a4170ea85f9e59d173147d3cb4f7a9aa13eb48bbd902dda17a04a240bb9f65840466bd8897ed76fae6282968e90581a3fbd2a4a3db902
|
data/lib/elixirize.rb
CHANGED
@@ -3,16 +3,14 @@ require "elixirize/version"
|
|
3
3
|
module Elixirize
|
4
4
|
::Object.class_eval do
|
5
5
|
|
6
|
-
def ᐅ other, *args
|
7
|
-
other.call(self, *args)
|
6
|
+
def ᐅ other, *args, &block
|
7
|
+
other.call(self, *args, &block)
|
8
8
|
end
|
9
9
|
|
10
10
|
alias_method :λ, :lambda
|
11
11
|
end
|
12
12
|
|
13
13
|
::Symbol.class_eval do
|
14
|
-
|
15
|
-
λ {|obj, *args| obj.public_send self, *args }
|
16
|
-
end
|
14
|
+
alias_method :~, :to_proc
|
17
15
|
end
|
18
16
|
end
|
data/lib/elixirize/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elixirize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel P. Clark
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|