pico_phone 0.4.0 → 0.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c2d268e1535faacd152f3253cfc75d422b754709184ea993a9a6b5b00551a4b
4
- data.tar.gz: 12852a51f54aa294e5dd9c3bb388e5175b7af96352a0e656ec17fbf52b25dbde
3
+ metadata.gz: b484e1d4028dcaf1cd1a8ef45092853a111df96ce88c2b23a1a5d0adb95292bd
4
+ data.tar.gz: acd5433d7b8c973c10d1c01560e4c4367c4d5a2828178de8cd9970b4d8fc32cf
5
5
  SHA512:
6
- metadata.gz: 395c2dcfc9823ae7180b822a2a88b37b2e4fbdd5ef5da84f96a795c585b9aaf2e2e97bd50aa0d2b27261b1f408bf88b5654f6b7c3e6c377fa65a0376c4d1646f
7
- data.tar.gz: 7d4c21dc53148a87a564b2f8da1aebded151af3d12b809e00dec99147935853400066c4aee08ecca04eeeb5a10c757bab7a31c01f431461aaeab6bbba244a9cd
6
+ metadata.gz: f4612e8029c13f8498e4f78a15913641ecb46e6f2e2864844209a5e6f962cad7168f83aaa412fc948e6520ff6709bb45eb9f9fd30ac275c37d6ee5596947b1f5
7
+ data.tar.gz: c255297aba501623563ca3132b30f6ae7fec878de5f41a8938b9b86bd11f5780d4258f5e095c2c24695bbc02b9ffab796bf0ce0dd6b4d428367d157bf0b38adc
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Gabi Jack
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,353 @@
1
+ pico_phone is licensed under the MIT License (see LICENSE.txt). Its
2
+ precompiled native gems (and, for some pieces, its source/dynamic-link
3
+ build) additionally compile against or statically embed the following
4
+ third-party libraries, each under its own license reproduced below. This
5
+ file is included in the published gem alongside pico_phone's own license.
6
+
7
+ ================================================================================
8
+ libphonenumber (https://github.com/google/libphonenumber)
9
+ Copyright (C) The Libphonenumber Authors
10
+ License: Apache License, Version 2.0
11
+ ================================================================================
12
+
13
+ ================================================================================
14
+ Abseil (https://github.com/abseil/abseil-cpp)
15
+ Copyright Google LLC and Abseil contributors
16
+ License: Apache License, Version 2.0
17
+ ================================================================================
18
+
19
+ Apache License
20
+ Version 2.0, January 2004
21
+ https://www.apache.org/licenses/
22
+
23
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
24
+
25
+ 1. Definitions.
26
+
27
+ "License" shall mean the terms and conditions for use, reproduction,
28
+ and distribution as defined by Sections 1 through 9 of this document.
29
+
30
+ "Licensor" shall mean the copyright owner or entity authorized by
31
+ the copyright owner that is granting the License.
32
+
33
+ "Legal Entity" shall mean the union of the acting entity and all
34
+ other entities that control, are controlled by, or are under common
35
+ control with that entity. For the purposes of this definition,
36
+ "control" means (i) the power, direct or indirect, to cause the
37
+ direction or management of such entity, whether by contract or
38
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
39
+ outstanding shares, or (iii) beneficial ownership of such entity.
40
+
41
+ "You" (or "Your") shall mean an individual or Legal Entity
42
+ exercising permissions granted by this License.
43
+
44
+ "Source" form shall mean the preferred form for making modifications,
45
+ including but not limited to software source code, documentation
46
+ source, and configuration files.
47
+
48
+ "Object" form shall mean any form resulting from mechanical
49
+ transformation or translation of a Source form, including but
50
+ not limited to compiled object code, generated documentation,
51
+ and conversions to other media types.
52
+
53
+ "Work" shall mean the work of authorship, whether in Source or
54
+ Object form, made available under the License, as indicated by a
55
+ copyright notice that is included in or attached to the work
56
+ (an example is provided in the Appendix below).
57
+
58
+ "Derivative Works" shall mean any work, whether in Source or Object
59
+ form, that is based on (or derived from) the Work and for which the
60
+ editorial revisions, annotations, elaborations, or other modifications
61
+ represent, as a whole, an original work of authorship. For the purposes
62
+ of this License, Derivative Works shall not include works that remain
63
+ separable from, or merely link (or bind by name) to the interfaces of,
64
+ the Work and Derivative Works thereof.
65
+
66
+ "Contribution" shall mean any work of authorship, including
67
+ the original version of the Work and any modifications or additions
68
+ to that Work or Derivative Works thereof, that is intentionally
69
+ submitted to Licensor for inclusion in the Work by the copyright owner
70
+ or by an individual or Legal Entity authorized to submit on behalf of
71
+ the copyright owner. For the purposes of this definition, "submitted"
72
+ means any form of electronic, verbal, or written communication sent
73
+ to the Licensor or its representatives, including but not limited to
74
+ communication on electronic mailing lists, source code control systems,
75
+ and issue tracking systems that are managed by, or on behalf of, the
76
+ Licensor for the purpose of discussing and improving the Work, but
77
+ excluding communication that is conspicuously marked or otherwise
78
+ designated in writing by the copyright owner as "Not a Contribution."
79
+
80
+ "Contributor" shall mean Licensor and any individual or Legal Entity
81
+ on behalf of whom a Contribution has been received by Licensor and
82
+ subsequently incorporated within the Work.
83
+
84
+ 2. Grant of Copyright License. Subject to the terms and conditions of
85
+ this License, each Contributor hereby grants to You a perpetual,
86
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
87
+ copyright license to reproduce, prepare Derivative Works of,
88
+ publicly display, publicly perform, sublicense, and distribute the
89
+ Work and such Derivative Works in Source or Object form.
90
+
91
+ 3. Grant of Patent License. Subject to the terms and conditions of
92
+ this License, each Contributor hereby grants to You a perpetual,
93
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
94
+ (except as stated in this section) patent license to make, have made,
95
+ use, offer to sell, sell, import, and otherwise transfer the Work,
96
+ where such license applies only to those patent claims licensable
97
+ by such Contributor that are necessarily infringed by their
98
+ Contribution(s) alone or by combination of their Contribution(s)
99
+ with the Work to which such Contribution(s) was submitted. If You
100
+ institute patent litigation against any entity (including a
101
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
102
+ or a Contribution incorporated within the Work constitutes direct
103
+ or contributory patent infringement, then any patent licenses
104
+ granted to You under this License for that Work shall terminate
105
+ as of the date such litigation is filed.
106
+
107
+ 4. Redistribution. You may reproduce and distribute copies of the
108
+ Work or Derivative Works thereof in any medium, with or without
109
+ modifications, and in Source or Object form, provided that You
110
+ meet the following conditions:
111
+
112
+ (a) You must give any other recipients of the Work or
113
+ Derivative Works a copy of this License; and
114
+
115
+ (b) You must cause any modified files to carry prominent notices
116
+ stating that You changed the files; and
117
+
118
+ (c) You must retain, in the Source form of any Derivative Works
119
+ that You distribute, all copyright, patent, trademark, and
120
+ attribution notices from the Source form of the Work,
121
+ excluding those notices that do not pertain to any part of
122
+ the Derivative Works; and
123
+
124
+ (d) If the Work includes a "NOTICE" text file as part of its
125
+ distribution, then any Derivative Works that You distribute must
126
+ include a readable copy of the attribution notices contained
127
+ within such NOTICE file, excluding those notices that do not
128
+ pertain to any part of the Derivative Works, in at least one
129
+ of the following places: within a NOTICE text file distributed
130
+ as part of the Derivative Works; within the Source form or
131
+ documentation, if provided along with the Derivative Works; or,
132
+ within a display generated by the Derivative Works, if and
133
+ wherever such third-party notices normally appear. The contents
134
+ of the NOTICE file are for informational purposes only and
135
+ do not modify the License. You may add Your own attribution
136
+ notices within Derivative Works that You distribute, alongside
137
+ or as an addendum to the NOTICE text from the Work, provided
138
+ that such additional attribution notices cannot be construed
139
+ as modifying the License.
140
+
141
+ You may add Your own copyright statement to Your modifications and
142
+ may provide additional or different license terms and conditions
143
+ for use, reproduction, or distribution of Your modifications, or
144
+ for any such Derivative Works as a whole, provided Your use,
145
+ reproduction, and distribution of the Work otherwise complies with
146
+ the conditions stated in this License.
147
+
148
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
149
+ any Contribution intentionally submitted for inclusion in the Work
150
+ by You to the Licensor shall be under the terms and conditions of
151
+ this License, without any additional terms or conditions.
152
+ Notwithstanding the above, nothing herein shall supersede or modify
153
+ the terms of any separate license agreement you may have executed
154
+ with Licensor regarding such Contributions.
155
+
156
+ 6. Trademarks. This License does not grant permission to use the trade
157
+ names, trademarks, service marks, or product names of the Licensor,
158
+ except as required for reasonable and customary use in describing the
159
+ origin of the Work and reproducing the content of the NOTICE file.
160
+
161
+ 7. Disclaimer of Warranty. Unless required by applicable law or
162
+ agreed to in writing, Licensor provides the Work (and each
163
+ Contributor provides its Contributions) on an "AS IS" BASIS,
164
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
165
+ implied, including, without limitation, any warranties or conditions
166
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
167
+ PARTICULAR PURPOSE. You are solely responsible for determining the
168
+ appropriateness of using or redistributing the Work and assume any
169
+ risks associated with Your exercise of permissions under this License.
170
+
171
+ 8. Limitation of Liability. In no event and under no legal theory,
172
+ whether in tort (including negligence), contract, or otherwise,
173
+ unless required by applicable law (such as deliberate and grossly
174
+ negligent acts) or agreed to in writing, shall any Contributor be
175
+ liable to You for damages, including any direct, indirect, special,
176
+ incidental, or consequential damages of any character arising as a
177
+ result of this License or out of the use or inability to use the
178
+ Work (including but not limited to damages for loss of goodwill,
179
+ work stoppage, computer failure or malfunction, or any and all
180
+ other commercial damages or losses), even if such Contributor
181
+ has been advised of the possibility of such damages.
182
+
183
+ 9. Accepting Warranty or Additional Liability. While redistributing
184
+ the Work or Derivative Works thereof, You may choose to offer,
185
+ and charge a fee for, acceptance of support, warranty, indemnity,
186
+ or other liability obligations and/or rights consistent with this
187
+ License. However, in accepting such obligations, You may act only
188
+ on Your own behalf and on Your sole responsibility, not on behalf
189
+ of any other Contributor, and only if You agree to indemnify,
190
+ defend, and hold each Contributor harmless for any liability
191
+ incurred by, or claims asserted against, such Contributor by reason
192
+ of your accepting any such warranty or additional liability.
193
+
194
+ END OF TERMS AND CONDITIONS
195
+
196
+ (This same Apache License, Version 2.0 text applies to both
197
+ libphonenumber and Abseil above; only the copyright ownership differs,
198
+ per each project's own LICENSE file.)
199
+
200
+ ================================================================================
201
+ Protocol Buffers / protobuf (https://github.com/protocolbuffers/protobuf)
202
+ Copyright 2008 Google Inc. All rights reserved.
203
+ License: BSD 3-Clause
204
+ ================================================================================
205
+
206
+ Redistribution and use in source and binary forms, with or without
207
+ modification, are permitted provided that the following conditions are
208
+ met:
209
+
210
+ * Redistributions of source code must retain the above copyright
211
+ notice, this list of conditions and the following disclaimer.
212
+ * Redistributions in binary form must reproduce the above
213
+ copyright notice, this list of conditions and the following disclaimer
214
+ in the documentation and/or other materials provided with the
215
+ distribution.
216
+ * Neither the name of Google Inc. nor the names of its
217
+ contributors may be used to endorse or promote products derived from
218
+ this software without specific prior written permission.
219
+
220
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
221
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
222
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
223
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
224
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
225
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
226
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
227
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
228
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
229
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
230
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
231
+
232
+ ================================================================================
233
+ ICU / International Components for Unicode (https://icu.unicode.org)
234
+ Copyright © 2016-2025 Unicode, Inc.
235
+ License: Unicode License v3
236
+ ================================================================================
237
+
238
+ Statically embedded on macOS builds; dynamically linked at runtime on
239
+ Linux (see ext/pico_phone/extconf.rb and build_deps.sh). ICU bundles
240
+ additional third-party notices covering optional components (word-break
241
+ dictionaries for CJK/Lao/Burmese text segmentation, build tooling) that
242
+ pico_phone does not use; the primary license covering the ICU library and
243
+ data itself is reproduced below. For the complete set of bundled
244
+ third-party notices, see:
245
+ https://github.com/unicode-org/icu/blob/main/icu4c/LICENSE
246
+
247
+ UNICODE LICENSE V3
248
+
249
+ COPYRIGHT AND PERMISSION NOTICE
250
+
251
+ Copyright © 2016-2025 Unicode, Inc.
252
+
253
+ NOTICE TO USER: Carefully read the following legal agreement. BY
254
+ DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
255
+ SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
256
+ TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
257
+ DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
258
+
259
+ Permission is hereby granted, free of charge, to any person obtaining a
260
+ copy of data files and any associated documentation (the "Data Files") or
261
+ software and any associated documentation (the "Software") to deal in the
262
+ Data Files or Software without restriction, including without limitation
263
+ the rights to use, copy, modify, merge, publish, distribute, and/or sell
264
+ copies of the Data Files or Software, and to permit persons to whom the
265
+ Data Files or Software are furnished to do so, provided that either (a)
266
+ this copyright and permission notice appear with all copies of the Data
267
+ Files or Software, or (b) this copyright and permission notice appear in
268
+ associated Documentation.
269
+
270
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
271
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
272
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
273
+ THIRD PARTY RIGHTS.
274
+
275
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
276
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
277
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
278
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
279
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
280
+ FILES OR SOFTWARE.
281
+
282
+ Except as contained in this notice, the name of a copyright holder shall
283
+ not be used in advertising or otherwise to promote the sale, use or other
284
+ dealings in these Data Files or Software without prior written
285
+ authorization of the copyright holder.
286
+
287
+ ================================================================================
288
+ Boost (https://www.boost.org)
289
+ Copyright the respective Boost library authors
290
+ License: Boost Software License, Version 1.0
291
+ ================================================================================
292
+
293
+ Statically embedded on macOS builds only (libphonenumber's USE_BOOST
294
+ option is off on Linux, see build_deps.sh).
295
+
296
+ Boost Software License - Version 1.0 - August 17th, 2003
297
+
298
+ Permission is hereby granted, free of charge, to any person or organization
299
+ obtaining a copy of the software and accompanying documentation covered by
300
+ this license (the "Software") to use, reproduce, display, distribute,
301
+ execute, and transmit the Software, and to prepare derivative works of the
302
+ Software, and to permit third-parties to whom the Software is furnished to
303
+ do so, all subject to the following:
304
+
305
+ The copyright notices in the Software and this entire statement, including
306
+ the above license grant, this restriction and the following disclaimer,
307
+ must be included in all copies of the Software, in whole or in part, and
308
+ all derivative works of the Software, unless such copies or derivative
309
+ works are solely in the form of machine-executable object code generated by
310
+ a source language processor.
311
+
312
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
313
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
314
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
315
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
316
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
317
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
318
+ DEALINGS IN THE SOFTWARE.
319
+
320
+ ================================================================================
321
+ Rice (https://github.com/ruby-rice/rice)
322
+ Copyright (C) 2020 Jason Roelofs, Paul Brannan
323
+ License: BSD-2-Clause-style (as published in Rice's own COPYING file;
324
+ Rice's gemspec metadata separately declares "MIT" — the text below is
325
+ reproduced verbatim from the gem's COPYING file, which governs)
326
+ ================================================================================
327
+
328
+ Header-only; compiled directly into pico_phone.bundle rather than linked
329
+ as a separate library.
330
+
331
+ Copyright (C) 2020 Jason Roelofs <jasongroelofs@gmail.com>
332
+ Paul Brannan <curlypaul924@gmail.com>,
333
+
334
+ Redistribution and use in source and binary forms, with or without
335
+ modification, are permitted provided that the following conditions
336
+ are met:
337
+
338
+ 1. Redistributions of source code must retain the above copyright
339
+ notice, this list of conditions and the following disclaimer.
340
+ 2. Redistributions in binary form must reproduce the above copyright
341
+ notice, this list of conditions and the following disclaimer in the
342
+ documentation and/or other materials provided with the distribution.
343
+
344
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
345
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
346
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
347
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
348
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
349
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
350
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
351
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
352
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
353
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.