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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf1f09a032413b4d706349c33aef1f1ef2007cb9
4
- data.tar.gz: 2c2768dc37e90aece92a12a051976aa25f4c27e0
3
+ metadata.gz: ec8353ab05acce4f80012cc37c13da13fb9c0c40
4
+ data.tar.gz: 18e55ef51c20156ab5b112e14a33d2a915bdf196
5
5
  SHA512:
6
- metadata.gz: 854ea2e013a208f22688f45f4866d965a9d02e21abe48a5acc0b507630607d19c117fd9d8928b0e9a67e5e3a225ddc9b0c0d8f1ea814172647d87acd2e8e6778
7
- data.tar.gz: 80957f091c58138dd07bc3bec46593424250e2eaf0b73e7f2c108fe3b983191cfbb826d667f91824e9126fab3b0a0b179a7aeb52560851ba95206d8fa10389aa
6
+ metadata.gz: '030608b94aeff1b467875e697b0fd26f4d93b6f37758fe605d5a3ab28647a3236308b2e719c412bf1db7c8a53f922edaaa2bc2ce0d590bb881400a7de7a9aab8'
7
+ data.tar.gz: 96381eeafae5bb3ec45a4170ea85f9e59d173147d3cb4f7a9aa13eb48bbd902dda17a04a240bb9f65840466bd8897ed76fae6282968e90581a3fbd2a4a3db902
@@ -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
- def ~
15
- λ {|obj, *args| obj.public_send self, *args }
16
- end
14
+ alias_method :~, :to_proc
17
15
  end
18
16
  end
@@ -1,3 +1,3 @@
1
1
  module Elixirize
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
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.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-03-27 00:00:00.000000000 Z
11
+ date: 2017-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler