turbolinks_render 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +3 -3
- data/lib/turbolinks_render/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c45620397713bf0e33c196b245c7e37c9afd54aca8f9eee9a7fd3bbf36dee141
|
4
|
+
data.tar.gz: d6272756f224fa2ebe50364886eff3832613f12d6848e628c9c4bf50e76538ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7f5293cf867a102c07d7de67853edc8441248b96b48bb0e667350a7d2e5b89903a48ae6aee1e3de7c2e452affc86187775102061fae69ccd0e5d795d52cba83
|
7
|
+
data.tar.gz: 6f0204ce2d3995f80a5591d1de1be57a20050fdbb703c9df1e0eece0e193c80113e5a4888ecf0672e2bac2b534efdd1631822ea6b4ef6a450e40672db44b59bc
|
data/README.md
CHANGED
@@ -18,13 +18,13 @@ $ bundle
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
By default,
|
21
|
+
By default, `render` will be handled by Turbolinks if these conditions are met:
|
22
22
|
|
23
23
|
- It's an ajax request
|
24
24
|
- It's not a `get` request
|
25
25
|
- It's not rendering json
|
26
26
|
|
27
|
-
You can disable turbolinks
|
27
|
+
You can disable turbolinks on a given request with:
|
28
28
|
|
29
29
|
```ruby
|
30
30
|
render turbolinks: false
|
@@ -38,7 +38,7 @@ You can invert the default behavior: never use turbolinks for rendering unless e
|
|
38
38
|
Rails.application.config.turbolinks_render.render_with_turbolinks_by_default = false
|
39
39
|
```
|
40
40
|
|
41
|
-
In this case, to use turbolinks
|
41
|
+
In this case, to use turbolinks you should write:
|
42
42
|
|
43
43
|
```ruby
|
44
44
|
render turbolinks: true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turbolinks_render
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jorge Manrubia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -122,7 +122,7 @@ dependencies:
|
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
-
description: Use Rails
|
125
|
+
description: Use render in your Rails controllers and handle the response with Turbolinks.
|
126
126
|
email:
|
127
127
|
- jorge.manrubia@gmail.com
|
128
128
|
executables: []
|
@@ -135,7 +135,7 @@ files:
|
|
135
135
|
- lib/turbolinks_render.rb
|
136
136
|
- lib/turbolinks_render/rendering.rb
|
137
137
|
- lib/turbolinks_render/version.rb
|
138
|
-
homepage: https://github.com/jorgemanrubia/
|
138
|
+
homepage: https://github.com/jorgemanrubia/turbolinks_render
|
139
139
|
licenses:
|
140
140
|
- MIT
|
141
141
|
metadata: {}
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
155
|
version: '0'
|
156
156
|
requirements: []
|
157
157
|
rubyforge_project:
|
158
|
-
rubygems_version: 2.
|
158
|
+
rubygems_version: 2.7.3
|
159
159
|
signing_key:
|
160
160
|
specification_version: 4
|
161
161
|
summary: Use Rails render with Turbolinks
|