0.0
A long-lived project that still receives updates
Set of small and standalone utilities in Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.10.0
~> 2.2, >= 2.2.31
~> 11.1, >= 11.1.3
~> 13.0, >= 13.0.6
~> 6.0, >= 6.0.6
~> 3.10
~> 1.22, >= 1.22.3
~> 0.6.0
 Project Readme

QuickAndRuby

Gem to group utilities in ruby.

install

gem install quick_and_ruby

bins

proxy

datetime

Used to manipulate date:

  • allow to compute all increment between 2 dates.
  • allow to compute a date starting form another/now.

Usage:

datetime -o <offset> -i <incr> -f "<format>" <from>|now <to>|now

datetime -o <offset> -i <incr> -f "<format>" <from>|now

yaml2json

Convert yaml formated string, file or stdin to json format.

usage:

yaml2json file.json
# ... generates file.json

yaml2json 'msg: test'
# {
#   "msg": "test"
# }

echo 'msg: test' | yaml2json
# {
#   "msg": "test"
# }

json2yaml

Convert json formated string, file or stdin to yaml format.

usage:

json2yaml file.json
# ... generates file.yaml

json2yaml '{"msg": "test"}'
# ---
# msg: test

echo '{"msg": "test"}' | json2yaml
# ---
# msg: test