given_keyword_args 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: 921a7139565017d683667ad382ad246aa3e850ca
4
- data.tar.gz: dec27c01c11ddd90b94579cb4925915a2b6aeef2
3
+ metadata.gz: a5fed71179fcb84f9e9bceb9a637de3dbc1fe4a2
4
+ data.tar.gz: 69c18b7b37286ff0a764b9e2e0f1b005e1466714
5
5
  SHA512:
6
- metadata.gz: d3509c7ed2168c461b3c72f7da4290c17a0a7b84858c8b48ae807bc5b4df1c12299b359373dbaf8106c984066c20a2db5f10e98ea0fb40c1dbb6379dd8a7a4a2
7
- data.tar.gz: 23069bb6731519febf1824356b7b47db2f0254c35e0d29df6db8870e20855eb0f6b600a66b4b4474d6b1ee742566e932ce33ddba9b5cacebd511e749e140ff8b
6
+ metadata.gz: bfeb19196ecfe27f01f0aa6fc3aca7cef84c2e9da76c588203552106655114fdcebf0d7ed5a39d9fae2c8927c53c2a952bab4531b7e38557b1cbc6cad347a0f6
7
+ data.tar.gz: 87f7d219189f4c0fca43ee13141195da0b1f0ad79c1163e2dad47605b8921bb6bff0e02d863dbeae4033282acd55ad70624af9514c0b52a047caeac74d16bae1
@@ -1,12 +1,9 @@
1
1
  #include <ruby.h>
2
- #include <ruby/intern.h>
3
2
 
4
3
  static VALUE
5
4
  ruby_given_keyword_args(VALUE self)
6
5
  {
7
6
  VALUE binding = rb_binding_new();
8
- VALUE fname = rb_frame_callee();
9
- VALUE mname = rb_funcall(self, rb_intern("__method__"), 0);
10
7
  return rb_funcall(self, rb_intern("__given_keyword_args__"), 2, binding, Qfalse);
11
8
  }
12
9
 
@@ -14,8 +11,6 @@ static VALUE
14
11
  ruby_given_keyword_args_with_rest(VALUE self)
15
12
  {
16
13
  VALUE binding = rb_binding_new();
17
- VALUE fname = rb_frame_callee();
18
- VALUE mname = rb_funcall(self, rb_intern("__method__"), 0);
19
14
  return rb_funcall(self, rb_intern("__given_keyword_args__"), 2, binding, Qtrue);
20
15
  }
21
16
 
@@ -1,3 +1,3 @@
1
1
  module GivenKeywordArgs
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: given_keyword_args
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
  - joker1007