ransack_advanced_search 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +43 -0
- data/Rakefile +0 -1
- data/lib/ransack_advanced_search/version.rb +1 -1
- metadata +3 -17
- data/README.rdoc +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c51993e4e8bc69edc001a8d24a1c0e8c82eecdc3
|
4
|
+
data.tar.gz: 6767320ca04515f5b7c5c9e1e4c02662d1f3cb65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cee07f0af786c944e8a60a82c7f7af15273ef28971f7257b21cdbfe98035c030b380a554307f6f7f816f34b37a51fbea66925e3d56176facc2e895c144afb3f
|
7
|
+
data.tar.gz: 50ca9bb58d1b118a2456a40a3b97f0245955763b54ee7a6b17ae64449db155c046b29f485e17df7b8c1237a93aff2e768e8656893723ade27066e7faa9bb8e03
|
data/README.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/ransack_advanced_search.svg)](https://badge.fury.io/rb/ransack_advanced_search)
|
2
|
+
|
3
|
+
# Ransack Advanced Search
|
4
|
+
|
5
|
+
[ransack](https://github.com/activerecord-hackery/ransack) is a Object-based searching for Rails.
|
6
|
+
|
7
|
+
The `ransack_advanced_search` gem provides Bootstrap based templates for the [ransack](https://github.com/activerecord-hackery/ransack) Advanced query mode. This gem also provides some additional features to make search experience better and easy to use.
|
8
|
+
|
9
|
+
## Features
|
10
|
+
* Full [ransack](https://github.com/activerecord-hackery/ransack) compatibility (you can still use the default [ransack](https://github.com/activerecord-hackery/ransack) features);
|
11
|
+
* Ransack integrated Advanced Search mode with helpers and views - extracted from [ransack-demo](https://github.com/activerecord-hackery/ransack_demo) project;
|
12
|
+
* Saved Searches, scoped by contexts, to persist search params and use it in the future;
|
13
|
+
* TODO: custom search value inputs based on data type.
|
14
|
+
|
15
|
+
## Installation
|
16
|
+
|
17
|
+
Remove any entry of `ransack` gem from your application's Gemfile. The `ransack_advanced_search` gem will include the `ransack` gem as a dependency.
|
18
|
+
|
19
|
+
Add this line to your application's Gemfile:
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
gem 'ransack_advanced_search'
|
23
|
+
```
|
24
|
+
|
25
|
+
Execute:
|
26
|
+
|
27
|
+
$ bundle
|
28
|
+
|
29
|
+
Or install it yourself as:
|
30
|
+
|
31
|
+
$ gem install ransack_advanced_search
|
32
|
+
|
33
|
+
## Usage
|
34
|
+
|
35
|
+
## Contributing
|
36
|
+
|
37
|
+
1. Fork it ( https://github.com/davidbrusius/ransack_advanced_search/fork )
|
38
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
39
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
40
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
41
|
+
5. Create a new Pull Request
|
42
|
+
|
43
|
+
This project uses MIT-LICENSE.
|
data/Rakefile
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ransack_advanced_search
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Brusius
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -50,20 +50,6 @@ dependencies:
|
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 1.7.0
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: coffee-rails
|
55
|
-
requirement: !ruby/object:Gem::Requirement
|
56
|
-
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '3.2'
|
60
|
-
type: :runtime
|
61
|
-
prerelease: false
|
62
|
-
version_requirements: !ruby/object:Gem::Requirement
|
63
|
-
requirements:
|
64
|
-
- - "~>"
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: '3.2'
|
67
53
|
- !ruby/object:Gem::Dependency
|
68
54
|
name: pry
|
69
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,7 +72,7 @@ extensions: []
|
|
86
72
|
extra_rdoc_files: []
|
87
73
|
files:
|
88
74
|
- MIT-LICENSE
|
89
|
-
- README.
|
75
|
+
- README.md
|
90
76
|
- Rakefile
|
91
77
|
- app/assets/javascripts/ransack_advanced_search/application.js
|
92
78
|
- app/assets/javascripts/ransack_advanced_search/ransack_advanced_search.js
|