render_async 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/render_async/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 645326f6434ec60687de573fb760290c4d18fe67
|
|
4
|
+
data.tar.gz: 886b51be64cc99628b151290e34dfcb3f4d1854f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 500f6acae0b23f1c3f79c3d6cb7e612dd9aefa3fc869c117b56b21f0c121c8c34aeb6bdc25dd88b8c903a2d68a0e673321de3ff7323e1e6ddfcf02187ac97192
|
|
7
|
+
data.tar.gz: 7a2496aeee1bde44c49c78041648c454ac8b648f4b5356b830b7b18b011e25c7a1135782eb0018202b776a7f7e46f1759cbb094027001fdcf9a44ce4e2379dae
|
data/README.md
CHANGED
|
@@ -8,9 +8,9 @@ your partial.
|
|
|
8
8
|
|
|
9
9
|
Workflow:
|
|
10
10
|
|
|
11
|
-
1. user visits a page =>
|
|
12
|
-
2. AJAX request on the controller action =>
|
|
13
|
-
3. controller renders a partial =>
|
|
11
|
+
1. user visits a page =>
|
|
12
|
+
2. AJAX request on the controller action =>
|
|
13
|
+
3. controller renders a partial =>
|
|
14
14
|
4. partials renders in the place where you put `render_async` helper
|
|
15
15
|
|
|
16
16
|
Javascript is injected into `<%= content_for :render_async %>` so you choose
|
|
@@ -21,12 +21,12 @@ where to put it.
|
|
|
21
21
|
Add this line to your application's Gemfile:
|
|
22
22
|
|
|
23
23
|
```ruby
|
|
24
|
-
gem 'render_async'
|
|
24
|
+
gem 'render_async'
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then execute:
|
|
28
28
|
|
|
29
|
-
$ bundle
|
|
29
|
+
$ bundle install
|
|
30
30
|
|
|
31
31
|
## Usage
|
|
32
32
|
|
data/lib/render_async/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: render_async
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kasper Grubbe
|
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
97
97
|
version: '0'
|
|
98
98
|
requirements: []
|
|
99
99
|
rubyforge_project:
|
|
100
|
-
rubygems_version: 2.4.
|
|
100
|
+
rubygems_version: 2.4.8
|
|
101
101
|
signing_key:
|
|
102
102
|
specification_version: 4
|
|
103
103
|
summary: Render parts of the page asynchronously with AJAX
|