tins 1.32.1 → 1.37.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +105 -0
  3. data/Rakefile +2 -3
  4. data/examples/ones_difference.stm +0 -1
  5. data/lib/tins/concern.rb +36 -0
  6. data/lib/tins/count_by.rb +16 -3
  7. data/lib/tins/deep_const_get.rb +48 -34
  8. data/lib/tins/deprecate.rb +15 -0
  9. data/lib/tins/duration.rb +42 -0
  10. data/lib/tins/hash_bfs.rb +67 -0
  11. data/lib/tins/secure_write.rb +1 -1
  12. data/lib/tins/sexy_singleton.rb +2 -1
  13. data/lib/tins/string_version.rb +4 -0
  14. data/lib/tins/terminal.rb +3 -3
  15. data/lib/tins/time_dummy.rb +2 -1
  16. data/lib/tins/timed_cache.rb +1 -1
  17. data/lib/tins/token.rb +5 -1
  18. data/lib/tins/uniq_by.rb +16 -3
  19. data/lib/tins/version.rb +1 -1
  20. data/lib/tins/xt/count_by.rb +0 -4
  21. data/lib/tins/xt/deprecate.rb +5 -0
  22. data/lib/tins/xt/hash_bfs.rb +7 -0
  23. data/lib/tins/xt/uniq_by.rb +13 -3
  24. data/lib/tins/xt.rb +2 -0
  25. data/lib/tins.rb +2 -0
  26. data/tests/annotate_test.rb +0 -1
  27. data/tests/bijection_test.rb +0 -1
  28. data/tests/concern_test.rb +39 -2
  29. data/tests/date_dummy_test.rb +0 -1
  30. data/tests/date_time_dummy_test.rb +0 -1
  31. data/tests/delegate_test.rb +0 -1
  32. data/tests/deprecate_test.rb +41 -0
  33. data/tests/dslkit_test.rb +0 -1
  34. data/tests/duration_test.rb +19 -2
  35. data/tests/dynamic_scope_test.rb +0 -1
  36. data/tests/extract_last_argument_options_test.rb +0 -1
  37. data/tests/find_test.rb +0 -1
  38. data/tests/from_module_test.rb +0 -1
  39. data/tests/generator_test.rb +0 -1
  40. data/tests/go_test.rb +0 -1
  41. data/tests/hash_bfs_test.rb +34 -0
  42. data/tests/hash_symbolize_keys_recursive_test.rb +0 -1
  43. data/tests/implement_test.rb +0 -1
  44. data/tests/limited_test.rb +16 -1
  45. data/tests/lines_file_test.rb +0 -1
  46. data/tests/lru_cache_test.rb +0 -1
  47. data/tests/memoize_test.rb +0 -1
  48. data/tests/minimize_test.rb +0 -1
  49. data/tests/module_group_test.rb +0 -1
  50. data/tests/named_set_test.rb +0 -1
  51. data/tests/null_test.rb +0 -1
  52. data/tests/require_maybe_test.rb +0 -1
  53. data/tests/scope_test.rb +0 -1
  54. data/tests/secure_write_test.rb +6 -1
  55. data/tests/sexy_singleton_test.rb +1 -1
  56. data/tests/string_version_test.rb +1 -1
  57. data/tests/subhash_test.rb +0 -1
  58. data/tests/test_helper.rb +2 -1
  59. data/tests/time_dummy_test.rb +0 -1
  60. data/tests/time_freezer_test.rb +1 -1
  61. data/tests/token_test.rb +0 -1
  62. data/tests/unit_test.rb +0 -1
  63. data/tins.gemspec +16 -29
  64. metadata +32 -19
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tins
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.32.1
4
+ version: 1.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-21 00:00:00.000000000 Z
11
+ date: 2024-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar
@@ -16,28 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.12.0
19
+ version: '1.19'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.12.0
27
- - !ruby/object:Gem::Dependency
28
- name: utils
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
26
+ version: '1.19'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: all_images
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -122,6 +108,20 @@ dependencies:
122
108
  - - ">="
123
109
  - !ruby/object:Gem::Version
124
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: bigdecimal
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
125
  description: All the stuff that isn't good/big enough for a real library.
126
126
  email: flori@ping.de
127
127
  executables: []
@@ -146,6 +146,7 @@ extra_rdoc_files:
146
146
  - lib/tins/date_time_dummy.rb
147
147
  - lib/tins/deep_const_get.rb
148
148
  - lib/tins/deep_dup.rb
149
+ - lib/tins/deprecate.rb
149
150
  - lib/tins/dslkit.rb
150
151
  - lib/tins/duration.rb
151
152
  - lib/tins/expose.rb
@@ -154,6 +155,7 @@ extra_rdoc_files:
154
155
  - lib/tins/find.rb
155
156
  - lib/tins/generator.rb
156
157
  - lib/tins/go.rb
158
+ - lib/tins/hash_bfs.rb
157
159
  - lib/tins/hash_symbolize_keys_recursive.rb
158
160
  - lib/tins/hash_union.rb
159
161
  - lib/tins/if_predicate.rb
@@ -208,11 +210,13 @@ extra_rdoc_files:
208
210
  - lib/tins/xt/date_time_dummy.rb
209
211
  - lib/tins/xt/deep_const_get.rb
210
212
  - lib/tins/xt/deep_dup.rb
213
+ - lib/tins/xt/deprecate.rb
211
214
  - lib/tins/xt/dslkit.rb
212
215
  - lib/tins/xt/expose.rb
213
216
  - lib/tins/xt/extract_last_argument_options.rb
214
217
  - lib/tins/xt/file_binary.rb
215
218
  - lib/tins/xt/full.rb
219
+ - lib/tins/xt/hash_bfs.rb
216
220
  - lib/tins/xt/hash_symbolize_keys_recursive.rb
217
221
  - lib/tins/xt/hash_union.rb
218
222
  - lib/tins/xt/if_predicate.rb
@@ -243,6 +247,7 @@ extra_rdoc_files:
243
247
  - lib/tins/xt/uniq_by.rb
244
248
  - lib/tins/xt/write.rb
245
249
  files:
250
+ - CHANGES.md
246
251
  - COPYING
247
252
  - Gemfile
248
253
  - README.md
@@ -290,6 +295,7 @@ files:
290
295
  - lib/tins/date_time_dummy.rb
291
296
  - lib/tins/deep_const_get.rb
292
297
  - lib/tins/deep_dup.rb
298
+ - lib/tins/deprecate.rb
293
299
  - lib/tins/dslkit.rb
294
300
  - lib/tins/duration.rb
295
301
  - lib/tins/expose.rb
@@ -298,6 +304,7 @@ files:
298
304
  - lib/tins/find.rb
299
305
  - lib/tins/generator.rb
300
306
  - lib/tins/go.rb
307
+ - lib/tins/hash_bfs.rb
301
308
  - lib/tins/hash_symbolize_keys_recursive.rb
302
309
  - lib/tins/hash_union.rb
303
310
  - lib/tins/if_predicate.rb
@@ -352,11 +359,13 @@ files:
352
359
  - lib/tins/xt/date_time_dummy.rb
353
360
  - lib/tins/xt/deep_const_get.rb
354
361
  - lib/tins/xt/deep_dup.rb
362
+ - lib/tins/xt/deprecate.rb
355
363
  - lib/tins/xt/dslkit.rb
356
364
  - lib/tins/xt/expose.rb
357
365
  - lib/tins/xt/extract_last_argument_options.rb
358
366
  - lib/tins/xt/file_binary.rb
359
367
  - lib/tins/xt/full.rb
368
+ - lib/tins/xt/hash_bfs.rb
360
369
  - lib/tins/xt/hash_symbolize_keys_recursive.rb
361
370
  - lib/tins/xt/hash_union.rb
362
371
  - lib/tins/xt/if_predicate.rb
@@ -399,6 +408,7 @@ files:
399
408
  - tests/deep_const_get_test.rb
400
409
  - tests/deep_dup_test.rb
401
410
  - tests/delegate_test.rb
411
+ - tests/deprecate_test.rb
402
412
  - tests/dslkit_test.rb
403
413
  - tests/duration_test.rb
404
414
  - tests/dynamic_scope_test.rb
@@ -409,6 +419,7 @@ files:
409
419
  - tests/from_module_test.rb
410
420
  - tests/generator_test.rb
411
421
  - tests/go_test.rb
422
+ - tests/hash_bfs_test.rb
412
423
  - tests/hash_symbolize_keys_recursive_test.rb
413
424
  - tests/hash_union_test.rb
414
425
  - tests/if_predicate_test.rb
@@ -471,7 +482,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
471
482
  - !ruby/object:Gem::Version
472
483
  version: '0'
473
484
  requirements: []
474
- rubygems_version: 3.3.17
485
+ rubygems_version: 3.5.18
475
486
  signing_key:
476
487
  specification_version: 4
477
488
  summary: Useful stuff.
@@ -489,6 +500,7 @@ test_files:
489
500
  - tests/deep_const_get_test.rb
490
501
  - tests/deep_dup_test.rb
491
502
  - tests/delegate_test.rb
503
+ - tests/deprecate_test.rb
492
504
  - tests/dslkit_test.rb
493
505
  - tests/duration_test.rb
494
506
  - tests/dynamic_scope_test.rb
@@ -499,6 +511,7 @@ test_files:
499
511
  - tests/from_module_test.rb
500
512
  - tests/generator_test.rb
501
513
  - tests/go_test.rb
514
+ - tests/hash_bfs_test.rb
502
515
  - tests/hash_symbolize_keys_recursive_test.rb
503
516
  - tests/hash_union_test.rb
504
517
  - tests/if_predicate_test.rb