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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58cff2d8f37ca95aca53690bf22a9268395b0187
4
- data.tar.gz: c4686f564b1c1b45d981ecc29c97b6367bec2399
3
+ metadata.gz: c51993e4e8bc69edc001a8d24a1c0e8c82eecdc3
4
+ data.tar.gz: 6767320ca04515f5b7c5c9e1e4c02662d1f3cb65
5
5
  SHA512:
6
- metadata.gz: 31acaca1592e2d482bc0e65d922c5db0c06a432aa8d5fa36537a0597f4fae9f906535154bf324f9e0323d2b79cd6c8f92397a7cb61b6b3e35d20ab55b108b2c8
7
- data.tar.gz: 92d0c9a03397df1a6edf0673288ad324f6c45ba7132d99f996b6def7bdd015238ab3c72b2b758b414754fa2a85ce6aa9405b39a5590ee6b1ee94dbb35d9b5e5b
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
@@ -16,7 +16,6 @@ RDoc::Task.new(:rdoc) do |rdoc|
16
16
  rdoc.rdoc_dir = 'rdoc'
17
17
  rdoc.title = 'RansackAdvancedSearch'
18
18
  rdoc.options << '--line-numbers'
19
- rdoc.rdoc_files.include('README.rdoc')
20
19
  rdoc.rdoc_files.include('lib/**/*.rb')
21
20
  end
22
21
 
@@ -1,3 +1,3 @@
1
1
  module RansackAdvancedSearch
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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-27 00:00:00.000000000 Z
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.rdoc
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
data/README.rdoc DELETED
@@ -1,6 +0,0 @@
1
- = RansackAdvancedSearch
2
-
3
- inflect.irregular 'saved_search', 'saved_searches'
4
-
5
-
6
- This project rocks and uses MIT-LICENSE.