mixins 0.1.0 → 0.2.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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.md +7 -0
- data/lib/mixins/datadir.rb +3 -0
- data/lib/mixins.rb +1 -1
- data/spec/spec_helper.rb +3 -1
- data.tar.gz.sig +2 -5
- metadata +100 -83
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 41bd2f03ddbe18f96f42fd3c30603c9def0d2d89ef967674c724439ae65826bf
|
|
4
|
+
data.tar.gz: 3b77e310ed60c162dc78abc1683e91087599116b4d954fe3217ac77433af779b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 43d6043568e487859576b96811feee769810cd7251b7ca8c889e9e5f0306d768bed717a5d5cf4cbf8db046ac73bd55bb517f6062e0beaea6cff7c7ca6a42c92f
|
|
7
|
+
data.tar.gz: 6d06ef20fcbab5440f8e272079f522f83d317572d4675af662ba78af626dc34f34bdaddb112c14a90a4a508872a72b983b4ccd504e8632c5c9f7e2f61ca56dfe
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/History.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# Release History for mixins
|
|
2
2
|
|
|
3
3
|
---
|
|
4
|
+
## v0.2.0 [2026-04-14] Michael Granger <ged@faeriemud.org>
|
|
5
|
+
|
|
6
|
+
Improvements:
|
|
7
|
+
|
|
8
|
+
- Add datadir gem to work around breaking Rubygems change
|
|
9
|
+
|
|
10
|
+
|
|
4
11
|
## v0.1.0 [2025-07-12] Michael Granger <ged@faeriemud.org>
|
|
5
12
|
|
|
6
13
|
First release.
|
data/lib/mixins/datadir.rb
CHANGED
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
require 'pathname'
|
|
4
4
|
require 'rubygems'
|
|
5
|
+
require 'rubygems/datadir'
|
|
5
6
|
|
|
6
7
|
require 'mixins' unless defined?( Mixins )
|
|
7
8
|
|
|
9
|
+
using Gem::DataDirRefinements
|
|
10
|
+
|
|
8
11
|
|
|
9
12
|
# Adds a #data_dir method and a DATA_DIR constant to extended objects. These
|
|
10
13
|
# will be set to the `Pathname` to the data directory distributed with a gem of the
|
data/lib/mixins.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
|
@@ -9,6 +9,8 @@ require 'rspec'
|
|
|
9
9
|
RSpec.configure do |config|
|
|
10
10
|
config.mock_with( :rspec ) do |mock|
|
|
11
11
|
mock.syntax = :expect
|
|
12
|
+
mock.verify_doubled_constant_names = true
|
|
13
|
+
mock.verify_partial_doubles = true
|
|
12
14
|
end
|
|
13
15
|
|
|
14
16
|
config.disable_monkey_patching!
|
|
@@ -19,7 +21,7 @@ RSpec.configure do |config|
|
|
|
19
21
|
config.profile_examples = 5
|
|
20
22
|
config.run_all_when_everything_filtered = true
|
|
21
23
|
config.shared_context_metadata_behavior = :apply_to_host_groups
|
|
22
|
-
|
|
24
|
+
config.warnings = true
|
|
23
25
|
end
|
|
24
26
|
|
|
25
27
|
|
data.tar.gz.sig
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
��
|
|
2
|
-
L
|
|
3
|
-
���A�a�5�(��
|
|
4
|
-
����i�)������z)ʃ�I�o�#.�$���X�C�W�Vw��6��G��V߫�L�\.*����B�����OC�3
|
|
5
|
-
��1(�&��8@-y�����J�YP��V�c��6�:��:ζm�[4N{e�S���@N0��/�_�+������`cNNXl3��;S������,t��z�M���H/��ż�
|
|
1
|
+
��r~�+�S��l�) ����D8N����tju�*��_�.�x�������7��=ƔL�i��U
|
|
2
|
+
ij�욖�YH{�i�nc,����1P����Ҙ��&�7�%�b��˞r��L�`Vf�<Ѣ�#m�Wu�DO{嗀ݟ����$����d�Z�D�����\?!jE�����{���F���gOX܄�'�oZ���l�,��P���r�"7����K�,�B��w�I�UI���@��9����0��CB�$��L�q:�=�ss,�*=b�#�6o�'o`ީM�p���y{*�l��;�b�m|����O=�'�����ꂆbF&� �^V��Q"l��U��L��ə�gn�8�a�*�w��
|
metadata
CHANGED
|
@@ -1,108 +1,125 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mixins
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Michael Granger
|
|
8
|
-
- Mahlon E. Smith
|
|
7
|
+
- Michael Granger
|
|
8
|
+
- Mahlon E. Smith
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain:
|
|
11
|
-
- |
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
date: 2025-07-12 00:00:00.000000000 Z
|
|
11
|
+
- |
|
|
12
|
+
-----BEGIN CERTIFICATE-----
|
|
13
|
+
MIIEMDCCApigAwIBAgIBAjANBgkqhkiG9w0BAQsFADA+MQwwCgYDVQQDDANnZWQx
|
|
14
|
+
GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
|
|
15
|
+
HhcNMjYwMjAyMjExMjQ0WhcNMjcwMjAyMjExMjQ0WjA+MQwwCgYDVQQDDANnZWQx
|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|
30
|
+
vrObIiO7LbhJxpYzTGkGzMFigcnm6vIGMex4AgtArc2RpWOvtAXQrU7CZHUkcdQM
|
|
31
|
+
4n5eVK+m3IZlD7dd4HoPT2jF2cOGmk8XFclT0GcPVYmEWFFmotN2aiMj4sqVm/Ob
|
|
32
|
+
V+FmyTUy4gVtcNOFO/sBnFRiQW0fxV9/97Dog9ciYesfiAhm4EpcuTmatdAuMrZR
|
|
33
|
+
WBmf+jXIub5S7RBw+m0mk2xhmcSkg1vY5w6IEIhSo2e2gE9rA0rIkZO5wP4sCouE
|
|
34
|
+
XdaRMEnt/AVHUzroBR3CWAz/6ZnDF8GS7EK1bOfM+YWqJL30g7PoxpT+UJTqWJtM
|
|
35
|
+
CCC1LSoBD7OEUiaIMWUo4h7xWIs=
|
|
36
|
+
-----END CERTIFICATE-----
|
|
37
|
+
date: 2026-04-14 00:00:00.000000000 Z
|
|
39
38
|
dependencies:
|
|
40
|
-
- !ruby/object:Gem::Dependency
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
39
|
+
- !ruby/object:Gem::Dependency
|
|
40
|
+
name: rubygems-datadir
|
|
41
|
+
requirement: !ruby/object:Gem::Requirement
|
|
42
|
+
requirements:
|
|
43
|
+
-
|
|
44
|
+
- ~>
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: "0.0"
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
-
|
|
52
|
+
- ~>
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: "0.0"
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: rake-deveiate
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
-
|
|
60
|
+
- ~>
|
|
61
|
+
- !ruby/object:Gem::Version
|
|
62
|
+
version: "0.10"
|
|
63
|
+
type: :development
|
|
64
|
+
prerelease: false
|
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
66
|
+
requirements:
|
|
67
|
+
-
|
|
68
|
+
- ~>
|
|
69
|
+
- !ruby/object:Gem::Version
|
|
70
|
+
version: "0.10"
|
|
71
|
+
description: "This is a collection of zero-dependency mixins. They’re intended to be generically useful for building other software, well-tested, and not add any non-stdlib dependencies."
|
|
57
72
|
email:
|
|
58
|
-
- ged@faeriemud.org
|
|
59
|
-
- mahlon@martini.nu
|
|
73
|
+
- ged@faeriemud.org
|
|
74
|
+
- mahlon@martini.nu
|
|
60
75
|
executables: []
|
|
61
76
|
extensions: []
|
|
62
77
|
extra_rdoc_files: []
|
|
63
78
|
files:
|
|
64
|
-
- History.md
|
|
65
|
-
- LICENSE.txt
|
|
66
|
-
- README.md
|
|
67
|
-
- lib/mixins.rb
|
|
68
|
-
- lib/mixins/data_utilities.rb
|
|
69
|
-
- lib/mixins/datadir.rb
|
|
70
|
-
- lib/mixins/delegation.rb
|
|
71
|
-
- lib/mixins/hooks.rb
|
|
72
|
-
- lib/mixins/inspection.rb
|
|
73
|
-
- lib/mixins/method_utilities.rb
|
|
74
|
-
- spec/mixins/data_utilities_spec.rb
|
|
75
|
-
- spec/mixins/datadir_spec.rb
|
|
76
|
-
- spec/mixins/delegation_spec.rb
|
|
77
|
-
- spec/mixins/hooks_spec.rb
|
|
78
|
-
- spec/mixins/inspection_spec.rb
|
|
79
|
-
- spec/mixins/method_utilities_spec.rb
|
|
80
|
-
- spec/mixins_spec.rb
|
|
81
|
-
- spec/spec_helper.rb
|
|
82
|
-
homepage: https://hg.sr.ht/~ged/Mixins
|
|
79
|
+
- History.md
|
|
80
|
+
- LICENSE.txt
|
|
81
|
+
- README.md
|
|
82
|
+
- lib/mixins.rb
|
|
83
|
+
- lib/mixins/data_utilities.rb
|
|
84
|
+
- lib/mixins/datadir.rb
|
|
85
|
+
- lib/mixins/delegation.rb
|
|
86
|
+
- lib/mixins/hooks.rb
|
|
87
|
+
- lib/mixins/inspection.rb
|
|
88
|
+
- lib/mixins/method_utilities.rb
|
|
89
|
+
- spec/mixins/data_utilities_spec.rb
|
|
90
|
+
- spec/mixins/datadir_spec.rb
|
|
91
|
+
- spec/mixins/delegation_spec.rb
|
|
92
|
+
- spec/mixins/hooks_spec.rb
|
|
93
|
+
- spec/mixins/inspection_spec.rb
|
|
94
|
+
- spec/mixins/method_utilities_spec.rb
|
|
95
|
+
- spec/mixins_spec.rb
|
|
96
|
+
- spec/spec_helper.rb
|
|
97
|
+
homepage: "https://hg.sr.ht/~ged/Mixins"
|
|
83
98
|
licenses:
|
|
84
|
-
- BSD-3-Clause
|
|
99
|
+
- BSD-3-Clause
|
|
85
100
|
metadata:
|
|
86
|
-
homepage_uri: https://hg.sr.ht/~ged/Mixins
|
|
87
|
-
documentation_uri: https://deveiate.org/code/mixins
|
|
88
|
-
changelog_uri: https://deveiate.org/code/mixins/History_md.html
|
|
89
|
-
source_uri: https://hg.sr.ht/~ged/Mixins/browse
|
|
90
|
-
bug_tracker_uri: https://todo.sr.ht/~ged/Mixins/browse
|
|
101
|
+
homepage_uri: "https://hg.sr.ht/~ged/Mixins"
|
|
102
|
+
documentation_uri: "https://deveiate.org/code/mixins"
|
|
103
|
+
changelog_uri: "https://deveiate.org/code/mixins/History_md.html"
|
|
104
|
+
source_uri: "https://hg.sr.ht/~ged/Mixins/browse"
|
|
105
|
+
bug_tracker_uri: "https://todo.sr.ht/~ged/Mixins/browse"
|
|
91
106
|
rdoc_options: []
|
|
92
107
|
require_paths:
|
|
93
|
-
- lib
|
|
108
|
+
- lib
|
|
94
109
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
110
|
requirements:
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
111
|
+
-
|
|
112
|
+
- ">="
|
|
113
|
+
- !ruby/object:Gem::Version
|
|
114
|
+
version: "0"
|
|
99
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
116
|
requirements:
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
117
|
+
-
|
|
118
|
+
- ">="
|
|
119
|
+
- !ruby/object:Gem::Version
|
|
120
|
+
version: "0"
|
|
104
121
|
requirements: []
|
|
105
|
-
rubygems_version:
|
|
122
|
+
rubygems_version: 4.1.0.dev
|
|
106
123
|
specification_version: 4
|
|
107
124
|
summary: This is a collection of zero-dependency mixins.
|
|
108
125
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|