thin_man 0.20.5 → 0.20.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/thin_man/ajax_helper.rb +2 -1
- data/lib/thin_man/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4f40b8746726ba79f619098c650ed3177caea5a2699f8a40622eb993aa26999
|
4
|
+
data.tar.gz: 649874801db8cbf0c956cdea969d473ad515a2daec9a99baf385397f76caa253
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66ca8d0a2aa3fee31b31ef87414ecbf0ae36b2084dd96fd512b48320195772fb14cdd7f2fe09d6d949968cd1b352c2ad016a146ba15d2f5de613db8997c76c23
|
7
|
+
data.tar.gz: 6d38c26667cbbb947d0e3fc1d0eb2bced1ed0dcf54e8a528aad1b3b70cef1290d1b36abe61556cc3da797e46d25b0fa22a67e473ac93ea6099e0d4ab5aaf2e81
|
data/lib/thin_man/ajax_helper.rb
CHANGED
@@ -32,7 +32,7 @@ module ThinMan
|
|
32
32
|
http_method: nil, no_mouse_click: nil, progress_target: nil,
|
33
33
|
progress_color: nil, mask_target: nil, mask_message: nil,
|
34
34
|
sequence_group: nil, sequence_number: nil, replacement_path: nil, push_path: nil,
|
35
|
-
search_path: nil, search_params: nil)
|
35
|
+
search_path: nil, search_params: nil, scroll_to: nil)
|
36
36
|
ajax_options = {
|
37
37
|
'data-ajax-link-now' => true,
|
38
38
|
'data-ajax-target' => target
|
@@ -51,6 +51,7 @@ module ThinMan
|
|
51
51
|
ajax_options.merge!('data-sequence-number' => sequence_number) if sequence_number.present?
|
52
52
|
ajax_options.merge!('data-search-path' => search_path) if search_path.present?
|
53
53
|
ajax_options.merge!('data-search-params' => search_params) if search_params.present?
|
54
|
+
ajax_options.merge!('data-scroll-to' => scroll_to) if scroll_to.present?
|
54
55
|
ajax_options.merge!('data-replacement-path' => replacement_path) if replacement_path.present?
|
55
56
|
ajax_options.merge!('data-push-path' => push_path) if push_path.present?
|
56
57
|
|
data/lib/thin_man/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thin_man
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.
|
4
|
+
version: 0.20.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Draut, Adam Bialek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|