Categories

No matching categories were found
0.02
No commit activity in last 3 years
No release in over 3 years
Predicated is a simple predicate model for Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
0.0
No release in over 3 years
This plugin implements Flickr's machine tags as explained here[http://www.flickr.com/groups/api/discuss/72157594497877875] while still maintaining standard tagging behavior. Basically, a machine tag has a namespace, a predicate and a value in the format [namespace]:[predicate]=[value] This allows for more precise tagging as tags can have unlimited contexts provided by combinations of namespaces and predicates. These unlimited contexts also make machine tags ripe for modeling relationships between objects. Read the HasMachineTags::TagMethods class documentation for a more thorough explanation. A demo app using this plugin is here. This gem should run on all major Ruby versions and work with Rails 2.3.x and up.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Popularity
0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
Predicate provides a simple class and processors to encode and manipulate (tuple) predicates
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
0.0
No release in over 3 years
Predicateable allows you to define predicate methods (like `admin?`) based on a method that returns a Symbol. Similar to Rails enums, with optional strict checking and prefix support.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
0.0
No release in over 3 years
Finally attr_accessor? & attr_reader? with question marks for booleans/predicates!? To get started, pick one: (1) in your class/module, add `using AttrBool::Ref`, or (2) in your class/module, add `extend AttrBool::Ext`, or (3) in your app/script (not library), include `require 'attr_bool/core_ext'`. Now simply use any: [ attr_accessor?, attr_reader?, attr_writer?, attr_bool, attr_bool?, attr_bool! ]. Keywords: attr, attribute, attributes, bool, boolean, booleans, predicate, predicates
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
0.0
Repository is gone
No release in over 3 years
Adds support for .predicate? methods to MiniTest (via method_missing)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Popularity
0.0
No commit activity in last 3 years
No release in over 3 years
Parse Cappuccino Literal predicated and sort descriptors to arel expressions
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
0.0
No commit activity in last 3 years
No release in over 3 years
Simple predicate methods that make case statements better
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
0.0
No commit activity in last 3 years
No release in over 3 years
Adds automatic generation of predicate methods for attributes
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
0.17
Repository is archived
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
MetaWhere offers the ability to call any Arel predicate methods (with a few convenient aliases) on your Model's attributes instead of the ones normally offered by ActiveRecord's hash parameters. It also adds convenient syntax for order clauses, smarter mapping of nested hash conditions, and a debug_sql method to see the real SQL your code is generating without running it against the database. If you like the new AR 3.0 query interface, you'll love it with MetaWhere.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
0.0
No release in over 3 years
RConditions generates a bang method (for example, Array#empty!) for each predicate method (for example, Array#empty?). The bang method will return true if the predicate method returns true, otherwise it will throw an exception. The exception will include auto-generated modules that give information on predicate methods passed or failed in the bang method's execution.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Popularity
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Wrong provides a general assert method that takes a predicate block. Assertion failure messages are rich in detail. The Wrong idea is to replace all those countless assert_this, assert_that library methods which only exist to give a more useful failure message than "assertion failed". Wrong replaces all of them in one fell swoop, since if you can write it in Ruby, Wrong can make a sensible failure message out of it. Also provided are several helper methods, like rescuing, capturing, and d.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
0.01
No release in over 3 years
Low commit activity in last 3 years
Capybara provides excellent error messages for its built in predicate methods: has_selector?, has_text?, has_title? etc.. but when those are used from Page Objects while exposing predicate methods from the PageObjects themselves the error messages are lost and all we get is "expected true, got false". Including this module into your PageObject by adding "include CapybaraErrorIntel::DSL" after "include Capybara::DSL" will return the heuristic error messages.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
0.0
No release in over 3 years
Predicate methods for those curious about their datastructures. Provides String, Array, and Hash subclasses with dynamic predicate methods that allow you to interrogate the contents of the most common Ruby datastructures in a readable, friendly fashion. Also allows you to auto-instanciate and read inquisitive datastructures straight from your `ENV` hash.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Popularity
0.03
No commit activity in last 3 years
No release in over 3 years
Use arel predicates directly from where.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025