month.rb 0.11.0 → 0.11.2

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 (120) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +74 -0
  3. data/Gemfile +2 -0
  4. data/LICENSE +21 -0
  5. data/README.md +145 -0
  6. data/TODO.txt +26 -0
  7. data/lib/Month/VERSION.rb +1 -1
  8. data/month.rb.gemspec +44 -0
  9. data/test/tc_Date_to_month.rb +21 -0
  10. data/test/tc_Month_begin_date.rb +21 -0
  11. data/test/tc_Month_beginning.rb +21 -0
  12. data/test/tc_Month_beginning_of_month.rb +21 -0
  13. data/test/tc_Month_beginning_of_the_month.rb +21 -0
  14. data/test/tc_Month_cdate.rb +34 -0
  15. data/test/tc_Month_cdates.rb +111 -0
  16. data/test/tc_Month_comparator.rb +17 -0
  17. data/test/tc_Month_date.rb +34 -0
  18. data/test/tc_Month_dates.rb +111 -0
  19. data/test/tc_Month_day.rb +226 -0
  20. data/test/tc_Month_day_long.rb +152 -0
  21. data/test/tc_Month_day_short.rb +152 -0
  22. data/test/tc_Month_day_shortest.rb +152 -0
  23. data/test/tc_Month_days.rb +21 -0
  24. data/test/tc_Month_days_in_month.rb +21 -0
  25. data/test/tc_Month_days_in_the_month.rb +21 -0
  26. data/test/tc_Month_each_day.rb +21 -0
  27. data/test/tc_Month_end.rb +21 -0
  28. data/test/tc_Month_end_date.rb +21 -0
  29. data/test/tc_Month_end_of_month.rb +21 -0
  30. data/test/tc_Month_end_of_the_month.rb +21 -0
  31. data/test/tc_Month_eqlQ.rb +13 -0
  32. data/test/tc_Month_finish.rb +21 -0
  33. data/test/tc_Month_finish_date.rb +21 -0
  34. data/test/tc_Month_finish_of_month.rb +21 -0
  35. data/test/tc_Month_finish_of_the_month.rb +21 -0
  36. data/test/tc_Month_initialize.rb +28 -0
  37. data/test/tc_Month_last.rb +11 -0
  38. data/test/tc_Month_last_month.rb +11 -0
  39. data/test/tc_Month_method_missing.rb +116 -0
  40. data/test/tc_Month_minus.rb +23 -0
  41. data/test/tc_Month_next.rb +12 -0
  42. data/test/tc_Month_next_month.rb +12 -0
  43. data/test/tc_Month_plus.rb +23 -0
  44. data/test/tc_Month_prev.rb +11 -0
  45. data/test/tc_Month_prev_month.rb +11 -0
  46. data/test/tc_Month_previous.rb +11 -0
  47. data/test/tc_Month_previous_month.rb +11 -0
  48. data/test/tc_Month_prior.rb +11 -0
  49. data/test/tc_Month_prior_month.rb +11 -0
  50. data/test/tc_Month_self.begin_date.rb +46 -0
  51. data/test/tc_Month_self.beginning.rb +46 -0
  52. data/test/tc_Month_self.beginning_of_month.rb +46 -0
  53. data/test/tc_Month_self.beginning_of_the_month.rb +46 -0
  54. data/test/tc_Month_self.cdate.rb +33 -0
  55. data/test/tc_Month_self.cdates.rb +325 -0
  56. data/test/tc_Month_self.date.rb +33 -0
  57. data/test/tc_Month_self.dates.rb +325 -0
  58. data/test/tc_Month_self.day.rb +226 -0
  59. data/test/tc_Month_self.day_long.rb +152 -0
  60. data/test/tc_Month_self.day_short.rb +152 -0
  61. data/test/tc_Month_self.day_shortest.rb +152 -0
  62. data/test/tc_Month_self.days.rb +124 -0
  63. data/test/tc_Month_self.days_in_month.rb +124 -0
  64. data/test/tc_Month_self.days_in_the_month.rb +124 -0
  65. data/test/tc_Month_self.end.rb +21 -0
  66. data/test/tc_Month_self.end_date.rb +21 -0
  67. data/test/tc_Month_self.end_of_month.rb +21 -0
  68. data/test/tc_Month_self.end_of_the_month.rb +21 -0
  69. data/test/tc_Month_self.finish.rb +21 -0
  70. data/test/tc_Month_self.finish_date.rb +21 -0
  71. data/test/tc_Month_self.finish_of_month.rb +21 -0
  72. data/test/tc_Month_self.finish_of_the_month.rb +21 -0
  73. data/test/tc_Month_self.from_date.rb +21 -0
  74. data/test/tc_Month_self.last.rb +47 -0
  75. data/test/tc_Month_self.last_month.rb +47 -0
  76. data/test/tc_Month_self.method_missing.rb +227 -0
  77. data/test/tc_Month_self.next.rb +23 -0
  78. data/test/tc_Month_self.next_month.rb +23 -0
  79. data/test/tc_Month_self.now.rb +9 -0
  80. data/test/tc_Month_self.of.rb +78 -0
  81. data/test/tc_Month_self.prev.rb +23 -0
  82. data/test/tc_Month_self.prev_month.rb +23 -0
  83. data/test/tc_Month_self.previous.rb +23 -0
  84. data/test/tc_Month_self.previous_month.rb +23 -0
  85. data/test/tc_Month_self.prior.rb +23 -0
  86. data/test/tc_Month_self.prior_month.rb +23 -0
  87. data/test/tc_Month_self.start.rb +21 -0
  88. data/test/tc_Month_self.start_date.rb +21 -0
  89. data/test/tc_Month_self.start_of_month.rb +21 -0
  90. data/test/tc_Month_self.start_of_the_month.rb +21 -0
  91. data/test/tc_Month_self.succ.rb +23 -0
  92. data/test/tc_Month_self.succ_month.rb +23 -0
  93. data/test/tc_Month_self.successor.rb +23 -0
  94. data/test/tc_Month_self.successor_month.rb +23 -0
  95. data/test/tc_Month_self.this.rb +23 -0
  96. data/test/tc_Month_self.to_i.rb +100 -0
  97. data/test/tc_Month_self.to_long.rb +100 -0
  98. data/test/tc_Month_self.to_num.rb +100 -0
  99. data/test/tc_Month_self.to_number.rb +100 -0
  100. data/test/tc_Month_self.to_short.rb +100 -0
  101. data/test/tc_Month_self.today.rb +9 -0
  102. data/test/tc_Month_self.wday.rb +292 -0
  103. data/test/tc_Month_start.rb +21 -0
  104. data/test/tc_Month_start_date.rb +21 -0
  105. data/test/tc_Month_start_of_month.rb +21 -0
  106. data/test/tc_Month_start_of_the_month.rb +21 -0
  107. data/test/tc_Month_succ.rb +11 -0
  108. data/test/tc_Month_succ_month.rb +11 -0
  109. data/test/tc_Month_successor.rb +11 -0
  110. data/test/tc_Month_successor_month.rb +11 -0
  111. data/test/tc_Month_to_date.rb +17 -0
  112. data/test/tc_Month_to_i.rb +20 -0
  113. data/test/tc_Month_to_long.rb +20 -0
  114. data/test/tc_Month_to_num.rb +20 -0
  115. data/test/tc_Month_to_number.rb +20 -0
  116. data/test/tc_Month_to_s.rb +40 -0
  117. data/test/tc_Month_to_short.rb +20 -0
  118. data/test/tc_gemspec.rb +42 -0
  119. data/test/ts_Month.rb +14 -0
  120. metadata +126 -5
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: month.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoran
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2024-03-06 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: minitest
@@ -33,6 +33,11 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
+ - CHANGELOG
37
+ - Gemfile
38
+ - LICENSE
39
+ - README.md
40
+ - TODO.txt
36
41
  - lib/Array/extract_optionsX.rb
37
42
  - lib/Date/to_month.rb
38
43
  - lib/Month.rb
@@ -151,10 +156,126 @@ files:
151
156
  - lib/Month/to_number.rb
152
157
  - lib/Month/to_s.rb
153
158
  - lib/Month/to_short.rb
154
- homepage: http://github.com/thoran/month.rb
159
+ - month.rb.gemspec
160
+ - test/tc_Date_to_month.rb
161
+ - test/tc_Month_begin_date.rb
162
+ - test/tc_Month_beginning.rb
163
+ - test/tc_Month_beginning_of_month.rb
164
+ - test/tc_Month_beginning_of_the_month.rb
165
+ - test/tc_Month_cdate.rb
166
+ - test/tc_Month_cdates.rb
167
+ - test/tc_Month_comparator.rb
168
+ - test/tc_Month_date.rb
169
+ - test/tc_Month_dates.rb
170
+ - test/tc_Month_day.rb
171
+ - test/tc_Month_day_long.rb
172
+ - test/tc_Month_day_short.rb
173
+ - test/tc_Month_day_shortest.rb
174
+ - test/tc_Month_days.rb
175
+ - test/tc_Month_days_in_month.rb
176
+ - test/tc_Month_days_in_the_month.rb
177
+ - test/tc_Month_each_day.rb
178
+ - test/tc_Month_end.rb
179
+ - test/tc_Month_end_date.rb
180
+ - test/tc_Month_end_of_month.rb
181
+ - test/tc_Month_end_of_the_month.rb
182
+ - test/tc_Month_eqlQ.rb
183
+ - test/tc_Month_finish.rb
184
+ - test/tc_Month_finish_date.rb
185
+ - test/tc_Month_finish_of_month.rb
186
+ - test/tc_Month_finish_of_the_month.rb
187
+ - test/tc_Month_initialize.rb
188
+ - test/tc_Month_last.rb
189
+ - test/tc_Month_last_month.rb
190
+ - test/tc_Month_method_missing.rb
191
+ - test/tc_Month_minus.rb
192
+ - test/tc_Month_next.rb
193
+ - test/tc_Month_next_month.rb
194
+ - test/tc_Month_plus.rb
195
+ - test/tc_Month_prev.rb
196
+ - test/tc_Month_prev_month.rb
197
+ - test/tc_Month_previous.rb
198
+ - test/tc_Month_previous_month.rb
199
+ - test/tc_Month_prior.rb
200
+ - test/tc_Month_prior_month.rb
201
+ - test/tc_Month_self.begin_date.rb
202
+ - test/tc_Month_self.beginning.rb
203
+ - test/tc_Month_self.beginning_of_month.rb
204
+ - test/tc_Month_self.beginning_of_the_month.rb
205
+ - test/tc_Month_self.cdate.rb
206
+ - test/tc_Month_self.cdates.rb
207
+ - test/tc_Month_self.date.rb
208
+ - test/tc_Month_self.dates.rb
209
+ - test/tc_Month_self.day.rb
210
+ - test/tc_Month_self.day_long.rb
211
+ - test/tc_Month_self.day_short.rb
212
+ - test/tc_Month_self.day_shortest.rb
213
+ - test/tc_Month_self.days.rb
214
+ - test/tc_Month_self.days_in_month.rb
215
+ - test/tc_Month_self.days_in_the_month.rb
216
+ - test/tc_Month_self.end.rb
217
+ - test/tc_Month_self.end_date.rb
218
+ - test/tc_Month_self.end_of_month.rb
219
+ - test/tc_Month_self.end_of_the_month.rb
220
+ - test/tc_Month_self.finish.rb
221
+ - test/tc_Month_self.finish_date.rb
222
+ - test/tc_Month_self.finish_of_month.rb
223
+ - test/tc_Month_self.finish_of_the_month.rb
224
+ - test/tc_Month_self.from_date.rb
225
+ - test/tc_Month_self.last.rb
226
+ - test/tc_Month_self.last_month.rb
227
+ - test/tc_Month_self.method_missing.rb
228
+ - test/tc_Month_self.next.rb
229
+ - test/tc_Month_self.next_month.rb
230
+ - test/tc_Month_self.now.rb
231
+ - test/tc_Month_self.of.rb
232
+ - test/tc_Month_self.prev.rb
233
+ - test/tc_Month_self.prev_month.rb
234
+ - test/tc_Month_self.previous.rb
235
+ - test/tc_Month_self.previous_month.rb
236
+ - test/tc_Month_self.prior.rb
237
+ - test/tc_Month_self.prior_month.rb
238
+ - test/tc_Month_self.start.rb
239
+ - test/tc_Month_self.start_date.rb
240
+ - test/tc_Month_self.start_of_month.rb
241
+ - test/tc_Month_self.start_of_the_month.rb
242
+ - test/tc_Month_self.succ.rb
243
+ - test/tc_Month_self.succ_month.rb
244
+ - test/tc_Month_self.successor.rb
245
+ - test/tc_Month_self.successor_month.rb
246
+ - test/tc_Month_self.this.rb
247
+ - test/tc_Month_self.to_i.rb
248
+ - test/tc_Month_self.to_long.rb
249
+ - test/tc_Month_self.to_num.rb
250
+ - test/tc_Month_self.to_number.rb
251
+ - test/tc_Month_self.to_short.rb
252
+ - test/tc_Month_self.today.rb
253
+ - test/tc_Month_self.wday.rb
254
+ - test/tc_Month_start.rb
255
+ - test/tc_Month_start_date.rb
256
+ - test/tc_Month_start_of_month.rb
257
+ - test/tc_Month_start_of_the_month.rb
258
+ - test/tc_Month_succ.rb
259
+ - test/tc_Month_succ_month.rb
260
+ - test/tc_Month_successor.rb
261
+ - test/tc_Month_successor_month.rb
262
+ - test/tc_Month_to_date.rb
263
+ - test/tc_Month_to_i.rb
264
+ - test/tc_Month_to_long.rb
265
+ - test/tc_Month_to_num.rb
266
+ - test/tc_Month_to_number.rb
267
+ - test/tc_Month_to_s.rb
268
+ - test/tc_Month_to_short.rb
269
+ - test/tc_gemspec.rb
270
+ - test/ts_Month.rb
271
+ homepage: https://github.com/thoran/month.rb
155
272
  licenses:
156
273
  - MIT
157
- metadata: {}
274
+ metadata:
275
+ bug_tracker_uri: https://github.com/thoran/month.rb/issues
276
+ changelog_uri: https://github.com/thoran/month.rb/blob/master/CHANGELOG
277
+ source_code_uri: https://github.com/thoran/month.rb
278
+ documentation_uri: https://github.com/thoran/month.rb/blob/master/README.md
158
279
  rdoc_options: []
159
280
  require_paths:
160
281
  - lib
@@ -162,7 +283,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
283
  requirements:
163
284
  - - ">="
164
285
  - !ruby/object:Gem::Version
165
- version: 1.8.6
286
+ version: '2.7'
166
287
  required_rubygems_version: !ruby/object:Gem::Requirement
167
288
  requirements:
168
289
  - - ">="