ajax_modal_rails 1.0.9 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/ajax_modal_rails/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ee4e3b7e2d6a4ddb14bd27b3179a0ac68f64550860afaee1f939ccc35742a07
|
4
|
+
data.tar.gz: 0d2a91587e598c640ccc4c40102e40860bc5cd97e8d7eab94f28e4cb8a239981
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f08e1b419c1753210b26fb1f88fa98f713885652be567f1d8448333114ddc5d10f2230e8883900d77e2f3e62de251632d4f6723d694bbb78eb502f1ae609755
|
7
|
+
data.tar.gz: 737aba34c5c95ca942d3b5a6e508e5e779e686ddfffdc4f27d4e098c4dde0d6c65aece28f07668e99dae74b271fc653dc29dbff1c95a029385ce32436613b625
|
data/README.md
CHANGED
@@ -42,6 +42,8 @@ A controller that is processing actions to be loaded in a modal should `include
|
|
42
42
|
|
43
43
|
The mixin sets the appropriate layout for modal requests and adds behavior that allows a modal request that results in a redirect to redirect the whole page.
|
44
44
|
|
45
|
+
Note that a controller that includes the `AjaxModalRails::Controller` module will have a few things done to it, including overriding the default implementation of `redirect_to` and also have it's default `layout` set. These modifications should be pretty innocuous as they only take effect for ajax modal requests and fall back to the default behavior otherwise, but if you encounter unexpected behavior be sure to examine the code in [app/controllers/ajax_modal_rails/controller.rb](app/controllers/ajax_modal_rails/controller.rb) You can then either copy the file into your own repository and make modifications there or just add appropriate code to your including controllers.
|
46
|
+
|
45
47
|
## Example
|
46
48
|
|
47
49
|
These snippets are taken from the included [example application](spec/dummy)
|
@@ -77,4 +79,4 @@ The provided modal views and javascript require [Twitter Bootstrap 4.0](https://
|
|
77
79
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
78
80
|
|
79
81
|
## Gratitude
|
80
|
-
This gem was made possible by a Professional Development benefit from my employer, [Green River](http://www.greenriver.com)
|
82
|
+
This gem was made possible by a Professional Development benefit from my employer, [Green River](http://www.greenriver.com)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ajax_modal_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafe Rosen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 4.
|
75
|
+
version: 4.5.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 4.
|
82
|
+
version: 4.5.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec-rails
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -238,8 +238,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
238
238
|
- !ruby/object:Gem::Version
|
239
239
|
version: '0'
|
240
240
|
requirements: []
|
241
|
-
|
242
|
-
rubygems_version: 2.7.3
|
241
|
+
rubygems_version: 3.1.2
|
243
242
|
signing_key:
|
244
243
|
specification_version: 4
|
245
244
|
summary: simple ajax-driven modals for rails. uses bootstrap 4
|