ransack 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -10
  3. data/lib/ransack/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0db00f7b95f26e2128972c34185a796559165d06
4
- data.tar.gz: f1ae294b2bafceeb8a15429f19451cb52aadfe6a
3
+ metadata.gz: 40b269c3c65d60bdd34562075a2a3aaa1e2c500f
4
+ data.tar.gz: d2520b91acbc39e7dcbe534d32294e7e0b01f512
5
5
  SHA512:
6
- metadata.gz: 808bcea8000e9b72d236bed60f17fa66f44ed41b2d6eca83c64ced249f1f96346651312ca44dc0248cf90bc23ed7e8d092232846c6948f22c1f6847ff16079ac
7
- data.tar.gz: 4826df4e710ce5022aa7231b77fc12e482832db3bcbef9e111c0bdcee7a5c172038be6087e867c77a249c5fad7c0f4918752f01144e3b4495c28b4039092b759
6
+ metadata.gz: c1152e4bde37b2f1b6dc78f888d51e2438c678ca366f54e54bf6baf9aecf7167e23e0119e24730dd94599c0888d68a2acba2a094093679f68e9c405866d774df
7
+ data.tar.gz: b7be091d8256745c1feddc3e614432227714ee17b57f40ea9517309837384c486d9619971174966df7f8eafc71521ef7c09c149df639ead8bce4e98c9eab4a6b
data/README.md CHANGED
@@ -26,25 +26,27 @@ instead.
26
26
 
27
27
  ## Getting started
28
28
 
29
- In your Gemfile, for the last officially released gem for Rails 3 and 4:
29
+ Ransack is currently compatible with Rails 3.x, 4.0, 4.1 and 4.2.
30
+
31
+ In your Gemfile, for the last officially released Ransack gem:
30
32
 
31
33
  ```ruby
32
34
  gem 'ransack'
33
35
  ```
34
36
 
35
- Or if you want to use the latest updates (including Rails 4.2 compatibility):
37
+ Or, if you would like to use the latest updates:
36
38
 
37
39
  ```ruby
38
40
  gem 'ransack', github: 'activerecord-hackery/ransack'
39
41
  ```
40
42
 
41
43
  The other branches (`rails-4`, `rails-4.1`, and `rails-4.2`) were each used for
42
- running Ransack with the latest upcoming version of Rails at the time. They are
43
- lighter and somewhat faster-running because they do not have to support previous
44
- versions of Rails and Active Record. However, once support for that version of
45
- Rails is merged into Ransack master, the branches are no longer actively
46
- maintained with the latest fixes and additions to Ransack -- unless the
47
- community submits pull requests to maintain them, and you are welcome to do so!
44
+ developing and running Ransack with the latest upcoming version of Rails at the
45
+ time. They are lighter and somewhat faster-running because they do not have to
46
+ support previous versions of Rails and Active Record. Once support for that
47
+ Rails version is merged from the branch into Ransack master, the branch is no
48
+ longer actively maintained -- unless the open source community submits pull
49
+ requests to maintain them. You are welcome to do so!
48
50
 
49
51
  ## Usage
50
52
 
@@ -328,7 +330,6 @@ Here is an example that puts all this together, adapted from
328
330
  In an `Article` model, add the following `ransackable_attributes` class method
329
331
  (preferably private):
330
332
  ```ruby
331
- # article.rb
332
333
  class Article < ActiveRecord::Base
333
334
 
334
335
  private
@@ -346,7 +347,6 @@ end
346
347
  ```
347
348
  Here is example code for the `articles_controller`:
348
349
  ```ruby
349
- # articles_controller.rb
350
350
  class ArticlesController < ApplicationController
351
351
 
352
352
  def index
@@ -1,3 +1,3 @@
1
1
  module Ransack
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ransack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernie Miller