methods 0.1.0 → 0.1.1

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: 5e4367d647967677b38e75ac1572144e6485e830
4
- data.tar.gz: d6397e18be5f87745edb765f2b4f1bcd82251d86
3
+ metadata.gz: 8b5c3db6585a5f5441879deead1ad9654e76dd2c
4
+ data.tar.gz: 2da240169ae947e46bf26b9b7f65b0ee0322d165
5
5
  SHA512:
6
- metadata.gz: 68a997d23246daee28b87bf1ee2308e1394d34fe1dce98b69f0a939d245a08e80fbbcd8b3e622fa1773d0a2a0b6717fa22555753b4a06191aa048a39f1a5ee17
7
- data.tar.gz: 40aa5fca335cfff5e6a32414f42b4cedaf52645abae2806139722dcebeae3155f0b94ff3297897be6afe1e58b350d2b433b1cf0d8954f7eec5bb5db961fc4df4
6
+ metadata.gz: 687b9f065eddf80c3752bc4dc3c541e205fe23d719de2ae641e120c56359dc4378d0e0c077005b72035a4600c9535482e94b3d05c88edfcbf51ad722c74bfee6
7
+ data.tar.gz: e33b47bedfa649375460547c4877eda94d8368c84ba63480f88379552cc8fb13be3629ba173626c8fb0a0a803a8a523eea3e4a9ae930467bb12bc44c13a0a30d
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # Methods
2
2
 
3
- This gem aims at making referencing methods in the Ruby language easier. It is greatly inspired by [this issue on the Ruby bug tracker](https://bugs.ruby-lang.org/issues/13581).
3
+ [![Gem Version](https://badge.fury.io/rb/methods.svg)](https://badge.fury.io/rb/methods)
4
+ ![circleci](https://circleci.com/gh/sevos/methods.svg?style=shield&circle-token=:circle-token)
4
5
 
5
- It allows you to grab a reference to a method by simply calling `method` on an object and calling the method you want on the result
6
+ This gem aims at making referencing methods in the Ruby language easier. It is greatly inspired by [this issue on the Ruby bug tracker](https://bugs.ruby-lang.org/issues/13581). It allows you to grab a reference to a method by simply calling `method` on an object and calling the method you want on the result
6
7
 
7
8
  ```
8
9
  irb(main):006:0> Math.method.sqrt
@@ -16,7 +16,7 @@ module Methods
16
16
  if merged_kwargs.empty?
17
17
  method.call(*args, *call_args)
18
18
  else
19
- method.call(*args, *call_args, **kwargs)
19
+ method.call(*args, *call_args, **merged_kwargs)
20
20
  end
21
21
  end
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module Methods
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: methods
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
  - Artur Roszczyk
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-14 00:00:00.000000000 Z
11
+ date: 2018-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: binding_of_caller