Ecosyste.ms: OpenCollective

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

github.com/activerecord-hackery/ransack

Object-based searching.
https://github.com/activerecord-hackery/ransack

Travis-ci: remove extra `exclude`

7c62306e0e7595126e5df4e813f6af6a0d81e5da authored about 10 years ago
Release version 1.6.3

4967160ace9a46fdff65d55bece3147ae66e44b5 authored about 10 years ago
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...

25f0047b4e7d166f2b57e7331118bd2e826dcd11 authored about 10 years ago
Avoid ternaries & end-of-line conditionals

to keep conditionals explicit and painful.

c2345e4706b844872867e78d22cdeffe04c4c846 authored about 10 years ago
Add regression spec for #496 and update changelog.

Follow-up to previous commit a3d6f2c.

4018ac00531b533cbe0ca4078c7933ccefbe4aeb authored about 10 years ago
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...

ab8bda9af8a3537301a377705e4f7f12d43cd776 authored about 10 years ago
Include embedded relations

f55770f4d7a95cda2cbd1a34987bf213ff352a90 authored about 10 years ago
Revert ee571fe which caused a regression.

Because mutation.

Fixes #496.

Needs a test.

a3d6f2c616dcf873716273b09e40fbec1fab1307 authored about 10 years ago
Refactor Nodes::Condition

3add178bd26a73e0e18c7bed291c2ccccab08500 authored about 10 years ago
Fix typo [skip ci]

e22d3d18f28686eca9093d50beb21de4774c6db2 authored about 10 years ago
Update README and change log, bump version to 1.6.2

[skip ci]

c11f7bac1262326ad73c7e406aedcc1a81b93942 authored about 10 years ago
:lipstick: lines over 80 chars

ca23787dc325d7c37b4291e4c23f6986b9557b51 authored about 10 years ago
Add test for #search_form_for with array of routes.

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

b2f39920d2a568376a6ac32eeca8e0ca6b99a1a5 authored about 10 years ago
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...

83ce93b0287ea4b29f669c54af216454987eac11 authored about 10 years ago
Bump version to 1.6.1

[skip ci]

4b4a357a5424f783bdb186d02b65c3fc716ebd3f authored about 10 years ago
Update change log [skip ci]

9568bf1b8bd344cc221020aecdfc13cbf9deadff authored about 10 years ago
AR#pluck arrived in Rails 3.2 so use all.map instead.

b20ebb7e59f68bb9eaa7accb6bff7cd126ea6e6a authored about 10 years ago
Clarify Ransack#search vs #ransack [skip ci]

e045e37f37b47e0473efba61f5ce30a9c5db84c2 authored about 10 years ago
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...

6c59e96adaa43f4e8141352f508b84a046343591 authored about 10 years ago
Clarify sort_link associations syntax [skip ci]

26d26a3ca8d230459d1f23d47eff6762537675fd authored about 10 years ago
Default to Rails 4-2-stable in the Gemfile

9d56e60f98355322b9e7774b084c345ac942e34b authored about 10 years ago
Fix last release link in the README [skip ci]

10ff1d0e76e918522cf7eef70e3c61af81b497a0 authored about 10 years ago
Bump version to 1.6.0

33b04cfd98c9a36523e0321e5d74ca8920eba645 authored about 10 years ago
Update README before next release [skip ci]

1f6663c8bf33cf3cb5f2826c448dcfbab45f6dc0 authored about 10 years ago
Update change log for 1.6.0 release

[skip c]

f128df2efdf4308750ee25c8a13d5c7d55a62057 authored about 10 years ago
Add a helpful how-to link to the Contributing Guide

for new open-source contributors.

[skip ci]

dfd15ef8b844677ca0f053c6fb7e4e43a0a6e1da authored about 10 years ago
Remove redundant atttributes

4e57916281831264690780cc7f1b1018136124f2 authored about 10 years ago
Improve the Contributing Guide [skip ci]

97745170309f7c80a32b89524122cc1e9f46fc2a authored about 10 years ago
Update change log [skip ci]

fdcf7fea9fcf9e8e6672af9a1459fb0be4548723 authored about 10 years ago
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...

15b0dd1c6a09e0207d40332138dbde5bad11e586 authored about 10 years ago
Gemfile: Require 'test-unit' only when needed.

73cda0da4204d8ebae670bc335e35badcf72849e authored about 10 years ago
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.

b2821db8e5c95f4f070f1fb01180d193171c6213 authored about 10 years ago
No need for a block.

b5517bacdb056631311d27e49b4bea53a3dbe440 authored about 10 years ago
Update FIXME comment with all the PRs [skip ci]

