snaptable 4.0.0 → 4.0.1

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: c18ace7510d52747446fe800cbacbfd54a7a70f2cc27064df3b3ad3e854fd96f
4
- data.tar.gz: edd3e8d33421b2b68963f3ce32c35d90caff279ee5add09a795326f59048e855
3
+ metadata.gz: 2ab8263939c5acf6d90d8147b964917911ef93316c5c98f19a9a6430072ec3c6
4
+ data.tar.gz: ac8ea9902f36f5f17b5b655d6435ad9407f47982334cc65173678ae314becf5e
5
5
  SHA512:
6
- metadata.gz: 4c9468645b4c07fcb171c4fbf61b31fa8f00c53fdc21463f685ea9598239d23f8525e7a8894d1d41d9c983f970cf79e7ac2b5afcaa2e71615be7c22e5926c79d
7
- data.tar.gz: fbdd9fe4b730a9fe85c831615788b72096d65cc5d8d2b4cb0f7f0478386fba6aeef1c4d20c872a8ae308916af9c01bf7ed4e79c8cace1e2421550e35ba7449d7
6
+ metadata.gz: fc252e82f88e2137fde7af3a0f4b28518b1ea5f1853d1375368d8eded48a7843c48d60c8391673b275bc2c4980c30d412dd09c84df3c9f8bcc2c856d85ba7d8a
7
+ data.tar.gz: 119bde82a218caa16fe97b1ef60769c53f1fe65a5a6e6515ce7b9500a8080d5874f9cc6fdd98b5b4a334d93bb350da036e39c249a9ce54d7df92975a42bbbc0f
@@ -0,0 +1,2 @@
1
+ //= link_directory ../stylesheets .css
2
+ //= linl_directory ../javascripts .js
@@ -41,7 +41,7 @@ module Snaptable
41
41
  end
42
42
 
43
43
  def belongs_to_associations
44
- model.reflect_on_all_associations(:belongs_to).map{ |a| a.name }
44
+ model.reflect_on_all_associations(:belongs_to).reject {|a| a.options[:polymorphic]}.map {|a| a.name}
45
45
  end
46
46
 
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module Snaptable
2
- VERSION = "4.0.0"
2
+ VERSION = "4.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snaptable
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - khcr
@@ -77,6 +77,7 @@ files:
77
77
  - MIT-LICENSE
78
78
  - README.md
79
79
  - Rakefile
80
+ - app/assets/config/manifest.js
80
81
  - app/assets/javascripts/snaptable.js
81
82
  - app/assets/javascripts/snaptable/table.js
82
83
  - app/assets/stylesheets/snaptable.css