cybrid_api_organization_ruby 0.125.98 → 0.125.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +5 -5
- data/cybrid_api_organization_ruby.gemspec +1 -1
- data/lib/cybrid_api_organization_ruby/api/organizations_organization_api.rb +1 -1
- data/lib/cybrid_api_organization_ruby/api/subscription_deliveries_organization_api.rb +1 -1
- data/lib/cybrid_api_organization_ruby/api/subscription_events_organization_api.rb +1 -1
- data/lib/cybrid_api_organization_ruby/api/subscriptions_organization_api.rb +1 -1
- data/lib/cybrid_api_organization_ruby/api_client.rb +1 -1
- data/lib/cybrid_api_organization_ruby/api_error.rb +1 -1
- data/lib/cybrid_api_organization_ruby/configuration.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/error_response_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/organization_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/patch_organization_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/post_subscription_delivery_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/post_subscription_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_delivery_list_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_delivery_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_environment_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_event_list_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_event_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_list_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_state_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_type_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/version.rb +2 -2
- data/lib/cybrid_api_organization_ruby.rb +1 -1
- data/spec/api/organizations_organization_api_spec.rb +1 -1
- data/spec/api/subscription_deliveries_organization_api_spec.rb +1 -1
- data/spec/api/subscription_events_organization_api_spec.rb +1 -1
- data/spec/api/subscriptions_organization_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/error_response_organization_model_spec.rb +1 -1
- data/spec/models/organization_organization_model_spec.rb +1 -1
- data/spec/models/patch_organization_organization_model_spec.rb +1 -1
- data/spec/models/post_subscription_delivery_organization_model_spec.rb +1 -1
- data/spec/models/post_subscription_organization_model_spec.rb +1 -1
- data/spec/models/subscription_delivery_list_organization_model_spec.rb +1 -1
- data/spec/models/subscription_delivery_organization_model_spec.rb +1 -1
- data/spec/models/subscription_environment_organization_model_spec.rb +1 -1
- data/spec/models/subscription_event_list_organization_model_spec.rb +1 -1
- data/spec/models/subscription_event_organization_model_spec.rb +1 -1
- data/spec/models/subscription_list_organization_model_spec.rb +1 -1
- data/spec/models/subscription_organization_model_spec.rb +1 -1
- data/spec/models/subscription_state_organization_model_spec.rb +1 -1
- data/spec/models/subscription_type_organization_model_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/cache/date-3.5.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-12.0.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.5.0/date_core.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{date-3.4.1 → date-3.5.0}/gem_make.out +18 -18
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/gems/date-3.5.0/BSDL +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/date-3.5.0/COPYING +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/{date-3.4.1 → date-3.5.0}/README.md +1 -1
- data/vendor/bundle/ruby/3.3.0/gems/{date-3.4.1 → date-3.5.0}/ext/date/date_core.c +62 -60
- data/vendor/bundle/ruby/3.3.0/gems/{date-3.4.1 → date-3.5.0}/ext/date/date_strptime.c +2 -1
- data/vendor/bundle/ruby/3.3.0/gems/{date-3.4.1 → date-3.5.0}/lib/date.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/gems/date-3.5.0/lib/date_core.so +0 -0
- data/vendor/bundle/ruby/3.3.0/specifications/{date-3.4.1.gemspec → date-3.5.0.gemspec} +6 -6
- metadata +22 -20
- data/vendor/bundle/ruby/3.3.0/cache/date-3.4.1.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/date_core.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/lib/date_core.so +0 -0
- /data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{date-3.4.1 → date-3.5.0}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{date-3.4.1 → date-3.5.0}/mkmf.log +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{date-3.4.1 → date-3.5.0}/ext/date/Makefile +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{date-3.4.1 → date-3.5.0}/ext/date/date_parse.c +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{date-3.4.1 → date-3.5.0}/ext/date/date_strftime.c +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{date-3.4.1 → date-3.5.0}/ext/date/date_tmx.h +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{date-3.4.1 → date-3.5.0}/ext/date/extconf.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{date-3.4.1 → date-3.5.0}/ext/date/prereq.mk +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{date-3.4.1 → date-3.5.0}/ext/date/zonetab.h +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{date-3.4.1 → date-3.5.0}/ext/date/zonetab.list +0 -0
|
@@ -1599,7 +1599,7 @@ m_ajd(union DateData *x)
|
|
|
1599
1599
|
|
|
1600
1600
|
if (simple_dat_p(x)) {
|
|
1601
1601
|
r = m_real_jd(x);
|
|
1602
|
-
if (FIXNUM_P(r) && FIX2LONG(r) <= (FIXNUM_MAX / 2)) {
|
|
1602
|
+
if (FIXNUM_P(r) && FIX2LONG(r) <= (FIXNUM_MAX / 2) && FIX2LONG(r) >= (FIXNUM_MIN + 1) / 2) {
|
|
1603
1603
|
long ir = FIX2LONG(r);
|
|
1604
1604
|
ir = ir * 2 - 1;
|
|
1605
1605
|
return rb_rational_new2(LONG2FIX(ir), INT2FIX(2));
|
|
@@ -2498,7 +2498,7 @@ date_s__valid_jd_p(int argc, VALUE *argv, VALUE klass)
|
|
|
2498
2498
|
*
|
|
2499
2499
|
* Date.valid_jd?(2451944) # => true
|
|
2500
2500
|
*
|
|
2501
|
-
* See argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
2501
|
+
* See argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
2502
2502
|
*
|
|
2503
2503
|
* Related: Date.jd.
|
|
2504
2504
|
*/
|
|
@@ -2592,7 +2592,7 @@ date_s__valid_civil_p(int argc, VALUE *argv, VALUE klass)
|
|
|
2592
2592
|
* Date.valid_date?(2001, 2, 29) # => false
|
|
2593
2593
|
* Date.valid_date?(2001, 2, -1) # => true
|
|
2594
2594
|
*
|
|
2595
|
-
* See argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
2595
|
+
* See argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
2596
2596
|
*
|
|
2597
2597
|
* Related: Date.jd, Date.new.
|
|
2598
2598
|
*/
|
|
@@ -2680,7 +2680,7 @@ date_s__valid_ordinal_p(int argc, VALUE *argv, VALUE klass)
|
|
|
2680
2680
|
* Date.valid_ordinal?(2001, 34) # => true
|
|
2681
2681
|
* Date.valid_ordinal?(2001, 366) # => false
|
|
2682
2682
|
*
|
|
2683
|
-
* See argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
2683
|
+
* See argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
2684
2684
|
*
|
|
2685
2685
|
* Related: Date.jd, Date.ordinal.
|
|
2686
2686
|
*/
|
|
@@ -2770,7 +2770,7 @@ date_s__valid_commercial_p(int argc, VALUE *argv, VALUE klass)
|
|
|
2770
2770
|
*
|
|
2771
2771
|
* See Date.commercial.
|
|
2772
2772
|
*
|
|
2773
|
-
* See argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
2773
|
+
* See argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
2774
2774
|
*
|
|
2775
2775
|
* Related: Date.jd, Date.commercial.
|
|
2776
2776
|
*/
|
|
@@ -3350,7 +3350,7 @@ static VALUE d_lite_plus(VALUE, VALUE);
|
|
|
3350
3350
|
*
|
|
3351
3351
|
* Date.jd(Date::ITALY - 1).julian? # => true
|
|
3352
3352
|
*
|
|
3353
|
-
* See argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
3353
|
+
* See argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
3354
3354
|
*
|
|
3355
3355
|
* Related: Date.new.
|
|
3356
3356
|
*/
|
|
@@ -3415,7 +3415,7 @@ date_s_jd(int argc, VALUE *argv, VALUE klass)
|
|
|
3415
3415
|
*
|
|
3416
3416
|
* Raises an exception if +yday+ is zero or out of range.
|
|
3417
3417
|
*
|
|
3418
|
-
* See argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
3418
|
+
* See argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
3419
3419
|
*
|
|
3420
3420
|
* Related: Date.jd, Date.new.
|
|
3421
3421
|
*/
|
|
@@ -3492,7 +3492,7 @@ date_s_civil(int argc, VALUE *argv, VALUE klass)
|
|
|
3492
3492
|
* where +n+ is the number of days in the month;
|
|
3493
3493
|
* when the argument is negative, counts backward from the end of the month.
|
|
3494
3494
|
*
|
|
3495
|
-
* See argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
3495
|
+
* See argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
3496
3496
|
*
|
|
3497
3497
|
* Related: Date.jd.
|
|
3498
3498
|
*/
|
|
@@ -3598,7 +3598,7 @@ date_initialize(int argc, VALUE *argv, VALUE self)
|
|
|
3598
3598
|
* Date.commercial(2020, 1, 1).to_s # => "2019-12-30"
|
|
3599
3599
|
Date.commercial(2020, 1, 7).to_s # => "2020-01-05"
|
|
3600
3600
|
*
|
|
3601
|
-
* See argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
3601
|
+
* See argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
3602
3602
|
*
|
|
3603
3603
|
* Related: Date.jd, Date.new, Date.ordinal.
|
|
3604
3604
|
*/
|
|
@@ -3783,7 +3783,7 @@ static void set_sg(union DateData *, double);
|
|
|
3783
3783
|
*
|
|
3784
3784
|
* Date.today.to_s # => "2022-07-06"
|
|
3785
3785
|
*
|
|
3786
|
-
* See argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
3786
|
+
* See argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
3787
3787
|
*
|
|
3788
3788
|
*/
|
|
3789
3789
|
static VALUE
|
|
@@ -3878,7 +3878,6 @@ static VALUE
|
|
|
3878
3878
|
rt_complete_frags(VALUE klass, VALUE hash)
|
|
3879
3879
|
{
|
|
3880
3880
|
static VALUE tab = Qnil;
|
|
3881
|
-
int g;
|
|
3882
3881
|
long e;
|
|
3883
3882
|
VALUE k, a, d;
|
|
3884
3883
|
|
|
@@ -3975,9 +3974,13 @@ rt_complete_frags(VALUE klass, VALUE hash)
|
|
|
3975
3974
|
rb_gc_register_mark_object(tab);
|
|
3976
3975
|
}
|
|
3977
3976
|
|
|
3977
|
+
k = a = Qnil;
|
|
3978
|
+
|
|
3978
3979
|
{
|
|
3979
|
-
long i, eno = 0
|
|
3980
|
+
long i, eno = 0;
|
|
3981
|
+
VALUE t = Qnil;
|
|
3980
3982
|
|
|
3983
|
+
e = 0;
|
|
3981
3984
|
for (i = 0; i < RARRAY_LEN(tab); i++) {
|
|
3982
3985
|
VALUE x, a;
|
|
3983
3986
|
|
|
@@ -3992,23 +3995,20 @@ rt_complete_frags(VALUE klass, VALUE hash)
|
|
|
3992
3995
|
n++;
|
|
3993
3996
|
if (n > eno) {
|
|
3994
3997
|
eno = n;
|
|
3995
|
-
|
|
3998
|
+
t = x;
|
|
3996
3999
|
}
|
|
3997
4000
|
}
|
|
3998
4001
|
}
|
|
3999
|
-
if (eno
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
g = 1;
|
|
4003
|
-
k = RARRAY_AREF(RARRAY_AREF(tab, idx), 0);
|
|
4004
|
-
a = RARRAY_AREF(RARRAY_AREF(tab, idx), 1);
|
|
4005
|
-
e = eno;
|
|
4002
|
+
if (eno > 0) {
|
|
4003
|
+
k = RARRAY_AREF(t, 0);
|
|
4004
|
+
a = RARRAY_AREF(t, 1);
|
|
4006
4005
|
}
|
|
4006
|
+
e = eno;
|
|
4007
4007
|
}
|
|
4008
4008
|
|
|
4009
4009
|
d = Qnil;
|
|
4010
4010
|
|
|
4011
|
-
if (
|
|
4011
|
+
if (!NIL_P(k) && (RARRAY_LEN(a) > e)) {
|
|
4012
4012
|
if (k == sym("ordinal")) {
|
|
4013
4013
|
if (NIL_P(ref_hash("year"))) {
|
|
4014
4014
|
if (NIL_P(d))
|
|
@@ -4095,7 +4095,7 @@ rt_complete_frags(VALUE klass, VALUE hash)
|
|
|
4095
4095
|
}
|
|
4096
4096
|
}
|
|
4097
4097
|
|
|
4098
|
-
if (
|
|
4098
|
+
if (k == sym("time")) {
|
|
4099
4099
|
if (f_le_p(klass, cDateTime)) {
|
|
4100
4100
|
if (NIL_P(d))
|
|
4101
4101
|
d = date_s_today(0, (VALUE *)0, cDate);
|
|
@@ -4415,7 +4415,7 @@ date_s__strptime(int argc, VALUE *argv, VALUE klass)
|
|
|
4415
4415
|
* {Formats for Dates and Times}[https://docs.ruby-lang.org/en/master/strftime_formatting_rdoc.html].
|
|
4416
4416
|
* (Unlike Date.strftime, does not support flags and width.)
|
|
4417
4417
|
*
|
|
4418
|
-
* See argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
4418
|
+
* See argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
4419
4419
|
*
|
|
4420
4420
|
* See also {strptime(3)}[https://man7.org/linux/man-pages/man3/strptime.3.html].
|
|
4421
4421
|
*
|
|
@@ -4464,11 +4464,10 @@ get_limit(VALUE opt)
|
|
|
4464
4464
|
#define rb_category_warn(category, fmt) rb_warn(fmt)
|
|
4465
4465
|
#endif
|
|
4466
4466
|
|
|
4467
|
-
static
|
|
4467
|
+
static VALUE
|
|
4468
4468
|
check_limit(VALUE str, VALUE opt)
|
|
4469
4469
|
{
|
|
4470
4470
|
size_t slen, limit;
|
|
4471
|
-
if (NIL_P(str)) return;
|
|
4472
4471
|
StringValue(str);
|
|
4473
4472
|
slen = RSTRING_LEN(str);
|
|
4474
4473
|
limit = get_limit(opt);
|
|
@@ -4476,6 +4475,7 @@ check_limit(VALUE str, VALUE opt)
|
|
|
4476
4475
|
rb_raise(rb_eArgError,
|
|
4477
4476
|
"string length (%"PRI_SIZE_PREFIX"u) exceeds the limit %"PRI_SIZE_PREFIX"u", slen, limit);
|
|
4478
4477
|
}
|
|
4478
|
+
return str;
|
|
4479
4479
|
}
|
|
4480
4480
|
|
|
4481
4481
|
static VALUE
|
|
@@ -4484,8 +4484,7 @@ date_s__parse_internal(int argc, VALUE *argv, VALUE klass)
|
|
|
4484
4484
|
VALUE vstr, vcomp, hash, opt;
|
|
4485
4485
|
|
|
4486
4486
|
argc = rb_scan_args(argc, argv, "11:", &vstr, &vcomp, &opt);
|
|
4487
|
-
check_limit(vstr, opt);
|
|
4488
|
-
StringValue(vstr);
|
|
4487
|
+
vstr = check_limit(vstr, opt);
|
|
4489
4488
|
if (!rb_enc_str_asciicompat_p(vstr))
|
|
4490
4489
|
rb_raise(rb_eArgError,
|
|
4491
4490
|
"string should have ASCII compatible encoding");
|
|
@@ -4560,7 +4559,7 @@ date_s__parse(int argc, VALUE *argv, VALUE klass)
|
|
|
4560
4559
|
*
|
|
4561
4560
|
* See:
|
|
4562
4561
|
*
|
|
4563
|
-
* - Argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
4562
|
+
* - Argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
4564
4563
|
* - Argument {limit}[rdoc-ref:Date@Argument+limit].
|
|
4565
4564
|
*
|
|
4566
4565
|
* Related: Date._parse (returns a hash).
|
|
@@ -4620,7 +4619,7 @@ date_s__iso8601(int argc, VALUE *argv, VALUE klass)
|
|
|
4620
4619
|
VALUE str, opt;
|
|
4621
4620
|
|
|
4622
4621
|
rb_scan_args(argc, argv, "1:", &str, &opt);
|
|
4623
|
-
check_limit(str, opt);
|
|
4622
|
+
if (!NIL_P(str)) str = check_limit(str, opt);
|
|
4624
4623
|
|
|
4625
4624
|
return date__iso8601(str);
|
|
4626
4625
|
}
|
|
@@ -4639,7 +4638,7 @@ date_s__iso8601(int argc, VALUE *argv, VALUE klass)
|
|
|
4639
4638
|
*
|
|
4640
4639
|
* See:
|
|
4641
4640
|
*
|
|
4642
|
-
* - Argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
4641
|
+
* - Argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
4643
4642
|
* - Argument {limit}[rdoc-ref:Date@Argument+limit].
|
|
4644
4643
|
*
|
|
4645
4644
|
* Related: Date._iso8601 (returns a hash).
|
|
@@ -4690,7 +4689,7 @@ date_s__rfc3339(int argc, VALUE *argv, VALUE klass)
|
|
|
4690
4689
|
VALUE str, opt;
|
|
4691
4690
|
|
|
4692
4691
|
rb_scan_args(argc, argv, "1:", &str, &opt);
|
|
4693
|
-
check_limit(str, opt);
|
|
4692
|
+
if (!NIL_P(str)) str = check_limit(str, opt);
|
|
4694
4693
|
|
|
4695
4694
|
return date__rfc3339(str);
|
|
4696
4695
|
}
|
|
@@ -4709,7 +4708,7 @@ date_s__rfc3339(int argc, VALUE *argv, VALUE klass)
|
|
|
4709
4708
|
*
|
|
4710
4709
|
* See:
|
|
4711
4710
|
*
|
|
4712
|
-
* - Argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
4711
|
+
* - Argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
4713
4712
|
* - Argument {limit}[rdoc-ref:Date@Argument+limit].
|
|
4714
4713
|
*
|
|
4715
4714
|
* Related: Date._rfc3339 (returns a hash).
|
|
@@ -4759,7 +4758,7 @@ date_s__xmlschema(int argc, VALUE *argv, VALUE klass)
|
|
|
4759
4758
|
VALUE str, opt;
|
|
4760
4759
|
|
|
4761
4760
|
rb_scan_args(argc, argv, "1:", &str, &opt);
|
|
4762
|
-
check_limit(str, opt);
|
|
4761
|
+
if (!NIL_P(str)) str = check_limit(str, opt);
|
|
4763
4762
|
|
|
4764
4763
|
return date__xmlschema(str);
|
|
4765
4764
|
}
|
|
@@ -4777,7 +4776,7 @@ date_s__xmlschema(int argc, VALUE *argv, VALUE klass)
|
|
|
4777
4776
|
*
|
|
4778
4777
|
* See:
|
|
4779
4778
|
*
|
|
4780
|
-
* - Argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
4779
|
+
* - Argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
4781
4780
|
* - Argument {limit}[rdoc-ref:Date@Argument+limit].
|
|
4782
4781
|
*
|
|
4783
4782
|
* Related: Date._xmlschema (returns a hash).
|
|
@@ -4828,7 +4827,7 @@ date_s__rfc2822(int argc, VALUE *argv, VALUE klass)
|
|
|
4828
4827
|
VALUE str, opt;
|
|
4829
4828
|
|
|
4830
4829
|
rb_scan_args(argc, argv, "1:", &str, &opt);
|
|
4831
|
-
check_limit(str, opt);
|
|
4830
|
+
if (!NIL_P(str)) str = check_limit(str, opt);
|
|
4832
4831
|
|
|
4833
4832
|
return date__rfc2822(str);
|
|
4834
4833
|
}
|
|
@@ -4847,7 +4846,7 @@ date_s__rfc2822(int argc, VALUE *argv, VALUE klass)
|
|
|
4847
4846
|
*
|
|
4848
4847
|
* See:
|
|
4849
4848
|
*
|
|
4850
|
-
* - Argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
4849
|
+
* - Argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
4851
4850
|
* - Argument {limit}[rdoc-ref:Date@Argument+limit].
|
|
4852
4851
|
*
|
|
4853
4852
|
* Related: Date._rfc2822 (returns a hash).
|
|
@@ -4896,7 +4895,7 @@ date_s__httpdate(int argc, VALUE *argv, VALUE klass)
|
|
|
4896
4895
|
VALUE str, opt;
|
|
4897
4896
|
|
|
4898
4897
|
rb_scan_args(argc, argv, "1:", &str, &opt);
|
|
4899
|
-
check_limit(str, opt);
|
|
4898
|
+
if (!NIL_P(str)) str = check_limit(str, opt);
|
|
4900
4899
|
|
|
4901
4900
|
return date__httpdate(str);
|
|
4902
4901
|
}
|
|
@@ -4915,7 +4914,7 @@ date_s__httpdate(int argc, VALUE *argv, VALUE klass)
|
|
|
4915
4914
|
*
|
|
4916
4915
|
* See:
|
|
4917
4916
|
*
|
|
4918
|
-
* - Argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
4917
|
+
* - Argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
4919
4918
|
* - Argument {limit}[rdoc-ref:Date@Argument+limit].
|
|
4920
4919
|
*
|
|
4921
4920
|
* Related: Date._httpdate (returns a hash).
|
|
@@ -4965,7 +4964,7 @@ date_s__jisx0301(int argc, VALUE *argv, VALUE klass)
|
|
|
4965
4964
|
VALUE str, opt;
|
|
4966
4965
|
|
|
4967
4966
|
rb_scan_args(argc, argv, "1:", &str, &opt);
|
|
4968
|
-
check_limit(str, opt);
|
|
4967
|
+
if (!NIL_P(str)) str = check_limit(str, opt);
|
|
4969
4968
|
|
|
4970
4969
|
return date__jisx0301(str);
|
|
4971
4970
|
}
|
|
@@ -4987,7 +4986,7 @@ date_s__jisx0301(int argc, VALUE *argv, VALUE klass)
|
|
|
4987
4986
|
*
|
|
4988
4987
|
* See:
|
|
4989
4988
|
*
|
|
4990
|
-
* - Argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
4989
|
+
* - Argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
4991
4990
|
* - Argument {limit}[rdoc-ref:Date@Argument+limit].
|
|
4992
4991
|
*
|
|
4993
4992
|
* Related: Date._jisx0301 (returns a hash).
|
|
@@ -5745,7 +5744,7 @@ d_lite_leap_p(VALUE self)
|
|
|
5745
5744
|
* Date.new(2001, 2, 3, Date::GREGORIAN).start # => -Infinity
|
|
5746
5745
|
* Date.new(2001, 2, 3, Date::JULIAN).start # => Infinity
|
|
5747
5746
|
*
|
|
5748
|
-
* See argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
5747
|
+
* See argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
5749
5748
|
*
|
|
5750
5749
|
*/
|
|
5751
5750
|
static VALUE
|
|
@@ -5820,7 +5819,7 @@ dup_obj_with_new_start(VALUE obj, double sg)
|
|
|
5820
5819
|
* d1 = d0.new_start(Date::JULIAN)
|
|
5821
5820
|
* d1.julian? # => true
|
|
5822
5821
|
*
|
|
5823
|
-
* See argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
|
|
5822
|
+
* See argument {start}[rdoc-ref:date/calendars.rdoc@Argument+start].
|
|
5824
5823
|
*
|
|
5825
5824
|
*/
|
|
5826
5825
|
static VALUE
|
|
@@ -6936,13 +6935,24 @@ d_lite_eql_p(VALUE self, VALUE other)
|
|
|
6936
6935
|
static VALUE
|
|
6937
6936
|
d_lite_hash(VALUE self)
|
|
6938
6937
|
{
|
|
6939
|
-
st_index_t v, h[
|
|
6938
|
+
st_index_t v, h[5];
|
|
6939
|
+
VALUE nth;
|
|
6940
6940
|
|
|
6941
6941
|
get_d1(self);
|
|
6942
|
-
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
|
|
6942
|
+
nth = m_nth(dat);
|
|
6943
|
+
|
|
6944
|
+
if (FIXNUM_P(nth)) {
|
|
6945
|
+
h[0] = 0;
|
|
6946
|
+
h[1] = (st_index_t)nth;
|
|
6947
|
+
} else {
|
|
6948
|
+
h[0] = 1;
|
|
6949
|
+
h[1] = (st_index_t)FIX2LONG(rb_hash(nth));
|
|
6950
|
+
}
|
|
6951
|
+
|
|
6952
|
+
h[2] = m_jd(dat);
|
|
6953
|
+
h[3] = m_df(dat);
|
|
6954
|
+
h[4] = m_sf(dat);
|
|
6955
|
+
|
|
6946
6956
|
v = rb_memhash(h, sizeof(h));
|
|
6947
6957
|
return ST2FIX(v);
|
|
6948
6958
|
}
|
|
@@ -7517,10 +7527,7 @@ d_lite_marshal_dump_old(VALUE self)
|
|
|
7517
7527
|
m_of_in_day(dat),
|
|
7518
7528
|
DBL2NUM(m_sg(dat)));
|
|
7519
7529
|
|
|
7520
|
-
|
|
7521
|
-
rb_copy_generic_ivar(a, self);
|
|
7522
|
-
FL_SET(a, FL_EXIVAR);
|
|
7523
|
-
}
|
|
7530
|
+
rb_copy_generic_ivar(a, self);
|
|
7524
7531
|
|
|
7525
7532
|
return a;
|
|
7526
7533
|
}
|
|
@@ -7542,10 +7549,8 @@ d_lite_marshal_dump(VALUE self)
|
|
|
7542
7549
|
INT2FIX(m_of(dat)),
|
|
7543
7550
|
DBL2NUM(m_sg(dat)));
|
|
7544
7551
|
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
FL_SET(a, FL_EXIVAR);
|
|
7548
|
-
}
|
|
7552
|
+
|
|
7553
|
+
rb_copy_generic_ivar(a, self);
|
|
7549
7554
|
|
|
7550
7555
|
return a;
|
|
7551
7556
|
}
|
|
@@ -7618,10 +7623,7 @@ d_lite_marshal_load(VALUE self, VALUE a)
|
|
|
7618
7623
|
HAVE_JD | HAVE_DF);
|
|
7619
7624
|
}
|
|
7620
7625
|
|
|
7621
|
-
|
|
7622
|
-
rb_copy_generic_ivar(self, a);
|
|
7623
|
-
FL_SET(self, FL_EXIVAR);
|
|
7624
|
-
}
|
|
7626
|
+
rb_copy_generic_ivar(self, a);
|
|
7625
7627
|
|
|
7626
7628
|
return self;
|
|
7627
7629
|
}
|
|
@@ -9522,7 +9524,7 @@ Init_date_core(void)
|
|
|
9522
9524
|
*
|
|
9523
9525
|
* - You need both dates and times; \Date handles only dates.
|
|
9524
9526
|
* - You need only Gregorian dates (and not Julian dates);
|
|
9525
|
-
* see {Julian and Gregorian Calendars}[rdoc-ref:calendars.rdoc].
|
|
9527
|
+
* see {Julian and Gregorian Calendars}[rdoc-ref:date/calendars.rdoc].
|
|
9526
9528
|
*
|
|
9527
9529
|
* A \Date object, once created, is immutable, and cannot be modified.
|
|
9528
9530
|
*
|
|
Binary file
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: date 3.
|
|
2
|
+
# stub: date 3.5.0 ruby lib
|
|
3
3
|
# stub: ext/date/extconf.rb
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |s|
|
|
6
6
|
s.name = "date".freeze
|
|
7
|
-
s.version = "3.
|
|
7
|
+
s.version = "3.5.0".freeze
|
|
8
8
|
|
|
9
9
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
10
10
|
s.metadata = { "changelog_uri" => "https://github.com/ruby/date/releases" } if s.respond_to? :metadata=
|
|
11
11
|
s.require_paths = ["lib".freeze]
|
|
12
12
|
s.authors = ["Tadayoshi Funaba".freeze]
|
|
13
|
-
s.date = "
|
|
14
|
-
s.description = "
|
|
13
|
+
s.date = "2025-10-29"
|
|
14
|
+
s.description = "The official date library for Ruby.".freeze
|
|
15
15
|
s.email = [nil]
|
|
16
16
|
s.extensions = ["ext/date/extconf.rb".freeze]
|
|
17
17
|
s.files = ["ext/date/extconf.rb".freeze]
|
|
18
18
|
s.homepage = "https://github.com/ruby/date".freeze
|
|
19
19
|
s.licenses = ["Ruby".freeze, "BSD-2-Clause".freeze]
|
|
20
20
|
s.required_ruby_version = Gem::Requirement.new(">= 2.6.0".freeze)
|
|
21
|
-
s.rubygems_version = "3.5.
|
|
22
|
-
s.summary = "
|
|
21
|
+
s.rubygems_version = "3.5.22".freeze
|
|
22
|
+
s.summary = "The official date library for Ruby.".freeze
|
|
23
23
|
|
|
24
24
|
s.installed_by_version = "3.7.2".freeze
|
|
25
25
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cybrid_api_organization_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.125.
|
|
4
|
+
version: 0.125.100
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cybrid
|
|
@@ -138,7 +138,7 @@ files:
|
|
|
138
138
|
- vendor/bundle/ruby/3.3.0/cache/ast-2.4.3.gem
|
|
139
139
|
- vendor/bundle/ruby/3.3.0/cache/byebug-12.0.0.gem
|
|
140
140
|
- vendor/bundle/ruby/3.3.0/cache/coderay-1.1.3.gem
|
|
141
|
-
- vendor/bundle/ruby/3.3.0/cache/date-3.
|
|
141
|
+
- vendor/bundle/ruby/3.3.0/cache/date-3.5.0.gem
|
|
142
142
|
- vendor/bundle/ruby/3.3.0/cache/diff-lcs-1.6.2.gem
|
|
143
143
|
- vendor/bundle/ruby/3.3.0/cache/ethon-0.15.0.gem
|
|
144
144
|
- vendor/bundle/ruby/3.3.0/cache/ffi-1.17.2-x86_64-linux-gnu.gem
|
|
@@ -165,10 +165,10 @@ files:
|
|
|
165
165
|
- vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-12.0.0/byebug/byebug.so
|
|
166
166
|
- vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-12.0.0/gem.build_complete
|
|
167
167
|
- vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-12.0.0/gem_make.out
|
|
168
|
-
- vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.
|
|
169
|
-
- vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.
|
|
170
|
-
- vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.
|
|
171
|
-
- vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.
|
|
168
|
+
- vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.5.0/date_core.so
|
|
169
|
+
- vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.5.0/gem.build_complete
|
|
170
|
+
- vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.5.0/gem_make.out
|
|
171
|
+
- vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.5.0/mkmf.log
|
|
172
172
|
- vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/gem.build_complete
|
|
173
173
|
- vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/gem_make.out
|
|
174
174
|
- vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/jaro_winkler/jaro_winkler_ext.so
|
|
@@ -397,19 +397,21 @@ files:
|
|
|
397
397
|
- vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/tokens.rb
|
|
398
398
|
- vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/tokens_proxy.rb
|
|
399
399
|
- vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/version.rb
|
|
400
|
-
- vendor/bundle/ruby/3.3.0/gems/date-3.
|
|
401
|
-
- vendor/bundle/ruby/3.3.0/gems/date-3.
|
|
402
|
-
- vendor/bundle/ruby/3.3.0/gems/date-3.
|
|
403
|
-
- vendor/bundle/ruby/3.3.0/gems/date-3.
|
|
404
|
-
- vendor/bundle/ruby/3.3.0/gems/date-3.
|
|
405
|
-
- vendor/bundle/ruby/3.3.0/gems/date-3.
|
|
406
|
-
- vendor/bundle/ruby/3.3.0/gems/date-3.
|
|
407
|
-
- vendor/bundle/ruby/3.3.0/gems/date-3.
|
|
408
|
-
- vendor/bundle/ruby/3.3.0/gems/date-3.
|
|
409
|
-
- vendor/bundle/ruby/3.3.0/gems/date-3.
|
|
410
|
-
- vendor/bundle/ruby/3.3.0/gems/date-3.
|
|
411
|
-
- vendor/bundle/ruby/3.3.0/gems/date-3.
|
|
412
|
-
- vendor/bundle/ruby/3.3.0/gems/date-3.
|
|
400
|
+
- vendor/bundle/ruby/3.3.0/gems/date-3.5.0/BSDL
|
|
401
|
+
- vendor/bundle/ruby/3.3.0/gems/date-3.5.0/COPYING
|
|
402
|
+
- vendor/bundle/ruby/3.3.0/gems/date-3.5.0/README.md
|
|
403
|
+
- vendor/bundle/ruby/3.3.0/gems/date-3.5.0/ext/date/Makefile
|
|
404
|
+
- vendor/bundle/ruby/3.3.0/gems/date-3.5.0/ext/date/date_core.c
|
|
405
|
+
- vendor/bundle/ruby/3.3.0/gems/date-3.5.0/ext/date/date_parse.c
|
|
406
|
+
- vendor/bundle/ruby/3.3.0/gems/date-3.5.0/ext/date/date_strftime.c
|
|
407
|
+
- vendor/bundle/ruby/3.3.0/gems/date-3.5.0/ext/date/date_strptime.c
|
|
408
|
+
- vendor/bundle/ruby/3.3.0/gems/date-3.5.0/ext/date/date_tmx.h
|
|
409
|
+
- vendor/bundle/ruby/3.3.0/gems/date-3.5.0/ext/date/extconf.rb
|
|
410
|
+
- vendor/bundle/ruby/3.3.0/gems/date-3.5.0/ext/date/prereq.mk
|
|
411
|
+
- vendor/bundle/ruby/3.3.0/gems/date-3.5.0/ext/date/zonetab.h
|
|
412
|
+
- vendor/bundle/ruby/3.3.0/gems/date-3.5.0/ext/date/zonetab.list
|
|
413
|
+
- vendor/bundle/ruby/3.3.0/gems/date-3.5.0/lib/date.rb
|
|
414
|
+
- vendor/bundle/ruby/3.3.0/gems/date-3.5.0/lib/date_core.so
|
|
413
415
|
- vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/.rspec
|
|
414
416
|
- vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/CHANGELOG.md
|
|
415
417
|
- vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/CODE_OF_CONDUCT.md
|
|
@@ -2172,7 +2174,7 @@ files:
|
|
|
2172
2174
|
- vendor/bundle/ruby/3.3.0/specifications/ast-2.4.3.gemspec
|
|
2173
2175
|
- vendor/bundle/ruby/3.3.0/specifications/byebug-12.0.0.gemspec
|
|
2174
2176
|
- vendor/bundle/ruby/3.3.0/specifications/coderay-1.1.3.gemspec
|
|
2175
|
-
- vendor/bundle/ruby/3.3.0/specifications/date-3.
|
|
2177
|
+
- vendor/bundle/ruby/3.3.0/specifications/date-3.5.0.gemspec
|
|
2176
2178
|
- vendor/bundle/ruby/3.3.0/specifications/diff-lcs-1.6.2.gemspec
|
|
2177
2179
|
- vendor/bundle/ruby/3.3.0/specifications/ethon-0.15.0.gemspec
|
|
2178
2180
|
- vendor/bundle/ruby/3.3.0/specifications/ffi-1.17.2-x86_64-linux-gnu.gemspec
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
/data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{date-3.4.1 → date-3.5.0}/mkmf.log
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|