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 +4 -4
- data/lib/active_tools/misc/script_flow.rb +12 -8
- data/lib/active_tools/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: 03771db28955a30d1bafef12acb98fbf519b8db6
|
4
|
+
data.tar.gz: 844963557f6b21bf0b873d8e733cf32c13bad4d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
data/lib/active_tools/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|