active_tools 0.0.39 → 0.0.40

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
  SHA1:
3
- metadata.gz: 89aae5bfc10620868e8c1c02ef12d75818c85838
4
- data.tar.gz: 7f736e8e7570394a8fb02e23ba0cce357d659730
3
+ metadata.gz: 03771db28955a30d1bafef12acb98fbf519b8db6
4
+ data.tar.gz: 844963557f6b21bf0b873d8e733cf32c13bad4d6
5
5
  SHA512:
6
- metadata.gz: d4bab0a33a7d2d754e5235f8d432ed769756b69975356f43105806fec231acb18c4ef34d477e36ff193a4c3fb8969fa84bfd08de74d1fb1f9044d363f464a524
7
- data.tar.gz: b03fd9a5e44114126dc7fea19d807b2d32b626394c37d35b70f969cd1945f19aaa72741b8ec897895946d7138b775b7b686df9d6fe26f901daf14567098351b5
6
+ metadata.gz: f8b0318ba8f34ebcc996231d34e80cdf38105f9858c223f2f8e2ac0c6628b7ebede5fcee919b3c3243ec5874eb0dcf65a92e645245073781fa55db76ce3effce
7
+ data.tar.gz: d89c82cc3475581c24954f12127c0c7f4db9c50186a47c5b7f17e5935b95587e5d5e03613292e715e9d86c59f5932fb9766a578117a9362e21cf50a8b4d5bba7
@@ -6,17 +6,21 @@ module ActiveTools
6
6
  end
7
7
 
8
8
  module OnLoadActionController
9
- def _render_template(*args)
10
- rendering = super
11
- if lookup_context.rendered_format == :js
12
- rendering + uniq_content_storage.render_content(Misc::DEFAULT_JS_FLOW_KEY)
13
- else
14
- rendering
15
- end
16
- end
9
+ # def _render_template(*args)
10
+ # rendering = super
11
+ # if lookup_context.rendered_format == :js
12
+ # rendering + uniq_content_storage.render_content(Misc::DEFAULT_JS_FLOW_KEY)
13
+ # else
14
+ # rendering
15
+ # end
16
+ # end
17
17
  end
18
18
 
19
19
  module OnLoadActionView
20
+ def script_flow!
21
+ uniq_content_storage.render_content(Misc::DEFAULT_JS_FLOW_KEY)
22
+ end
23
+
20
24
  def script(*args, &block)
21
25
  options = args.extract_options!
22
26
  content = args.first
@@ -1,3 +1,3 @@
1
1
  module ActiveTools
2
- VERSION = "0.0.39"
2
+ VERSION = "0.0.40"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.39
4
+ version: 0.0.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Valery Kvon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-23 00:00:00.000000000 Z
11
+ date: 2016-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails