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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 916b22b6028606a1246d9db1e16ac9503d1342828b58abd78e0a49a0c461327e
4
- data.tar.gz: a45688b8586ccf47e9d8add6001b66352f1d3ebf4262e6c20830af642de55f19
3
+ metadata.gz: 1a3d2752261b01a85584d340fd6fe6017b03d31996eff19351cf2adc15aa8f61
4
+ data.tar.gz: c9a4dd5723c313ce882691fb72ee85f7f553d31dae48748c5578f50e0d0b40fd
5
5
  SHA512:
6
- metadata.gz: 8ff22a518706c525abc96a1e6fd0f943b81d411b6776fbf7eff4f60ed7096c604bc9a207984c890601c381f534de94e961851d7a227f097e88ace9fa53701b80
7
- data.tar.gz: 9d1ca894baea9d61532e316a310cfbbd51bf60c374c0f998cc5720567b054994ae95d3d4d532d56b618796ae9cf36a6040f5b7545bbd8e264d66b627935f7bc7
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. You'll also need to include [recursive struct](https://github.com/aetherknight/recursive-open-struct) as a dependency to use search. Given that you have a model with filters defined, ex:
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
@@ -1,5 +1,3 @@
1
- require 'recursive-open-struct'
2
-
3
1
  module Toqua
4
2
  module Search
5
3
  extend ActiveSupport::Concern
data/lib/toqua/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Toqua
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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-20 00:00:00.000000000 Z
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