smart_listing 1.1.0 → 1.1.1

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: 59e85525d27d91f8ccf4ede3196a9d665e80e636
4
- data.tar.gz: 2715e1395d0ea7eff77d9a531639b0917143212a
3
+ metadata.gz: 92ecd77f11c42d26c8ae9f3bd5280b40ecb3e742
4
+ data.tar.gz: 9bad62f111c4a7cdea95787d7e3f5f0f90fb0e1d
5
5
  SHA512:
6
- metadata.gz: fb5792e4ce2c755905e4ea7d07c9a5c5f50f1eca9a39f142b70ab94465e89989bc951494b310049cef91e2acac1fa82ab93eec08e399ba5ba6c6b10be2f9352b
7
- data.tar.gz: a9caf551202a276d1c233afa7daa86c860a87d9a7d170836a471fa8a769a783cb7a5b809e4d9728d0d2d69d30066709b3c38a5e84787b4c154a0f3dc51fb5974
6
+ metadata.gz: b1638bd9e5756ab6bf8c622f2e617d71112ca6efcfb5355e71d5b62c5268fc86f2100242ab4bc6576beffa0f44cd2656f8d14f985b90aea3a8c782ad0c5091a4
7
+ data.tar.gz: 8ea053d4b24bca1c91500625f7ac9cae7bc6f42af34c46c8318215c3ad73e672f7d88fb9dfa66a67536b24999d0d1d9dbdefe1a3d66bae06cbec02747cf26a93
data/README.md CHANGED
@@ -59,7 +59,7 @@ Next, put following code in controller action you desire:
59
59
  @users = smart_listing_create(:users, User.active, partial: "users/listing")
60
60
  ```
61
61
 
62
- This will create SmartListing named `:users` consisting of ActiveRecord scope `User.active` elements and rendered by partial `users/listing`. You can also use arrays instead of ActiveRecord collections. Just put @array: true@ option just like for Kaminari.
62
+ This will create SmartListing named `:users` consisting of ActiveRecord scope `User.active` elements and rendered by partial `users/listing`. You can also use arrays instead of ActiveRecord collections. Just put `array: true` option just like for Kaminari.
63
63
 
64
64
  In the main view (typically something like `index.html.erb` or `index.html.haml`), use this method to render listing:
65
65
 
@@ -61,8 +61,8 @@ class window.SmartListing
61
61
  @cancelEdit(editable)
62
62
  else
63
63
  # Cancel new record
64
- @container.find(SmartListing.config.class_name("new_item_placeholder")).addClass(SmartListing.config.class_name("hidden"))
65
- @container.find(SmartListing.config.class_name("new_item_action")).removeClass(SmartListing.config.class_name("hidden"))
64
+ @container.find(SmartListing.config.class_name("new_item_placeholder")).addClass(SmartListing.config.class("hidden"))
65
+ @container.find(SmartListing.config.class_name("new_item_action")).removeClass(SmartListing.config.class("hidden"))
66
66
 
67
67
  @setAutoshow(false)
68
68
  false
@@ -1,3 +1,3 @@
1
1
  module SmartListing
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_listing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sology
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-26 00:00:00.000000000 Z
11
+ date: 2015-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails