quby-compiler 0.5.1 → 0.5.2

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
  SHA256:
3
- metadata.gz: 3ea3512ba476d435c7ccee8f406eca9ae089814fc3e7bbb53eaca08cf292b692
4
- data.tar.gz: c8f548fb3d164616917cd8b9c7bb346f904ecf0291daaa3c370fa3f47e90d1f5
3
+ metadata.gz: ed4f85aa0af92e39a7cf5186bc39ebfa3a597a9727ddcf46baa2907795f9448a
4
+ data.tar.gz: aafc346743a54a8e1eab829e9be774d533b2a5cf505fc2aae38f7ba4d074a38b
5
5
  SHA512:
6
- metadata.gz: 3090b95294d1ecafd72019b4523e98a3cb931a71cbbc59794d7cea764fd4acfc6d1107cd1623118678f627605b244df8f3a6c91557804045cc9cc2458585219b
7
- data.tar.gz: 8efc820b5cb48c37c1adb977d482178d8d92002f451d2c66e03d7f5a15b478b5fd261b4c3b2995e4ed6316d4df382b39ab718e2af969c1321cd45247c1dd56a7
6
+ metadata.gz: 03f01c088abb8bf0241061b05caef5c0278e3bdb8e1ac41fbda66bdd1cf04c7f21bf5d273c63ddce3931faa96375425496be7a945de4dbfa59eb80a34bcf266d
7
+ data.tar.gz: 9b6eba420a82a1b5f603b00dbe81b07d2ff37b086d3e50058f58dcd41ca763410b11be577b8e94c3645d843f532e0a694c18162dd174955e874ab6d2d6be3e5b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.5.2
2
+
3
+ * Fix custom_methods for ruby 3
4
+
1
5
  # 0.5.1
2
6
 
3
7
  * Support for ruby 3.2
@@ -11,9 +11,9 @@ module Quby
11
11
  super
12
12
  end
13
13
 
14
- def method_missing(method_sym, *args, &block)
14
+ def method_missing(method_sym, *args, **kwargs, &block)
15
15
  if @custom_methods.key? method_sym
16
- instance_exec(*args, &custom_methods[method_sym])
16
+ instance_exec(*args, **kwargs, &custom_methods[method_sym])
17
17
  else
18
18
  super
19
19
  end
@@ -65,9 +65,9 @@ module Quby
65
65
  table_builder.instance_eval(&block) if block
66
66
  end
67
67
 
68
- def method_missing(method_sym, *args, &block)
68
+ def method_missing(method_sym, *args, **kwargs, &block)
69
69
  if @custom_methods.key? method_sym
70
- instance_exec(*args, &@custom_methods[method_sym])
70
+ instance_exec(*args, **kwargs, &@custom_methods[method_sym])
71
71
  else
72
72
  super
73
73
  end
@@ -1,5 +1,5 @@
1
1
  module Quby
2
2
  module Compiler
3
- VERSION = "0.5.1"
3
+ VERSION = "0.5.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quby-compiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marten Veldthuis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-23 00:00:00.000000000 Z
11
+ date: 2023-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel