invokable 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c67d55899040ae1d223c7a5e2ce5958bc9a14a4bdc8becde524d17de97235b1e
4
- data.tar.gz: eac90104b5cd4ec726865e85b9d23230a66955fddf7b3aa1eb08e3c7637af0d0
3
+ metadata.gz: 75d0119b6b55fe24482deb14fb1675485fed87736a7a6b96704d38a7648c1519
4
+ data.tar.gz: 1b7ef84ffed34fa5c39dc4f26ccd23bc98a1c3ce419bee4af69cbec3bf388f3a
5
5
  SHA512:
6
- metadata.gz: 8753b617d6dc4ba42dc02b15b039c81e800e927f4de019288e5959c58540cc363c9d629d5ecb771eb65444165ffe2fa21bf42b68dc501f0cafe04d22f56de9e7
7
- data.tar.gz: 3f3aa13ba31160362a04dd9cb28ef32299ab58b70376f154f700f3d313c6cf92ce5d104b504aa65466254daabf3136a66d79d9a68602fdfcd1e99be06cda10ae
6
+ metadata.gz: aa9f6fc22997d333ec17bc9cb555f3f485f1d44297fd78920b3c13de0705a151309adb60b5f8a661877f8e6e22dcae12b962ad4f37404a4dc5b9e5ecc0b8414c
7
+ data.tar.gz: 89b8a8a8792d4249222a783645c0e67fb51546f7cb05eb9350180f0e1c4ad82aeb041233251116718b9218b602f2b14eceb459a2eb509dcd883ffeb1656bdbc5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- invokable (0.1.0)
4
+ invokable (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  ![Ruby](https://github.com/delonnewman/invokable/workflows/Ruby/badge.svg)
2
+ [![Gem Version](https://badge.fury.io/rb/invokable.svg)](https://badge.fury.io/rb/invokable)
2
3
 
3
4
  # Invokable
4
5
 
@@ -83,6 +84,7 @@ Or install it yourself as:
83
84
  # TODO
84
85
 
85
86
  - add support for `curry`, `memoize` and maybe transducers.
87
+ - benchmark Invokable#to_proc
86
88
 
87
89
  # License
88
90
 
@@ -1,3 +1,3 @@
1
1
  module Invokable
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/invokable.rb CHANGED
@@ -2,7 +2,7 @@ require 'invokable/version'
2
2
 
3
3
  # TODO: Add curry, memoize, transducers?
4
4
  module Invokable
5
- # If object responds to `call` convert into a Proc that takes a key and returns the value of the Hash for that key.
5
+ # If object responds to `call` convert into a Proc forwards it's arguments along to `call`.
6
6
  #
7
7
  # @return [Proc]
8
8
  def to_proc
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: invokable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delon Newman