ransack_memory 0.0.2 → 0.0.3

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: 7e18e02f0204f759edc457fc98899ad16d731690
4
- data.tar.gz: b280afa8586cc6b6595011434fb809e661ecc4e0
3
+ metadata.gz: d62aa8c4e249e26f8584cc8c3a7102175891fcae
4
+ data.tar.gz: 8aedb8310e80203daf0c31ad1d47013c1eaa3c6e
5
5
  SHA512:
6
- metadata.gz: 965a6bbe5a161c331c487ddf75379b4cb866ac293c32e354507728026c4750eb358813fa2dc6b16f17f428fb10ce90c3d4d8b3fb6263fb9cca2dec1f65348cae
7
- data.tar.gz: 1a7e5aa376ad22eedb637cb883daec678a8d7daab72f4befdc1603461b5a04f8a1143347c860805924a90fb392312095d0646297d319f46748d42d6d338450a9
6
+ metadata.gz: 5f14b1663ad1659046033f7af8a463fe6403e37f71beeac45811646694d072bd8b4bc6c61c4f15566f8a57793bd7f3f04c8f17ca265bd3de5abea8f25db0a064
7
+ data.tar.gz: 678245d37a4f8d54c91226b96539ae8004dc261563f72a705d046bd5f679862ada25ae14b86c808601c019c8da31768152461dbca393f572da979dab19a56a9a
@@ -0,0 +1,3 @@
1
+ <% if params[RansackMemory::Core.config[:param].presence || :q].present? %>
2
+ <%= link_to RansackMemory::Core.config[:link_label].presence || 'Clear filter', url_for + "?cancel_filter=true", opts %>
3
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module RansackMemory
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ransack_memory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Lapiš
@@ -19,6 +19,7 @@ files:
19
19
  - README.md
20
20
  - app/controllers/concerns/ransack_memory/concern.rb
21
21
  - app/helpers/ransack_memory_helper.rb
22
+ - app/views/shared/_ransack_memory_clear_filter.html.erb
22
23
  - app/views/shared/_ransack_memory_clear_filter.html.haml
23
24
  - lib/generators/ransack_memory_generator.rb
24
25
  - lib/ransack_memory.rb