date 3.3.3 → 3.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/ext/date/date_core.c +2 -21
  3. data/lib/date.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ccf42407789dcdf94598ab68332e1860f4f2b5f5820d7b2b2bd8ae283088160
4
- data.tar.gz: 988c7bded5cb20a4b68283216eeaaddf874a15765705919fe372bdeaf58d1c2a
3
+ metadata.gz: c21f55b2cc18baf941cd4774c226c424d7f987bee9239e0b732a0d9fb4f0e6fd
4
+ data.tar.gz: 2acbe62f992812810d0efd5f09801fcec3669d1ba4df7afc20b95a10a13093a9
5
5
  SHA512:
6
- metadata.gz: f99b7157afc55d925ffe6ea0f786ce4dc377a30786bb8045b71019db65cd056c83edbd4a979925060ed0daaae2f0cc71f19c04d0b89df53b6a39c70ad6005457
7
- data.tar.gz: d4d955554151f00b3e0db05cf684d5e7c47655654fd3174aa3e1c67b14a9fa8696092219eac5e540ae9d9abe8c05b06e13bb4ff74c754c33b7e075e9b5498597
6
+ metadata.gz: 13082c47b2973af41fc9064501b16db82f900a3e8c8f4d470370f8f424cf89752e49193595329e37029007a5086d83725321f836efe949012f7df43cff26d401
7
+ data.tar.gz: 1500c8d72b88fabb2645cbd67da24447f9a11be934a20cad3557b8b261bfa788e9a7d9f699891c1c93a39fd92c3427c9672d0d84815390b57337727d77665153
data/ext/date/date_core.c CHANGED
@@ -2589,8 +2589,6 @@ date_s__valid_civil_p(int argc, VALUE *argv, VALUE klass)
2589
2589
  *
2590
2590
  * See argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
2591
2591
  *
2592
- * Date.valid_date? is an alias for Date.valid_civil?.
2593
- *
2594
2592
  * Related: Date.jd, Date.new.
2595
2593
  */
2596
2594
  static VALUE
@@ -2986,8 +2984,6 @@ date_s_julian_leap_p(VALUE klass, VALUE y)
2986
2984
  * Date.gregorian_leap?(2000) # => true
2987
2985
  * Date.gregorian_leap?(2001) # => false
2988
2986
  *
2989
- * Date.leap? is an alias for Date.gregorian_leap?.
2990
- *
2991
2987
  * Related: Date.julian_leap?.
2992
2988
  */
2993
2989
  static VALUE
@@ -3493,8 +3489,6 @@ date_s_civil(int argc, VALUE *argv, VALUE klass)
3493
3489
  *
3494
3490
  * See argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
3495
3491
  *
3496
- * Date.civil is an alias for Date.new.
3497
- *
3498
3492
  * Related: Date.jd.
3499
3493
  */
3500
3494
  static VALUE
@@ -4832,8 +4826,6 @@ date_s_xmlschema(int argc, VALUE *argv, VALUE klass)
4832
4826
  *
4833
4827
  * See argument {limit}[rdoc-ref:Date@Argument+limit].
4834
4828
  *
4835
- * Date._rfc822 is an alias for Date._rfc2822.
4836
- *
4837
4829
  * Related: Date.rfc2822 (returns a \Date object).
4838
4830
  */
4839
4831
  static VALUE
@@ -4864,8 +4856,6 @@ date_s__rfc2822(int argc, VALUE *argv, VALUE klass)
4864
4856
  * - Argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
4865
4857
  * - Argument {limit}[rdoc-ref:Date@Argument+limit].
4866
4858
  *
4867
- * Date.rfc822 is an alias for Date.rfc2822.
4868
- *
4869
4859
  * Related: Date._rfc2822 (returns a hash).
4870
4860
  */
4871
4861
  static VALUE
@@ -5346,7 +5336,6 @@ d_lite_yday(VALUE self)
5346
5336
  *
5347
5337
  * Date.new(2001, 2, 3).mon # => 2
5348
5338
  *
5349
- * Date#month is an alias for Date#mon.
5350
5339
  */
5351
5340
  static VALUE
5352
5341
  d_lite_mon(VALUE self)
@@ -5363,7 +5352,6 @@ d_lite_mon(VALUE self)
5363
5352
  *
5364
5353
  * Date.new(2001, 2, 3).mday # => 3
5365
5354
  *
5366
- * Date#day is an alias for Date#mday.
5367
5355
  */
5368
5356
  static VALUE
