async_futurize 0.1.11 → 0.1.12

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
  SHA256:
3
- metadata.gz: 86b609afd7ae960588a5e6abfe7726a4d1fe49167775e751f1dbcb5abfced1a9
4
- data.tar.gz: 847b036f3275fb1b177c0e8113b34c81e12d2498f5109524cd74f561e478ebdf
3
+ metadata.gz: d7f5e15a17cef1b822e92f47ff954c16dbaa3dee334dc71f814d6106a31e6427
4
+ data.tar.gz: 0e41f1295ce58e1545f26b8dbfd996cc2a1a51b585d763a6ee3665ed8045aec7
5
5
  SHA512:
6
- metadata.gz: 128fce6cbde1c4608d55379de82c1539cb2c00defd904741b46efd5697a4fadd1cbfcd7e057864a1c4bf3b24d3d44434abdc2e1ca05dee4d61de22dc2da1d90b
7
- data.tar.gz: d2c0867acfd3f32114633d64be844c58f729cf0bded44ea40ebf48a4eea658004836ac0e69b2fdeeaae26545122ad1614b832523337622342a06c14ceb7b1dc8
6
+ metadata.gz: '054998df99628b7c151251a67b0d20f3a67eede2a7ca0e2445a5a16e735c829adc9fe34eefe5315e6f0bd49ab290985b574941bebf414a3f3ddb9527356d16a3'
7
+ data.tar.gz: 1fc6880c905aa36665003d03196814a604eaab54bdf6f7708b857ec30a8c2bd95dc9624a68ca31b30573440a5b62b4b206dc68cad416eec94dc78d26afe72bf9
@@ -0,0 +1,2 @@
1
+ class ApplicationController < ActionController::Base
2
+ end
@@ -1,7 +1,9 @@
1
- class FuturizeController < ApplicationController
2
- def loadComponent
3
- locals = { component: params[:component_to_load], component_params: params[:component_params] }
4
- render json: { component: params[:component_to_load], html: render_to_string(partial: './futurize_component_ajax', locals: locals) }
5
- end
1
+ module AsyncFuturize
2
+ class FuturizeController < ApplicationController
3
+ def loadComponent
4
+ locals = { component: params[:component_to_load], component_params: params[:component_params] }
5
+ render json: { component: params[:component_to_load], html: render_to_string(partial: './futurize_component_ajax', locals: locals) }
6
+ end
7
+ end
6
8
  end
7
9
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AsyncFuturize
4
- VERSION = "0.1.11"
4
+ VERSION = "0.1.12"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async_futurize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ashesh Tuladhar
@@ -24,6 +24,7 @@ files:
24
24
  - LICENSE.txt
25
25
  - README.md
26
26
  - Rakefile
27
+ - app/controllers/applicaton_controller.rb
27
28
  - app/controllers/async_futurize/futurize_controller.rb
28
29
  - app/helpers/futurize_helper.rb
29
30
  - app/javascript/packs/futurize.js