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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2fc002c3a7b149572f66ffbb9975ee868d613e8a18d693d3ba1e9d8b235c667
4
- data.tar.gz: ed9c4cc5cf3957b7e6b8a532315f69a92a1f4e764c64ad8f8cf367151337a84c
3
+ metadata.gz: 1ee4e3b7e2d6a4ddb14bd27b3179a0ac68f64550860afaee1f939ccc35742a07
4
+ data.tar.gz: 0d2a91587e598c640ccc4c40102e40860bc5cd97e8d7eab94f28e4cb8a239981
5
5
  SHA512:
6
- metadata.gz: 39a4e2528114a8a746a5e9a7dee88b989931f8093e8c6d83e90c7caf8f91277f8e714d67bb7316a55fe44f57e7509743d298fc71d9504c235b3196fb9c75bb44
7
- data.tar.gz: 52a57a312af02080239995e20fc4402cad2e643db05e688d80a9c62dff5b828ec455bacfce236f743c0ff13d2a93a9355b05e7c421e9bb2e9bd52e56acab4deb
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)
@@ -1,3 +1,3 @@
1
1
  module AjaxModalRails
2
- VERSION = '1.0.9'
2
+ VERSION = "1.0.11"
3
3
  end
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.9
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: 2018-03-19 00:00:00.000000000 Z
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.0.0.beta
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.0.0.beta
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
- rubyforge_project:
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