f83b8b958bfb686b671ce53bc97c204d7b29b855 authored about 10 years ago
Update change log [skip ci]

b23b873eaadb7a4a7880f61bd78500417977f5d5 authored about 10 years ago
Simplify to one in-place mutation. Follow-up to #488.

f23463a23cc0db1d1dc8599efd89c9effabc393c authored about 10 years ago
Update README with Rails/Arel master Gemfile info

[skip ci]

c58b736f36de54702a7144d2ba5bed6ce14fb8f9 authored about 10 years ago
Update README to #ransack instead of #search

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

[skip ci]

f480795224f8d1720e5de99c402c63ea9193ab06 authored about 10 years ago
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...

7d683721e02ed21ef73522ef7771b4abff8bafa3 authored about 10 years ago
Clarify spec description

[skip ci]

ceefca1803514327a5cf750488f366ea9b6ba9f4 authored about 10 years ago
Minor change log changes [skip ci]

0cb8ebbfc22b53a774fc93049684af7318f7592b authored about 10 years ago
Specify pull request numbers in the change log

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

[skip ci]

65b2db43f43ab6c2afddc7204c9a63a58fde5bf2 authored about 10 years ago
Merge pull request #488 from ideanl/master

Allow string arrays to be received for custom ransacker.

3e11e2b5ceb5c58e5026d005998362b7d298ac8c authored about 10 years ago
[472] Allow string arrays by using build_quoted for strings in arrays

6dc6ebde7019a6e71a102acbe3f46abda089656f authored about 10 years ago
Add test for issue 472 (string arrays not being received for custom ransacker)

2f43bd7a614ce2e3fd3bb7de9716bde4fbc052ed authored about 10 years ago
Merge pull request #487 from ideanl/master

Update changelog with #486 [skip ci]

b7710a06cef2676935d8f328f058b2b634fc0246 authored about 10 years ago
Update changelog with #486 [skip ci]

49328dc66ce30244bbb482bfd63e2b346e530960 authored about 10 years ago
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.

c16ab7a4b32fd2be697fab9a7f51fa0d22fc3492 authored about 10 years ago
Merge pull request #486 from ideanl/master

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

b7f14011101d9c189c5aca80fe07f1947820bac4 authored about 10 years ago
make tests pass by adding to if statement

9631f1de851c672081878c419301d65f2766116d authored about 10 years ago
Make test for allowing arrays to be received for custom ransacker

f2a10b26c29dd8dce9d2daa8d7b9ae76edaf96f4 authored about 10 years ago
Allow arrays to be received for custom ransacker

02ac87672efc74a88038cd16f9bc816cfa4d7cda authored about 10 years ago
Travis-ci: Apparently the ruby version must be specified

for every allowed failure.

059310d7099af3e7f4d59a93784c1b9788751b8f authored about 10 years ago
Travis-ci: Only test Rails master with Ruby 2.2

and without Mongo DB for now.

ed02996863de29aa41cdd44c0f1979287d764839 authored about 10 years ago
Update travis-ci with compatibility exclusions and

allowed failures.

0be501969c856b6ee2d2028ba648c7be77a91606 authored about 10 years ago
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...

02e0505fd780eb49dcab25aeab7fb513d3ced83a authored about 10 years ago
Add Ruby 2.2 to travis-ci

6248b5181cb0fa3406e1b67dd913b2c8a5f7e591 authored about 10 years ago
Update Change Log [skip ci]

Quite a few updates to catch up on!

9b0f7ccf0189239e039e3a4c1e73b996e1859f70 authored about 10 years ago
Update Change Log [skip ci]

bf367edb2191146657d88f3adef04fe7578c4113 authored about 10 years ago
Revert 846b168

67a605a0e25c570aa63f2124798d8c10bdd7d139 authored about 10 years ago
Improve Contributing Guide [skip ci]

239704f47cb7a5aa419621f52c6c8435b5b856c9 authored about 10 years ago
SortLink PORO: Make `field` an ivar, rename things

cc10b3a825bcfa705241166174fe3dd2b69cd51e authored about 10 years ago
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...

846b1687ecddbe9eefa0842157bc1eff538f2dd7 authored about 10 years ago
Add tests & fix for sort_link `default_order` parsing

d17ec758f18ff3548aad52879201dbcdb0692298 authored about 10 years ago
Update Contributing Guide

[skip ci]

3322f6fcfa72db117b915d9de61b716f205a095b authored about 10 years ago
Fix merge conflict [skip ci]

e98385837e1cfac9b5d48cf5f554ff84a8e70616 authored about 10 years ago
Update README with more version information

[skip ci]

777b2499a2bd878194d15ca1be1b74a4c4a350cb authored about 10 years ago
Inject directly

8bb8b587830ce76b991d9dd88d445550d5f9b4f7 authored about 10 years ago
Cleanup

[skip ci]

ddf83a6d3d2bbff1553af29e171614aa4292073c authored about 10 years ago
Remove #with_indifferent_access methods.

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

3fdfa1eda735ea824daf57c0e21f2a0ce8b78c82 authored about 10 years ago
Move sorts instantiation to constructor in order

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

Before this ...

dd2679b6ab4ec2606287eabbb5dee99a9925812f authored about 10 years ago
Set search ivar and pass params explicitly.

d41779a489a388643574e9b88671fa14407807ed authored about 10 years ago
Yay for recursion :)

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

0783af76449cda458e535138d43237358749b614 authored about 10 years ago
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...

5fd42f6c7e6465bd8979b32a77b8393fd929d490 authored about 10 years ago
Add test for sort_link hide_indicator set to false and

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

ffcbcdd8fa8fc351ca96fedd209011885a8585a8 authored about 10 years ago
Update README [skip ci]

9c0bd9954d5b6156bf9a37c1739590418fbb083b authored about 10 years ago
Pass a symbol as an argument instead of a block

602c39108a443327cad970ba7d571850e918dcd5 authored about 10 years ago
Encapsulate sort_link parsing into its own class and

expose only the minimum public methods needed.

524aed8c55dd04abb1f3b312a200fb42c55dc818 authored about 10 years ago
No need to pass search value here

0e902c8ef11f1408920dd6a63551f22f8d590092 authored about 10 years ago
Use #flat_map instead of flatten#map

40b8e92b69fac189e6ce76330458fc820047646f authored about 10 years ago
Handle nil in options passed to sort_link, add test.

fcbb287839cfc96621b17086a0d16ad427df6294 authored about 10 years ago
Remove extra compact#join and method

14eaad7e1d2299ce211f65cdb5bab75124d14168 authored about 10 years ago
Merge pull request #482 from edatrix/master

README fix: content_tag missing do [skip ci]

3cb64031e13298c8cb5a3da5ae2cd6d9c0882d9b authored about 10 years ago
makes content_tag table block [skip ci]

9a799704f93dc03491d558be917e13753f4cd2ce authored about 10 years ago
Gemfile fix: Arel master only with Rails master.

ff0327df2c21d748b43a73c3fefaeae9bc633e95 authored about 10 years ago
#none? should be much faster than select#empty?

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

14bc1150287295f691f4cd956a02a50a683210ce authored about 10 years ago
#none? should be much faster than select#empty?

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

76191612ad39df41f3182f801509caf30ec7312e authored about 10 years ago
Rails 5 / Arel 5 compatibility patch

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

3c56371d8fbf2026eda908ea402b6a92f77db615 authored about 10 years ago
Argh. Re-update README concerning de-duping.

[skip ci]

7961d807a992d55439b90b3270b4db23e0d89888 authored about 10 years ago
Update README concerning #uniq to de-dup results.

Follow-up to #477.

[skip ci]

8c35a87066550cf835c9c60d73f5cfd49f32321c authored about 10 years ago
Merge pull request #477 from timoschilling/patch-1

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

1d21a184735ee6bfced5a79c8a523d627786fcdf authored about 10 years ago
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...

6f40f4679d6a679e949c81e1b4b237d73f062433 authored about 10 years ago
#!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...

476505277f2247d902876cdfae628a8d27c6689d authored about 10 years ago
Code comments and formatting

192058e96990789608aaec20cb7042678f6e1307 authored about 10 years ago
Allocate fewer objects

[skip ci]

83c8569ab3c74e1a224946c7bdd01e0c9206bfc5 authored about 10 years ago
Clarify what is mutated where in #sort_link

aec9e952e018a8072dc61de834741b7cd3840a7f authored about 10 years ago
Remove a stray hash mutation from #sort_link

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

909bebf46a34ad04d19c5163b2f72c7488a51fc0 authored about 10 years ago
sort_fields can be a local variable instead of an ivar

16edfb479be6f59f28983ce7264dfec9f09f9614 authored about 10 years ago
Variable naming

47c630e285014265328318c88af1f1e92ed7daec authored about 10 years ago
Don't pass @options ivar needlessly

caafc2b532d2a8f43d522693202b9db3c5069607 authored about 10 years ago