5369
5357
  d_lite_mday(VALUE self)
@@ -5613,7 +5601,6 @@ d_lite_hour(VALUE self)
5613
5601
  *
5614
5602
  * DateTime.new(2001, 2, 3, 4, 5, 6).min # => 5
5615
5603
  *
5616
- * Date#minute is an alias for Date#min.
5617
5604
  */
5618
5605
  static VALUE
5619
5606
  d_lite_min(VALUE self)
@@ -5630,7 +5617,6 @@ d_lite_min(VALUE self)
5630
5617
  *
5631
5618
  * DateTime.new(2001, 2, 3, 4, 5, 6).sec # => 6
5632
5619
  *
5633
- * Date#second is an alias for Date#sec.
5634
5620
  */
5635
5621
  static VALUE
5636
5622
  d_lite_sec(VALUE self)
@@ -5648,7 +5634,6 @@ d_lite_sec(VALUE self)
5648
5634
  *
5649
5635
  * DateTime.new(2001, 2, 3, 4, 5, 6.5).sec_fraction # => (1/2)
5650
5636
  *
5651
- * Date#second_fraction is an alias for Date#sec_fraction.
5652
5637
  */
5653
5638
  static VALUE
5654
5639
  d_lite_sec_fraction(VALUE self)
@@ -6424,7 +6409,6 @@ d_lite_prev_day(int argc, VALUE *argv, VALUE self)
6424
6409
  * d.to_s # => "2001-02-03"
6425
6410
  * d.next.to_s # => "2001-02-04"
6426
6411
  *
6427
- * Date#succ is an alias for Date#next.
6428
6412
  */
6429
6413
  static VALUE
6430
6414
  d_lite_next(VALUE self)
@@ -7298,7 +7282,6 @@ strftimev(const char *fmt, VALUE self,
7298
7282
  *
7299
7283
  * See {asctime}[https://linux.die.net/man/3/asctime].
7300
7284
  *
7301
- * Date#ctime is an alias for Date#asctime.
7302
7285
  */
7303
7286
  static VALUE
7304
7287
  d_lite_asctime(VALUE self)
@@ -7316,7 +7299,6 @@ d_lite_asctime(VALUE self)
7316
7299
  *
7317
7300
  * Date.new(2001, 2, 3).iso8601 # => "2001-02-03"
7318
7301
  *
7319
- * Date#xmlschema is an alias for Date#iso8601.
7320
7302
  */
7321
7303
  static VALUE
7322
7304
  d_lite_iso8601(VALUE self)
@@ -7349,7 +7331,6 @@ d_lite_rfc3339(VALUE self)
7349
7331
  *
7350
7332
  * Date.new(2001, 2, 3).rfc2822 # => "Sat, 3 Feb 2001 00:00:00 +0000"
7351
7333
  *
7352
- * Date#rfc822 is an alias for Date#rfc2822.
7353
7334
  */
7354
7335
  static VALUE
7355
7336
  d_lite_rfc2822(VALUE self)
@@ -8745,8 +8726,8 @@ dt_lite_to_s(VALUE self)
8745
8726
  *
8746
8727
  * DateTime.now.strftime # => "2022-07-01T11:03:19-05:00"
8747
8728
  *
8748
- * For other formats, see
8749
- * {Formats for Dates and Times}[doc/strftime_formatting.rdoc].
8729
+ * For other formats,
8730
+ * see {Formats for Dates and Times}[https://docs.ruby-lang.org/en/master/strftime_formatting_rdoc.html]:
8750
8731
  *
8751
8732
  */
8752
8733
  static VALUE
data/lib/date.rb CHANGED
@@ -4,7 +4,7 @@
4
4
  require 'date_core'
5
5
 
6
6
  class Date
7
- VERSION = "3.3.3" # :nodoc:
7
+ VERSION = "3.3.4" # :nodoc:
8
8
 
9
9
  # call-seq:
10
10
  # infinite? -> false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: date
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.3
4
+ version: 3.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tadayoshi Funaba
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-19 00:00:00.000000000 Z
11
+ date: 2023-11-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A subclass of Object includes Comparable module for handling dates.
14
14
  email:
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
49
  - !ruby/object:Gem::Version
50
50
  version: '0'
51
51
  requirements: []
52
- rubygems_version: 3.4.0.dev
52
+ rubygems_version: 3.5.0.dev
53
53
  signing_key:
54
54
  specification_version: 4
55
55
  summary: A subclass of Object includes Comparable module for handling dates.