smarter_listing 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9f30288cc66ae59f09ad249721beb877e5d740fe
4
- data.tar.gz: ef1d20fea2788b48e58e54bbea4f8f93cb73a1a1
3
+ metadata.gz: 799c18c0a8940bdb5c2bfb832233f68f22010bf6
4
+ data.tar.gz: 2582eb96da5ed967cc670b519e7f141692151d20
5
5
  SHA512:
6
- metadata.gz: ccbb5a9b92ebcae47da3edd06174cc507e7fb993311c8ba48416bb381f6bdadcc061c49153af70820900be2788f69a81b81ec65cd9aef1c330899439720b510f
7
- data.tar.gz: 42ce7b77d002264e1833c204c2237a92b1e0338f4a8b810ab0173dcfa5cccbfe442661ab10eab3fdd69565f31fd57fb25a32d9e2d95c863035d62ec23d215f7a
6
+ metadata.gz: 2b20490e69f57e35a12f38dc45fb19de162e070efc70f4b4c606aa5efd16cf9ff2f9c4d6da48b927a29148f02f395a2f517e3e5778e23ef69ae44bdf95d7cd12
7
+ data.tar.gz: 2e7d0618736959b70b4ca47f82b0a23628b2f46daf9265dbccd293f594b843b998055acacdfec4cc439f73908dbd903a3990ca10f8dc4de273e3cb4080305247
@@ -15,7 +15,7 @@ module SmarterListing
15
15
 
16
16
  def resource_view_path
17
17
  path = model.name.tableize
18
- path = "#{current_engine}/#{path}" unless path.start_with?(current_engine)
18
+ path = "#{current_engine}/#{path}"
19
19
  path
20
20
  end
21
21
 
@@ -1,3 +1,3 @@
1
1
  module SmarterListing
2
- VERSION = '0.1.8'
2
+ VERSION = '0.1.9'
3
3
  end
@@ -9,7 +9,7 @@ module SmarterListing
9
9
  module Loader
10
10
  def self.extended base
11
11
  def smarter_listing(filter_parameter = :filter)
12
- helper SmartListing::Helper
12
+ helper SmartListing::Helper unless _helper_methods.include?(:smart_listing_item)
13
13
  include SmartListing::Helper::ControllerExtensions
14
14
 
15
15
  helper SmarterListing::Helper
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smarter_listing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Sprauer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-17 00:00:00.000000000 Z
11
+ date: 2014-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails