Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

ransack

Keep Ransack, the powerful Rails search and filtering engine going.
Collective - Host: opensource - https://opencollective.com/ransack - Code: https://github.com/activerecord-hackery/ransack

Travis-ci: remove extra `exclude`

github.com/activerecord-hackery/ransack - 7c62306e0e7595126e5df4e813f6af6a0d81e5da authored almost 10 years ago by jonatack <[email protected]>
Release version 1.6.3

github.com/activerecord-hackery/ransack - 4967160ace9a46fdff65d55bece3147ae66e44b5 authored almost 10 years ago by jonatack <[email protected]>
Update travis-ci to not test Rails 3.1 with Ruby 2.2.

Neither Rails 3.0 nor 3.1 are maintaining support with Ruby 2.2.

This will speed up the CI test...

github.com/activerecord-hackery/ransack - 25f0047b4e7d166f2b57e7331118bd2e826dcd11 authored almost 10 years ago by jonatack <[email protected]>
Avoid ternaries & end-of-line conditionals

to keep conditionals explicit and painful.

github.com/activerecord-hackery/ransack - c2345e4706b844872867e78d22cdeffe04c4c846 authored almost 10 years ago by jonatack <[email protected]>
Add regression spec for #496 and update changelog.

Follow-up to previous commit a3d6f2c.

github.com/activerecord-hackery/ransack - 4018ac00531b533cbe0ca4078c7933ccefbe4aeb authored almost 10 years ago by jonatack <[email protected]>
Use dot notation for attr_name and valid?, type_for adjustments

If `skills_name_cont` is passed in where skills is a embeds_many relation and name is the attrib...

github.com/activerecord-hackery/ransack - ab8bda9af8a3537301a377705e4f7f12d43cd776 authored almost 10 years ago by Penn Su <[email protected]>
Include embedded relations

github.com/activerecord-hackery/ransack - f55770f4d7a95cda2cbd1a34987bf213ff352a90 authored almost 10 years ago by Penn Su <[email protected]>
Revert ee571fe which caused a regression.

Because mutation.

Fixes #496.

Needs a test.

github.com/activerecord-hackery/ransack - a3d6f2c616dcf873716273b09e40fbec1fab1307 authored almost 10 years ago by jonatack <[email protected]>
Refactor Nodes::Condition

github.com/activerecord-hackery/ransack - 3add178bd26a73e0e18c7bed291c2ccccab08500 authored almost 10 years ago by jonatack <[email protected]>
Fix typo [skip ci]

github.com/activerecord-hackery/ransack - e22d3d18f28686eca9093d50beb21de4774c6db2 authored almost 10 years ago by jonatack <[email protected]>
Update README and change log, bump version to 1.6.2

[skip ci]

github.com/activerecord-hackery/ransack - c11f7bac1262326ad73c7e406aedcc1a81b93942 authored almost 10 years ago by jonatack <[email protected]>
:lipstick: lines over 80 chars

github.com/activerecord-hackery/ransack - ca23787dc325d7c37b4291e4c23f6986b9557b51 authored almost 10 years ago by jonatack <[email protected]>
Add test for #search_form_for with array of routes.

Follow-up to previous commit 83ce93b to address issue #494.

github.com/activerecord-hackery/ransack - b2f39920d2a568376a6ac32eeca8e0ca6b99a1a5 authored almost 10 years ago by jonatack <[email protected]>
Fix #494 regression in #search_form_for

Following which we need to add a test to cover this, and then this
logic might better be extract...

github.com/activerecord-hackery/ransack - 83ce93b0287ea4b29f669c54af216454987eac11 authored almost 10 years ago by jonatack <[email protected]>
Bump version to 1.6.1

[skip ci]

github.com/activerecord-hackery/ransack - 4b4a357a5424f783bdb186d02b65c3fc716ebd3f authored almost 10 years ago by jonatack <[email protected]>
Update change log [skip ci]

github.com/activerecord-hackery/ransack - 9568bf1b8bd344cc221020aecdfc13cbf9deadff authored almost 10 years ago by jonatack <[email protected]>
AR#pluck arrived in Rails 3.2 so use all.map instead.

github.com/activerecord-hackery/ransack - b20ebb7e59f68bb9eaa7accb6bff7cd126ea6e6a authored almost 10 years ago by jonatack <[email protected]>
Clarify Ransack#search vs #ransack [skip ci]

github.com/activerecord-hackery/ransack - e045e37f37b47e0473efba61f5ce30a9c5db84c2 authored almost 10 years ago by jonatack <[email protected]>
Follow-up to #488. Fix for #492 and #493.

This is a patch to address a regression in v1.6.0
caused by a missing test on a fix, and probabl...

github.com/activerecord-hackery/ransack - 6c59e96adaa43f4e8141352f508b84a046343591 authored almost 10 years ago by jonatack <[email protected]>
Clarify sort_link associations syntax [skip ci]

github.com/activerecord-hackery/ransack - 26d26a3ca8d230459d1f23d47eff6762537675fd authored almost 10 years ago by jonatack <[email protected]>
Default to Rails 4-2-stable in the Gemfile

github.com/activerecord-hackery/ransack - 9d56e60f98355322b9e7774b084c345ac942e34b authored almost 10 years ago by jonatack <[email protected]>
Fix last release link in the README [skip ci]

github.com/activerecord-hackery/ransack - 10ff1d0e76e918522cf7eef70e3c61af81b497a0 authored almost 10 years ago by jonatack <[email protected]>
Bump version to 1.6.0

github.com/activerecord-hackery/ransack - 33b04cfd98c9a36523e0321e5d74ca8920eba645 authored almost 10 years ago by jonatack <[email protected]>
Update README before next release [skip ci]

github.com/activerecord-hackery/ransack - 1f6663c8bf33cf3cb5f2826c448dcfbab45f6dc0 authored almost 10 years ago by jonatack <[email protected]>
Update change log for 1.6.0 release

[skip c]

github.com/activerecord-hackery/ransack - f128df2efdf4308750ee25c8a13d5c7d55a62057 authored almost 10 years ago by jonatack <[email protected]>
Add a helpful how-to link to the Contributing Guide

for new open-source contributors.

[skip ci]

github.com/activerecord-hackery/ransack - dfd15ef8b844677ca0f053c6fb7e4e43a0a6e1da authored almost 10 years ago by jonatack <[email protected]>
Remove redundant atttributes

github.com/activerecord-hackery/ransack - 4e57916281831264690780cc7f1b1018136124f2 authored about 10 years ago by jonatack <[email protected]>
Improve the Contributing Guide [skip ci]

github.com/activerecord-hackery/ransack - 97745170309f7c80a32b89524122cc1e9f46fc2a authored about 10 years ago by jonatack <[email protected]>
Update change log [skip ci]

github.com/activerecord-hackery/ransack - fdcf7fea9fcf9e8e6672af9a1459fb0be4548723 authored about 10 years ago by jonatack <[email protected]>
Stop testing Rails 3.0 with Ruby 2.2.

This will slim down the now-extensive travis
suite matrix and speed it up.

The next tests to tr...

github.com/activerecord-hackery/ransack - 15b0dd1c6a09e0207d40332138dbde5bad11e586 authored about 10 years ago by jonatack <[email protected]>
Gemfile: Require 'test-unit' only when needed.

github.com/activerecord-hackery/ransack - 73cda0da4204d8ebae670bc335e35badcf72849e authored about 10 years ago by jonatack <[email protected]>
Try to improve Rails 3.x tests working with Ruby 2.2

Not sure it’s worth it but giving it a shot, at least for Rails 3.2.

github.com/activerecord-hackery/ransack - b2821db8e5c95f4f070f1fb01180d193171c6213 authored about 10 years ago by jonatack <[email protected]>
No need for a block.

github.com/activerecord-hackery/ransack - b5517bacdb056631311d27e49b4bea53a3dbe440 authored about 10 years ago by jonatack <[email protected]>
Update FIXME comment with all the PRs [skip ci]

github.com/activerecord-hackery/ransack - f83b8b958bfb686b671ce53bc97c204d7b29b855 authored about 10 years ago by jonatack <[email protected]>
Update change log [skip ci]

github.com/activerecord-hackery/ransack - b23b873eaadb7a4a7880f61bd78500417977f5d5 authored about 10 years ago by jonatack <[email protected]>
Simplify to one in-place mutation. Follow-up to #488.

github.com/activerecord-hackery/ransack - f23463a23cc0db1d1dc8599efd89c9effabc393c authored about 10 years ago by jonatack <[email protected]>
Update README with Rails/Arel master Gemfile info

[skip ci]

github.com/activerecord-hackery/ransack - c58b736f36de54702a7144d2ba5bed6ce14fb8f9 authored about 10 years ago by jonatack <[email protected]>
Update README to #ransack instead of #search

and mention possible future deprecation of #search being
available by default.

[skip ci]

github.com/activerecord-hackery/ransack - f480795224f8d1720e5de99c402c63ea9193ab06 authored about 10 years ago by Jon Atack <[email protected]>
Use #ransack instead of #search for future deprecation

of #search default alias in Ransack 2.0 to fix reported issues of
method name conflicts with oth...

github.com/activerecord-hackery/ransack - 7d683721e02ed21ef73522ef7771b4abff8bafa3 authored about 10 years ago by Jon Atack <[email protected]>
Clarify spec description

[skip ci]

github.com/activerecord-hackery/ransack - ceefca1803514327a5cf750488f366ea9b6ba9f4 authored about 10 years ago by Jon Atack <[email protected]>
Minor change log changes [skip ci]

github.com/activerecord-hackery/ransack - 0cb8ebbfc22b53a774fc93049684af7318f7592b authored about 10 years ago by Jon Atack <[email protected]>
Specify pull request numbers in the change log

and tighten up the fix description for PRs #486 and #488.

[skip ci]

github.com/activerecord-hackery/ransack - 65b2db43f43ab6c2afddc7204c9a63a58fde5bf2 authored about 10 years ago by Jon Atack <[email protected]>
Merge pull request #488 from ideanl/master

Allow string arrays to be received for custom ransacker.

github.com/activerecord-hackery/ransack - 3e11e2b5ceb5c58e5026d005998362b7d298ac8c authored about 10 years ago by Jon Atack <[email protected]>
[472] Allow string arrays by using build_quoted for strings in arrays

github.com/activerecord-hackery/ransack - 6dc6ebde7019a6e71a102acbe3f46abda089656f authored about 10 years ago by Idean Labib <[email protected]>
Add test for issue 472 (string arrays not being received for custom ransacker)

github.com/activerecord-hackery/ransack - 2f43bd7a614ce2e3fd3bb7de9716bde4fbc052ed authored about 10 years ago by Idean Labib <[email protected]>
Merge pull request #487 from ideanl/master

Update changelog with #486 [skip ci]

github.com/activerecord-hackery/ransack - b7710a06cef2676935d8f328f058b2b634fc0246 authored about 10 years ago by Jon Atack <[email protected]>
Update changelog with #486 [skip ci]

github.com/activerecord-hackery/ransack - 49328dc66ce30244bbb482bfd63e2b346e530960 authored about 10 years ago by Idean Labib <[email protected]>
Follow up to #486: Extract to private methods, document

the reason behind this patch and add a FIX ME comment to encourage PRs
to improve it.

github.com/activerecord-hackery/ransack - c16ab7a4b32fd2be697fab9a7f51fa0d22fc3492 authored about 10 years ago by Jon Atack <[email protected]>
Merge pull request #486 from ideanl/master

[472] Allow arrays to be received for ransacker with Rails 4.2/Arel 6

github.com/activerecord-hackery/ransack - b7f14011101d9c189c5aca80fe07f1947820bac4 authored about 10 years ago by Jon Atack <[email protected]>
make tests pass by adding to if statement

github.com/activerecord-hackery/ransack - 9631f1de851c672081878c419301d65f2766116d authored about 10 years ago by Idean Labib <[email protected]>
Make test for allowing arrays to be received for custom ransacker

github.com/activerecord-hackery/ransack - f2a10b26c29dd8dce9d2daa8d7b9ae76edaf96f4 authored about 10 years ago by Idean Labib <[email protected]>
Allow arrays to be received for custom ransacker

github.com/activerecord-hackery/ransack - 02ac87672efc74a88038cd16f9bc816cfa4d7cda authored about 10 years ago by Idean Labib <[email protected]>
Travis-ci: Apparently the ruby version must be specified

for every allowed failure.

github.com/activerecord-hackery/ransack - 059310d7099af3e7f4d59a93784c1b9788751b8f authored about 10 years ago by Jon Atack <[email protected]>
Travis-ci: Only test Rails master with Ruby 2.2

and without Mongo DB for now.

github.com/activerecord-hackery/ransack - ed02996863de29aa41cdd44c0f1979287d764839 authored about 10 years ago by Jon Atack <[email protected]>
Update travis-ci with compatibility exclusions and

allowed failures.

github.com/activerecord-hackery/ransack - 0be501969c856b6ee2d2028ba648c7be77a91606 authored about 10 years ago by Jon Atack <[email protected]>
Add a required Ruby version to gemspec.

Ransack master, as well as the last couple of releases, are no longer
compatible with Ruby 1.8 d...

github.com/activerecord-hackery/ransack - 02e0505fd780eb49dcab25aeab7fb513d3ced83a authored about 10 years ago by Jon Atack <[email protected]>
Add Ruby 2.2 to travis-ci

github.com/activerecord-hackery/ransack - 6248b5181cb0fa3406e1b67dd913b2c8a5f7e591 authored about 10 years ago by Jon Atack <[email protected]>
Update Change Log [skip ci]

Quite a few updates to catch up on!

github.com/activerecord-hackery/ransack - 9b0f7ccf0189239e039e3a4c1e73b996e1859f70 authored about 10 years ago by Jon Atack <[email protected]>
Update Change Log [skip ci]

github.com/activerecord-hackery/ransack - bf367edb2191146657d88f3adef04fe7578c4113 authored about 10 years ago by Jon Atack <[email protected]>
Improve Contributing Guide [skip ci]

github.com/activerecord-hackery/ransack - 239704f47cb7a5aa419621f52c6c8435b5b856c9 authored about 10 years ago by Jon Atack <[email protected]>
SortLink PORO: Make `field` an ivar, rename things

github.com/activerecord-hackery/ransack - cc10b3a825bcfa705241166174fe3dd2b69cd51e authored about 10 years ago by Jon Atack <[email protected]>
Avoid `hash` as a variable name

Not sure using `hash` poses any risk, but the Ruby docs use `h` or
`hsh`:

http://www.ruby-doc.o...

github.com/activerecord-hackery/ransack - 846b1687ecddbe9eefa0842157bc1eff538f2dd7 authored about 10 years ago by Jon Atack <[email protected]>
Add tests & fix for sort_link `default_order` parsing

github.com/activerecord-hackery/ransack - d17ec758f18ff3548aad52879201dbcdb0692298 authored about 10 years ago by Jon Atack <[email protected]>
Update Contributing Guide

[skip ci]

github.com/activerecord-hackery/ransack - 3322f6fcfa72db117b915d9de61b716f205a095b authored about 10 years ago by Jon Atack <[email protected]>
Fix merge conflict [skip ci]

github.com/activerecord-hackery/ransack - e98385837e1cfac9b5d48cf5f554ff84a8e70616 authored about 10 years ago by Jon Atack <[email protected]>
Update README with more version information

[skip ci]

github.com/activerecord-hackery/ransack - 777b2499a2bd878194d15ca1be1b74a4c4a350cb authored about 10 years ago by Jon Atack <[email protected]>
Inject directly

