super_tools 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/super_interaction/command.rb +1 -6
- data/lib/super_tools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0335c45c48a1df81df191c9f0b0ee4f4d7529af6407fdb8aeecca380847e5675
|
4
|
+
data.tar.gz: 149c4a2c0118d5cce4df3ca6d16a8ef53ac4e8c4ff994172c964887ad689a461
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c59b31cf7a51ae06c595f958cad780fc36169290cc4be478ecee84aaa15cd84fcc34fd665f83858cb977d52104c3efa43f99b78f0f685f3047add33ff30bee69
|
7
|
+
data.tar.gz: 42d10f4c9a3cd07527f64fb962c032a74b869d4d5b6965284bb3186b3ec0d16a7321b2061dcfa7b64d6693a2f5d3911761c556e27554a095ffe13f32f5ab3c2a
|
@@ -32,12 +32,7 @@ module SuperInteraction
|
|
32
32
|
# 注意:不要包 respond_to :js 會有問題
|
33
33
|
def modal(partial: nil, size: 'md', title: '', desc: '')
|
34
34
|
partial ||= context.action_name
|
35
|
-
|
36
|
-
when "4"
|
37
|
-
modal_html = context.render_to_string(partial, layout: 'modal.html.haml', locals: { bs_modal_size: size, title: title, desc: desc })
|
38
|
-
when "5", "6"
|
39
|
-
modal_html = context.render_to_string(partial, layout: 'modal.html.haml', assigns: { bs_modal_size: size, title: title, desc: desc })
|
40
|
-
end
|
35
|
+
modal_html = context.render_to_string(partial, layout: 'modal.html.haml', locals: { bs_modal_size: size, title: title, desc: desc })
|
41
36
|
cmd("$(function() { $.modal.show('#{helpers.j(modal_html)}'); });")
|
42
37
|
end
|
43
38
|
|
data/lib/super_tools/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: super_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- eddie
|
@@ -352,7 +352,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
352
352
|
version: '0'
|
353
353
|
requirements: []
|
354
354
|
rubyforge_project:
|
355
|
-
rubygems_version: 2.
|
355
|
+
rubygems_version: 2.7.6.2
|
356
356
|
signing_key:
|
357
357
|
specification_version: 4
|
358
358
|
summary: Rails 開發環境常用工具 Forms/Process/Spreadsheet
|