rhino_project_core 0.20.0.beta.48 → 0.20.0.beta.49

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: 1d4f43abbc6b8289e4fdb3d9480ec76381932baa88dc00755d512223b83d4dc1
4
- data.tar.gz: 2d839316e3d079359683f95ac60d3e5c2b81dca2e09e32f94e0a675240ad35b2
3
+ metadata.gz: 8965102667e6b1c948e563c68455e15d0abddf1e5944a1b7a1eb691cbd9660a2
4
+ data.tar.gz: ded95ad5319ab782fe16b0d4568cb5bc1d66557780b6d60a466488bffaf57628
5
5
  SHA512:
6
- metadata.gz: 35c425005b84d3c1df5b8e76e3ef813181e117fa4753e84644cd4304d04575d9feaf6c3922a0d5b3c3bd01c79ba76fb80b6019745eddda9e1b487dc83fac180e
7
- data.tar.gz: 98e96c81d540fb730436e058e77f0f32fa5467b7dd3de37ba435fa6b4207cbc431189be0c063049fd9ebe3fa989ff71ba2d921fea13f165382ee2f49e6226291
6
+ metadata.gz: 12561c1812b968fb21d72b7754f79386d6cee2e1f364ed9aa6c15d65669d0b80a530aa34c3dafc6325497a4b2c254dcee2af7805105358f50552a1f5d3392998
7
+ data.tar.gz: b9f88a3e079ccf04aad30abbcbb5b1a154314f373027d64e5a66a88657549333b010085c1e5cbbd56160ed0b36785c70047797cc2faa23b57810151181b3d4e3
@@ -5,7 +5,9 @@ module Rhino
5
5
  def action_missing(action)
6
6
  authorize klass, "#{action}?".to_sym
7
7
 
8
- render json: klass.send(action)
8
+ method = klass.method(action)
9
+
10
+ render json: method.parameters.any? ? klass.send(action, params) : klass.send(action)
9
11
  end
10
12
  end
11
13
  end
data/lib/rhino/version.rb CHANGED
@@ -10,7 +10,7 @@ module Rhino
10
10
  MAJOR = 0
11
11
  MINOR = 20
12
12
  TINY = 0
13
- PRE = "beta.48"
13
+ PRE = "beta.49"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhino_project_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0.beta.48
4
+ version: 0.20.0.beta.49
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Rosevear
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-31 00:00:00.000000000 Z
11
+ date: 2024-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails