decentworks-date-support 0.1.0
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 +7 -0
- data/.gem_rbs_collection/actionpack/7.2/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/actionpack/7.2/actioncontroller-7.2.rbs +14 -0
- data/.gem_rbs_collection/actionpack/7.2/actioncontroller.rbs +290 -0
- data/.gem_rbs_collection/actionpack/7.2/actiondispatch.rbs +349 -0
- data/.gem_rbs_collection/actionpack/7.2/actionpack-generated.rbs +11497 -0
- data/.gem_rbs_collection/actionpack/7.2/patch.rbs +77 -0
- data/.gem_rbs_collection/actionview/6.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/actionview/6.0/actionview-generated.rbs +8976 -0
- data/.gem_rbs_collection/actionview/6.0/actionview.rbs +1940 -0
- data/.gem_rbs_collection/actionview/6.0/patch.rbs +57 -0
- data/.gem_rbs_collection/activesupport/7.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/activesupport/7.0/activesupport-7.0.rbs +381 -0
- data/.gem_rbs_collection/activesupport/7.0/activesupport-generated.rbs +11633 -0
- data/.gem_rbs_collection/activesupport/7.0/activesupport.rbs +724 -0
- data/.gem_rbs_collection/activesupport/7.0/manifest.yaml +15 -0
- data/.gem_rbs_collection/activesupport/7.0/patch.rbs +55 -0
- data/.gem_rbs_collection/ast/2.4/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/ast/2.4/ast.rbs +73 -0
- data/.gem_rbs_collection/cgi/0.5/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/cgi/0.5/core.rbs +925 -0
- data/.gem_rbs_collection/cgi/0.5/manifest.yaml +3 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/array.rbs +4 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/atomic_reference.rbs +16 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/executor.rbs +96 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/hash.rbs +4 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/map.rbs +68 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/promises.rbs +249 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/set.rbs +4 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/timer_task.rbs +47 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/utility/processor_counter.rbs +5 -0
- data/.gem_rbs_collection/connection_pool/2.4/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/connection_pool/2.4/connection_pool.rbs +34 -0
- data/.gem_rbs_collection/connection_pool/2.4/manifest.yaml +2 -0
- data/.gem_rbs_collection/diff-lcs/1.5/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/diff-lcs/1.5/diff-lcs.rbs +11 -0
- data/.gem_rbs_collection/faker/3.4.2/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/faker/3.4.2/faker-2.23.rbs +90 -0
- data/.gem_rbs_collection/faker/3.4.2/faker.rbs +18 -0
- data/.gem_rbs_collection/i18n/1.10/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/i18n/1.10/backend.rbs +274 -0
- data/.gem_rbs_collection/i18n/1.10/i18n.rbs +116 -0
- data/.gem_rbs_collection/lint_roller/1.1/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/lint_roller/1.1/lint_roller.rbs +48 -0
- data/.gem_rbs_collection/minitest/5.25/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/abstract_reporter.rbs +52 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/assertion.rbs +17 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/assertions.rbs +590 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/backtrace_filter.rbs +23 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/bench_spec.rbs +102 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/benchmark.rbs +259 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/composite_reporter.rbs +25 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/compress.rbs +13 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/error_on_warning.rbs +3 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/expectation.rbs +2 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/expectations.rbs +21 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/guard.rbs +64 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/mock.rbs +64 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/parallel/executor.rbs +46 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/parallel/test/class_methods.rbs +5 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/parallel/test.rbs +3 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/parallel.rbs +2 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/pride_io.rbs +62 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/pride_lol.rbs +19 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/progress_reporter.rbs +11 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/reportable.rbs +53 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/reporter.rbs +5 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/result.rbs +28 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/runnable.rbs +163 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/skip.rbs +6 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/spec/dsl/instance_methods.rbs +48 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/spec/dsl.rbs +129 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/spec.rbs +11 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/statistics_reporter.rbs +81 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/summary_reporter.rbs +18 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/test/lifecycle_hooks.rbs +92 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/test.rbs +69 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/unexpected_error.rbs +12 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/unexpected_warning.rbs +6 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/unit/test_case.rbs +3 -0
- data/.gem_rbs_collection/minitest/5.25/minitest/unit.rbs +4 -0
- data/.gem_rbs_collection/minitest/5.25/minitest.rbs +115 -0
- data/.gem_rbs_collection/nokogiri/1.11/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/nokogiri/1.11/nokogiri.rbs +2332 -0
- data/.gem_rbs_collection/nokogiri/1.11/patch.rbs +4 -0
- data/.gem_rbs_collection/parallel/1.20/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/parallel/1.20/parallel.rbs +86 -0
- data/.gem_rbs_collection/parser/3.2/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/parser/3.2/manifest.yaml +7 -0
- data/.gem_rbs_collection/parser/3.2/parser.rbs +194 -0
- data/.gem_rbs_collection/parser/3.2/polyfill.rbs +4 -0
- data/.gem_rbs_collection/rack/2.2/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rack/2.2/manifest.yaml +3 -0
- data/.gem_rbs_collection/rack/2.2/rack.rbs +1480 -0
- data/.gem_rbs_collection/rails-dom-testing/2.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rails-dom-testing/2.0/rails-dom-testing.rbs +51 -0
- data/.gem_rbs_collection/rails-html-sanitizer/1.6/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rails-html-sanitizer/1.6/rails-html-sanitizer.rbs +53 -0
- data/.gem_rbs_collection/railties/6.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/railties/6.0/manifest.yaml +2 -0
- data/.gem_rbs_collection/railties/6.0/patch.rbs +17 -0
- data/.gem_rbs_collection/railties/6.0/railties-generated.rbs +4822 -0
- data/.gem_rbs_collection/railties/6.0/railties.rbs +44 -0
- data/.gem_rbs_collection/rainbow/3.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rainbow/3.0/global.rbs +7 -0
- data/.gem_rbs_collection/rainbow/3.0/presenter.rbs +209 -0
- data/.gem_rbs_collection/rainbow/3.0/rainbow.rbs +5 -0
- data/.gem_rbs_collection/rake/13.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rake/13.0/manifest.yaml +2 -0
- data/.gem_rbs_collection/rake/13.0/rake.rbs +39 -0
- data/.gem_rbs_collection/regexp_parser/2.8/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/regexp_parser/2.8/regexp_parser.rbs +17 -0
- data/.gem_rbs_collection/rubocop/1.57/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rubocop/1.57/rubocop.rbs +208 -0
- data/.gem_rbs_collection/rubocop-ast/1.46/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rubocop-ast/1.46/rubocop-ast.rbs +903 -0
- data/.gem_rbs_collection/thor/1.2/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/thor/1.2/thor.rbs +62 -0
- data/.gem_rbs_collection/tzinfo/2.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/tzinfo/2.0/manifest.yaml +7 -0
- data/.gem_rbs_collection/tzinfo/2.0/tzinfo.rbs +600 -0
- data/.rspec +3 -0
- data/.rubocop.yml +8 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +132 -0
- data/LICENSE +21 -0
- data/LICENSE.txt +21 -0
- data/README.md +54 -0
- data/Rakefile +12 -0
- data/Steepfile +43 -0
- data/lib/decentworks/active_support/time_with_zone_support.rb +327 -0
- data/lib/decentworks/date/support/version.rb +9 -0
- data/lib/decentworks/date_support.rb +323 -0
- data/lib/decentworks_date_support.rb +4 -0
- data/rbs_collection.lock.yaml +288 -0
- data/rbs_collection.yaml +41 -0
- data/sig/decentworks/active_support/time_with_zone_support.rbs +109 -0
- data/sig/decentworks/date/support.rbs +8 -0
- data/sig/decentworks/date_support.rbs +107 -0
- metadata +197 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
module Decentworks
|
|
2
|
+
module ActiveSupport
|
|
3
|
+
module TimeWithZoneSupport
|
|
4
|
+
def beginning_of_this_week: (?Symbol?) -> ::ActiveSupport::TimeWithZone
|
|
5
|
+
def end_of_this_week: (?Symbol?) -> ::ActiveSupport::TimeWithZone
|
|
6
|
+
def all_this_week: (?Symbol?) -> ::Range[::ActiveSupport::TimeWithZone]
|
|
7
|
+
|
|
8
|
+
def all_this_month: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
9
|
+
|
|
10
|
+
def two_months_ago: -> ::ActiveSupport::TimeWithZone
|
|
11
|
+
def three_months_ago: -> ::ActiveSupport::TimeWithZone
|
|
12
|
+
def four_months_ago: -> ::ActiveSupport::TimeWithZone
|
|
13
|
+
def five_months_ago: -> ::ActiveSupport::TimeWithZone
|
|
14
|
+
def six_months_ago: -> ::ActiveSupport::TimeWithZone
|
|
15
|
+
def half_year_ago: -> ::ActiveSupport::TimeWithZone
|
|
16
|
+
def seven_months_ago: -> ::ActiveSupport::TimeWithZone
|
|
17
|
+
def eight_months_ago: -> ::ActiveSupport::TimeWithZone
|
|
18
|
+
def nine_months_ago: -> ::ActiveSupport::TimeWithZone
|
|
19
|
+
def ten_months_ago: -> ::ActiveSupport::TimeWithZone
|
|
20
|
+
def eleven_months_ago: -> ::ActiveSupport::TimeWithZone
|
|
21
|
+
|
|
22
|
+
def two_months_since: -> ::ActiveSupport::TimeWithZone
|
|
23
|
+
def three_months_since: -> ::ActiveSupport::TimeWithZone
|
|
24
|
+
def four_months_since: -> ::ActiveSupport::TimeWithZone
|
|
25
|
+
def five_months_since: -> ::ActiveSupport::TimeWithZone
|
|
26
|
+
def six_months_since: -> ::ActiveSupport::TimeWithZone
|
|
27
|
+
def half_year_since: -> ::ActiveSupport::TimeWithZone
|
|
28
|
+
def seven_months_since: -> ::ActiveSupport::TimeWithZone
|
|
29
|
+
def eight_months_since: -> ::ActiveSupport::TimeWithZone
|
|
30
|
+
def nine_months_since: -> ::ActiveSupport::TimeWithZone
|
|
31
|
+
def ten_months_since: -> ::ActiveSupport::TimeWithZone
|
|
32
|
+
def eleven_months_since: -> ::ActiveSupport::TimeWithZone
|
|
33
|
+
|
|
34
|
+
def beginning_of_january: -> ::ActiveSupport::TimeWithZone
|
|
35
|
+
def end_of_january: -> ::ActiveSupport::TimeWithZone
|
|
36
|
+
def all_january: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
37
|
+
|
|
38
|
+
def beginning_of_february: -> ::ActiveSupport::TimeWithZone
|
|
39
|
+
def end_of_february: -> ::ActiveSupport::TimeWithZone
|
|
40
|
+
def all_february: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
41
|
+
|
|
42
|
+
def beginning_of_march: -> ::ActiveSupport::TimeWithZone
|
|
43
|
+
def end_of_march: -> ::ActiveSupport::TimeWithZone
|
|
44
|
+
def all_march: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
45
|
+
|
|
46
|
+
def beginning_of_april: -> ::ActiveSupport::TimeWithZone
|
|
47
|
+
def end_of_april: -> ::ActiveSupport::TimeWithZone
|
|
48
|
+
def all_april: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
49
|
+
|
|
50
|
+
def beginning_of_may: -> ::ActiveSupport::TimeWithZone
|
|
51
|
+
def end_of_may: -> ::ActiveSupport::TimeWithZone
|
|
52
|
+
def all_may: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
53
|
+
|
|
54
|
+
def beginning_of_june: -> ::ActiveSupport::TimeWithZone
|
|
55
|
+
def end_of_june: -> ::ActiveSupport::TimeWithZone
|
|
56
|
+
def all_june: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
57
|
+
|
|
58
|
+
def beginning_of_july: -> ::ActiveSupport::TimeWithZone
|
|
59
|
+
def end_of_july: -> ::ActiveSupport::TimeWithZone
|
|
60
|
+
def all_july: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
61
|
+
|
|
62
|
+
def beginning_of_august: -> ::ActiveSupport::TimeWithZone
|
|
63
|
+
def end_of_august: -> ::ActiveSupport::TimeWithZone
|
|
64
|
+
def all_august: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
65
|
+
|
|
66
|
+
def beginning_of_september: -> ::ActiveSupport::TimeWithZone
|
|
67
|
+
def end_of_september: -> ::ActiveSupport::TimeWithZone
|
|
68
|
+
def all_september: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
69
|
+
|
|
70
|
+
def beginning_of_october: -> ::ActiveSupport::TimeWithZone
|
|
71
|
+
def end_of_october: -> ::ActiveSupport::TimeWithZone
|
|
72
|
+
def all_october: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
73
|
+
|
|
74
|
+
def beginning_of_november: -> ::ActiveSupport::TimeWithZone
|
|
75
|
+
def end_of_november: -> ::ActiveSupport::TimeWithZone
|
|
76
|
+
def all_november: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
77
|
+
|
|
78
|
+
def beginning_of_december: -> ::ActiveSupport::TimeWithZone
|
|
79
|
+
def end_of_december: -> ::ActiveSupport::TimeWithZone
|
|
80
|
+
def all_december: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
81
|
+
|
|
82
|
+
def beginning_of_first_quarter: -> ::ActiveSupport::TimeWithZone
|
|
83
|
+
def end_of_first_quarter: -> ::ActiveSupport::TimeWithZone
|
|
84
|
+
def all_first_quarter: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
85
|
+
|
|
86
|
+
def beginning_of_second_quarter: -> ::ActiveSupport::TimeWithZone
|
|
87
|
+
def end_of_second_quarter: -> ::ActiveSupport::TimeWithZone
|
|
88
|
+
def all_second_quarter: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
89
|
+
|
|
90
|
+
def beginning_of_third_quarter: -> ::ActiveSupport::TimeWithZone
|
|
91
|
+
def end_of_third_quarter: -> ::ActiveSupport::TimeWithZone
|
|
92
|
+
def all_third_quarter: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
93
|
+
|
|
94
|
+
def beginning_of_fourth_quarter: -> ::ActiveSupport::TimeWithZone
|
|
95
|
+
def end_of_fourth_quarter: -> ::ActiveSupport::TimeWithZone
|
|
96
|
+
def all_fourth_quarter: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
97
|
+
|
|
98
|
+
def beginning_of_first_half: -> ::ActiveSupport::TimeWithZone
|
|
99
|
+
def end_of_first_half: -> ::ActiveSupport::TimeWithZone
|
|
100
|
+
def all_first_half: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
101
|
+
|
|
102
|
+
def beginning_of_second_half: -> ::ActiveSupport::TimeWithZone
|
|
103
|
+
def end_of_second_half: -> ::ActiveSupport::TimeWithZone
|
|
104
|
+
def all_second_half: -> ::Range[::ActiveSupport::TimeWithZone]
|
|
105
|
+
|
|
106
|
+
def whole_months_elapsed: (?from: ::ActiveSupport::TimeWithZone, ?to: ::ActiveSupport::TimeWithZone) -> ::Integer
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
end
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
module Decentworks
|
|
2
|
+
module DateSupport
|
|
3
|
+
def beginning_of_this_week: (?Symbol?) -> ::Date
|
|
4
|
+
def end_of_this_week: (?Symbol?) -> ::Date
|
|
5
|
+
def all_this_week: (?Symbol?) -> ::Range[::Date]
|
|
6
|
+
|
|
7
|
+
def all_this_month: -> ::Range[::Date]
|
|
8
|
+
|
|
9
|
+
def two_months_ago: -> ::Date
|
|
10
|
+
def three_months_ago: -> ::Date
|
|
11
|
+
def four_months_ago: -> ::Date
|
|
12
|
+
def five_months_ago: -> ::Date
|
|
13
|
+
def six_months_ago: -> ::Date
|
|
14
|
+
def half_year_ago: -> ::Date
|
|
15
|
+
def seven_months_ago: -> ::Date
|
|
16
|
+
def eight_months_ago: -> ::Date
|
|
17
|
+
def nine_months_ago: -> ::Date
|
|
18
|
+
def ten_months_ago: -> ::Date
|
|
19
|
+
def eleven_months_ago: -> ::Date
|
|
20
|
+
|
|
21
|
+
def two_months_since: -> ::Date
|
|
22
|
+
def three_months_since: -> ::Date
|
|
23
|
+
def four_months_since: -> ::Date
|
|
24
|
+
def five_months_since: -> ::Date
|
|
25
|
+
def six_months_since: -> ::Date
|
|
26
|
+
def half_year_since: -> ::Date
|
|
27
|
+
def seven_months_since: -> ::Date
|
|
28
|
+
def eight_months_since: -> ::Date
|
|
29
|
+
def nine_months_since: -> ::Date
|
|
30
|
+
def ten_months_since: -> ::Date
|
|
31
|
+
def eleven_months_since: -> ::Date
|
|
32
|
+
|
|
33
|
+
def beginning_of_january: -> ::Date
|
|
34
|
+
def end_of_january: -> ::Date
|
|
35
|
+
def all_january: -> ::Range[::Date]
|
|
36
|
+
|
|
37
|
+
def beginning_of_february: -> ::Date
|
|
38
|
+
def end_of_february: -> ::Date
|
|
39
|
+
def all_february: -> ::Range[::Date]
|
|
40
|
+
|
|
41
|
+
def beginning_of_march: -> ::Date
|
|
42
|
+
def end_of_march: -> ::Date
|
|
43
|
+
def all_march: -> ::Range[::Date]
|
|
44
|
+
|
|
45
|
+
def beginning_of_april: -> ::Date
|
|
46
|
+
def end_of_april: -> ::Date
|
|
47
|
+
def all_april: -> ::Range[::Date]
|
|
48
|
+
|
|
49
|
+
def beginning_of_may: -> ::Date
|
|
50
|
+
def end_of_may: -> ::Date
|
|
51
|
+
def all_may: -> ::Range[::Date]
|
|
52
|
+
|
|
53
|
+
def beginning_of_june: -> ::Date
|
|
54
|
+
def end_of_june: -> ::Date
|
|
55
|
+
def all_june: -> ::Range[::Date]
|
|
56
|
+
|
|
57
|
+
def beginning_of_july: -> ::Date
|
|
58
|
+
def end_of_july: -> ::Date
|
|
59
|
+
def all_july: -> ::Range[::Date]
|
|
60
|
+
|
|
61
|
+
def beginning_of_august: -> ::Date
|
|
62
|
+
def end_of_august: -> ::Date
|
|
63
|
+
def all_august: -> ::Range[::Date]
|
|
64
|
+
|
|
65
|
+
def beginning_of_september: -> ::Date
|
|
66
|
+
def end_of_september: -> ::Date
|
|
67
|
+
def all_september: -> ::Range[::Date]
|
|
68
|
+
|
|
69
|
+
def beginning_of_october: -> ::Date
|
|
70
|
+
def end_of_october: -> ::Date
|
|
71
|
+
def all_october: -> ::Range[::Date]
|
|
72
|
+
|
|
73
|
+
def beginning_of_november: -> ::Date
|
|
74
|
+
def end_of_november: -> ::Date
|
|
75
|
+
def all_november: -> ::Range[::Date]
|
|
76
|
+
|
|
77
|
+
def beginning_of_december: -> ::Date
|
|
78
|
+
def end_of_december: -> ::Date
|
|
79
|
+
def all_december: -> ::Range[::Date]
|
|
80
|
+
|
|
81
|
+
def beginning_of_first_quarter: -> ::Date
|
|
82
|
+
def end_of_first_quarter: -> ::Date
|
|
83
|
+
def all_first_quarter: -> ::Range[::Date]
|
|
84
|
+
|
|
85
|
+
def beginning_of_second_quarter: -> ::Date
|
|
86
|
+
def end_of_second_quarter: -> ::Date
|
|
87
|
+
def all_second_quarter: -> ::Range[::Date]
|
|
88
|
+
|
|
89
|
+
def beginning_of_third_quarter: -> ::Date
|
|
90
|
+
def end_of_third_quarter: -> ::Date
|
|
91
|
+
def all_third_quarter: -> ::Range[::Date]
|
|
92
|
+
|
|
93
|
+
def beginning_of_fourth_quarter: -> ::Date
|
|
94
|
+
def end_of_fourth_quarter: -> ::Date
|
|
95
|
+
def all_fourth_quarter: -> ::Range[::Date]
|
|
96
|
+
|
|
97
|
+
def beginning_of_first_half: -> ::Date
|
|
98
|
+
def end_of_first_half: -> ::Date
|
|
99
|
+
def all_first_half: -> ::Range[::Date]
|
|
100
|
+
|
|
101
|
+
def beginning_of_second_half: -> ::Date
|
|
102
|
+
def end_of_second_half: -> ::Date
|
|
103
|
+
def all_second_half: -> ::Range[::Date]
|
|
104
|
+
|
|
105
|
+
def whole_months_elapsed: (?from: ::Date, ?to: ::Date) -> ::Integer
|
|
106
|
+
end
|
|
107
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: decentworks-date-support
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- decentworks
|
|
8
|
+
bindir: exe
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: activesupport
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '8.1'
|
|
19
|
+
type: :development
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '8.1'
|
|
26
|
+
description: 日付機能拡張ライブラリ
|
|
27
|
+
email:
|
|
28
|
+
- ''
|
|
29
|
+
executables: []
|
|
30
|
+
extensions: []
|
|
31
|
+
extra_rdoc_files: []
|
|
32
|
+
files:
|
|
33
|
+
- ".gem_rbs_collection/actionpack/7.2/.rbs_meta.yaml"
|
|
34
|
+
- ".gem_rbs_collection/actionpack/7.2/actioncontroller-7.2.rbs"
|
|
35
|
+
- ".gem_rbs_collection/actionpack/7.2/actioncontroller.rbs"
|
|
36
|
+
- ".gem_rbs_collection/actionpack/7.2/actiondispatch.rbs"
|
|
37
|
+
- ".gem_rbs_collection/actionpack/7.2/actionpack-generated.rbs"
|
|
38
|
+
- ".gem_rbs_collection/actionpack/7.2/patch.rbs"
|
|
39
|
+
- ".gem_rbs_collection/actionview/6.0/.rbs_meta.yaml"
|
|
40
|
+
- ".gem_rbs_collection/actionview/6.0/actionview-generated.rbs"
|
|
41
|
+
- ".gem_rbs_collection/actionview/6.0/actionview.rbs"
|
|
42
|
+
- ".gem_rbs_collection/actionview/6.0/patch.rbs"
|
|
43
|
+
- ".gem_rbs_collection/activesupport/7.0/.rbs_meta.yaml"
|
|
44
|
+
- ".gem_rbs_collection/activesupport/7.0/activesupport-7.0.rbs"
|
|
45
|
+
- ".gem_rbs_collection/activesupport/7.0/activesupport-generated.rbs"
|
|
46
|
+
- ".gem_rbs_collection/activesupport/7.0/activesupport.rbs"
|
|
47
|
+
- ".gem_rbs_collection/activesupport/7.0/manifest.yaml"
|
|
48
|
+
- ".gem_rbs_collection/activesupport/7.0/patch.rbs"
|
|
49
|
+
- ".gem_rbs_collection/ast/2.4/.rbs_meta.yaml"
|
|
50
|
+
- ".gem_rbs_collection/ast/2.4/ast.rbs"
|
|
51
|
+
- ".gem_rbs_collection/cgi/0.5/.rbs_meta.yaml"
|
|
52
|
+
- ".gem_rbs_collection/cgi/0.5/core.rbs"
|
|
53
|
+
- ".gem_rbs_collection/cgi/0.5/manifest.yaml"
|
|
54
|
+
- ".gem_rbs_collection/concurrent-ruby/1.1/.rbs_meta.yaml"
|
|
55
|
+
- ".gem_rbs_collection/concurrent-ruby/1.1/array.rbs"
|
|
56
|
+
- ".gem_rbs_collection/concurrent-ruby/1.1/atomic_reference.rbs"
|
|
57
|
+
- ".gem_rbs_collection/concurrent-ruby/1.1/executor.rbs"
|
|
58
|
+
- ".gem_rbs_collection/concurrent-ruby/1.1/hash.rbs"
|
|
59
|
+
- ".gem_rbs_collection/concurrent-ruby/1.1/map.rbs"
|
|
60
|
+
- ".gem_rbs_collection/concurrent-ruby/1.1/promises.rbs"
|
|
61
|
+
- ".gem_rbs_collection/concurrent-ruby/1.1/set.rbs"
|
|
62
|
+
- ".gem_rbs_collection/concurrent-ruby/1.1/timer_task.rbs"
|
|
63
|
+
- ".gem_rbs_collection/concurrent-ruby/1.1/utility/processor_counter.rbs"
|
|
64
|
+
- ".gem_rbs_collection/connection_pool/2.4/.rbs_meta.yaml"
|
|
65
|
+
- ".gem_rbs_collection/connection_pool/2.4/connection_pool.rbs"
|
|
66
|
+
- ".gem_rbs_collection/connection_pool/2.4/manifest.yaml"
|
|
67
|
+
- ".gem_rbs_collection/diff-lcs/1.5/.rbs_meta.yaml"
|
|
68
|
+
- ".gem_rbs_collection/diff-lcs/1.5/diff-lcs.rbs"
|
|
69
|
+
- ".gem_rbs_collection/faker/3.4.2/.rbs_meta.yaml"
|
|
70
|
+
- ".gem_rbs_collection/faker/3.4.2/faker-2.23.rbs"
|
|
71
|
+
- ".gem_rbs_collection/faker/3.4.2/faker.rbs"
|
|
72
|
+
- ".gem_rbs_collection/i18n/1.10/.rbs_meta.yaml"
|
|
73
|
+
- ".gem_rbs_collection/i18n/1.10/backend.rbs"
|
|
74
|
+
- ".gem_rbs_collection/i18n/1.10/i18n.rbs"
|
|
75
|
+
- ".gem_rbs_collection/lint_roller/1.1/.rbs_meta.yaml"
|
|
76
|
+
- ".gem_rbs_collection/lint_roller/1.1/lint_roller.rbs"
|
|
77
|
+
- ".gem_rbs_collection/minitest/5.25/.rbs_meta.yaml"
|
|
78
|
+
- ".gem_rbs_collection/minitest/5.25/minitest.rbs"
|
|
79
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/abstract_reporter.rbs"
|
|
80
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/assertion.rbs"
|
|
81
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/assertions.rbs"
|
|
82
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/backtrace_filter.rbs"
|
|
83
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/bench_spec.rbs"
|
|
84
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/benchmark.rbs"
|
|
85
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/composite_reporter.rbs"
|
|
86
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/compress.rbs"
|
|
87
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/error_on_warning.rbs"
|
|
88
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/expectation.rbs"
|
|
89
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/expectations.rbs"
|
|
90
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/guard.rbs"
|
|
91
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/mock.rbs"
|
|
92
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/parallel.rbs"
|
|
93
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/parallel/executor.rbs"
|
|
94
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/parallel/test.rbs"
|
|
95
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/parallel/test/class_methods.rbs"
|
|
96
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/pride_io.rbs"
|
|
97
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/pride_lol.rbs"
|
|
98
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/progress_reporter.rbs"
|
|
99
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/reportable.rbs"
|
|
100
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/reporter.rbs"
|
|
101
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/result.rbs"
|
|
102
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/runnable.rbs"
|
|
103
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/skip.rbs"
|
|
104
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/spec.rbs"
|
|
105
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/spec/dsl.rbs"
|
|
106
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/spec/dsl/instance_methods.rbs"
|
|
107
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/statistics_reporter.rbs"
|
|
108
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/summary_reporter.rbs"
|
|
109
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/test.rbs"
|
|
110
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/test/lifecycle_hooks.rbs"
|
|
111
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/unexpected_error.rbs"
|
|
112
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/unexpected_warning.rbs"
|
|
113
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/unit.rbs"
|
|
114
|
+
- ".gem_rbs_collection/minitest/5.25/minitest/unit/test_case.rbs"
|
|
115
|
+
- ".gem_rbs_collection/nokogiri/1.11/.rbs_meta.yaml"
|
|
116
|
+
- ".gem_rbs_collection/nokogiri/1.11/nokogiri.rbs"
|
|
117
|
+
- ".gem_rbs_collection/nokogiri/1.11/patch.rbs"
|
|
118
|
+
- ".gem_rbs_collection/parallel/1.20/.rbs_meta.yaml"
|
|
119
|
+
- ".gem_rbs_collection/parallel/1.20/parallel.rbs"
|
|
120
|
+
- ".gem_rbs_collection/parser/3.2/.rbs_meta.yaml"
|
|
121
|
+
- ".gem_rbs_collection/parser/3.2/manifest.yaml"
|
|
122
|
+
- ".gem_rbs_collection/parser/3.2/parser.rbs"
|
|
123
|
+
- ".gem_rbs_collection/parser/3.2/polyfill.rbs"
|
|
124
|
+
- ".gem_rbs_collection/rack/2.2/.rbs_meta.yaml"
|
|
125
|
+
- ".gem_rbs_collection/rack/2.2/manifest.yaml"
|
|
126
|
+
- ".gem_rbs_collection/rack/2.2/rack.rbs"
|
|
127
|
+
- ".gem_rbs_collection/rails-dom-testing/2.0/.rbs_meta.yaml"
|
|
128
|
+
- ".gem_rbs_collection/rails-dom-testing/2.0/rails-dom-testing.rbs"
|
|
129
|
+
- ".gem_rbs_collection/rails-html-sanitizer/1.6/.rbs_meta.yaml"
|
|
130
|
+
- ".gem_rbs_collection/rails-html-sanitizer/1.6/rails-html-sanitizer.rbs"
|
|
131
|
+
- ".gem_rbs_collection/railties/6.0/.rbs_meta.yaml"
|
|
132
|
+
- ".gem_rbs_collection/railties/6.0/manifest.yaml"
|
|
133
|
+
- ".gem_rbs_collection/railties/6.0/patch.rbs"
|
|
134
|
+
- ".gem_rbs_collection/railties/6.0/railties-generated.rbs"
|
|
135
|
+
- ".gem_rbs_collection/railties/6.0/railties.rbs"
|
|
136
|
+
- ".gem_rbs_collection/rainbow/3.0/.rbs_meta.yaml"
|
|
137
|
+
- ".gem_rbs_collection/rainbow/3.0/global.rbs"
|
|
138
|
+
- ".gem_rbs_collection/rainbow/3.0/presenter.rbs"
|
|
139
|
+
- ".gem_rbs_collection/rainbow/3.0/rainbow.rbs"
|
|
140
|
+
- ".gem_rbs_collection/rake/13.0/.rbs_meta.yaml"
|
|
141
|
+
- ".gem_rbs_collection/rake/13.0/manifest.yaml"
|
|
142
|
+
- ".gem_rbs_collection/rake/13.0/rake.rbs"
|
|
143
|
+
- ".gem_rbs_collection/regexp_parser/2.8/.rbs_meta.yaml"
|
|
144
|
+
- ".gem_rbs_collection/regexp_parser/2.8/regexp_parser.rbs"
|
|
145
|
+
- ".gem_rbs_collection/rubocop-ast/1.46/.rbs_meta.yaml"
|
|
146
|
+
- ".gem_rbs_collection/rubocop-ast/1.46/rubocop-ast.rbs"
|
|
147
|
+
- ".gem_rbs_collection/rubocop/1.57/.rbs_meta.yaml"
|
|
148
|
+
- ".gem_rbs_collection/rubocop/1.57/rubocop.rbs"
|
|
149
|
+
- ".gem_rbs_collection/thor/1.2/.rbs_meta.yaml"
|
|
150
|
+
- ".gem_rbs_collection/thor/1.2/thor.rbs"
|
|
151
|
+
- ".gem_rbs_collection/tzinfo/2.0/.rbs_meta.yaml"
|
|
152
|
+
- ".gem_rbs_collection/tzinfo/2.0/manifest.yaml"
|
|
153
|
+
- ".gem_rbs_collection/tzinfo/2.0/tzinfo.rbs"
|
|
154
|
+
- ".rspec"
|
|
155
|
+
- ".rubocop.yml"
|
|
156
|
+
- ".ruby-version"
|
|
157
|
+
- CHANGELOG.md
|
|
158
|
+
- CODE_OF_CONDUCT.md
|
|
159
|
+
- LICENSE
|
|
160
|
+
- LICENSE.txt
|
|
161
|
+
- README.md
|
|
162
|
+
- Rakefile
|
|
163
|
+
- Steepfile
|
|
164
|
+
- lib/decentworks/active_support/time_with_zone_support.rb
|
|
165
|
+
- lib/decentworks/date/support/version.rb
|
|
166
|
+
- lib/decentworks/date_support.rb
|
|
167
|
+
- lib/decentworks_date_support.rb
|
|
168
|
+
- rbs_collection.lock.yaml
|
|
169
|
+
- rbs_collection.yaml
|
|
170
|
+
- sig/decentworks/active_support/time_with_zone_support.rbs
|
|
171
|
+
- sig/decentworks/date/support.rbs
|
|
172
|
+
- sig/decentworks/date_support.rbs
|
|
173
|
+
homepage: https://github.com/YutakaMizomoto/decentworks-date-support
|
|
174
|
+
licenses:
|
|
175
|
+
- MIT
|
|
176
|
+
metadata:
|
|
177
|
+
homepage_uri: https://github.com/YutakaMizomoto/decentworks-date-support
|
|
178
|
+
source_code_uri: https://github.com/YutakaMizomoto/decentworks-date-support
|
|
179
|
+
changelog_uri: https://github.com/SrDecentWorks/decentworks-date-support/blob/develop/CHANGELOG.md
|
|
180
|
+
rdoc_options: []
|
|
181
|
+
require_paths:
|
|
182
|
+
- lib
|
|
183
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
184
|
+
requirements:
|
|
185
|
+
- - ">="
|
|
186
|
+
- !ruby/object:Gem::Version
|
|
187
|
+
version: 4.0.0
|
|
188
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
|
+
requirements:
|
|
190
|
+
- - ">="
|
|
191
|
+
- !ruby/object:Gem::Version
|
|
192
|
+
version: '0'
|
|
193
|
+
requirements: []
|
|
194
|
+
rubygems_version: 4.0.16
|
|
195
|
+
specification_version: 4
|
|
196
|
+
summary: 日付機能拡張ライブラリ
|
|
197
|
+
test_files: []
|