kangaru 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e098e423f68b6d540b63100a2d08b3580bf7ef43fb474f1610341b1ca9abe54a
4
- data.tar.gz: c507badf07b6b1a72721fa0669b8ec483f43ecd0333e71035008dd8387ba93f4
3
+ metadata.gz: d272072193ecc198445e6c2684a48a6386b378d1b4b95e274bee330b4e8ab1a1
4
+ data.tar.gz: ce1f9cfc0df31304f232b97da67ee56ff3fadb1c83a495349d2dee4695693faf
5
5
  SHA512:
6
- metadata.gz: c75ea57cd323a96034643389c65392439efb117cd800ba56f6296540dd94e1de027271db5af73191725a87c5f31a49af0298bcce8ff1092b6afc2b0574ba3205
7
- data.tar.gz: b86424947eea484d98ed12d8df85399f7637aabcf6d74a98444264f4ccc78db9a49706a0ee7efad6aecb935c683bec07ef9a92957c7f8dd82b923c37094ea175
6
+ metadata.gz: 4487dc810856ee4c778ff257b77adda26ee453233fab85174997142e5215764d20e7112eb812f5232dc1821c4053ea95554cecccbec45d3d12ace87e5c042f9a
7
+ data.tar.gz: e14a8ee5a1dcb2b389d00b5e03c4cfed4d047a723fe70da001d40312d6054ede636847680d335863458209ba6623b21a35c016a5a303ea6a3f7969eb65110790
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kangaru (0.2.3)
4
+ kangaru (0.2.4)
5
5
  colorize (~> 1.1)
6
6
  erb (~> 4.0)
7
7
  sequel (~> 5.72)
@@ -62,7 +62,7 @@ module Kangaru
62
62
 
63
63
  config.include RequestHelper, type: :request
64
64
 
65
- config.around(type: :request) do |spec|
65
+ config.around(stub_output: true) do |spec|
66
66
  stub_output { spec.run }
67
67
  end
68
68
  end
@@ -21,7 +21,7 @@ module Kangaru
21
21
  private
22
22
 
23
23
  def controller_class
24
- @controller_class ||= request.controller.constantise(root: namespace)
24
+ request.controller.constantise(root: namespace)
25
25
  end
26
26
 
27
27
  def validate_controller_defined!
@@ -1,3 +1,3 @@
1
1
  module Kangaru
2
- VERSION = "0.2.3".freeze
2
+ VERSION = "0.2.4".freeze
3
3
  end
@@ -11,12 +11,6 @@ module Kangaru
11
11
 
12
12
  private
13
13
 
14
- @controller_class: untyped
15
-
16
- # Delegated to command
17
- def controller_name: -> String
18
- def action: -> Symbol
19
-
20
14
  def controller_class: -> untyped
21
15
 
22
16
  def validate_controller_defined!: -> void
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kangaru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Welham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-10 00:00:00.000000000 Z
11
+ date: 2023-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize