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,51 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "all_year",
|
5
|
-
"path": "packages/ree_datetime/package/ree_datetime/functions/all_year.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeDatetime::AllYear",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Returns a Range representing the whole year of the current date/time.\nIf no date_time passed returns the whole current year.",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "RangeOf[DateTime]",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "date_time",
|
19
|
-
"arg_type": "opt",
|
20
|
-
"type": "Nilor[DateTime]"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
],
|
25
|
-
"links": [
|
26
|
-
{
|
27
|
-
"target": "beginning_of_year",
|
28
|
-
"package_name": "ree_datetime",
|
29
|
-
"as": "beginning_of_year",
|
30
|
-
"imports": [
|
31
|
-
|
32
|
-
]
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"target": "end_of_year",
|
36
|
-
"package_name": "ree_datetime",
|
37
|
-
"as": "end_of_year",
|
38
|
-
"imports": [
|
39
|
-
|
40
|
-
]
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"target": "now",
|
44
|
-
"package_name": "ree_datetime",
|
45
|
-
"as": "now",
|
46
|
-
"imports": [
|
47
|
-
|
48
|
-
]
|
49
|
-
}
|
50
|
-
]
|
51
|
-
}
|
data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_day.schema.json
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "beginning_of_day",
|
5
|
-
"path": "packages/ree_datetime/package/ree_datetime/functions/beginning_of_day.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeDatetime::BeginningOfDay",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Returns a new DateTime representing the start of the day (0:00).",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "DateTime",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "date_time",
|
19
|
-
"arg_type": "opt",
|
20
|
-
"type": "Nilor[DateTime]"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
],
|
25
|
-
"links": [
|
26
|
-
{
|
27
|
-
"target": "change",
|
28
|
-
"package_name": "ree_datetime",
|
29
|
-
"as": "change",
|
30
|
-
"imports": [
|
31
|
-
|
32
|
-
]
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"target": "now",
|
36
|
-
"package_name": "ree_datetime",
|
37
|
-
"as": "now",
|
38
|
-
"imports": [
|
39
|
-
|
40
|
-
]
|
41
|
-
}
|
42
|
-
]
|
43
|
-
}
|
data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_hour.schema.json
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "beginning_of_hour",
|
5
|
-
"path": "packages/ree_datetime/package/ree_datetime/functions/beginning_of_hour.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeDatetime::BeginningOfHour",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Returns a new DateTime representing the start of the hour (ex. 13:00:00).",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "DateTime",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "date_time",
|
19
|
-
"arg_type": "opt",
|
20
|
-
"type": "Nilor[DateTime]"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
],
|
25
|
-
"links": [
|
26
|
-
{
|
27
|
-
"target": "change",
|
28
|
-
"package_name": "ree_datetime",
|
29
|
-
"as": "change",
|
30
|
-
"imports": [
|
31
|
-
|
32
|
-
]
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"target": "now",
|
36
|
-
"package_name": "ree_datetime",
|
37
|
-
"as": "now",
|
38
|
-
"imports": [
|
39
|
-
|
40
|
-
]
|
41
|
-
}
|
42
|
-
]
|
43
|
-
}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "beginning_of_minute",
|
5
|
-
"path": "packages/ree_datetime/package/ree_datetime/functions/beginning_of_minute.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeDatetime::BeginningOfMinute",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Returns a new DateTime representing the start of the minute (ex. 13:15:00).",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "DateTime",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "date_time",
|
19
|
-
"arg_type": "opt",
|
20
|
-
"type": "Nilor[DateTime]"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
],
|
25
|
-
"links": [
|
26
|
-
{
|
27
|
-
"target": "change",
|
28
|
-
"package_name": "ree_datetime",
|
29
|
-
"as": "change",
|
30
|
-
"imports": [
|
31
|
-
|
32
|
-
]
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"target": "now",
|
36
|
-
"package_name": "ree_datetime",
|
37
|
-
"as": "now",
|
38
|
-
"imports": [
|
39
|
-
|
40
|
-
]
|
41
|
-
}
|
42
|
-
]
|
43
|
-
}
|
data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_month.schema.json
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "beginning_of_month",
|
5
|
-
"path": "packages/ree_datetime/package/ree_datetime/functions/beginning_of_month.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeDatetime::BeginningOfMonth",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Returns a new date/time at the start of the month.\nIf no date_time passed returns date/time at the start of the current month.\n\n date_time(optional) => Thu, 18 Jun 2015 13:00:00\n beginning_of_month(date_time) # => Mon, 01 Jun 2015 00:00:00",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "DateTime",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "date_time",
|
19
|
-
"arg_type": "opt",
|
20
|
-
"type": "Nilor[DateTime]"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
],
|
25
|
-
"links": [
|
26
|
-
{
|
27
|
-
"target": "beginning_of_day",
|
28
|
-
"package_name": "ree_datetime",
|
29
|
-
"as": "beginning_of_day",
|
30
|
-
"imports": [
|
31
|
-
|
32
|
-
]
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"target": "beginning_of_month",
|
36
|
-
"package_name": "ree_date",
|
37
|
-
"as": "beginning_of_month",
|
38
|
-
"imports": [
|
39
|
-
|
40
|
-
]
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"target": "now",
|
44
|
-
"package_name": "ree_datetime",
|
45
|
-
"as": "now",
|
46
|
-
"imports": [
|
47
|
-
|
48
|
-
]
|
49
|
-
}
|
50
|
-
]
|
51
|
-
}
|
@@ -1,51 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "beginning_of_quarter",
|
5
|
-
"path": "packages/ree_datetime/package/ree_datetime/functions/beginning_of_quarter.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeDatetime::BeginningOfQuarter",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Returns a new date/time at the start of the quarter.\nIf no date_timetime passed returns date/time at the start of the current quarter.\n\n date_time(optional) => Thu, 3 May 2022 13:00:00\n beginning_of_quarter(date_time) # => Fri, 01 Apr 2022 00:00:00",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "DateTime",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "date_time",
|
19
|
-
"arg_type": "opt",
|
20
|
-
"type": "Nilor[DateTime]"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
],
|
25
|
-
"links": [
|
26
|
-
{
|
27
|
-
"target": "beginning_of_day",
|
28
|
-
"package_name": "ree_datetime",
|
29
|
-
"as": "beginning_of_day",
|
30
|
-
"imports": [
|
31
|
-
|
32
|
-
]
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"target": "beginning_of_quarter",
|
36
|
-
"package_name": "ree_date",
|
37
|
-
"as": "beginning_of_quarter",
|
38
|
-
"imports": [
|
39
|
-
|
40
|
-
]
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"target": "now",
|
44
|
-
"package_name": "ree_datetime",
|
45
|
-
"as": "now",
|
46
|
-
"imports": [
|
47
|
-
|
48
|
-
]
|
49
|
-
}
|
50
|
-
]
|
51
|
-
}
|
data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_week.schema.json
DELETED
@@ -1,64 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "beginning_of_week",
|
5
|
-
"path": "packages/ree_datetime/package/ree_datetime/functions/beginning_of_week.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeDatetime::BeginningOfWeek",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Returns a new date/time at the start of the week.\nIf no date_time passed returns date/time at the start of the current week.\n\n date_time(optional) => Wed, 25 May 2022 13:00:00\n beginning_of_week(date_time, :monday) # => Mon, 23 May 2022 00:00:00\n beginning_of_week(date_time, :sunday) # => Sun, 22 May 2022 00:00:00\nWeek is assumed to start on +week_start+ (monday or sunday).",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "DateTime",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "date_time",
|
19
|
-
"arg_type": "opt",
|
20
|
-
"type": "Nilor[DateTime]"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "week_start",
|
24
|
-
"arg_type": "req",
|
25
|
-
"type": "Or[sunday, monday]"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
{
|
32
|
-
"target": "beginning_of_day",
|
33
|
-
"package_name": "ree_datetime",
|
34
|
-
"as": "beginning_of_day",
|
35
|
-
"imports": [
|
36
|
-
|
37
|
-
]
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"target": "beginning_of_week",
|
41
|
-
"package_name": "ree_date",
|
42
|
-
"as": "beginning_of_week",
|
43
|
-
"imports": [
|
44
|
-
|
45
|
-
]
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"target": "change",
|
49
|
-
"package_name": "ree_datetime",
|
50
|
-
"as": "change",
|
51
|
-
"imports": [
|
52
|
-
|
53
|
-
]
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"target": "now",
|
57
|
-
"package_name": "ree_datetime",
|
58
|
-
"as": "now",
|
59
|
-
"imports": [
|
60
|
-
|
61
|
-
]
|
62
|
-
}
|
63
|
-
]
|
64
|
-
}
|
data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/beginning_of_year.schema.json
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "beginning_of_year",
|
5
|
-
"path": "packages/ree_datetime/package/ree_datetime/functions/beginning_of_year.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeDatetime::BeginningOfYear",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Returns a new date/time at the start of the year.\nIf no date_time passed returns date/time at the start of the current year.\n\n date_time(optional) => Mon, 30 Jun 2022 13:00:00\n beginning_of_year(date_time) # => Sat, 01 Jan 2022 00:00:00",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "DateTime",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "date_time",
|
19
|
-
"arg_type": "opt",
|
20
|
-
"type": "Nilor[DateTime]"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
],
|
25
|
-
"links": [
|
26
|
-
{
|
27
|
-
"target": "beginning_of_day",
|
28
|
-
"package_name": "ree_datetime",
|
29
|
-
"as": "beginning_of_day",
|
30
|
-
"imports": [
|
31
|
-
|
32
|
-
]
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"target": "beginning_of_year",
|
36
|
-
"package_name": "ree_date",
|
37
|
-
"as": "beginning_of_year",
|
38
|
-
"imports": [
|
39
|
-
|
40
|
-
]
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"target": "now",
|
44
|
-
"package_name": "ree_datetime",
|
45
|
-
"as": "now",
|
46
|
-
"imports": [
|
47
|
-
|
48
|
-
]
|
49
|
-
}
|
50
|
-
]
|
51
|
-
}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "change",
|
5
|
-
"path": "packages/ree_datetime/package/ree_datetime/functions/change.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeDatetime::Change",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Returns a new date/time where one or more of the elements have been changed\naccording to the +opts+ parameter.",
|
12
|
-
"throws": [
|
13
|
-
"ArgumentError"
|
14
|
-
],
|
15
|
-
"return": "DateTime",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "date_time",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "DateTime"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "opts",
|
24
|
-
"arg_type": "keyrest",
|
25
|
-
"type": "Ksplat[:year? => Integer, :month? => Integer, :day? => Integer, :hour? => Integer, :min? => Integer, :sec? => Integer, :nsec? => Integer, :usec? => Integer, :offset? => Rational]"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
|
32
|
-
]
|
33
|
-
}
|
@@ -1,48 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "days_ago",
|
5
|
-
"path": "packages/ree_datetime/package/ree_datetime/functions/days_ago.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeDatetime::DaysAgo",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Returns a new date/time the specified number of days ago.",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "DateTime",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "date_time",
|
19
|
-
"arg_type": "opt",
|
20
|
-
"type": "Nilor[DateTime]"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "day_count",
|
24
|
-
"arg_type": "req",
|
25
|
-
"type": "Integer"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
{
|
32
|
-
"target": "advance",
|
33
|
-
"package_name": "ree_datetime",
|
34
|
-
"as": "advance",
|
35
|
-
"imports": [
|
36
|
-
|
37
|
-
]
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"target": "now",
|
41
|
-
"package_name": "ree_datetime",
|
42
|
-
"as": "now",
|
43
|
-
"imports": [
|
44
|
-
|
45
|
-
]
|
46
|
-
}
|
47
|
-
]
|
48
|
-
}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "days_diff",
|
5
|
-
"path": "packages/ree_datetime/package/ree_datetime/functions/days_diff.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeDatetime::DaysDiff",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Returns time difference in days (24 hours range)",
|
12
|
-
"throws": [
|
13
|
-
"ArgumentError"
|
14
|
-
],
|
15
|
-
"return": "Integer",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "start_time",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Or[Date, DateTime, Time]"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "end_time",
|
24
|
-
"arg_type": "req",
|
25
|
-
"type": "Or[Date, DateTime, Time]"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"arg": "opts",
|
29
|
-
"arg_type": "keyrest",
|
30
|
-
"type": "Ksplat[:round_mode? => Or[up, down, truncate, half_up, default, half_down, half_even, banker, ceiling, floor]]"
|
31
|
-
}
|
32
|
-
]
|
33
|
-
}
|
34
|
-
],
|
35
|
-
"links": [
|
36
|
-
{
|
37
|
-
"target": "round_helper",
|
38
|
-
"package_name": "ree_number",
|
39
|
-
"as": "round_helper",
|
40
|
-
"imports": [
|
41
|
-
"ROUND_MODES"
|
42
|
-
]
|
43
|
-
},
|
44
|
-
{
|
45
|
-
"target": "slice",
|
46
|
-
"package_name": "ree_hash",
|
47
|
-
"as": "slice",
|
48
|
-
"imports": [
|
49
|
-
|
50
|
-
]
|
51
|
-
}
|
52
|
-
]
|
53
|
-
}
|
data/lib/ree_lib/packages/ree_datetime/schemas/ree_datetime/functions/days_since.schema.json
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "days_since",
|
5
|
-
"path": "packages/ree_datetime/package/ree_datetime/functions/days_since.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeDatetime::DaysSince",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Returns a new date/time the specified number of days in the future.",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "DateTime",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "date_time",
|
19
|
-
"arg_type": "opt",
|
20
|
-
"type": "Nilor[DateTime]"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "day_count",
|
24
|
-
"arg_type": "req",
|
25
|
-
"type": "Integer"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"links": [
|
31
|
-
{
|
32
|
-
"target": "advance",
|
33
|
-
"package_name": "ree_datetime",
|
34
|
-
"as": "advance",
|
35
|
-
"imports": [
|
36
|
-
|
37
|
-
]
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"target": "now",
|
41
|
-
"package_name": "ree_datetime",
|
42
|
-
"as": "now",
|
43
|
-
"imports": [
|
44
|
-
|
45
|
-
]
|
46
|
-
}
|
47
|
-
]
|
48
|
-
}
|
@@ -1,45 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "distance_of_time_in_words",
|
5
|
-
"path": "packages/ree_datetime/package/ree_datetime/functions/distance_of_time_in_words.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeDatetime::DistanceOfTimeInWords",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Reports the approximate distance in time between two Time, Date, or DateTime objects or integers as seconds.\nPass <tt>include_seconds: true</tt> if you want more detailed approximations when distance < 1 min, 29 secs.\nDistances are reported based on the following table:\n\n 0 <-> 29 secs # => less than a minute\n 30 secs <-> 1 min, 29 secs # => 1 minute\n 1 min, 30 secs <-> 44 mins, 29 secs # => [2..44] minutes\n 44 mins, 30 secs <-> 89 mins, 29 secs # => about 1 hour\n 89 mins, 30 secs <-> 23 hrs, 59 mins, 29 secs # => about [2..24] hours\n 23 hrs, 59 mins, 30 secs <-> 41 hrs, 59 mins, 29 secs # => 1 day\n 41 hrs, 59 mins, 30 secs <-> 29 days, 23 hrs, 59 mins, 29 secs # => [2..29] days\n 29 days, 23 hrs, 59 mins, 30 secs <-> 44 days, 23 hrs, 59 mins, 29 secs # => about 1 month\n 44 days, 23 hrs, 59 mins, 30 secs <-> 59 days, 23 hrs, 59 mins, 29 secs # => about 2 months\n 59 days, 23 hrs, 59 mins, 30 secs <-> 1 yr minus 1 sec # => [2..12] months\n 1 yr <-> 1 yr, 3 months # => about 1 year\n 1 yr, 3 months <-> 1 yr, 9 months # => over 1 year\n 1 yr, 9 months <-> 2 yr minus 1 sec # => almost 2 years\n 2 yrs <-> max time or date # => (same rules as 1 yr)\n\nWith <tt>include_seconds: true</tt> and the difference < 1 minute 29 seconds:\n 0-4 secs # => less than 5 seconds\n 5-9 secs # => less than 10 seconds\n 10-19 secs # => less than 20 seconds\n 20-39 secs # => half a minute\n 40-59 secs # => less than a minute\n 60-89 secs # => 1 minute\n\n YEAR = 365 * 24 * 60 * 20\n MONTH = 30 * 24 * 60 * 20\n DAY = 24 * 60 * 20\n HOUR = 60 * 60\n MINUTE = 60\n\n from_time = Time.now\n distance_of_time_in_words(from_time, from_time + 50*MINUTE) # => about 1 hour\n distance_of_time_in_words(from_time, from_time + 15) # => less than a minute\n distance_of_time_in_words(from_time, from_time + 15, include_seconds: true) # => less than 20 seconds\n distance_of_time_in_words(from_time, from_time + 60 * HOUR) # => 3 days\n distance_of_time_in_words(from_time, from_time + 45, include_seconds: true) # => less than a minute\n distance_of_time_in_words(from_time, from_time 76) # => 1 minute\n distance_of_time_in_words(from_time, from_time + 1*YEAR + 3 * DAY) # => about 1 year\n distance_of_time_in_words(from_time, from_time + 3 * YEAR + 6 * MONTH) # => over 3 years\n distance_of_time_in_words(from_time, from_time + 4 * YEAR + 9 * DAY + 30 * MINUTE + 5) # => about 4 years\n\n to_time = Time.now + 6 * YEAR + 19 * DAY\n distance_of_time_in_words(from_time, to_time, include_seconds: true) # => about 6 years\n distance_of_time_in_words(to_time, from_time, include_seconds: true) # => about 6 years\n distance_of_time_in_words(Time.now, Time.now) # => less than a minute\n\nWith the <tt>scope</tt> option, you can define a custom scope for Rails\nto look up the translation.\n\nFor example you can define the following in your locale (e.g. en.yml).\n\n datetime:\n human:\n distance_in_words:\n short:\n about_x_hours:\n one: \"an hour\"\n other: \"%{count} hours\"\n\nSee https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/en.yml\nfor more examples.\n\nWhich will then result in the following:\n\n from_time = Time.now\n distance_of_time_in_words(from_time, from_time + 50*60) => \"an hour\"\n distance_of_time_in_words(from_time, from_time + 3 * 60 * 60) => \"3 hours\"')",
|
12
|
-
"throws": [
|
13
|
-
"ArgumentError"
|
14
|
-
],
|
15
|
-
"return": "String",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "start_time",
|
19
|
-
"arg_type": "req",
|
20
|
-
"type": "Or[Time, DateTime, Date]"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"arg": "end_time",
|
24
|
-
"arg_type": "req",
|
25
|
-
"type": "Or[Time, DateTime, Date]"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"arg": "opts",
|
29
|
-
"arg_type": "keyrest",
|
30
|
-
"type": "Ksplat[:include_seconds? => Bool, :locale? => Symbol]"
|
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_datetime/schemas/ree_datetime/functions/end_of_day.schema.json
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schema_type": "object",
|
3
|
-
"schema_version": "1.1",
|
4
|
-
"name": "end_of_day",
|
5
|
-
"path": "packages/ree_datetime/package/ree_datetime/functions/end_of_day.rb",
|
6
|
-
"mount_as": "fn",
|
7
|
-
"class": "ReeDatetime::EndOfDay",
|
8
|
-
"factory": null,
|
9
|
-
"methods": [
|
10
|
-
{
|
11
|
-
"doc": "Returns a new DateTime representing the end of the day (23:59:59).",
|
12
|
-
"throws": [
|
13
|
-
|
14
|
-
],
|
15
|
-
"return": "DateTime",
|
16
|
-
"args": [
|
17
|
-
{
|
18
|
-
"arg": "date_time",
|
19
|
-
"arg_type": "opt",
|
20
|
-
"type": "Nilor[DateTime]"
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
],
|
25
|
-
"links": [
|
26
|
-
{
|
27
|
-
"target": "change",
|
28
|
-
"package_name": "ree_datetime",
|
29
|
-
"as": "change",
|
30
|
-
"imports": [
|
31
|
-
|
32
|
-
]
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"target": "now",
|
36
|
-
"package_name": "ree_datetime",
|
37
|
-
"as": "now",
|
38
|
-
"imports": [
|
39
|
-
|
40
|
-
]
|
41
|
-
}
|
42
|
-
]
|
43
|
-
}
|