foobara-rails-command-connector 0.0.4 → 0.0.5

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: 0dfba376fe46a7778b2ccac7d116ab0c45ee6d746ff2cb43f2fffa8923df7605
4
- data.tar.gz: a4854514151e50aa474b83693110c21e1a2821ff7d029b5aace5fed20311ca49
3
+ metadata.gz: e3d2c6b110dd56102f9e679cf724b2afbdb9a1c9b0ffe9c7f558d45a5292b404
4
+ data.tar.gz: 9b7b9c53655efbe0ff2f105d1dc5570ac4fb928de260f7d93800a6f1f2382b38
5
5
  SHA512:
6
- metadata.gz: f1ff379fc50174e86da32783c5ba96cfa8d94c1303ca8001112469652d31934924ded1c25090a161b6c717f27d77dcc4306bd2b57a40b2c97a4a1273c6dd2285
7
- data.tar.gz: f3ec818cddc5bdb99d758314c9313d3cddb30a48d7329aaa7dcbe733d9c13f45323d48d2af1d098e154b077d43bdcee63fb4b620f313ca6d826077cec1ecc0d7
6
+ metadata.gz: 04151ec8cc378ffee81ed8830b8c4a9e4ed1698bc2d34d4cebb5fff34a90398a3aee4ca19dc6e5ed09ab736367c09112c1d1ce3064a11a09f95f2510de839ea8
7
+ data.tar.gz: 0cbbdca2302eb49b115ee785649685563597e450b980e89ff10c0f9921e5ac24168a06724ac89b7e5e5e487e87e714aa18707ddb090757a71ec566e71be3ff0e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.0.5] - 2025-01-28
2
+
3
+ - Fix problem preventing routes without any args
4
+
1
5
  ## [0.0.4] - 2025-01-07
2
6
 
3
7
  - Bump Ruby to 3.4.1
@@ -43,6 +43,9 @@ module Foobara
43
43
  connector.supported_actions.each do |action|
44
44
  match "#{prefix}/#{action}/*args", to: "foobara/rails##{action}",
45
45
  via: %i[get post patch put delete]
46
+ match "#{prefix}/#{action}", to: "foobara/rails##{action}",
47
+ via: %i[get post patch put delete],
48
+ defaults: { args: "" }
46
49
  end
47
50
  end
48
51
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-rails-command-connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-07 00:00:00.000000000 Z
10
+ date: 2025-01-28 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: foobara-rack-connector