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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 3771ad622437e3a92f8529d069c82ac3fc6ea4c9
4
- data.tar.gz: 5fd8bddd612bf72fde74e239c68fcbc1a2db10d1
2
+ SHA256:
3
+ metadata.gz: c45620397713bf0e33c196b245c7e37c9afd54aca8f9eee9a7fd3bbf36dee141
4
+ data.tar.gz: d6272756f224fa2ebe50364886eff3832613f12d6848e628c9c4bf50e76538ca
5
5
  SHA512:
6
- metadata.gz: 88712b8d615cc039a63cc10386fca0d72e73ffb3977d2099c5c6a18cc72bfcfdf5fc80b323a687d17accc9ebc8e003e7ab3e5f6a2dd3ce5dffe98c5b6c22baf6
7
- data.tar.gz: 43bd9209a484567f487e10d82de77be8d3aa2e50f583867881132542a6aa3a390c992f13210c16e398cda1221f0ba9808fadd3f093b9eb116f4babf5fb048b5a
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, when using `render`, the response is going to be handled by Turbolinks if these conditions are met:
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 for a given response:
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 in a given response you should write:
41
+ In this case, to use turbolinks you should write:
42
42
 
43
43
  ```ruby
44
44
  render turbolinks: true
@@ -1,3 +1,3 @@
1
1
  module TurbolinksRender
2
- VERSION = '0.9.0'
2
+ VERSION = '0.9.1'
3
3
  end
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.0
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-18 00:00:00.000000000 Z
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 render with Turbolinks
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/turboilnks_render
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.6.13
158
+ rubygems_version: 2.7.3
159
159
  signing_key:
160
160
  specification_version: 4
161
161
  summary: Use Rails render with Turbolinks