smug 0.1.7 → 0.1.8

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
  SHA1:
3
- metadata.gz: c6915f1d823079953e189fa0627a663b727bd08b
4
- data.tar.gz: c83950a46722cc07df81fc6f18a1a6292dda04a0
3
+ metadata.gz: 30ddf13744bf1ef64a2d19e061c6ec67db2425e3
4
+ data.tar.gz: e30adaa5695c0e00ec8bde2fafa77c5f5a3f21dc
5
5
  SHA512:
6
- metadata.gz: c9d21b7f4bdfb33352eaf69f7ac0f6010acceaf5f2152fc82a010af3344d6c674175dadfc45615b812489ed6ab3fae04fa9b66b1d7c26f41c90737952312f89b
7
- data.tar.gz: cd6f6122c09d3503f506bbea334737ba694ddbdb1a1675c7ced30db9bff67aedbda1b30f5e11d3aff23201ed699973615f4acad0014fb8ad03ad8a92c8e88a75
6
+ metadata.gz: d9630d150a265d5e2ea8e9c3f665623f717af27396390556d16fd9bf2b61cd88ec37acc3d689d9b396cab54a353ff3ea41568d47b653f97481bfffffda74c20d
7
+ data.tar.gz: b44f1c529eab51e29749b3b8db282fa1381e1a4fe28534c99f3b8d227137a204c9ebed5394d610ad54a6b9b3a44cf71d52e03acff33c5ac820fc3e638464883a
@@ -6,7 +6,7 @@
6
6
  = t(".back", default: "Back")
7
7
 
8
8
  - begin
9
- = render "smug/admin/#{controller.class.model_name.route_key}/before_show"
9
+ = render "smug/admin/#{controller.class.model_name.route_key}/before_show", f: f
10
10
  - rescue ActionView::MissingTemplate
11
11
  / do nothing
12
12
 
@@ -16,6 +16,6 @@
16
16
  dd = @item.render_attr(attr)
17
17
 
18
18
  - begin
19
- = render "smug/admin/#{controller.class.model_name.route_key}/after_show"
19
+ = render "smug/admin/#{controller.class.model_name.route_key}/after_show", f: f
20
20
  - rescue ActionView::MissingTemplate
21
21
  / do nothing
@@ -1,3 +1,3 @@
1
1
  module Smug
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smug
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Bolt