toqua 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/toqua/search.rb +0 -2
- data/lib/toqua/version.rb +1 -1
- data/toqua.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a3d2752261b01a85584d340fd6fe6017b03d31996eff19351cf2adc15aa8f61
|
4
|
+
data.tar.gz: c9a4dd5723c313ce882691fb72ee85f7f553d31dae48748c5578f50e0d0b40fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7837815554ca26b32db7a881319d140d342dee3dd5ee08df6cfb14cf175d13e53c8e2c841888cec949c8d5c5bb521ae216ad1b4d92c21fc932ab45ea4dd50ed
|
7
|
+
data.tar.gz: 1c644b9fa35f1238a52a7076dd0282549464b87ca367938d78482d54aa7094a908823e984310ef4bda38c8629278b14d271a833ed7412b68345e00e990f33b21
|
data/README.md
CHANGED
@@ -132,7 +132,7 @@ Finally, the method `paginated?` available in both the controller and the views
|
|
132
132
|
|
133
133
|
### Search
|
134
134
|
|
135
|
-
Small utility to help in the implementation of searching, using [Doure](https://github.com/rogercampos/doure) as a way to filter an AR model.
|
135
|
+
Small utility to help in the implementation of searching, using [Doure](https://github.com/rogercampos/doure) as a way to filter an AR model. Given that you have a model with filters defined, ex:
|
136
136
|
|
137
137
|
```ruby
|
138
138
|
class Post < ApplicationRecord
|
data/lib/toqua/search.rb
CHANGED
data/lib/toqua/version.rb
CHANGED
data/toqua.gemspec
CHANGED
@@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_dependency "activesupport", ">= 4.0.0"
|
24
24
|
spec.add_dependency "actionpack", ">= 4.0.0"
|
25
25
|
spec.add_dependency "activerecord", ">= 4.0.0"
|
26
|
+
spec.add_dependency "recursive-open-struct", ">= 1.0.5"
|
26
27
|
|
27
28
|
spec.add_development_dependency "bundler", "~> 1.15"
|
28
29
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: toqua
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roger Campos
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 4.0.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: recursive-open-struct
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.0.5
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.0.5
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: bundler
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|