snaky_hash 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5995aa841b28557864f23d3d2e08c861d5854805c8eb8bed7e68719b89412a44
4
- data.tar.gz: 035cd4ab1644739be5ab0bfcea8388bc37110e4cd4b3d495b70715652bd3cd35
3
+ metadata.gz: 2e85d5cdcbe75012d4230e8cf2444461cb395187250dba8a2c5dfb925f0ad547
4
+ data.tar.gz: 40f046fd2560be655d0e330c3e3239121b8a2044a0ddc157ceb462ca720cc005
5
5
  SHA512:
6
- metadata.gz: b2ee23b5884158fe2642c73b2d00665900e509a606942008cc2e02aee79becd46d01f71e16e4702d027f9961cbd24f5892ecf4bf06915344def299b4488f9324
7
- data.tar.gz: fa72da01cb55b92152f9274f3dcb2920c6948d73ed11d0d3af70cfa86b713985b73746e3a8b60f0cf8873e8fea62dbd4dcc9d659e329ccbaad32ff901052ea34
6
+ metadata.gz: c548df1650e90ab683271e79efe82d7c5748c1359d004a339d28daa448f0478066c33462c7d29c1e1c2dec7770b31ae9d08550cff6d270d4307c174918479d89
7
+ data.tar.gz: 17126cb28e0d3563f02742f717a01f11d3fc570583b168b7145fc798e2d86163e18b5fe33c5a40956448cfcc4febb4e74dfec60b979e0f39e7268491d78c00b5
checksums.yaml.gz.sig ADDED
Binary file
data/CHANGELOG.md CHANGED
@@ -4,15 +4,23 @@ All notable changes to this project will be documented in this file.
4
4
  The format (since v2) is based on [Keep a Changelog v1](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.0.0.html).
6
6
 
7
- ## Unreleased
7
+ ## [Unreleased]
8
8
  ### Added
9
9
  ### Changed
10
10
  ### Fixed
11
11
  ### Removed
12
12
 
13
- ## [Unreleased]
13
+ ## [2.0.1] - 2022-09-23 ([tag][2.0.1t])
14
+ ### Added
15
+ - Certificate for signing gem releases (@pboling)
16
+ - Gemspec metadata (@pboling)
17
+ - funding_uri
18
+ - mailing_list_uri
19
+ - Checksums for released gems (@pboling)
20
+ ### Changed
21
+ - Gem releases are now cryptographically signed (@pboling)
14
22
 
15
- ## [2.0.0] - 2022-08-29
23
+ ## [2.0.0] - 2022-08-29 ([tag][2.0.0t])
16
24
  ### Changed
17
25
  - **BREAKING**: `SnakeHash::Snake` is now a mixin, now with support for symbol or string keys
18
26
  ```ruby
@@ -24,16 +32,22 @@ end
24
32
  - `SnakyHash::StringKeyed`: a Hashie::Mash class with snake-cased String keys
25
33
  - `SnakyHash::SymbolKeyed`: a Hashie::Mash class with snake-cased Symbol keys
26
34
 
27
- ## [1.0.1] - 2022-08-26
35
+ ## [1.0.1] - 2022-08-26 ([tag][1.0.1t])
28
36
  ### Added
29
37
  - Missing LICENSE.txt file to release
30
38
  ### Removed
31
39
  - Accidentally added bundler dependency (vestige of transpec process) is now removed
32
40
 
33
- ## [1.0.0] - 2022-08-26
41
+ ## [1.0.0] - 2022-08-26 ([tag][1.0.0t])
34
42
  ### Added
35
43
  - Initial release
36
44
 
37
- [Unreleased]: https://gitlab.com/oauth-xx/snaky_hash/-/compare/v1.0.1...main
38
- [1.0.1]: https://gitlab.com/oauth-xx/snaky_hash/-/releases/tag/v1.0.1
45
+ [Unreleased]: https://gitlab.com/oauth-xx/snaky_hash/-/compare/v2.0.1...main
46
+ [2.0.1]: https://gitlab.com/oauth-xx/snaky_hash/-/compare/v2.0.0...v2.0.1
47
+ [2.0.1t]: https://gitlab.com/oauth-xx/snaky_hash/-/releases/tag/v2.0.1
48
+ [2.0.0]: https://gitlab.com/oauth-xx/snaky_hash/-/compare/v1.0.1...v2.0.0
49
+ [2.0.0t]: https://gitlab.com/oauth-xx/snaky_hash/-/releases/tag/v2.0.0
50
+ [1.0.1]: https://gitlab.com/oauth-xx/snaky_hash/-/compare/v1.0.0...v1.0.1
51
+ [1.0.1t]: https://gitlab.com/oauth-xx/snaky_hash/-/releases/tag/v1.0.1
39
52
  [1.0.0]: https://gitlab.com/oauth-xx/snaky_hash/-/releases/tag/v1.0.0
53
+ [1.0.0t]: https://gitlab.com/oauth-xx/snaky_hash/-/releases/tag/v1.0.0
data/CONTRIBUTING.md CHANGED
@@ -10,9 +10,7 @@ tests. Once you're happy with it send a pull request and post a message to the
10
10
 
11
11
  ## Contributors
12
12
 
13
- [![Contributors](https://contrib.rocks/image?repo=oauth-xx/oauth-ruby)][contributors]
14
-
15
- Made with [contributors-img][contrib-rocks].
13
+ See: [https://gitlab.com/oauth-xx/oauth-tty/-/graphs/main][contributors]
16
14
 
17
15
  [comment]: <> (Following links are used by README, CONTRIBUTING, Homepage)
18
16
 
@@ -20,4 +18,3 @@ Made with [contributors-img][contrib-rocks].
20
18
  [contributors]: https://gitlab.com/oauth-xx/snaky_hash/-/graphs/main
21
19
  [mailinglist]: http://groups.google.com/group/oauth-ruby
22
20
  [source]: https://gitlab.com/oauth-xx/snaky_hash/-/tree/main
23
- [contrib-rocks]: https://contrib.rocks
data/README.md CHANGED
@@ -24,13 +24,13 @@ class MySnakedHash < Hashie::Mash
24
24
  include SnakyHash::Snake.new(key_type: :string) # or :symbol
25
25
  end
26
26
 
27
- snake = MySnakedHash.new(a: 'a', 'b' => 'b', 2 => 2, 'VeryFineHat' => 'Feathers')
27
+ snake = MySnakedHash.new(a: "a", "b" => "b", 2 => 2, "VeryFineHat" => "Feathers")
28
28
  snake.a # => 'a'
29
29
  snake.b # => 'b'
30
30
  snake[2] # 2
31
31
  snake.very_fine_hat # => 'Feathers'
32
32
  snake[:very_fine_hat] # => 'Feathers'
33
- snake['very_fine_hat'] # => 'Feathers'
33
+ snake["very_fine_hat"] # => 'Feathers'
34
34
  ```
35
35
 
36
36
  Note above that you can access the values via the string, or symbol.
@@ -45,17 +45,17 @@ You can still access the original un-snaked camel keys.
45
45
  And through them you can even use un-snaked camel methods.
46
46
 
47
47
  ```ruby
48
- snake.key?('VeryFineHat') # => true
49
- snake['VeryFineHat'] # => 'Feathers'
48
+ snake.key?("VeryFineHat") # => true
49
+ snake["VeryFineHat"] # => 'Feathers'
50
50
  snake.VeryFineHat # => 'Feathers', PLEASE don't do this!!!
51
- snake['VeryFineHat'] = 'pop' # Please don't do this... you'll get a warning, and it works (for now), but no guarantees.
51
+ snake["VeryFineHat"] = "pop" # Please don't do this... you'll get a warning, and it works (for now), but no guarantees.
52
52
  # WARN -- : You are setting a key that conflicts with a built-in method MySnakedHash#VeryFineHat defined in MySnakedHash. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
53
53
  # => "pop"
54
- snake.very_fine_hat = 'pop' # => 'pop', do this instead!!!
54
+ snake.very_fine_hat = "pop" # => 'pop', do this instead!!!
55
55
  snake.very_fine_hat # => 'pop'
56
- snake[:very_fine_hat] = 'moose' # => 'moose', or do this instead!!!
56
+ snake[:very_fine_hat] = "moose" # => 'moose', or do this instead!!!
57
57
  snake.very_fine_hat # => 'moose'
58
- snake['very_fine_hat'] = 'cheese' # => 'cheese', or do this instead!!!
58
+ snake["very_fine_hat"] = "cheese" # => 'cheese', or do this instead!!!
59
59
  snake.very_fine_hat # => 'cheese'
60
60
  ```
61
61
 
@@ -67,7 +67,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
67
67
 
68
68
  ## Contributing
69
69
 
