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
@@ -1,45 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "excerpt",
|
5
|
-
"path": "packages/ree_text/package/ree_text/functions/excerpt.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeText::Excerpt",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Extracts an excerpt from +text+ that matches the first instance of +phrase+.\nThe <tt>:radius</tt> option expands the excerpt on each side of the first occurrence of +phrase+ by the number of characters\ndefined in <tt>:radius</tt> (which defaults to 100). If the excerpt radius overflows the beginning or end of the +text+,\nthen the <tt>:omission</tt> option (which defaults to \"...\") will be prepended/appended accordingly. Use the\n<tt>:separator</tt> option to choose the delimitation. The resulting string will be stripped in any case. If the +phrase+\nisn't found, +nil+ is returned.\n\n excerpt('This is an example', 'an', radius: 5)\n # => ...s is an exam...\n\n excerpt('This is an example', 'is', radius: 5)\n # => This is a...\n\n excerpt('This is an example', 'is')\n # => This is an example\n\n excerpt('This next thing is an example', 'ex', radius: 2)\n # => ...next...\n\n excerpt('This is also an example', 'an', radius: 8, omission: '<chop> ')\n # => <chop> is also an example\n\n excerpt('This is a very beautiful morning', 'very', separator: ' ', radius: 1)\n # => ...a very beautiful...",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "text",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "String"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "phrase",
|
24
|
-
"arg_type": "req",
|
25
|
-
"type": "Or[String, Regexp]"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"arg": "opts",
|
29
|
-
"arg_type": "keyrest",
|
30
|
-
"type": "Ksplat[:radius? => Integer, :omission? => String, :separator? => String]"
|
31
|
-
}
|
32
|
-
]
|
33
|
-
}
|
34
|
-
],
|
35
|
-
"links": [
|
36
|
-
{
|
37
|
-
"target": "is_blank",
|
38
|
-
"package_name": "ree_object",
|
39
|
-
"as": "is_blank",
|
40
|
-
"imports": [
|
41
|
-
|
42
|
-
]
|
43
|
-
}
|
44
|
-
]
|
45
|
-
}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "highlight",
|
5
|
-
"path": "packages/ree_text/package/ree_text/functions/highlight.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeText::Highlight",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Highlights one or more +phrases+ everywhere in +text+ by inserting it into\na <tt>:highlighter</tt> string. The highlighter can be specialized by passing <tt>:highlighter</tt>\nas a single-quoted string with <tt>\u0001</tt> where the phrase is to be inserted (defaults to\n<tt><mark>\u0001</mark></tt>) or passing a block that receives each matched term. By default +text+\nis sanitized to prevent possible XSS attacks.If the input is trustworthy, passing false\nfor <tt>:sanitize</tt> will turn sanitizing off.\n\n highlight('You searched for: rails', 'rails')\n # => You searched for: <mark>rails</mark>\n\n highlight('You searched for: rails', /for|rails/)\n # => You searched <mark>for</mark>: <mark>rails</mark>\n\n highlight('You searched for: ruby, rails, dhh', 'actionpack')\n # => You searched for: ruby, rails, dhh\n\n highlight('You searched for: rails', ['for', 'rails'], highlighter: '<em>\u0001</em>')\n # => You searched <em>for</em>: <em>rails</em>\n\n highlight('You searched for: rails', 'rails', highlighter: '<a href=\"search?q=\u0001\">\u0001</a>')\n # => You searched for: <a href=\"search?q=rails\">rails</a>\n\n highlight('You searched for: rails', 'rails') { |match| link_to(search_path(q: match, match)) }\n # => You searched for: <a href=\"search?q=rails\">rails</a>\n\n highlight('<a href=\"javascript:alert('no!')\">ruby</a> on rails', 'rails', sanitize: false)\n # => <a href=\"javascript:alert('no!')\">ruby</a> on <mark>rails</mark>",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "text",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "String"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "phrases",
|
24
|
-
"arg_type": "opt",
|
25
|
-
"type": "Nilor[String, ArrayOf[String], Regexp]"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"arg": "opts",
|
29
|
-
"arg_type": "keyrest",
|
30
|
-
"type": "Ksplat[:highlighter? => String, :sanitize? => Bool]"
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"arg": "block",
|
34
|
-
"arg_type": "block",
|
35
|
-
"type": "Block"
|
36
|
-
}
|
37
|
-
]
|
38
|
-
}
|
39
|
-
],
|
40
|
-
"links": [
|
41
|
-
{
|
42
|
-
"target": "sanitize_html",
|
43
|
-
"package_name": "ree_text",
|
44
|
-
"as": "sanitize_html",
|
45
|
-
"imports": [
|
46
|
-
|
47
|
-
]
|
48
|
-
}
|
49
|
-
]
|
50
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "safe_join",
|
5
|
-
"path": "packages/ree_text/package/ree_text/functions/safe_join.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeText::SafeJoin",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "This method returns an string similar to what <tt>Array#join</tt>\nwould return. The array is flattened, and all items, including\nthe supplied separator, are HTML escaped.\n\n safe_join([\"<p>foo</p>\", \"<p>bar</p>\"], sep: \"<br />\")\n # => \"<p>foo</p><br /><p>bar</p>\"",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "array",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Array"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "opts",
|
24
|
-
"arg_type": "keyrest",
|
25
|
-
"type": "Ksplat[:sep? => String]"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
{
|
32
|
-
"target": "escape_html",
|
33
|
-
"package_name": "ree_text",
|
34
|
-
"as": "escape_html",
|
35
|
-
"imports": [
|
36
|
-
|
37
|
-
]
|
38
|
-
}
|
39
|
-
]
|
40
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "sanitize_css",
|
5
|
-
"path": "packages/ree_text/package/ree_text/functions/sanitize_css.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeText::SanitizeCss",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Sanitizes a block of CSS code",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "str",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "String"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
],
|
25
|
-
"links": [
|
26
|
-
|
27
|
-
]
|
28
|
-
}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "sanitize_html",
|
5
|
-
"path": "packages/ree_text/package/ree_text/functions/sanitize_html.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeText::SanitizeHtml",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Sanitizes both html and css via the safe lists found here:\nhttps://github.com/flavorjones/loofah/blob/master/lib/loofah/html5/safelist.rb\n\nTags and attributes can also be passed to +sanitize+.\nPassed options take precedence over the class level options.",
|
12
|
-
"throws": [
|
13
|
-
"ArgumentError"
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "html",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "String"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "prune",
|
24
|
-
"arg_type": "key",
|
25
|
-
"type": "Bool"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"arg": "opts",
|
29
|
-
"arg_type": "keyrest",
|
30
|
-
"type": "Ksplat[:tags? => ArrayOf[String], :attributes? => ArrayOf[String]]"
|
31
|
-
}
|
32
|
-
]
|
33
|
-
}
|
34
|
-
],
|
35
|
-
"links": [
|
36
|
-
|
37
|
-
]
|
38
|
-
}
|
@@ -1,56 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "simple_format",
|
5
|
-
"path": "packages/ree_text/package/ree_text/functions/simple_format.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeText::SimpleFormat",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Returns +text+ transformed into HTML using simple formatting rules.\nTwo or more consecutive newlines (<tt>\n\n</tt> or <tt>\r\n\r\n</tt>) are\nconsidered a paragraph and wrapped in <tt><p></tt> tags. One newline\n(<tt>\n</tt> or <tt>\r\n</tt>) is considered a linebreak and a\n<tt><br /></tt> tag is appended. This method does not remove the\nnewlines from the +text+.\n\nYou can pass any HTML attributes into <tt>html_options</tt>. These\nwill be added to all created paragraphs.\n\n==== Options\n* <tt>:sanitize</tt> - If +false+, does not sanitize +text+.\n* <tt>:wrapper_tag</tt> - String representing the wrapper tag, defaults to <tt>\"p\"</tt>\n\n==== Examples\n my_text = \"Here is some basic text...\n...with a line break.\"\n\n simple_format(my_text)\n # => \"<p>Here is some basic text...\n<br />...with a line break.</p>\"\n\n simple_format(my_text, wrapper_tag: \"div\")\n # => \"<div>Here is some basic text...\n<br />...with a line break.</div>\"\n\n more_text = \"We want to put a paragraph...\n\n...right there.\"\n\n simple_format(more_text)\n # => \"<p>We want to put a paragraph...</p>\n\n<p>...right there.</p>\"\n\n simple_format(\"Look ma! A class!\", class: 'description')\n # => \"<p class='description'>Look ma! A class!</p>\"\n\n simple_format(\"<blink>Unblinkable.</blink>\", sanitize: true)\n # => \"<p>Unblinkable.</p>\"\n\n simple_format(\"<blink>Blinkable!</blink> It's true.\", sanitize: false)\n # => \"<p><blink>Blinkable!</blink> It's true.</p>\"",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "text",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Nilor[String]"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "opts",
|
24
|
-
"arg_type": "keyrest",
|
25
|
-
"type": "Ksplat[:html_options? => Hash, :wrapper_tag? => Or[Symbol, String], :sanitize? => Bool]"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
{
|
32
|
-
"target": "escape_html",
|
33
|
-
"package_name": "ree_text",
|
34
|
-
"as": "escape_html",
|
35
|
-
"imports": [
|
36
|
-
|
37
|
-
]
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"target": "is_blank",
|
41
|
-
"package_name": "ree_object",
|
42
|
-
"as": "is_blank",
|
43
|
-
"imports": [
|
44
|
-
|
45
|
-
]
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"target": "sanitize_html",
|
49
|
-
"package_name": "ree_text",
|
50
|
-
"as": "sanitize_html",
|
51
|
-
"imports": [
|
52
|
-
|
53
|
-
]
|
54
|
-
}
|
55
|
-
]
|
56
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "strip_links",
|
5
|
-
"path": "packages/ree_text/package/ree_text/functions/strip_links.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeText::StripLinks",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Removes +a+ tags and +href+ attributes leaving only the link text.\nstrip_links('<a href=\"example.com\">Only the link text will be kept.</a>')\n#\n# => 'Only the link text will be kept.'",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "html",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "String"
|
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": "strip_tags",
|
5
|
-
"path": "packages/ree_text/package/ree_text/functions/strip_tags.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeText::StripTags",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Strips all HTML tags from +html+, including comments and special characters.\n\n strip_tags(\"Strip <i>these</i> tags!\")\n # => Strip these tags!\n\n strip_tags(\"<b>Bold</b> no more! <a href='more.html'>See more here</a>...\")\n # => Bold no more! See more here...\n\n strip_tags(\"<div id='top-bar'>Welcome to my website!</div>\")\n # => Welcome to my website!\n\n strip_tags(\"> A quote from Smith & Wesson\")\n # => > A quote from Smith & Wesson",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "html",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "String"
|
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
|
-
}
|
@@ -1,61 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "to_sentence",
|
5
|
-
"path": "packages/ree_text/package/ree_text/functions/to_sentence.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeText::ToSentence",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Converts the array to a comma-separated sentence where the last element is\njoined by the connector word.\n\n to_sentence([\"one\", \"two\", \"three\"]) # => \"one, two, and three\"\n to_sentence([\"one\", \"two\", \"three\"], words_connector: \" \")) # => \"one two, and three\"\n to_sentence([\"one\", \"two\", \"three\"], last_word_connector: \", and also \") # =>\"one, two, and also three\"\n to_sentence([\"one\", \"two\"], two_words_connector: \" & \") # => \"one & two\"",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "array",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Array"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "locale",
|
24
|
-
"arg_type": "key",
|
25
|
-
"type": "Symbol"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"arg": "opts",
|
29
|
-
"arg_type": "keyrest",
|
30
|
-
"type": "Ksplat[:words_connector? => String, :two_words_connector? => String, :last_word_connector? => String]"
|
31
|
-
}
|
32
|
-
]
|
33
|
-
}
|
34
|
-
],
|
35
|
-
"links": [
|
36
|
-
{
|
37
|
-
"target": "escape_html",
|
38
|
-
"package_name": "ree_text",
|
39
|
-
"as": "escape_html",
|
40
|
-
"imports": [
|
41
|
-
|
42
|
-
]
|
43
|
-
},
|
44
|
-
{
|
45
|
-
"target": "safe_join",
|
46
|
-
"package_name": "ree_text",
|
47
|
-
"as": "safe_join",
|
48
|
-
"imports": [
|
49
|
-
|
50
|
-
]
|
51
|
-
},
|
52
|
-
{
|
53
|
-
"target": "t",
|
54
|
-
"package_name": "ree_i18n",
|
55
|
-
"as": "t",
|
56
|
-
"imports": [
|
57
|
-
|
58
|
-
]
|
59
|
-
}
|
60
|
-
]
|
61
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "unescape_html",
|
5
|
-
"path": "packages/ree_text/package/ree_text/functions/unescape_html.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeText::UnescapeHtml",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "A utility method for unescaping HTML.",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "str",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "String"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
],
|
25
|
-
"links": [
|
26
|
-
|
27
|
-
]
|
28
|
-
}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "word_wrap",
|
5
|
-
"path": "packages/ree_text/package/ree_text/functions/word_wrap.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeText::WordWrap",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Wraps the +text+ into lines no longer than +line_width+ width. This method\nbreaks on the first whitespace character that does not exceed +line_width+\n(which is 80 by default).\n\n word_wrap('Once upon a time')\n # => Once upon a time\n\n word_wrap('Once upon a time, in a kingdom called Far Far Away, a king fell ill, and finding a successor to the throne turned out to be more trouble than anyone could have imagined...')\n # => Once upon a time, in a kingdom called Far Far Away, a king fell ill, and finding\na successor to the throne turned out to be more trouble than anyone could have\nimagined...\n\n word_wrap('Once upon a time', line_width: 8)\n # => Once\nupon a\ntime\n\n word_wrap('Once upon a time', line_width: 1)\n # => Once\nupon\na\ntime\n\n You can also specify a custom +break_sequence+ (\"\n\" by default)\n\n word_wrap('Once upon a time', line_width: 1, break_sequence: \"\r\n\")\n # => Once\r\nupon\r\na\r\ntime",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "text",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "String"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "opts",
|
24
|
-
"arg_type": "keyrest",
|
25
|
-
"type": "Ksplat[:line_width? => Integer, :break_sequence? => String]"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
|
32
|
-
]
|
33
|
-
}
|
data/lib/ree_lib/packages/ree_validator/schemas/ree_validator/functions/validate_email.schema.json
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "validate_email",
|
5
|
-
"path": "packages/ree_validator/package/ree_validator/functions/validate_email.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeValidator::ValidateEmail",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "",
|
12
|
-
"throws": [
|
13
|
-
"ReeValidator::ValidateEmail::InvalidEmailErr"
|
14
|
-
],
|
15
|
-
"return": "Bool",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "email",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "String"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "error",
|
24
|
-
"arg_type": "opt",
|
25
|
-
"type": "Nilor[StandardError]"
|
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
|
-
}
|
@@ -1,45 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "validate_exclusion",
|
5
|
-
"path": "packages/ree_validator/package/ree_validator/functions/validate_exclusion.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeValidator::ValidateExclusion",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "Bool",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "value",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Any"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "list_or_set",
|
24
|
-
"arg_type": "req",
|
25
|
-
"type": "Or[ArrayOf[Any], SetOf[Any], RangeOf[Any]]"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"arg": "error",
|
29
|
-
"arg_type": "opt",
|
30
|
-
"type": "Nilor[StandardError]"
|
31
|
-
}
|
32
|
-
]
|
33
|
-
}
|
34
|
-
],
|
35
|
-
"links": [
|
36
|
-
{
|
37
|
-
"target": "t",
|
38
|
-
"package_name": "ree_i18n",
|
39
|
-
"as": "t",
|
40
|
-
"imports": [
|
41
|
-
|
42
|
-
]
|
43
|
-
}
|
44
|
-
]
|
45
|
-
}
|
@@ -1,45 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "validate_inclusion",
|
5
|
-
"path": "packages/ree_validator/package/ree_validator/functions/validate_inclusion.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeValidator::ValidateInclusion",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "Bool",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "value",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Any"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "list_or_set",
|
24
|
-
"arg_type": "req",
|
25
|
-
"type": "Or[ArrayOf[Any], SetOf[Any], RangeOf[Any]]"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"arg": "error",
|
29
|
-
"arg_type": "opt",
|
30
|
-
"type": "Nilor[StandardError]"
|
31
|
-
}
|
32
|
-
]
|
33
|
-
}
|
34
|
-
],
|
35
|
-
"links": [
|
36
|
-
{
|
37
|
-
"target": "t",
|
38
|
-
"package_name": "ree_i18n",
|
39
|
-
"as": "t",
|
40
|
-
"imports": [
|
41
|
-
|
42
|
-
]
|
43
|
-
}
|
44
|
-
]
|
45
|
-
}
|
data/lib/ree_lib/packages/ree_validator/schemas/ree_validator/functions/validate_length.schema.json
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "validate_length",
|
5
|
-
"path": "packages/ree_validator/package/ree_validator/functions/validate_length.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeValidator::ValidateLength",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "",
|
12
|
-
"throws": [
|
13
|
-
"ReeValidator::ValidateLength::LenthErr"
|
14
|
-
],
|
15
|
-
"return": "Bool",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "object",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Proc#call"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "error",
|
24
|
-
"arg_type": "opt",
|
25
|
-
"type": "Nilor[StandardError]"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"arg": "opts",
|
29
|
-
"arg_type": "keyrest",
|
30
|
-
"type": "Ksplat[:min? => Integer, :max? => Integer, :equal_to? => Integer, :not_equal_to? => Integer]"
|
31
|
-
}
|
32
|
-
]
|
33
|
-
}
|
34
|
-
],
|
35
|
-
"links": [
|
36
|
-
{
|
37
|
-
"target": "t",
|
38
|
-
"package_name": "ree_i18n",
|
39
|
-
"as": "t",
|
40
|
-
"imports": [
|
41
|
-
|
42
|
-
]
|
43
|
-
}
|
44
|
-
]
|
45
|
-
}
|