render_async 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/render_async/version.rb +1 -1
- data/lib/render_async/view_helpers.rb +1 -1
- metadata +2 -2
data/lib/render_async/version.rb
CHANGED
@@ -2,7 +2,7 @@ require 'securerandom'
|
|
2
2
|
|
3
3
|
module RenderAsync
|
4
4
|
module ViewHelpers
|
5
|
-
def
|
5
|
+
def render_async(path)
|
6
6
|
container_name = "render_async_#{SecureRandom.hex(5)}#{Time.now.to_i}"
|
7
7
|
|
8
8
|
render 'render_async/render_async', {:container_name => container_name, :path => path}
|
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.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-08-
|
12
|
+
date: 2013-08-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|