ajax_modal_rails 1.0.3 → 1.0.4

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
  SHA1:
3
- metadata.gz: 4a77b001fa8a1be628edc3125925d3de35b33c6e
4
- data.tar.gz: 9fec48b8c2aba9d6a26f0523081af60348ed6e61
3
+ metadata.gz: 619376e8499e7a72deb1f781e75012c8b5c0d8f7
4
+ data.tar.gz: cef18b2b1d966af2370fbdf54493983b80e777b6
5
5
  SHA512:
6
- metadata.gz: 18f7fde5218671c7da121fa2b7523a575cf00d71d48a4c567fb8dcf7c6393b76d3edaead92add4a5f4b27e9670c6ad63d38037d3f68b5c1ca7e057cdb2d8d6d2
7
- data.tar.gz: 1335579f97251241965ec1b45b009cd97139bcd7238e3c8ef9dd4c7df90f5befc825a2de8df285ee0fd90812d8c4e9f8c6517bb57f10176eb62c676ac571b7c8
6
+ metadata.gz: 3ce0435cd22307227cf2407d4b93552bd1bd6db4fa995c9face1ff86895f6a331a7a45e9fe3de6eba46a2460912277eaad5e0386dfedb650ee3d9608144d522c
7
+ data.tar.gz: 104791fd5f6241fea88b439b6b60bf5add8deaced3a5b40fca3910069a5105c2035aa4b4f881d715fc7e24fb43b02030bf3f3da5d77e11c526ba9c0eb9407784
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # AjaxModalRails
2
- This plugin provides a simple way to do common modal interactions in a rails app. Keep your nice thin scaffolded controller, and just include a single mixin. Then add data attribute to links and forms to load pages via ajax in a modal.
2
+ [![Build Status](https://travis-ci.org/existentialmutt/ajax_modal_rails.svg?branch=master)](https://travis-ci.org/existentialmutt/ajax_modal_rails)
3
3
 
4
- ![demo screencast](doc/demo.gif)
4
+ This plugin provides a simple way to do common modal interactions in a rails app. Keep your nice thin scaffolded controller, and just include a single mixin. Then add data attribute to links and forms to load pages via ajax in a modal.
5
5
 
6
6
  ![demo screencast](doc/demo.gif)
7
7
 
@@ -32,12 +32,10 @@ class window.AjaxModal
32
32
  @open
33
33
 
34
34
  _registerForms: ->
35
- console.log $(@formTriggersSelector).toArray()
36
35
  # scope.find(@formTriggersSelector).attr('data-remote', true)
37
36
  $('body').on 'submit', @formTriggersSelector, (event) =>
38
37
  form = event.currentTarget
39
38
  event.preventDefault()
40
- console.log $(form).serialize()
41
39
  $.ajax
42
40
  url: form.getAttribute('action')
43
41
  type: form.getAttribute('method')
@@ -67,4 +65,4 @@ class window.AjaxModal
67
65
 
68
66
  reset: ->
69
67
  @content.html("")
70
- @loading.show()
68
+ @loading.show()
@@ -1,3 +1,3 @@
1
1
  module AjaxModalRails
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
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.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafe Rosen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-03 00:00:00.000000000 Z
11
+ date: 2017-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -151,7 +151,21 @@ dependencies:
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
- name: poltergeist
154
+ name: capybara-selenium
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: chromedriver-helper
155
169
  requirement: !ruby/object:Gem::Requirement
156
170
  requirements:
157
171
  - - ">="
@@ -225,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
239
  version: '0'
226
240
  requirements: []
227
241
  rubyforge_project:
228
- rubygems_version: 2.6.11
242
+ rubygems_version: 2.6.13
229
243
  signing_key:
230
244
  specification_version: 4
231
245
  summary: simple ajax-driven modals for rails