github.com/activerecord-hackery/ransack - 8bb8b587830ce76b991d9dd88d445550d5f9b4f7 authored about 10 years ago by Jon Atack <[email protected]>
Cleanup

[skip ci]

github.com/activerecord-hackery/ransack - ddf83a6d3d2bbff1553af29e171614aa4292073c authored about 10 years ago by Jon Atack <[email protected]>
Remove #with_indifferent_access methods.

Tests pass without them despite using both symbol and string keys.
Maybe I’m missing something h...

github.com/activerecord-hackery/ransack - 3fdfa1eda735ea824daf57c0e21f2a0ce8b78c82 authored about 10 years ago by Jon Atack <[email protected]>
Move sorts instantiation to constructor in order

to maintain thread safety and prevent a potential race condition from
memoization.

Before this ...

github.com/activerecord-hackery/ransack - dd2679b6ab4ec2606287eabbb5dee99a9925812f authored about 10 years ago by Jon Atack <[email protected]>
Set search ivar and pass params explicitly.

github.com/activerecord-hackery/ransack - d41779a489a388643574e9b88671fa14407807ed authored about 10 years ago by Jon Atack <[email protected]>
Yay for recursion :)

Recursion is usually inefficient in Ruby, but in this case with a small
number of elements it is...

github.com/activerecord-hackery/ransack - 0783af76449cda458e535138d43237358749b614 authored about 10 years ago by Jon Atack <[email protected]>
Use Array#+ instead of in-place mutating with Array#<<

and clarify the code by extracting the parsing to a separate method.

Array#+ creates a new arra...

github.com/activerecord-hackery/ransack - 5fd42f6c7e6465bd8979b32a77b8393fd929d490 authored about 10 years ago by Jon Atack <[email protected]>
Add test for sort_link hide_indicator set to false and

improve the preceding test to be consistent with the other sort_link
tests.

github.com/activerecord-hackery/ransack - ffcbcdd8fa8fc351ca96fedd209011885a8585a8 authored about 10 years ago by Jon Atack <[email protected]>
Update README [skip ci]

github.com/activerecord-hackery/ransack - 9c0bd9954d5b6156bf9a37c1739590418fbb083b authored about 10 years ago by Jon Atack <[email protected]>
Pass a symbol as an argument instead of a block

github.com/activerecord-hackery/ransack - 602c39108a443327cad970ba7d571850e918dcd5 authored about 10 years ago by Jon Atack <[email protected]>
Encapsulate sort_link parsing into its own class and

expose only the minimum public methods needed.

github.com/activerecord-hackery/ransack - 524aed8c55dd04abb1f3b312a200fb42c55dc818 authored about 10 years ago by Jon Atack <[email protected]>
No need to pass search value here

github.com/activerecord-hackery/ransack - 0e902c8ef11f1408920dd6a63551f22f8d590092 authored about 10 years ago by Jon Atack <[email protected]>
Use #flat_map instead of flatten#map

github.com/activerecord-hackery/ransack - 40b8e92b69fac189e6ce76330458fc820047646f authored about 10 years ago by Jon Atack <[email protected]>
Handle nil in options passed to sort_link, add test.

github.com/activerecord-hackery/ransack - fcbb287839cfc96621b17086a0d16ad427df6294 authored about 10 years ago by Jon Atack <[email protected]>
Remove extra compact#join and method

github.com/activerecord-hackery/ransack - 14eaad7e1d2299ce211f65cdb5bab75124d14168 authored about 10 years ago by Jon Atack <[email protected]>
Merge pull request #482 from edatrix/master

README fix: content_tag missing do [skip ci]

github.com/activerecord-hackery/ransack - 3cb64031e13298c8cb5a3da5ae2cd6d9c0882d9b authored about 10 years ago by Jon Atack <[email protected]>
makes content_tag table block [skip ci]

github.com/activerecord-hackery/ransack - 9a799704f93dc03491d558be917e13753f4cd2ce authored about 10 years ago by edatrix <[email protected]>
Gemfile fix: Arel master only with Rails master.

github.com/activerecord-hackery/ransack - ff0327df2c21d748b43a73c3fefaeae9bc633e95 authored about 10 years ago by Jon Atack <[email protected]>
#none? should be much faster than select#empty?

∴ rake benchmarks:select_empty_versus_none
Calculating -------------------------------------
...

github.com/activerecord-hackery/ransack - 14bc1150287295f691f4cd956a02a50a683210ce authored about 10 years ago by Jon Atack <[email protected]>
#none? should be much faster than select#empty?

∴ rake benchmarks:select_empty_versus_none
Calculating -------------------------------------
...

github.com/activerecord-hackery/ransack - 76191612ad39df41f3182f801509caf30ec7312e authored about 10 years ago by Jon Atack <[email protected]>
Rails 5 / Arel 5 compatibility patch

The Arel API changed in the following commit 2 weeks ago and broke
Ransack compatibility with Ar...

github.com/activerecord-hackery/ransack - 3c56371d8fbf2026eda908ea402b6a92f77db615 authored about 10 years ago by Jon Atack <[email protected]>
Argh. Re-update README concerning de-duping.

[skip ci]

github.com/activerecord-hackery/ransack - 7961d807a992d55439b90b3270b4db23e0d89888 authored about 10 years ago by Jon Atack <[email protected]>
Update README concerning #uniq to de-dup results.

Follow-up to #477.

[skip ci]

github.com/activerecord-hackery/ransack - 8c35a87066550cf835c9c60d73f5cfd49f32321c authored about 10 years ago by Jon Atack <[email protected]>
Merge pull request #477 from timoschilling/patch-1

README: fix usage of #uniq to remove duplicate search results.

github.com/activerecord-hackery/ransack - 1d21a184735ee6bfced5a79c8a523d627786fcdf authored about 10 years ago by Jon Atack <[email protected]>
change usage of uniq in README

It doesn't make sense to call `uniq` on the array. If there are a page size of 10 with doubled r...

github.com/activerecord-hackery/ransack - 6f40f4679d6a679e949c81e1b4b237d73f062433 authored about 10 years ago by Timo Schilling <[email protected]>
#!include? ~6x faster than #none? in this use case

Benchmarks using ruby-head (2.2.0dev):

∴ ruby -v
ruby 2.2.0dev (2014-11-30 trunk 48655) [x86_64...

github.com/activerecord-hackery/ransack - 476505277f2247d902876cdfae628a8d27c6689d authored about 10 years ago by Jon Atack <[email protected]>
Code comments and formatting

github.com/activerecord-hackery/ransack - 192058e96990789608aaec20cb7042678f6e1307 authored about 10 years ago by Jon Atack <[email protected]>
Allocate fewer objects

[skip ci]

github.com/activerecord-hackery/ransack - 83c8569ab3c74e1a224946c7bdd01e0c9206bfc5 authored about 10 years ago by Jon Atack <[email protected]>
Clarify what is mutated where in #sort_link

github.com/activerecord-hackery/ransack - aec9e952e018a8072dc61de834741b7cd3840a7f authored about 10 years ago by Jon Atack <[email protected]>
Remove a stray hash mutation from #sort_link

The idea is to centralize all mutations and brittle, order-dependent
operations in the `initiali...

github.com/activerecord-hackery/ransack - 909bebf46a34ad04d19c5163b2f72c7488a51fc0 authored about 10 years ago by Jon Atack <[email protected]>
sort_fields can be a local variable instead of an ivar

github.com/activerecord-hackery/ransack - 16edfb479be6f59f28983ce7264dfec9f09f9614 authored about 10 years ago by Jon Atack <[email protected]>
Variable naming

github.com/activerecord-hackery/ransack - 47c630e285014265328318c88af1f1e92ed7daec authored about 10 years ago by Jon Atack <[email protected]>
Don't pass @options ivar needlessly

github.com/activerecord-hackery/ransack - caafc2b532d2a8f43d522693202b9db3c5069607 authored about 10 years ago by Jon Atack <[email protected]>