ree_lib 1.0.103 → 1.0.104
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/ree_lib/version.rb +1 -1
- metadata +2 -280
- data/lib/ree_lib/packages/ree_array/schemas/ree_array/functions/group_by.schema.json +0 -33
- data/lib/ree_lib/packages/ree_array/schemas/ree_array/functions/in_groups.schema.json +0 -43
- data/lib/ree_lib/packages/ree_array/schemas/ree_array/functions/in_groups_of.schema.json +0 -43
- data/lib/ree_lib/packages/ree_array/schemas/ree_array/functions/index_by.schema.json +0 -33
- data/lib/ree_lib/packages/ree_array/schemas/ree_array/functions/split_by.schema.json +0 -38
- data/lib/ree_lib/packages/ree_array/schemas/ree_array/functions/wrap.schema.json +0 -28
- data/lib/ree_lib/packages/ree_dao/schemas/ree_dao/beans/connections.schema.json +0 -15
- data/lib/ree_lib/packages/ree_dao/schemas/ree_dao/functions/agg.schema.json +0 -43
- data/lib/ree_lib/packages/ree_dao/schemas/ree_dao/functions/agg_contract_for.schema.json +0 -28
- data/lib/ree_lib/packages/ree_dao/schemas/ree_dao/functions/build_connection.schema.json +0 -40
- data/lib/ree_lib/packages/ree_dao/schemas/ree_dao/functions/build_dao.schema.json +0 -43
- data/lib/ree_lib/packages/ree_dao/schemas/ree_dao/functions/build_pg_connection.schema.json +0 -40
- data/lib/ree_lib/packages/ree_dao/schemas/ree_dao/functions/build_sqlite_connection.schema.json +0 -40
- data/lib/ree_lib/packages/ree_dao/schemas/ree_dao/functions/one_to_many.schema.json +0 -61
- data/lib/ree_lib/packages/ree_dao/schemas/ree_dao/functions/one_to_one.schema.json +0 -61
- data/lib/ree_lib/packages/ree_dao/schemas/ree_dao/functions/persist_assoc.schema.json +0 -53
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/advance.schema.json +0 -33
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/all_month.schema.json +0 -51
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/all_quarter.schema.json +0 -51
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/all_week.schema.json +0 -56
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/all_year.schema.json +0 -51
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/beginning_of_month.schema.json +0 -43
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/beginning_of_quarter.schema.json +0 -51
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/beginning_of_week.schema.json +0 -56
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/beginning_of_year.schema.json +0 -51
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/change.schema.json +0 -33
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/days_ago.schema.json +0 -48
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/days_in_month.schema.json +0 -40
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/days_since.schema.json +0 -48
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/days_to_week_start.schema.json +0 -40
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/end_of_month.schema.json +0 -51
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/end_of_quarter.schema.json +0 -51
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/end_of_week.schema.json +0 -56
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/end_of_year.schema.json +0 -51
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/friday.schema.json +0 -51
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/is_after.schema.json +0 -33
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/is_before.schema.json +0 -33
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/is_week_day.schema.json +0 -35
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/is_weekend.schema.json +0 -35
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/monday.schema.json +0 -43
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/months_ago.schema.json +0 -48
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/months_since.schema.json +0 -48
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/next_day.schema.json +0 -43
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/next_month.schema.json +0 -43
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/next_occurring.schema.json +0 -64
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/next_quarter.schema.json +0 -43
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/next_week.schema.json +0 -43
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/next_year.schema.json +0 -43
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/parse.schema.json +0 -28
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_day.schema.json +0 -43
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_month.schema.json +0 -43
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_occurring.schema.json +0 -64
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_quarter.schema.json +0 -43
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_week.schema.json +0 -43
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/prev_year.schema.json +0 -43
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/quarters_ago.schema.json +0 -48
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/quarters_since.schema.json +0 -48
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/saturday.schema.json +0 -51
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/sunday.schema.json +0 -43
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/thursday.schema.json +0 -51
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/today.schema.json +0 -24
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/tomorrow.schema.json +0 -43
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/tuesday.schema.json +0 -51
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/wednesday.schema.json +0 -51
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/weeks_ago.schema.json +0 -48
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/weeks_since.schema.json +0 -48
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/years_ago.schema.json +0 -48
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/years_since.schema.json +0 -48
- data/lib/ree_lib/packages/ree_date/schemas/ree_date/functions/yesterday.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/advance.schema.json +0 -64
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/all_day.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/all_hour.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/all_minute.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/all_month.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/all_quarter.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/all_week.schema.json +0 -56
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/all_year.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_day.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_hour.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_minute.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_month.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_quarter.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_week.schema.json +0 -64
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_year.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/change.schema.json +0 -33
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/days_ago.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/days_diff.schema.json +0 -53
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/days_since.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/distance_of_time_in_words.schema.json +0 -45
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/end_of_day.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/end_of_hour.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/end_of_minute.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/end_of_month.schema.json +0 -59
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/end_of_quarter.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/end_of_week.schema.json +0 -64
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/end_of_year.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/find_human_time_zones_by_offset.schema.json +0 -35
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/find_time_zones_by_offset.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/find_tzinfo.schema.json +0 -28
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/friday.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/general_diff.schema.json +0 -109
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/get_default_time_zone.schema.json +0 -24
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/get_default_tz_info.schema.json +0 -39
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_ago.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_diff.schema.json +0 -53
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/hours_since.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/human_zone_offset.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/in_default_time_zone.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/in_time_zone.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/is_after.schema.json +0 -33
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/is_before.schema.json +0 -33
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/is_week_day.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/is_weekend.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_ago.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_diff.schema.json +0 -53
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/minutes_since.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/monday.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/months_ago.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/months_diff.schema.json +0 -53
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/months_since.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_day.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_hour.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_month.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_occurring.schema.json +0 -56
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_quarter.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_week.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/next_year.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/now.schema.json +0 -39
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/offset_to_string.schema.json +0 -28
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/parse.schema.json +0 -28
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/prev_day.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/prev_hour.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/prev_month.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/prev_occurring.schema.json +0 -56
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/prev_quarter.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/prev_week.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/prev_year.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/quarters_ago.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/quarters_since.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/saturday.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_ago.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_diff.schema.json +0 -45
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/seconds_since.schema.json +0 -33
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/set_default_time_zone.schema.json +0 -35
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/sunday.schema.json +0 -59
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/thursday.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/time_ago_in_words.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/tomorrow.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/tuesday.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/wednesday.schema.json +0 -51
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/weeks_ago.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/weeks_diff.schema.json +0 -53
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/weeks_since.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_ago.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_diff.schema.json +0 -53
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/years_since.schema.json +0 -48
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/yesterday.schema.json +0 -43
- data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/zone_offset.schema.json +0 -43
- data/lib/ree_lib/packages/ree_errors/schemas/ree_errors/auth_error.schema.json +0 -45
- data/lib/ree_lib/packages/ree_errors/schemas/ree_errors/build_error.schema.json +0 -48
- data/lib/ree_lib/packages/ree_errors/schemas/ree_errors/conflict_error.schema.json +0 -45
- data/lib/ree_lib/packages/ree_errors/schemas/ree_errors/invalid_param_error.schema.json +0 -45
- data/lib/ree_lib/packages/ree_errors/schemas/ree_errors/not_found_error.schema.json +0 -45
- data/lib/ree_lib/packages/ree_errors/schemas/ree_errors/payment_required_error.schema.json +0 -45
- data/lib/ree_lib/packages/ree_errors/schemas/ree_errors/permission_error.schema.json +0 -45
- data/lib/ree_lib/packages/ree_errors/schemas/ree_errors/validation_error.schema.json +0 -45
- data/lib/ree_lib/packages/ree_hash/schemas/ree_hash/functions/build_filter_keys.schema.json +0 -28
- data/lib/ree_lib/packages/ree_hash/schemas/ree_hash/functions/except.schema.json +0 -45
- data/lib/ree_lib/packages/ree_hash/schemas/ree_hash/functions/merge.schema.json +0 -43
- data/lib/ree_lib/packages/ree_hash/schemas/ree_hash/functions/slice.schema.json +0 -46
- data/lib/ree_lib/packages/ree_hash/schemas/ree_hash/functions/stringify_keys.schema.json +0 -35
- data/lib/ree_lib/packages/ree_hash/schemas/ree_hash/functions/symbolize_keys.schema.json +0 -35
- data/lib/ree_lib/packages/ree_hash/schemas/ree_hash/functions/transform_keys.schema.json +0 -38
- data/lib/ree_lib/packages/ree_hash/schemas/ree_hash/functions/transform_values.schema.json +0 -38
- data/lib/ree_lib/packages/ree_http/schemas/ree_http/functions/build_request.schema.json +0 -53
- data/lib/ree_lib/packages/ree_http/schemas/ree_http/functions/build_request_executor.schema.json +0 -33
- data/lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json +0 -62
- data/lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_delete.schema.json +0 -45
- data/lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_exec.schema.json +0 -66
- data/lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_get.schema.json +0 -45
- data/lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_head.schema.json +0 -45
- data/lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_options.schema.json +0 -45
- data/lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_patch.schema.json +0 -45
- data/lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_post.schema.json +0 -45
- data/lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_put.schema.json +0 -45
- data/lib/ree_lib/packages/ree_i18n/schemas/ree_i18n/functions/add_load_path.schema.json +0 -35
- data/lib/ree_lib/packages/ree_i18n/schemas/ree_i18n/functions/check_locale_exists.schema.json +0 -33
- data/lib/ree_lib/packages/ree_i18n/schemas/ree_i18n/functions/get_default_locale.schema.json +0 -24
- data/lib/ree_lib/packages/ree_i18n/schemas/ree_i18n/functions/get_locale.schema.json +0 -24
- data/lib/ree_lib/packages/ree_i18n/schemas/ree_i18n/functions/set_default_locale.schema.json +0 -28
- data/lib/ree_lib/packages/ree_i18n/schemas/ree_i18n/functions/set_locale.schema.json +0 -28
- data/lib/ree_lib/packages/ree_i18n/schemas/ree_i18n/functions/t.schema.json +0 -51
- data/lib/ree_lib/packages/ree_i18n/schemas/ree_i18n/functions/with_locale.schema.json +0 -33
- data/lib/ree_lib/packages/ree_json/schemas/ree_json/functions/from_json.schema.json +0 -33
- data/lib/ree_lib/packages/ree_json/schemas/ree_json/functions/to_json.schema.json +0 -34
- data/lib/ree_lib/packages/ree_logger/schemas/ree_logger/beans/logger.schema.json +0 -46
- data/lib/ree_lib/packages/ree_logger/schemas/ree_logger/config.schema.json +0 -38
- data/lib/ree_lib/packages/ree_logger/schemas/ree_logger/formatters/colorized_formatter.schema.json +0 -30
- data/lib/ree_lib/packages/ree_logger/schemas/ree_logger/formatters/default_formatter.schema.json +0 -30
- data/lib/ree_lib/packages/ree_logger/schemas/ree_logger/functions/build_logger.schema.json +0 -43
- data/lib/ree_lib/packages/ree_mapper/schemas/ree_mapper/default_factory.schema.json +0 -30
- data/lib/ree_lib/packages/ree_mapper/schemas/ree_mapper/functions/build_mapper_factory.schema.json +0 -28
- data/lib/ree_lib/packages/ree_mapper/schemas/ree_mapper/functions/build_mapper_strategy.schema.json +0 -38
- data/lib/ree_lib/packages/ree_migrator/schemas/ree_migrator/functions/apply_migration.schema.json +0 -53
- data/lib/ree_lib/packages/ree_migrator/schemas/ree_migrator/functions/apply_migrations.schema.json +0 -75
- data/lib/ree_lib/packages/ree_migrator/schemas/ree_migrator/functions/create_migrations_table.schema.json +0 -28
- data/lib/ree_lib/packages/ree_migrator/schemas/ree_migrator/functions/migrate_db.schema.json +0 -56
- data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/digit_count.schema.json +0 -28
- data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_currency.schema.json +0 -56
- data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_delimited.schema.json +0 -33
- data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_human.schema.json +0 -72
- data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_human_size.schema.json +0 -64
- data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json +0 -40
- data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_percentage.schema.json +0 -48
- data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_phone.schema.json +0 -33
- data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_rounded.schema.json +0 -64
- data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json +0 -40
- data/lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json +0 -33
- data/lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_freeze.schema.json +0 -28
- data/lib/ree_lib/packages/ree_object/schemas/ree_object/functions/dump_as_json.schema.json +0 -28
- data/lib/ree_lib/packages/ree_object/schemas/ree_object/functions/is_blank.schema.json +0 -28
- data/lib/ree_lib/packages/ree_object/schemas/ree_object/functions/load_json_dump.schema.json +0 -28
- data/lib/ree_lib/packages/ree_object/schemas/ree_object/functions/not_blank.schema.json +0 -35
- data/lib/ree_lib/packages/ree_object/schemas/ree_object/functions/to_hash.schema.json +0 -28
- data/lib/ree_lib/packages/ree_object/schemas/ree_object/functions/to_obj.schema.json +0 -56
- data/lib/ree_lib/packages/ree_roda/schemas/ree_roda/services/build_route_errors.schema.json +0 -28
- data/lib/ree_lib/packages/ree_roda/schemas/ree_roda/services/build_routing_tree.schema.json +0 -28
- data/lib/ree_lib/packages/ree_roda/schemas/ree_roda/services/build_swagger_from_routes.schema.json +0 -63
- data/lib/ree_lib/packages/ree_roda/schemas/ree_roda/services/status_from_error.schema.json +0 -28
- data/lib/ree_lib/packages/ree_std/schemas/ree_std/functions/retry_on_fail.schema.json +0 -38
- data/lib/ree_lib/packages/ree_string/schemas/ree_string/functions/acronyms_camelize_regex.schema.json +0 -28
- data/lib/ree_lib/packages/ree_string/schemas/ree_string/functions/acronyms_underscore_regex.schema.json +0 -28
- data/lib/ree_lib/packages/ree_string/schemas/ree_string/functions/camelize.schema.json +0 -40
- data/lib/ree_lib/packages/ree_string/schemas/ree_string/functions/dasherize.schema.json +0 -28
- data/lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json +0 -28
- data/lib/ree_lib/packages/ree_string/schemas/ree_string/functions/demodulize.schema.json +0 -28
- data/lib/ree_lib/packages/ree_string/schemas/ree_string/functions/indent.schema.json +0 -38
- data/lib/ree_lib/packages/ree_string/schemas/ree_string/functions/pluralize.schema.json +0 -38
- data/lib/ree_lib/packages/ree_string/schemas/ree_string/functions/remove.schema.json +0 -33
- data/lib/ree_lib/packages/ree_string/schemas/ree_string/functions/squish.schema.json +0 -28
- data/lib/ree_lib/packages/ree_string/schemas/ree_string/functions/strip_heredoc.schema.json +0 -28
- data/lib/ree_lib/packages/ree_string/schemas/ree_string/functions/truncate.schema.json +0 -38
- data/lib/ree_lib/packages/ree_string/schemas/ree_string/functions/truncate_bytes.schema.json +0 -38
- data/lib/ree_lib/packages/ree_string/schemas/ree_string/functions/truncate_words.schema.json +0 -38
- data/lib/ree_lib/packages/ree_string/schemas/ree_string/functions/underscore.schema.json +0 -40
- data/lib/ree_lib/packages/ree_string/schemas/ree_string/functions/upcase_first.schema.json +0 -28
- data/lib/ree_lib/packages/ree_swagger/schemas/ree_swagger/beans/type_definitions_repo.schema.json +0 -15
- data/lib/ree_lib/packages/ree_swagger/schemas/ree_swagger/functions/build_endpoint_schema.schema.json +0 -59
- data/lib/ree_lib/packages/ree_swagger/schemas/ree_swagger/functions/build_parameters.schema.json +0 -61
- data/lib/ree_lib/packages/ree_swagger/schemas/ree_swagger/functions/build_request_body_schema.schema.json +0 -45
- data/lib/ree_lib/packages/ree_swagger/schemas/ree_swagger/functions/build_schema.schema.json +0 -55
- data/lib/ree_lib/packages/ree_swagger/schemas/ree_swagger/functions/build_serializer_schema.schema.json +0 -40
- data/lib/ree_lib/packages/ree_swagger/schemas/ree_swagger/functions/get_caster_definition.schema.json +0 -40
- data/lib/ree_lib/packages/ree_swagger/schemas/ree_swagger/functions/get_mime_type.schema.json +0 -28
- data/lib/ree_lib/packages/ree_swagger/schemas/ree_swagger/functions/get_serializer_definition.schema.json +0 -40
- data/lib/ree_lib/packages/ree_swagger/schemas/ree_swagger/functions/register_type.schema.json +0 -45
- data/lib/ree_lib/packages/ree_text/schemas/ree_text/functions/escape_html.schema.json +0 -28
- data/lib/ree_lib/packages/ree_text/schemas/ree_text/functions/escape_javascript.schema.json +0 -35
- data/lib/ree_lib/packages/ree_text/schemas/ree_text/functions/excerpt.schema.json +0 -45
- data/lib/ree_lib/packages/ree_text/schemas/ree_text/functions/highlight.schema.json +0 -50
- data/lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json +0 -40
- data/lib/ree_lib/packages/ree_text/schemas/ree_text/functions/sanitize_css.schema.json +0 -28
- data/lib/ree_lib/packages/ree_text/schemas/ree_text/functions/sanitize_html.schema.json +0 -38
- data/lib/ree_lib/packages/ree_text/schemas/ree_text/functions/simple_format.schema.json +0 -56
- data/lib/ree_lib/packages/ree_text/schemas/ree_text/functions/strip_links.schema.json +0 -28
- data/lib/ree_lib/packages/ree_text/schemas/ree_text/functions/strip_tags.schema.json +0 -35
- data/lib/ree_lib/packages/ree_text/schemas/ree_text/functions/to_sentence.schema.json +0 -61
- data/lib/ree_lib/packages/ree_text/schemas/ree_text/functions/unescape_html.schema.json +0 -28
- data/lib/ree_lib/packages/ree_text/schemas/ree_text/functions/word_wrap.schema.json +0 -33
- data/lib/ree_lib/packages/ree_validator/schemas/ree_validator/functions/validate_email.schema.json +0 -40
- data/lib/ree_lib/packages/ree_validator/schemas/ree_validator/functions/validate_exclusion.schema.json +0 -45
- data/lib/ree_lib/packages/ree_validator/schemas/ree_validator/functions/validate_inclusion.schema.json +0 -45
- data/lib/ree_lib/packages/ree_validator/schemas/ree_validator/functions/validate_length.schema.json +0 -45
- data/lib/ree_lib/packages/ree_validator/schemas/ree_validator/functions/validate_paging.schema.json +0 -60
- data/lib/ree_lib/packages/ree_validator/schemas/ree_validator/functions/validate_password.schema.json +0 -53
- data/lib/ree_lib/packages/ree_validator/schemas/ree_validator/functions/validate_presence.schema.json +0 -48
- data/lib/ree_lib/packages/ree_validator/schemas/ree_validator/functions/validate_regexp.schema.json +0 -45
- data/lib/ree_lib/packages/ree_validator/schemas/ree_validator/functions/validate_url.schema.json +0 -45
data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_currency.schema.json
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "number_to_currency",
|
5
|
-
"path": "packages/ree_number/package/ree_number/functions/number_to_currency.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeNumber::NumberToCurrency",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Converts Integer, Float or String to a String with currency sign and delimiters.\n number_to_currency(1234567890.506)\n # => \"$1,234,567,890.51\"\n\n number_to_currency(-1234567890.50)\n # => \"-$1,234,567,890.50\"\n\n number_to_currency(1234567890.50, unit: \"£\")\n # => \"£1,234,567,890.50\"\n \n number_to_currency(1234567890.50, unit: \"£\", separator: \",\", delimiter: \"\")\n # => \"£1234567890,50\"",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "number",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Or[Integer, Float, String]"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "opts",
|
24
|
-
"arg_type": "keyrest",
|
25
|
-
"type": "Ksplat[:format? => String, :precision? => Integer, :unit? => String, :negative_format? => String, :separator? => String, :delimiter? => String, :significant? => Bool, :strip_insignificant_zeros? => Bool, :round_mode? => Or[up, down, truncate, half_up, default, half_down, half_even, banker, ceiling, floor]]"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
{
|
32
|
-
"target": "number_to_delimited",
|
33
|
-
"package_name": "ree_number",
|
34
|
-
"as": "number_to_delimited",
|
35
|
-
"imports": [
|
36
|
-
|
37
|
-
]
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"target": "number_to_rounded",
|
41
|
-
"package_name": "ree_number",
|
42
|
-
"as": "number_to_rounded",
|
43
|
-
"imports": [
|
44
|
-
"ROUND_MODES"
|
45
|
-
]
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"target": "slice",
|
49
|
-
"package_name": "ree_hash",
|
50
|
-
"as": "slice",
|
51
|
-
"imports": [
|
52
|
-
|
53
|
-
]
|
54
|
-
}
|
55
|
-
]
|
56
|
-
}
|
data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_delimited.schema.json
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "number_to_delimited",
|
5
|
-
"path": "packages/ree_number/package/ree_number/functions/number_to_delimited.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeNumber::NumberToDelimited",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Converts Integer, Float or String to a String with delimiter.\n\nnumber_to_delimited(12345678)\n# => \"12,345,678\"\n\nnumber_to_delimited(123456.789)\n# => \"123,456.789\"\n\nnumber_to_delimited(123456.78, pattern: /(d+?)(?=(dd)+(d)(?!d))/))\n# => \"1,23,456.78\"",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "number",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Or[Integer, Float, String]"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "opts",
|
24
|
-
"arg_type": "keyrest",
|
25
|
-
"type": "Ksplat[:separator? => String, :delimiter? => String, :pattern? => Regexp]"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
|
32
|
-
]
|
33
|
-
}
|
data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_human.schema.json
DELETED
@@ -1,72 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "number_to_human",
|
5
|
-
"path": "packages/ree_number/package/ree_number/functions/number_to_human.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeNumber::NumberToHuman",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Pretty prints (formats and approximates) a number in a way it\nis more readable by humans (e.g.: 1200000000 becomes \"1.2\nBillion\"). This is useful for numbers that can get very large\n(and too hard to read).\n\nSee <tt>number_to_human_size</tt> if you want to print a file\nsize.\n\nYou can also define your own unit-quantifier names if you want\nto use other decimal units (e.g.: 1500 becomes \"1.5\nkilometers\", 0.150 becomes \"150 milliliters\", etc). You may\ndefine a wide range of unit quantifiers, even fractional ones\n(centi, deci, mili, etc).\n\n==== Options\n* <tt>:locale</tt> - Sets the locale to be used for formatting\n (defaults to current locale).\n* <tt>:precision</tt> - Sets the precision of the number\n (defaults to 3).\n* <tt>:significant</tt> - If +true+, precision will be the number\n of significant_digits. If +false+, the number of fractional\n digits (defaults to +true+)\n* <tt>:round_mode</tt> - Determine how rounding is performed\n (defaults to :default. See BigDecimal::mode)\n* <tt>:separator</tt> - Sets the separator between the\n fractional and integer digits (defaults to \".\").\n* <tt>:delimiter</tt> - Sets the thousands delimiter (defaults\n to \"\").\n* <tt>:strip_insignificant_zeros</tt> - If +true+ removes\n insignificant zeros after the decimal separator (defaults to\n +true+)\n* <tt>:units</tt> - A Hash of unit quantifier names. Or a\n string containing an i18n scope where to find this hash. It\n might have the following keys:\n * *integers*: <tt>:unit</tt>, <tt>:ten</tt>,\n <tt>:hundred</tt>, <tt>:thousand</tt>, <tt>:million</tt>,\n <tt>:billion</tt>, <tt>:trillion</tt>,\n <tt>:quadrillion</tt>\n * *fractionals*: <tt>:deci</tt>, <tt>:centi</tt>,\n <tt>:mili</tt>, <tt>:micro</tt>, <tt>:nano</tt>,\n <tt>:pico</tt>, <tt>:femto</tt>\n* <tt>:format</tt> - Sets the format of the output string\n (defaults to \"%n %u\"). The field types are:\n * %u - The quantifier (ex.: 'thousand')\n * %n - The number\n==== Examples\n number_to_human(123)\n # => \"123\"\n\n number_to_human(1234)\n # => \"1.23 Thousand\"\n\n number_to_human(12345)\n # => \"12.3 Thousand\"\n\n number_to_human(1234567)\n # => \"1.23 Million\"\n\n number_to_human(1234567890)\n # => \"1.23 Billion\"\n\n number_to_human(1234567890123)\n # => \"1.23 Trillion\"\n\n number_to_human(1234567890123456)\n # => \"1.23 Quadrillion\"\n\n number_to_human(1234567890123456789)\n # => \"1230 Quadrillion\"\n\n number_to_human(489939, precision: 2)\n # => \"490 Thousand\"\n\n number_to_human(489939, precision: 4)\n # => \"489.9 Thousand\"\n\n number_to_human(1234567, precision: 4, significant: false)\n # => \"1.2346 Million\"\n\n number_to_human(1234567, precision: 1, separator: ',', significant: false)\n # => \"1,2 Million\"\n\n number_to_human(500000000, precision: 5)\n # => \"500 Million\"\n\n number_to_human(12345012345, significant: false)\n # => \"12.345 Billion\"\n\nNon-significant zeros after the decimal separator are stripped\nout by default (set <tt>:strip_insignificant_zeros</tt> to\n+false+ to change that):\n\nnumber_to_human(12.00001)\n# => \"12\"\n\nnumber_to_human(12.00001, strip_insignificant_zeros: false)\n# => \"12.0\"",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "number",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Or[Integer, Float, String]"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "opts",
|
24
|
-
"arg_type": "keyrest",
|
25
|
-
"type": "Ksplat[:units? => String, :locale? => Symbol, :format? => String, :precision? => Integer, :significant? => Bool, :strip_insignificant_zeros? => Bool, :separator? => String, :delimiter? => String, :round_mode? => Or[up, down, truncate, half_up, default, half_down, half_even, banker, ceiling, floor]]"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
{
|
32
|
-
"target": "number_to_delimited",
|
33
|
-
"package_name": "ree_number",
|
34
|
-
"as": "number_to_delimited",
|
35
|
-
"imports": [
|
36
|
-
|
37
|
-
]
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"target": "number_to_rounded",
|
41
|
-
"package_name": "ree_number",
|
42
|
-
"as": "number_to_rounded",
|
43
|
-
"imports": [
|
44
|
-
|
45
|
-
]
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"target": "round_helper",
|
49
|
-
"package_name": "ree_number",
|
50
|
-
"as": "round_helper",
|
51
|
-
"imports": [
|
52
|
-
"ROUND_MODES"
|
53
|
-
]
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"target": "slice",
|
57
|
-
"package_name": "ree_hash",
|
58
|
-
"as": "slice",
|
59
|
-
"imports": [
|
60
|
-
|
61
|
-
]
|
62
|
-
},
|
63
|
-
{
|
64
|
-
"target": "t",
|
65
|
-
"package_name": "ree_i18n",
|
66
|
-
"as": "t",
|
67
|
-
"imports": [
|
68
|
-
|
69
|
-
]
|
70
|
-
}
|
71
|
-
]
|
72
|
-
}
|
data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_human_size.schema.json
DELETED
@@ -1,64 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "number_to_human_size",
|
5
|
-
"path": "packages/ree_number/package/ree_number/functions/number_to_human_size.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeNumber::NumberToHumanSize",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Formats the bytes in +number+ into a more understandable\nrepresentation (e.g., giving it 1500 yields 1.46 KB). This\nmethod is useful for reporting file sizes to users. You can\ncustomize the format in the +options+ hash.\n\nSee <tt>number_to_human</tt> if you want to pretty-print a\ngeneric number.\n\n==== Options\n\n* <tt>:locale</tt> - Sets the locale to be used for formatting\n (defaults to current locale).\n* <tt>:precision</tt> - Sets the precision of the number\n (defaults to 3).\n* <tt>:round_mode</tt> - Determine how rounding is performed\n (defaults to :default. See BigDecimal::mode)\n* <tt>:significant</tt> - If +true+, precision will be the number\n of significant_digits. If +false+, the number of fractional\n digits (defaults to +true+)\n* <tt>:separator</tt> - Sets the separator between the\n fractional and integer digits (defaults to \".\").\n* <tt>:delimiter</tt> - Sets the thousands delimiter (defaults\n to \"\").\n* <tt>:strip_insignificant_zeros</tt> - If +true+ removes\n insignificant zeros after the decimal separator (defaults to\n +true+)\n==== Examples\n number_to_human_size(123)\n # => \"123 Bytes\"\n\n number_to_human_size(1234)\n # => \"1.21 KB\"\n\n number_to_human_size(12345)\n # => \"12.1 KB\"\n\n number_to_human_size(1234567)\n # => \"1.18 MB\"\n\n number_to_human_size(1234567890)\n # => \"1.15 GB\"\n\n number_to_human_size(1234567890123)\n # => \"1.12 TB\"\n\n number_to_human_size(1234567890123456)\n # => \"1.1 PB\"\n\n number_to_human_size(1234567890123456789)\n # => \"1.07 EB\"\n\n number_to_human_size(1234567, precision: 2)\n # => \"1.2 MB\"\n\n number_to_human_size(483989, precision: 2)\n # => \"470 KB\"\n\n number_to_human_size(483989, precision: 2, round_mode: :up)\n # => \"480 KB\"\n\n number_to_human_size(1234567, precision: 2, separator: ',')\n # => \"1,2 MB\"\n\n number_to_human_size(1234567890123, precision: 5)\n # => \"1.1228 TB\"\n\n number_to_human_size(524288000, precision: 5)\n # => \"500 MB\"",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "number",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Or[Integer, Float, String]"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "opts",
|
24
|
-
"arg_type": "keyrest",
|
25
|
-
"type": "Ksplat[:locale? => Symbol, :precision? => Integer, :significant? => Bool, :strip_insignificant_zeros? => Bool, :separator? => String, :delimiter? => String, :round_mode? => Or[up, down, truncate, half_up, default, half_down, half_even, banker, ceiling, floor]]"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
{
|
32
|
-
"target": "number_to_delimited",
|
33
|
-
"package_name": "ree_number",
|
34
|
-
"as": "number_to_delimited",
|
35
|
-
"imports": [
|
36
|
-
|
37
|
-
]
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"target": "number_to_rounded",
|
41
|
-
"package_name": "ree_number",
|
42
|
-
"as": "number_to_rounded",
|
43
|
-
"imports": [
|
44
|
-
"ROUND_MODES"
|
45
|
-
]
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"target": "slice",
|
49
|
-
"package_name": "ree_hash",
|
50
|
-
"as": "slice",
|
51
|
-
"imports": [
|
52
|
-
|
53
|
-
]
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"target": "t",
|
57
|
-
"package_name": "ree_i18n",
|
58
|
-
"as": "t",
|
59
|
-
"imports": [
|
60
|
-
|
61
|
-
]
|
62
|
-
}
|
63
|
-
]
|
64
|
-
}
|
data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "number_to_ordinalized",
|
5
|
-
"path": "packages/ree_number/package/ree_number/functions/number_to_ordinalized.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeNumber::NumberToOrdinalized",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Turns a number into an ordinal string used to denote the position in an\nordered sequence such as 1st, 2nd, 3rd, 4th.\n\n ordinalize(1) # => \"1st\"\n ordinalize(2) # => \"2nd\"\n ordinalize(1002) # => \"1002nd\"\n ordinalize(1003) # => \"1003rd\"\n ordinalize(-11) # => \"-11th\"\n ordinalize(-1021) # => \"-1021st\"",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "number",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Integer"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "opts",
|
24
|
-
"arg_type": "keyrest",
|
25
|
-
"type": "Ksplat[:locale? => Symbol]"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
{
|
32
|
-
"target": "t",
|
33
|
-
"package_name": "ree_i18n",
|
34
|
-
"as": "t",
|
35
|
-
"imports": [
|
36
|
-
|
37
|
-
]
|
38
|
-
}
|
39
|
-
]
|
40
|
-
}
|
data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_percentage.schema.json
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "number_to_percentage",
|
5
|
-
"path": "packages/ree_number/package/ree_number/functions/number_to_percentage.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeNumber::NumberToPercentage",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Converts Integer, String or Float to a String with percentage at the end.\nThe +opts+ parameter takes a hash of any of these keys:\n <tt>:format</tt>, <tt>:precision</tt>, \n <tt>:significant</tt>, <tt>:strip_insignificant_zeros</tt>, <tt>:delimiter</tt>,\n <tt>:round_mode</tt>\n number_to_percentage(100) # => \"100.000%\"\n number_to_percentage(123.400, precision: 3, strip_insignificant_zeros: true) # => \"123.4%\"\n number_to_percentage.(\"-0.13\", format_percentage: \" %\", precision: 2) # => \"-0.13 %\"",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "number",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Or[Integer, String, Float]"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "opts",
|
24
|
-
"arg_type": "keyrest",
|
25
|
-
"type": "Ksplat[:format? => String, :precision? => Integer, :significant? => Bool, :strip_insignificant_zeros? => Bool, :delimiter? => String, :round_mode? => Or[up, down, truncate, half_up, default, half_down, half_even, banker, ceiling, floor]]"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
{
|
32
|
-
"target": "number_to_rounded",
|
33
|
-
"package_name": "ree_number",
|
34
|
-
"as": "number_to_rounded",
|
35
|
-
"imports": [
|
36
|
-
"ROUND_MODES"
|
37
|
-
]
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"target": "slice",
|
41
|
-
"package_name": "ree_hash",
|
42
|
-
"as": "slice",
|
43
|
-
"imports": [
|
44
|
-
|
45
|
-
]
|
46
|
-
}
|
47
|
-
]
|
48
|
-
}
|
data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_phone.schema.json
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "number_to_phone",
|
5
|
-
"path": "packages/ree_number/package/ree_number/functions/number_to_phone.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeNumber::NumberToPhone",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Converts Integer to a formatted string (phone number format).\nCountry_code, delimiter, area_code, extension are optional.\n\nnumber_to_phone(5551234) # => \"555-1234\"\nnumber_to_phone(8005551212) # => \"800-555-1212\"\nnumber_to_phone(8005551212, area_code: true) # => \"(800) 555-1212\"\nnumber_to_phone(8005551212, delimiter: \" \") # => \"800 555 1212\"\nnumber_to_phone(8005551212, country_code: 7) # => \"+7-800-555-1212\"\nnumber_to_phone(8005551212, country_code: 7, extension: 123) # => \"+7-800-555-1212 x 123\"",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "number",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Integer"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "opts",
|
24
|
-
"arg_type": "keyrest",
|
25
|
-
"type": "Ksplat[:country_code? => Integer, :delimiter? => String, :area_code? => Bool, :pattern? => Regexp, :extension? => Integer]"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
|
32
|
-
]
|
33
|
-
}
|
data/lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_rounded.schema.json
DELETED
@@ -1,64 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "number_to_rounded",
|
5
|
-
"path": "packages/ree_number/package/ree_number/functions/number_to_rounded.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeNumber::NumberToRounded",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Rounds Integer(Float, Rational, String) and converts to a String.\n\nThe +options+ parameter takes a hash of any of these keys: \n <tt>:precision</tt>, <tt>:significant</tt>, <tt>:strip_insignificant_zeros</tt>.\n\nPresicion is 3 by default.\n number_to_rounded(111.2346) # => \"111.235\"\n number_to_rounded(\"111.2346\") # => \"111.235\"\n number_to_rounded(\"111.2346\", precision: 20) # => \"111.23460000000000000000\"\n number_to_rounded(Rational(1112346, 10000) # => \"111.2346\"\n number_to_rounded(123987, precision: 3, significant: true) # => \"124000\"\n\n number_to_rounded(\n 5.3929, \n precision: 10, \n significant: true, \n strip_insignificant_zeros: true\n ) # => \"5.3929\"",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "number",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Or[Integer, Float, Rational, String]"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "opts",
|
24
|
-
"arg_type": "keyrest",
|
25
|
-
"type": "Ksplat[:precision? => Integer, :significant? => Bool, :strip_insignificant_zeros? => Bool, :round_mode? => Or[up, down, truncate, half_up, default, half_down, half_even, banker, ceiling, floor]]"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
{
|
32
|
-
"target": "digit_count",
|
33
|
-
"package_name": "ree_number",
|
34
|
-
"as": "digit_count",
|
35
|
-
"imports": [
|
36
|
-
|
37
|
-
]
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"target": "number_to_delimited",
|
41
|
-
"package_name": "ree_number",
|
42
|
-
"as": "number_to_delimited",
|
43
|
-
"imports": [
|
44
|
-
|
45
|
-
]
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"target": "round_helper",
|
49
|
-
"package_name": "ree_number",
|
50
|
-
"as": "round_helper",
|
51
|
-
"imports": [
|
52
|
-
"ROUND_MODES"
|
53
|
-
]
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"target": "slice",
|
57
|
-
"package_name": "ree_hash",
|
58
|
-
"as": "slice",
|
59
|
-
"imports": [
|
60
|
-
|
61
|
-
]
|
62
|
-
}
|
63
|
-
]
|
64
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "round_helper",
|
5
|
-
"path": "packages/ree_number/package/ree_number/functions/round_helper.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeNumber::RoundHelper",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "Or[Integer, BigDecimal]",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "number",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Or[Integer, Float, Rational, String]"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "opts",
|
24
|
-
"arg_type": "keyrest",
|
25
|
-
"type": "Ksplat[:precision? => Integer, :significant? => Bool, :round_mode? => Or[up, down, truncate, half_up, default, half_down, half_even, banker, ceiling, floor]]"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
{
|
32
|
-
"target": "digit_count",
|
33
|
-
"package_name": "ree_number",
|
34
|
-
"as": "digit_count",
|
35
|
-
"imports": [
|
36
|
-
|
37
|
-
]
|
38
|
-
}
|
39
|
-
]
|
40
|
-
}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "deep_dup",
|
5
|
-
"path": "packages/ree_object/package/ree_object/functions/deep_dup.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeObject::DeepDup",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Create deep duplicate of source object.\nDuplicate object will also have singleton methods copied from source object.\n\nOptions:\n :freeze - freeze duplicate object\n \nExamples of usage:\n deep_dup({name: 'John'}) => {name: 'John'}\n deep_dup({name: 'John'}, freeze: true) => {name: 'John'}",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "Any",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "obj",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Any"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "opts",
|
24
|
-
"arg_type": "keyrest",
|
25
|
-
"type": "Ksplat[:freeze? => Bool]"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
|
32
|
-
]
|
33
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "deep_freeze",
|
5
|
-
"path": "packages/ree_object/package/ree_object/functions/deep_freeze.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeObject::DeepFreeze",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Deeply freezes object.\n \nExamples of usage:\n deep_freeze(Object.new)",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "Any",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "obj",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Any"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
],
|
25
|
-
"links": [
|
26
|
-
|
27
|
-
]
|
28
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "dump_as_json",
|
5
|
-
"path": "packages/ree_object/package/ree_object/functions/dump_as_json.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeObject::DumpAsJson",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "Or[Hash, ArrayOf[Any], Date, Time, Numeric, String, FalseClass, TrueClass, NilClass, Symbol, Module, Class]",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "obj",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Any"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
],
|
25
|
-
"links": [
|
26
|
-
|
27
|
-
]
|
28
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "is_blank",
|
5
|
-
"path": "packages/ree_object/package/ree_object/functions/is_blank.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeObject::IsBlank",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "An object is blank if it's false, empty, or a whitespace string.\nFor example, +nil+, '', ' ', [], {}, and +false+ are all blank.",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "Bool",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "obj",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Any"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
],
|
25
|
-
"links": [
|
26
|
-
|
27
|
-
]
|
28
|
-
}
|
data/lib/ree_lib/packages/ree_object/schemas/ree_object/functions/load_json_dump.schema.json
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "load_json_dump",
|
5
|
-
"path": "packages/ree_object/package/ree_object/functions/load_json_dump.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeObject::LoadJsonDump",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "Any",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "dump",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Hash"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
],
|
25
|
-
"links": [
|
26
|
-
|
27
|
-
]
|
28
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "not_blank",
|
5
|
-
"path": "packages/ree_object/package/ree_object/functions/not_blank.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeObject::NotBlank",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Opposite to is_blank",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "Bool",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "obj",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Any"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
],
|
25
|
-
"links": [
|
26
|
-
{
|
27
|
-
"target": "is_blank",
|
28
|
-
"package_name": "ree_object",
|
29
|
-
"as": "is_blank",
|
30
|
-
"imports": [
|
31
|
-
|
32
|
-
]
|
33
|
-
}
|
34
|
-
]
|
35
|
-
}
|