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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16a9c0add2ae2f5b1a22f83eb8e396004e4c1ed6567949729e4d93dc14d684ad
4
- data.tar.gz: 797344b4ff4cdcf12aa54fb7cb8a86f5f4f94175b8a04d222dcae2fc6b412ffb
3
+ metadata.gz: a4f40b8746726ba79f619098c650ed3177caea5a2699f8a40622eb993aa26999
4
+ data.tar.gz: 649874801db8cbf0c956cdea969d473ad515a2daec9a99baf385397f76caa253
5
5
  SHA512:
6
- metadata.gz: 405683d427ff7d49c2e0e1b0213a74841b5ef03cb906c3d363d3bf7e5bd52d3d63149cad9e4c90067b07fbd62d053afa2573419c829d6cca42f57d323adacc62
7
- data.tar.gz: 34889c082b58035fa454eac42293812e2a011fc165e990b0fa34bcf5aa4cf5750e31619e1567b7d444c845f9ab6082a2bf40eed682a4118a15c2947c96d637bf
6
+ metadata.gz: 66ca8d0a2aa3fee31b31ef87414ecbf0ae36b2084dd96fd512b48320195772fb14cdd7f2fe09d6d949968cd1b352c2ad016a146ba15d2f5de613db8997c76c23
7
+ data.tar.gz: 6d38c26667cbbb947d0e3fc1d0eb2bced1ed0dcf54e8a528aad1b3b70cef1290d1b36abe61556cc3da797e46d25b0fa22a67e473ac93ea6099e0d4ab5aaf2e81
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module ThinMan
2
- VERSION = "0.20.5"
2
+ VERSION = "0.20.6"
3
3
  end
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.5
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: 2018-11-09 00:00:00.000000000 Z
11
+ date: 2019-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails