Project

fbe

0.0
A long-lived project that still receives updates
A collection of extensions for a factbase, helping the judges of Zerocracy manipulate the facts and create new ones
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

~> 0.11
~> 0.4
~> 10.0
~> 5.5
~> 0.0
~> 0.5
~> 2.0
~> 0.0
~> 0.46
~> 0.6
~> 0.3
~> 2.6
~> 0.0
~> 0.2
~> 0.1
 Project Readme

FactBase Extended (FBE)

DevOps By Rultor.com

rake PDD status Gem Version Test Coverage Yard Docs Hits-of-Code License

It's a collection of tools for zerocracy/judges-action. You are not supposed to use it directly, but only in a combination with other tools of Zerocracy.

The following tools runs a block:

  • Fbe.regularly runs a block of code every X days.
  • Fbe.conclude runs a block on every fact from a query.
  • Fbe.iterate runs a block on each repository, until it's time to stop.
  • Fbe.repeatedly runs a block of code every X hours, leaving a fact-marker in the factbase.

These tools help manage facts:

  • Fbe.fb makes an entry point to the factbase.
  • Fbe.overwrite changes a property in a fact to another value by deleting the fact first, and then creating a new similar fact with all previous properties but one changed.

They help with formatting:

  • Fbe.who formats user name.
  • Fbe.issue formats issue number.
  • Fbe.award calculates award by the bylaw.
  • Fbe.sec formats seconds.

They help with external connections:

  • Fbe.octo connects to GitHub API.

They help with management:

  • Fbe.pmp takes a PMP-related property by the area.
  • Fbe.bylaws builds a hash with bylaws.

How to contribute

Read these guidelines. Make sure your build is green before you contribute your pull request. You will need to have Ruby 3.2+ and Bundler installed. Then:

bundle update
bundle exec rake

If it's clean and you don't see any error messages, submit your pull request.