time 0.4.0 → 0.4.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/time.rb +6 -6
  3. metadata +6 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01ec7646c0aa3fd277a865dee712c2f5e97343803376d57660a4d7b494b1e35f
4
- data.tar.gz: 3b2b35d2938f05a4e8b6b484296c632b0963eb7fccc581b2198f4a467d9db536
3
+ metadata.gz: c211ffd223b56fae14493d2d7fb187ac2e7fa4f089943fba05174f0ee9549c4c
4
+ data.tar.gz: df4434890036e502a795ac24cfb93920ace49539b4ef2f092942cdef049ba141
5
5
  SHA512:
6
- metadata.gz: eee9ccbee2fa24d6a4d43d80d95696a4bbde54c89eb21f958e5c3035126b4d4fb5941834953c68cc6ca025ddcf8711cbbde5a2c97ee263cce9a4ad482ba5fb4a
7
- data.tar.gz: 8fe4756d54b2ec60ef47d1ee4f85e1815ac0d5e49c8a820f3501e173d6b302e094ab89008f0f76cd40f84642b1d1a23ade4e9f356fca66078397979802712254
6
+ metadata.gz: 247084d1b3bbdda9a0f21652daf9d729a2f32d3aa89a16c3e4b78d305c49fa487c75386a80ebcd88b9bf0ccec224ae1aa1989baa4a96bbdb88e580b97812521f
7
+ data.tar.gz: 578f214835d4259e3a4cd9aff080806b29a04c886b90f8acd4f95527af581698722423fd85a4ef3e0d911b7f8f797adfdddfb3239c4cba20e4970299271b3a70
data/lib/time.rb CHANGED
@@ -26,7 +26,7 @@ require 'date'
26
26
 
27
27
  class Time
28
28
 
29
- VERSION = "0.4.0"
29
+ VERSION = "0.4.1" # :nodoc:
30
30
 
31
31
  class << Time
32
32
 
@@ -280,7 +280,7 @@ class Time
280
280
  #
281
281
  # This method **does not** function as a validator. If the input
282
282
  # string does not match valid formats strictly, you may get a
283
- # cryptic result. Should consider to use `Time.strptime` instead
283
+ # cryptic result. Should consider to use Time.strptime instead
284
284
  # of this method as possible.
285
285
  #
286
286
  # require 'time'
@@ -391,7 +391,7 @@ class Time
391
391
  # heuristic to detect the format of the input string, you provide
392
392
  # a second argument that describes the format of the string.
393
393
  #
394
- # Raises `ArgumentError` if the date or format is invalid.
394
+ # Raises ArgumentError if the date or format is invalid.
395
395
  #
396
396
  # If a block is given, the year described in +date+ is converted by the
397
397
  # block. For example:
@@ -407,7 +407,7 @@ class Time
407
407
  # %c :: The preferred local date and time representation
408
408
  # %C :: Century (20 in 2009)
409
409
  # %d :: Day of the month (01..31)
410
- # %D :: Date (%m/%d/%y)
410
+ # %D :: \Date (%m/%d/%y)
411
411
  # %e :: Day of the month, blank-padded ( 1..31)
412
412
  # %F :: Equivalent to %Y-%m-%d (the ISO 8601 date format)
413
413
  # %g :: The last two digits of the commercial year
@@ -444,8 +444,8 @@ class Time
444
444
  # %X :: Preferred representation for the time alone, no date
445
445
  # %y :: Year without a century (00..99)
446
446
  # %Y :: Year which may include century, if provided
447
- # %z :: Time zone as hour offset from UTC (e.g. +0900)
448
- # %Z :: Time zone name
447
+ # %z :: \Time zone as hour offset from UTC (e.g. +0900)
448
+ # %Z :: \Time zone name
449
449
  # %% :: Literal "%" character
450
450
  # %+ :: date(1) (%a %b %e %H:%M:%S %Z %Y)
451
451
  #
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: time
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanaka Akira
8
+ autorequire:
8
9
  bindir: exe
9
10
  cert_chain: []
10
- date: 2024-09-06 00:00:00.000000000 Z
11
+ date: 2024-11-08 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: date
@@ -41,6 +42,7 @@ licenses:
41
42
  metadata:
42
43
  homepage_uri: https://github.com/ruby/time
43
44
  source_code_uri: https://github.com/ruby/time
45
+ post_install_message:
44
46
  rdoc_options: []
45
47
  require_paths:
46
48
  - lib
@@ -55,7 +57,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
57
  - !ruby/object:Gem::Version
56
58
  version: '0'
57
59
  requirements: []
58
- rubygems_version: 3.6.0.dev
60
+ rubygems_version: 3.5.11
61
+ signing_key:
59
62
  specification_version: 4
60
63
  summary: Extends the Time class with methods for parsing and conversion.
61
64
  test_files: []