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.
- checksums.yaml +4 -4
- data/CHANGELOG +74 -0
- data/Gemfile +2 -0
- data/LICENSE +21 -0
- data/README.md +145 -0
- data/TODO.txt +26 -0
- data/lib/Month/VERSION.rb +1 -1
- data/month.rb.gemspec +44 -0
- data/test/tc_Date_to_month.rb +21 -0
- data/test/tc_Month_begin_date.rb +21 -0
- data/test/tc_Month_beginning.rb +21 -0
- data/test/tc_Month_beginning_of_month.rb +21 -0
- data/test/tc_Month_beginning_of_the_month.rb +21 -0
- data/test/tc_Month_cdate.rb +34 -0
- data/test/tc_Month_cdates.rb +111 -0
- data/test/tc_Month_comparator.rb +17 -0
- data/test/tc_Month_date.rb +34 -0
- data/test/tc_Month_dates.rb +111 -0
- data/test/tc_Month_day.rb +226 -0
- data/test/tc_Month_day_long.rb +152 -0
- data/test/tc_Month_day_short.rb +152 -0
- data/test/tc_Month_day_shortest.rb +152 -0
- data/test/tc_Month_days.rb +21 -0
- data/test/tc_Month_days_in_month.rb +21 -0
- data/test/tc_Month_days_in_the_month.rb +21 -0
- data/test/tc_Month_each_day.rb +21 -0
- data/test/tc_Month_end.rb +21 -0
- data/test/tc_Month_end_date.rb +21 -0
- data/test/tc_Month_end_of_month.rb +21 -0
- data/test/tc_Month_end_of_the_month.rb +21 -0
- data/test/tc_Month_eqlQ.rb +13 -0
- data/test/tc_Month_finish.rb +21 -0
- data/test/tc_Month_finish_date.rb +21 -0
- data/test/tc_Month_finish_of_month.rb +21 -0
- data/test/tc_Month_finish_of_the_month.rb +21 -0
- data/test/tc_Month_initialize.rb +28 -0
- data/test/tc_Month_last.rb +11 -0
- data/test/tc_Month_last_month.rb +11 -0
- data/test/tc_Month_method_missing.rb +116 -0
- data/test/tc_Month_minus.rb +23 -0
- data/test/tc_Month_next.rb +12 -0
- data/test/tc_Month_next_month.rb +12 -0
- data/test/tc_Month_plus.rb +23 -0
- data/test/tc_Month_prev.rb +11 -0
- data/test/tc_Month_prev_month.rb +11 -0
- data/test/tc_Month_previous.rb +11 -0
- data/test/tc_Month_previous_month.rb +11 -0
- data/test/tc_Month_prior.rb +11 -0
- data/test/tc_Month_prior_month.rb +11 -0
- data/test/tc_Month_self.begin_date.rb +46 -0
- data/test/tc_Month_self.beginning.rb +46 -0
- data/test/tc_Month_self.beginning_of_month.rb +46 -0
- data/test/tc_Month_self.beginning_of_the_month.rb +46 -0
- data/test/tc_Month_self.cdate.rb +33 -0
- data/test/tc_Month_self.cdates.rb +325 -0
- data/test/tc_Month_self.date.rb +33 -0
- data/test/tc_Month_self.dates.rb +325 -0
- data/test/tc_Month_self.day.rb +226 -0
- data/test/tc_Month_self.day_long.rb +152 -0
- data/test/tc_Month_self.day_short.rb +152 -0
- data/test/tc_Month_self.day_shortest.rb +152 -0
- data/test/tc_Month_self.days.rb +124 -0
- data/test/tc_Month_self.days_in_month.rb +124 -0
- data/test/tc_Month_self.days_in_the_month.rb +124 -0
- data/test/tc_Month_self.end.rb +21 -0
- data/test/tc_Month_self.end_date.rb +21 -0
- data/test/tc_Month_self.end_of_month.rb +21 -0
- data/test/tc_Month_self.end_of_the_month.rb +21 -0
- data/test/tc_Month_self.finish.rb +21 -0
- data/test/tc_Month_self.finish_date.rb +21 -0
- data/test/tc_Month_self.finish_of_month.rb +21 -0
- data/test/tc_Month_self.finish_of_the_month.rb +21 -0
- data/test/tc_Month_self.from_date.rb +21 -0
- data/test/tc_Month_self.last.rb +47 -0
- data/test/tc_Month_self.last_month.rb +47 -0
- data/test/tc_Month_self.method_missing.rb +227 -0
- data/test/tc_Month_self.next.rb +23 -0
- data/test/tc_Month_self.next_month.rb +23 -0
- data/test/tc_Month_self.now.rb +9 -0
- data/test/tc_Month_self.of.rb +78 -0
- data/test/tc_Month_self.prev.rb +23 -0
- data/test/tc_Month_self.prev_month.rb +23 -0
- data/test/tc_Month_self.previous.rb +23 -0
- data/test/tc_Month_self.previous_month.rb +23 -0
- data/test/tc_Month_self.prior.rb +23 -0
- data/test/tc_Month_self.prior_month.rb +23 -0
- data/test/tc_Month_self.start.rb +21 -0
- data/test/tc_Month_self.start_date.rb +21 -0
- data/test/tc_Month_self.start_of_month.rb +21 -0
- data/test/tc_Month_self.start_of_the_month.rb +21 -0
- data/test/tc_Month_self.succ.rb +23 -0
- data/test/tc_Month_self.succ_month.rb +23 -0
- data/test/tc_Month_self.successor.rb +23 -0
- data/test/tc_Month_self.successor_month.rb +23 -0
- data/test/tc_Month_self.this.rb +23 -0
- data/test/tc_Month_self.to_i.rb +100 -0
- data/test/tc_Month_self.to_long.rb +100 -0
- data/test/tc_Month_self.to_num.rb +100 -0
- data/test/tc_Month_self.to_number.rb +100 -0
- data/test/tc_Month_self.to_short.rb +100 -0
- data/test/tc_Month_self.today.rb +9 -0
- data/test/tc_Month_self.wday.rb +292 -0
- data/test/tc_Month_start.rb +21 -0
- data/test/tc_Month_start_date.rb +21 -0
- data/test/tc_Month_start_of_month.rb +21 -0
- data/test/tc_Month_start_of_the_month.rb +21 -0
- data/test/tc_Month_succ.rb +11 -0
- data/test/tc_Month_succ_month.rb +11 -0
- data/test/tc_Month_successor.rb +11 -0
- data/test/tc_Month_successor_month.rb +11 -0
- data/test/tc_Month_to_date.rb +17 -0
- data/test/tc_Month_to_i.rb +20 -0
- data/test/tc_Month_to_long.rb +20 -0
- data/test/tc_Month_to_num.rb +20 -0
- data/test/tc_Month_to_number.rb +20 -0
- data/test/tc_Month_to_s.rb +40 -0
- data/test/tc_Month_to_short.rb +20 -0
- data/test/tc_gemspec.rb +42 -0
- data/test/ts_Month.rb +14 -0
- 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.
|
|
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:
|
|
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
|
-
|
|
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:
|
|
286
|
+
version: '2.7'
|
|
166
287
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
288
|
requirements:
|
|
168
289
|
- - ">="
|