corn_starch 1.1.13 → 1.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/corn_starch_model.rb +20 -0
- data/lib/corn_starch/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c2535c6ab1daae80a346b080008e118ea40f81c
|
4
|
+
data.tar.gz: d2a5b8d048bba6d1f143d14ad9f4b755022ddcba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4df29ec6dcb24360d8d1e1e8b484dae4c454dcad3db96f3288df55c5ad93f0760c4b2cf3618274ea514c7e1aea6665b6fcb5305659001cb17d79028733b45c9d
|
7
|
+
data.tar.gz: 27851f2956a73d28581512a3aa4e00ae453863e6d05532f2286ac115ec8f8d9f270185bdc0875d58fcb4b989da4c2f646c02a2f1f8ca5cb68079d2da91c5593a
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# CornStarch
|
2
|
+
# by Eresse <eresse@eresse.net>
|
3
|
+
|
4
|
+
# CornStarch Module
|
5
|
+
module CornStarch
|
6
|
+
|
7
|
+
# CornStarch Model
|
8
|
+
class CornStarchModel < ActiveRecord::Base
|
9
|
+
|
10
|
+
# Get/Set Searchable Attributes
|
11
|
+
def self.searchable_attributes attrs = nil
|
12
|
+
@searchable_attributes = attrs || @searchable_attributes
|
13
|
+
end
|
14
|
+
|
15
|
+
# Get/Set Searchable Associations
|
16
|
+
def self.searchable_associations assocs = nil
|
17
|
+
@searchable_associations = assocs || @searchable_associations
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
data/lib/corn_starch/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: corn_starch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eresse
|
@@ -53,6 +53,7 @@ files:
|
|
53
53
|
- app/controllers/corn_starch/corn_starch_controller.rb
|
54
54
|
- app/controllers/corn_starch/sessions_controller.rb
|
55
55
|
- app/helpers/corn_starch/corn_starch_helper.rb
|
56
|
+
- app/models/corn_starch_model.rb
|
56
57
|
- app/views/corn_starch/layouts/_notifications.html.erb
|
57
58
|
- app/views/corn_starch/layouts/_pagination.html.erb
|
58
59
|
- bin/console
|