70
- Bug reports and pull requests are welcome on GitHub at https://github.com/pboling/snaky_hash. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/pboling/snaky_hash/blob/main/CODE_OF_CONDUCT.md).
70
+ Bug reports and pull requests are welcome on GitHub at https://gitlab.com/oauth-xx/snaky_hash. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://gitlab.com/oauth-xx/snaky_hash/-/blob/main/CODE_OF_CONDUCT.md).
71
71
 
72
72
  ## License
73
73
 
@@ -75,4 +75,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
75
75
 
76
76
  ## Code of Conduct
77
77
 
78
- Everyone interacting in the SnakyHash project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/pboling/snaky_hash/blob/main/CODE_OF_CONDUCT.md).
78
+ Everyone interacting in the SnakyHash project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://gitlab.com/oauth-xx/snaky_hash/-/blob/main/CODE_OF_CONDUCT.md).
data/SECURITY.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  ## Supported Versions
4
4
 
5
- | Version | Supported |
6
- |---------|--------------------|
7
- | 1.0.x | :white_check_mark: |
5
+ | Version | Supported | EOL | Post-EOL / Enterprise |
6
+ |---------|-----------|---------|---------------------------------------|
7
+ | 1.0.x | ✅ | 04/2023 | [Tidelift Subscription][tidelift-ref] |
8
8
 
9
9
  ### EOL Policy
10
10
 
@@ -15,8 +15,10 @@ Non-commercial support for the oldest version of Ruby (which itself is going EOL
15
15
  To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security).
16
16
  Tidelift will coordinate the fix and disclosure.
17
17
 
18
- ## OAuth for Enterprise
18
+ ## Snaky Hash for Enterprise
19
19
 
20
20
  Available as part of the Tidelift Subscription.
21
21
 
22
- The maintainers of snaky_hash and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use. [Learn more.](https://tidelift.com/subscription/pkg/rubygems-oauth?utm_source=rubygems-oauth&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
22
+ The maintainers of snaky_hash and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use. [Learn more.][tidelift-ref]
23
+
24
+ [tidelift-ref]: https://tidelift.com/subscription/pkg/rubygems-snaky_hash?utm_source=rubygems-oauth&utm_medium=referral&utm_campaign=enterprise&utm_term=repo
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SnakyHash
4
4
  module Version
5
- VERSION = "2.0.0".freeze
5
+ VERSION = "2.0.1".freeze
6
6
  end
7
7
  end
data.tar.gz.sig ADDED
@@ -0,0 +1,3 @@
1
+ ���:�I�3�د7��P�P�$;1 ��i��?-y�ˡ̔��V�\�峹n&śV� �}y�ڟ1
2
+ ~�x=߷w�� #��T���3����+�����+1��>ؚ�fPns ��ZB "�6M_���o��
3
+ �ʭ��(���Ѕ�UIYI{<͸.]J��؆`�.���Y��t�1�����T���� 'Md��xA:�*G�2�v����^�יYJ�����J�g��X���\�������FZz����@�U�:�oDs�o4٠�������(�7�i��A�0��E�jh�6�o�I�"�@���T��rK���b�A�I�b�Ceϫ�)j8J/�8
metadata CHANGED
@@ -1,14 +1,42 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snaky_hash
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
8
8
  autorequire:
9
9
  bindir: exe
10
- cert_chain: []
11
- date: 2022-08-29 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
14
+ ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
15
+ A2NvbTAeFw0yMjA5MTgyMzEyMzBaFw0yMzA5MTgyMzEyMzBaMEMxFTATBgNVBAMM
16
+ DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
17
+ LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2Dn1GM3W
18
+ 8K2/rvN1zz+06bQMcxD16ZKTihVwi7Pb1v3T98rM4Omnxohm3s+CwpDWGeiB9pj6
19
+ 0I/CTce0e4e3s8GKJSOrg93veImPSoH2PfsMsRsuB8wtqyiOCjLbF5o6S29x87r0
20
+ LA5E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Vj7LZk3UhiAsn44
36
+ gwGrEXGQGDZ0NIgBcmvMOqlXjkGQwQvugKycJ024z89+fz2332vdZIKTrSxJrXGk
37
+ 4/bR9A==
38
+ -----END CERTIFICATE-----
39
+ date: 2022-09-23 00:00:00.000000000 Z
12
40
  dependencies:
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: hashie
@@ -31,6 +59,9 @@ dependencies:
31
59
  - - "~>"
32
60
  - !ruby/object:Gem::Version
33
61
  version: '1.1'
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 1.1.1
34
65
  type: :runtime
35
66
  prerelease: false
36
67
  version_requirements: !ruby/object:Gem::Requirement
@@ -38,6 +69,9 @@ dependencies:
38
69
  - - "~>"
39
70
  - !ruby/object:Gem::Version
40
71
  version: '1.1'
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 1.1.1
41
75
  - !ruby/object:Gem::Dependency
42
76
  name: rake
43
77
  requirement: !ruby/object:Gem::Requirement
@@ -67,36 +101,37 @@ dependencies:
67
101
  - !ruby/object:Gem::Version
68
102
  version: '3'
69
103
  - !ruby/object:Gem::Dependency
70
- name: rubocop-lts
104
+ name: rspec-block_is_expected
71
105
  requirement: !ruby/object:Gem::Requirement
72
106
  requirements:
73
- - - "~>"
107
+ - - ">="
74
108
  - !ruby/object:Gem::Version
75
- version: '8.0'
109
+ version: '0'
76
110
  type: :development
77
111
  prerelease: false
78
112
  version_requirements: !ruby/object:Gem::Requirement
79
113
  requirements:
80
- - - "~>"
114
+ - - ">="
81
115
  - !ruby/object:Gem::Version
82
- version: '8.0'
116
+ version: '0'
83
117
  - !ruby/object:Gem::Dependency
84
- name: rspec-block_is_expected
118
+ name: rubocop-lts
85
119
  requirement: !ruby/object:Gem::Requirement
86
120
  requirements:
87
- - - ">="
121
+ - - "~>"
88
122
  - !ruby/object:Gem::Version
89
- version: '0'
123
+ version: '8.0'
90
124
  type: :development
91
125
  prerelease: false
92
126
  version_requirements: !ruby/object:Gem::Requirement
93
127
  requirements:
94
- - - ">="
128
+ - - "~>"
95
129
  - !ruby/object:Gem::Version
96
- version: '0'
130
+ version: '8.0'
97
131
  description: 'A Hashie::Mash joint to make #snakelife better'
98
132
  email:
99
133
  - peter.boling@gmail.com
134
+ - oauth-ruby@googlegroups.com
100
135
  executables: []
101
136
  extensions: []
102
137
  extra_rdoc_files: []
@@ -117,11 +152,13 @@ licenses:
117
152
  - MIT
118
153
  metadata:
119
154
  homepage_uri: https://gitlab.com/oauth-xx/snaky_hash
120
- source_code_uri: https://gitlab.com/oauth-xx/snaky_hash/-/tree/v2.0.0
121
- changelog_uri: https://gitlab.com/oauth-xx/snaky_hash/-/blob/v2.0.0/CHANGELOG.md
155
+ source_code_uri: https://gitlab.com/oauth-xx/snaky_hash/-/tree/v2.0.1
156
+ changelog_uri: https://gitlab.com/oauth-xx/snaky_hash/-/blob/v2.0.1/CHANGELOG.md
122
157
  bug_tracker_uri: https://gitlab.com/oauth-xx/snaky_hash/-/issues
123
- documentation_uri: https://www.rubydoc.info/gems/snaky_hash/2.0.0
124
- wiki_uri: https://gitlab.com/oauth-xx/snaky_hash/-/wikis/home
158
+ documentation_uri: https://www.rubydoc.info/gems/snaky_hash/2.0.1
159
+ wiki_uri: https://gitlab.com/oauth-xx/snaky_hash/-/wiki
160
+ mailing_list_uri: https://groups.google.com/g/oauth-ruby
161
+ funding_uri: https://liberapay.com/pboling
125
162
  rubygems_mfa_required: 'true'
126
163
  post_install_message:
127
164
  rdoc_options: []
@@ -138,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
175
  - !ruby/object:Gem::Version
139
176
  version: '0'
140
177
  requirements: []
141
- rubygems_version: 3.3.21
178
+ rubygems_version: 3.3.22
142
179
  signing_key:
143
180
  specification_version: 4
144
181
  summary: A very snaky hash
metadata.gz.sig ADDED
@@ -0,0 +1,7 @@
1
+ ����� <X�!Y��k�������ql}M��)m�g�PJ€�#�yk48;��P�to��eBRcw���"�}�
2
+ !w�N�1վ���'(
3
+ ԯ�[���ʵ�o���zN�iNSYh[�j�C���v�>���M
4
+ �<Q�J�S�!xJ� 2�M�u��؉ � rvtA��?=$�y��^ 
5
+ 䳣�1>_��0o2�=�U��&���k��Q�
6
+ N���}�C`F� �Gd@�=z�״gk��ŝ���=4le��
7
+ ��>����5/mރ%�-O!ܓ8)��