Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-xdg for openSUSE:Factory checked in at 2022-03-04 20:17:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-xdg (Old) and /work/SRC/openSUSE:Factory/.rubygem-xdg.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-xdg" Fri Mar 4 20:17:02 2022 rev:5 rq:959334 version:6.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-xdg/rubygem-xdg.changes 2021-06-25 15:02:05.392206610 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-xdg.new.1958/rubygem-xdg.changes 2022-03-04 20:20:52.612682338 +0100 @@ -1,0 +2,39 @@ +Wed Mar 2 18:12:19 UTC 2022 - Dan ??erm??k <[email protected]> + +- Restrict build to Ruby 3.1 +- New upstream release 6.3.1 + +== 6.3.1 (2022-03-03) + +* Fixed Hippocratic License to be 2.1.0 version - Brooke Kuhlmann +* Fixed Rubocop RSpec issues with boolean and nil identity checks - Brooke Kuhlmann +* Updated to Caliber 0.2.0 - Brooke Kuhlmann +* Updated to Ruby 3.1.1 - Brooke Kuhlmann + +== 6.3.0 (2022-02-12) + +* Added Caliber - Brooke Kuhlmann +* Updated to Git Lint 3.2.0 - Brooke Kuhlmann +* Updated to RSpec 3.11.0 - Brooke Kuhlmann +* Updated to Refinements 9.2.0 - Brooke Kuhlmann +* Removed README badges - Brooke Kuhlmann + +== 6.2.0 (2022-01-30) + +* Added combined path splatting for dynamic home path - Brooke Kuhlmann +* Removed gemspec safe defaults - Brooke Kuhlmann +* Refactored cache, config, and data specs to splat environment variables - Brooke Kuhlmann + +------------------------------------------------------------------- +Thu Feb 24 08:25:52 UTC 2022 - Dominique Leuenberger <[email protected]> + +- Regenerate spec file based on empty gem2rpm.yml: allow to build + against Ruby 3.1. + +------------------------------------------------------------------- +Tue Jan 25 07:43:06 UTC 2022 - Stephan Kulow <[email protected]> + +updated to version 6.1.0 + no changelog found + +------------------------------------------------------------------- Old: ---- xdg-5.1.1.gem New: ---- xdg-6.3.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-xdg.spec ++++++ --- /var/tmp/diff_new_pack.s7nWq4/_old 2022-03-04 20:20:53.076681970 +0100 +++ /var/tmp/diff_new_pack.s7nWq4/_new 2022-03-04 20:20:53.080681967 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-xdg # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,33 +16,31 @@ # +%define mod_name xdg +%define mod_full_name %{mod_name}-%{version} +# MANUAL +%define rb_build_versions ruby31 +%define rb_build_ruby_abis ruby:3.1.0 +# /MANUAL # # This file was generated with a gem2rpm.yml and not just plain gem2rpm. # All sections marked as MANUAL, license headers, summaries and descriptions # can be maintained in that file. Please consult this file before editing any # of those fields # - Name: rubygem-xdg -Version: 5.1.1 +Version: 6.3.1 Release: 0 -%define mod_name xdg -%define mod_full_name %{mod_name}-%{version} -# MANUAL -%define rb_build_versions ruby30 -%define rb_build_ruby_abis ruby:3.0.0 -# /MANUAL -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{ruby < 4} -BuildRequires: %{ruby => 3.0} -BuildRequires: %{rubygem gem2rpm} -BuildRequires: ruby-macros >= 5 +Summary: Provides an implementation of the XDG Base Directory Specification +License: Hippocratic-2.1 +Group: Development/Languages/Ruby URL: https://www.alchemists.io/projects/xdg Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1: gem2rpm.yml -Summary: Provides an implementation of the XDG Base Directory Specification -License: Apache-2.0 -Group: Development/Languages/Ruby +BuildRequires: %{ruby < 4} +BuildRequires: %{ruby => 3.1} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: ruby-macros >= 5 %description Provides an implementation of the XDG Base Directory Specification. ++++++ gem2rpm.yml ++++++ --- /var/tmp/diff_new_pack.s7nWq4/_old 2022-03-04 20:20:53.120681935 +0100 +++ /var/tmp/diff_new_pack.s7nWq4/_new 2022-03-04 20:20:53.124681932 +0100 @@ -1,4 +1,74 @@ +--- +# ## used by gem2rpm +# :summary: this is a custom summary +# ## used by gem2rpm +# :description: |- +# this is a custom description +# +# it can be multiline +# ## used by gem2rpm +# :license: MIT or Ruby +# ## used by gem2rpm and gem_packages +# :version_suffix: -x_y +# ## used by gem2rpm and gem_packages +# :disable_docs: true +# ## used by gem2rpm +# :disable_automatic_rdoc_dep: true +# ## used by gem2rpm :preamble: |- - %define rb_build_versions ruby30 - %define rb_build_ruby_abis ruby:3.0.0 + %define rb_build_versions ruby31 + %define rb_build_ruby_abis ruby:3.1.0 +# :preamble: |- +# BuildRequires: foobar +# Requires: foobar +# ## used by gem2rpm +# :patches: +# foo.patch: -p1 +# bar.patch: +# ## used by gem2rpm +:sources: +# - foo.desktop +# - bar.desktop +# :gem_install_args: '....' +# ## used by gem2rpm +# :pre_install: |- +# %if 0%{?use_system_libev} +# export USE_VENDORED_LIBEV="no" +# %endif +# ## used by gem2rpm +# :post_install: |- +# # delete custom files here or do other fancy stuff +# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse +# ## used by gem2rpm +# :testsuite_command: |- +# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) +# ## used by gem2rpm +# :filelist: |- +# /usr/bin/gem2rpm-opensuse +# ## used by gem2rpm +# :scripts: +# :post: |- +# /bin/echo foo +# ## used by gem_packages +# :main: +# :preamble: |- +# Requires: util-linux +# Recommends: pwgen +# :filelist: |- +# /usr/bin/gem2rpm-opensuse +# ## used by gem_packages +# :custom: +# apache: +# :preamble: |- +# Requires: ..... +# :filelist: |- +# /etc/apache2/conf.d/passenger.conf +# :summary: Custom summary is optional +# :description: |- +# Custom description is optional +# +# bar +# :post: |- +# /bin/echo foo +# ++++++ xdg-5.1.1.gem -> xdg-6.3.1.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/LICENSE.adoc new/LICENSE.adoc --- old/LICENSE.adoc 2021-04-19 01:35:35.000000000 +0200 +++ new/LICENSE.adoc 2022-03-04 04:03:26.000000000 +0100 @@ -1,162 +1,134 @@ -= Apache License += Hippocratic License -Version 2.0, January 2004 +Version: 2.1.0. -http://www.apache.org/licenses - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -== 1. Definitions - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by -Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is -granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are -controlled by, or are under common control with that entity. For the purposes of this definition, -"control" means (i) the power, direct or indirect, to cause the direction or management of such -entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the -outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this -License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to -software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a -Source form, including but not limited to compiled object code, generated documentation, and -conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the -License, as indicated by a copyright notice that is included in or attached to the work (an example -is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or -derived from) the Work and for which the editorial revisions, annotations, elaborations, or other -modifications represent, as a whole, an original work of authorship. For the purposes of this -License, Derivative Works shall not include works that remain separable from, or merely link (or -bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any -modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted -to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity -authorized to submit on behalf of the copyright owner. For the purposes of this definition, -"submitted" means any form of electronic, verbal, or written communication sent to the Licensor or -its representatives, including but not limited to communication on electronic mailing lists, source -code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor -for the purpose of discussing and improving the Work, but excluding communication that is -conspicuously marked or otherwise designated in writing by the copyright owner as "Not a -Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a -Contribution has been received by Licensor and subsequently incorporated within the Work. - -== 2. Grant of Copyright License - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a -perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to -reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and -distribute the Work and such Derivative Works in Source or Object form. - -== 3. Grant of Patent License - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a -perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this -section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer -the Work, where such license applies only to those patent claims licensable by such Contributor that -are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) -with the Work to which such Contribution(s) was submitted. If You institute patent litigation -against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or -a Contribution incorporated within the Work constitutes direct or contributory patent infringement, -then any patent licenses granted to You under this License for that Work shall terminate as of the -date such litigation is filed. - -== 4. Redistribution - -You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with -or without modifications, and in Source or Object form, provided that You meet the following -conditions: - -. You must give any other recipients of the Work or Derivative Works a copy of this License; and - -. You must cause any modified files to carry prominent notices stating that You changed the files; - and - -. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, - patent, trademark, and attribution notices from the Source form of the Work, excluding those - notices that do not pertain to any part of the Derivative Works; and - -. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works - that You distribute must include a readable copy of the attribution notices contained within such - NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in - at least one of the following places: within a NOTICE text file distributed as part of the - Derivative Works; within the Source form or documentation, if provided along with the Derivative - Works; or, within a display generated by the Derivative Works, if and wherever such third-party - notices normally appear. The contents of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution notices within Derivative Works that - You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such - additional attribution notices cannot be construed as modifying the License. - -You may add Your own copyright statement to Your modifications and may provide additional or -different license terms and conditions for use, reproduction, or distribution of Your modifications, -or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of -the Work otherwise complies with the conditions stated in this License. - -== 5. Submission of Contributions - -Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the -Work by You to the Licensor shall be under the terms and conditions of this License, without any -additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify -the terms of any separate license agreement you may have executed with Licensor regarding such -Contributions. - -== 6. Trademarks - -This License does not grant permission to use the trade names, trademarks, service marks, or product -names of the Licensor, except as required for reasonable and customary use in describing the origin -of the Work and reproducing the content of the NOTICE file. - -== 7. Disclaimer of Warranty - -Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each -Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied, including, without limitation, any warranties or conditions of -TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely -responsible for determining the appropriateness of using or redistributing the Work and assume any -risks associated with Your exercise of permissions under this License. - -== 8. Limitation of Liability - -In no event and under no legal theory, whether in tort (including negligence), contract, or -otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or -agreed to in writing, shall any Contributor be liable to You for damages, including any direct, -indirect, special, incidental, or consequential damages of any character arising as a result of this -License or out of the use or inability to use the Work (including but not limited to damages for -loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial -damages or losses), even if such Contributor has been advised of the possibility of such damages. - -== 9. Accepting Warranty or Additional Liability - -While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee -for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights -consistent with this License. However, in accepting such obligations, You may act only on Your own -behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You -agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or -claims asserted against, such Contributor by reason of your accepting any such warranty or -additional liability. - -END OF TERMS AND CONDITIONS - -Copyright 2019 link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann]. - -Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in -compliance with the License. You may obtain a link:https://www.apache.org/licenses/LICENSE-2.0[copy] -of the License. - -Unless required by applicable law or agreed to in writing, software distributed under the License is -distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -implied. See the License for the specific language governing permissions and limitations under the -License. +Purpose. The purpose of this License is for the Licensor named above to +permit the Licensee (as defined below) broad permission, if consistent +with Human Rights Laws and Human Rights Principles (as each is defined +below), to use and work with the Software (as defined below) within the +full scope of Licensor???s copyright and patent rights, if any, in the +Software, while ensuring attribution and protecting the Licensor from +liability. + +Permission and Conditions. The Licensor grants permission by this +license ("License"), free of charge, to the extent of Licensor???s +rights under applicable copyright and patent law, to any person or +entity (the "Licensee") obtaining a copy of this software and +associated documentation files (the "Software"), to do everything with +the Software that would otherwise infringe (i) the Licensor???s copyright +in the Software or (ii) any patent claims to the Software that the +Licensor can license or becomes able to license, subject to all of the +following terms and conditions: + +* Acceptance. This License is automatically offered to every person and +entity subject to its terms and conditions. Licensee accepts this +License and agrees to its terms and conditions by taking any action with +the Software that, absent this License, would infringe any intellectual +property right held by Licensor. +* Notice. Licensee must ensure that everyone who gets a copy of any part +of this Software from Licensee, with or without changes, also receives +the License and the above copyright notice (and if included by the +Licensor, patent, trademark and attribution notice). Licensee must cause +any modified versions of the Software to carry prominent notices stating +that Licensee changed the Software. For clarity, although Licensee is +free to create modifications of the Software and distribute only the +modified portion created by Licensee with additional or different terms, +the portion of the Software not modified must be distributed pursuant to +this License. If anyone notifies Licensee in writing that Licensee has +not complied with this Notice section, Licensee can keep this License by +taking all practical steps to comply within 30 days after the notice. If +Licensee does not do so, Licensee???s License (and all rights licensed +hereunder) shall end immediately. +* Compliance with Human Rights Principles and Human Rights Laws. +[arabic] +. Human Rights Principles. +[loweralpha] +.. Licensee is advised to consult the articles of the United Nations +Universal Declaration of Human Rights and the United Nations Global +Compact that define recognized principles of international human rights +(the "Human Rights Principles"). Licensee shall use the Software in a +manner consistent with Human Rights Principles. +.. Unless the Licensor and Licensee agree otherwise, any dispute, +controversy, or claim arising out of or relating to (i) Section 1(a) +regarding Human Rights Principles, including the breach of Section 1(a), +termination of this License for breach of the Human Rights Principles, +or invalidity of Section 1(a) or (ii) a determination of whether any Law +is consistent or in conflict with Human Rights Principles pursuant to +Section 2, below, shall be settled by arbitration in accordance with the +Hague Rules on Business and Human Rights Arbitration (the "Rules"); +provided, however, that Licensee may elect not to participate in such +arbitration, in which event this License (and all rights licensed +hereunder) shall end immediately. The number of arbitrators shall be one +unless the Rules require otherwise. ++ +Unless both the Licensor and Licensee agree to the contrary: (1) All +documents and information concerning the arbitration shall be public and +may be disclosed by any party; (2) The repository referred to under +Article 43 of the Rules shall make available to the public in a timely +manner all documents concerning the arbitration which are communicated +to it, including all submissions of the parties, all evidence admitted +into the record of the proceedings, all transcripts or other recordings +of hearings and all orders, decisions and awards of the arbitral +tribunal, subject only to the arbitral tribunal???s powers to take such +measures as may be necessary to safeguard the integrity of the arbitral +process pursuant to Articles 18, 33, 41 and 42 of the Rules; and (3) +Article 26(6) of the Rules shall not apply. +. Human Rights Laws. The Software shall not be used by any person or +entity for any systems, activities, or other uses that violate any Human +Rights Laws. "Human Rights Laws" means any applicable laws, +regulations, or rules (collectively, "Laws") that protect human, +civil, labor, privacy, political, environmental, security, economic, due +process, or similar rights; provided, however, that such Laws are +consistent and not in conflict with Human Rights Principles (a dispute +over the consistency or a conflict between Laws and Human Rights +Principles shall be determined by arbitration as stated above). Where +the Human Rights Laws of more than one jurisdiction are applicable or in +conflict with respect to the use of the Software, the Human Rights Laws +that are most protective of the individuals or groups harmed shall +apply. +. Indemnity. Licensee shall hold harmless and indemnify Licensor (and +any other contributor) against all losses, damages, liabilities, +deficiencies, claims, actions, judgments, settlements, interest, awards, +penalties, fines, costs, or expenses of whatever kind, including +Licensor???s reasonable attorneys??? fees, arising out of or relating to +Licensee???s use of the Software in violation of Human Rights Laws or +Human Rights Principles. +* Failure to Comply. Any failure of Licensee to act according to the +terms and conditions of this License is both a breach of the License and +an infringement of the intellectual property rights of the Licensor +(subject to exceptions under Laws, e.g., fair use). In the event of a +breach or infringement, the terms and conditions of this License may be +enforced by Licensor under the Laws of any jurisdiction to which +Licensee is subject. Licensee also agrees that the Licensor may enforce +the terms and conditions of this License against Licensee through +specific performance (or similar remedy under Laws) to the extent +permitted by Laws. For clarity, except in the event of a breach of this +License, infringement, or as otherwise stated in this License, Licensor +may not terminate this License with Licensee. +* Enforceability and Interpretation. If any term or provision of this +License is determined to be invalid, illegal, or unenforceable by a +court of competent jurisdiction, then such invalidity, illegality, or +unenforceability shall not affect any other term or provision of this +License or invalidate or render unenforceable such term or provision in +any other jurisdiction; provided, however, subject to a court +modification pursuant to the immediately following sentence, if any term +or provision of this License pertaining to Human Rights Laws or Human +Rights Principles is deemed invalid, illegal, or unenforceable against +Licensee by a court of competent jurisdiction, all rights in the +Software granted to Licensee shall be deemed null and void as between +Licensor and Licensee. Upon a determination that any term or provision +is invalid, illegal, or unenforceable, to the extent permitted by Laws, +the court may modify this License to affect the original purpose that +the Software be used in compliance with Human Rights Principles and +Human Rights Laws as closely as possible. The language in this License +shall be interpreted as to its fair meaning and not strictly for or +against any party. +* Disclaimer. TO THE FULL EXTENT ALLOWED BY LAW, THIS SOFTWARE COMES +"AS IS," WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED, AND LICENSOR AND +ANY OTHER CONTRIBUTOR SHALL NOT BE LIABLE TO ANYONE FOR ANY DAMAGES OR +OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE +OR THIS LICENSE, UNDER ANY KIND OF LEGAL CLAIM. + +This Hippocratic License is an link:https://ethicalsource.dev[Ethical Source license] and is offered +for use by licensors and licensees at their own risk, on an "AS IS" basis, and with no warranties +express or implied, to the maximum extent permitted by Laws. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.adoc new/README.adoc --- old/README.adoc 2021-04-19 01:35:35.000000000 +0200 +++ new/README.adoc 2022-03-04 04:03:26.000000000 +0100 @@ -4,19 +4,14 @@ = XDG -[link=http://badge.fury.io/rb/xdg] -image::https://badge.fury.io/rb/xdg.svg[Gem Version] -[link=https://www.alchemists.io/projects/code_quality] -image::https://img.shields.io/badge/code_style-alchemists-brightgreen.svg[Alchemists Style Guide] -[link=https://circleci.com/gh/bkuhlmann/xdg] -image::https://circleci.com/gh/bkuhlmann/xdg.svg?style=svg[Circle CI Status] - Provides a Ruby implementation of the https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html[XDG Base Directory -Specification]. +Specification] for managing common configurations without polluting your dotfiles. XDG is great for +command line interfaces or any application that needs a common configuration, cache, data, or +runtime. -???? If you write a lot of Command Line Interfaces and would like additional syntactic sugar that -includes what is found in this gem, make sure to check out the +???? If you write a lot of Command Line Interfaces and would like additional/advanced syntactic sugar +that includes what is found in this gem, make sure to check out the link:https://www.alchemists.io/projects/runcom[Runcom] gem too. toc::[] @@ -210,7 +205,7 @@ ==== `$XDG_*_HOME` -These variables take precidence over the corresponding `$XDG_*_DIRS` environment variables. Using +These variables take precedence over the corresponding `$XDG_*_DIRS` environment variables. Using a modified version of the `$XDG_*_DIRS` example, shown above, we could have the following setup: [source,bash] @@ -230,7 +225,7 @@ ] ---- -Due to `XDG_CONFIG_HOME` taking precidence over the `XDG_CONFIG_DIRS`, the path with the +Due to `XDG_CONFIG_HOME` taking precedence over the `XDG_CONFIG_DIRS`, the path with the _highest_ priority in this example is: `"/example/priority"`. === Variable Priority @@ -268,31 +263,19 @@ bundle exec rake ---- -== Versioning - -Read link:https://semver.org[Semantic Versioning] for details. Briefly, it means: - -* Major (X.y.z) - Incremented for any backwards incompatible public API changes. -* Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes. -* Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes. - -== Code of Conduct - -Please note that this project is released with a link:CODE_OF_CONDUCT.adoc[CODE OF CONDUCT]. By -participating in this project you agree to abide by its terms. - -== Contributions +== link:https://www.alchemists.io/policies/license[License] -Read link:CONTRIBUTING.adoc[CONTRIBUTING] for details. +== link:https://www.alchemists.io/policies/security[Security] -== License +== link:https://www.alchemists.io/policies/code_of_conduct[Code of Conduct] -Read link:LICENSE.adoc[LICENSE] for details. +== link:https://www.alchemists.io/policies/contributions[Contributions] -== History +== link:https://www.alchemists.io/projects/xdg/versions[Versions] -Read link:CHANGES.adoc[CHANGES] for details. +== link:https://www.alchemists.io/community[Community] == Credits -Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann]. +* Built with link:https://www.alchemists.io/projects/gemsmith[Gemsmith]. +* Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann]. Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ Binary files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ Binary files old/data.tar.gz.sig and new/data.tar.gz.sig differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/xdg/environment.rb new/lib/xdg/environment.rb --- old/lib/xdg/environment.rb 2021-04-19 01:35:35.000000000 +0200 +++ new/lib/xdg/environment.rb 2022-03-04 04:03:26.000000000 +0100 @@ -3,9 +3,9 @@ module XDG class Environment def initialize home: Paths::Home, directories: Paths::Directory, environment: ENV - @cache = Cache.new home: home, directories: directories, environment: environment - @config = Config.new home: home, directories: directories, environment: environment - @data = Data.new home: home, directories: directories, environment: environment + @cache = Cache.new(home:, directories:, environment:) + @config = Config.new(home:, directories:, environment:) + @data = Data.new home:, directories:, environment: end def cache_home = cache.home diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/xdg/identity.rb new/lib/xdg/identity.rb --- old/lib/xdg/identity.rb 2021-04-19 01:35:35.000000000 +0200 +++ new/lib/xdg/identity.rb 1970-01-01 01:00:00.000000000 +0100 @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module XDG - # Gem identity information. - module Identity - NAME = "xdg" - LABEL = "XDG" - VERSION = "5.1.1" - VERSION_LABEL = "#{LABEL} #{VERSION}" - end -end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/xdg/pair.rb new/lib/xdg/pair.rb --- old/lib/xdg/pair.rb 2021-04-19 01:35:35.000000000 +0200 +++ new/lib/xdg/pair.rb 2022-03-04 04:03:26.000000000 +0100 @@ -13,10 +13,6 @@ def empty? = !(key? && value?) - def inspect - return "" unless key? || value? - - "#{key}#{PAIR_DELIMITER}#{value}" - end + def inspect = key? || value? ? "#{key}#{PAIR_DELIMITER}#{value}" : "" end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/xdg/paths/combined.rb new/lib/xdg/paths/combined.rb --- old/lib/xdg/paths/combined.rb 2021-04-19 01:35:35.000000000 +0200 +++ new/lib/xdg/paths/combined.rb 2022-03-04 04:03:26.000000000 +0100 @@ -15,7 +15,7 @@ def directories = initial_directories.dynamic - def all = directories.prepend(home) + def all = directories.prepend(*home) def inspect = [initial_home.inspect, initial_directories.inspect].reject(&:empty?).join(" ") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/xdg.rb new/lib/xdg.rb --- old/lib/xdg.rb 2021-04-19 01:35:35.000000000 +0200 +++ new/lib/xdg.rb 2022-03-04 04:03:26.000000000 +0100 @@ -1,6 +1,5 @@ # frozen_string_literal: true -require "xdg/identity" require "xdg/pair" require "xdg/paths/home" require "xdg/paths/directory" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2021-04-19 01:35:35.000000000 +0200 +++ new/metadata 2022-03-04 04:03:26.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: xdg version: !ruby/object:Gem::Version - version: 5.1.1 + version: 6.3.1 platform: ruby authors: - Brooke Kuhlmann @@ -28,7 +28,7 @@ lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod W2A= -----END CERTIFICATE----- -date: 2021-04-18 00:00:00.000000000 Z +date: 2022-03-04 00:00:00.000000000 Z dependencies: [] description: email: @@ -46,18 +46,20 @@ - lib/xdg/config.rb - lib/xdg/data.rb - lib/xdg/environment.rb -- lib/xdg/identity.rb - lib/xdg/pair.rb - lib/xdg/paths/combined.rb - lib/xdg/paths/directory.rb - lib/xdg/paths/home.rb +- xdg.gemspec homepage: https://www.alchemists.io/projects/xdg licenses: -- Apache-2.0 +- Hippocratic-2.1 metadata: bug_tracker_uri: https://github.com/bkuhlmann/xdg/issues - changelog_uri: https://www.alchemists.io/projects/xdg/changes.html + changelog_uri: https://www.alchemists.io/projects/xdg/versions documentation_uri: https://www.alchemists.io/projects/xdg + label: XDG + rubygems_mfa_required: 'true' source_code_uri: https://github.com/bkuhlmann/xdg post_install_message: rdoc_options: [] @@ -67,14 +69,14 @@ requirements: - - "~>" - !ruby/object:Gem::Version - version: '3.0' + version: '3.1' required_rubygems_version: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.2.16 +rubygems_version: 3.3.8 signing_key: specification_version: 4 summary: Provides an implementation of the XDG Base Directory Specification. Binary files old/metadata.gz.sig and new/metadata.gz.sig differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg.gemspec new/xdg.gemspec --- old/xdg.gemspec 1970-01-01 01:00:00.000000000 +0100 +++ new/xdg.gemspec 2022-03-04 04:03:26.000000000 +0100 @@ -0,0 +1,28 @@ +# frozen_string_literal: true + +Gem::Specification.new do |spec| + spec.name = "xdg" + spec.version = "6.3.1" + spec.authors = ["Brooke Kuhlmann"] + spec.email = ["[email protected]"] + spec.homepage = "https://www.alchemists.io/projects/xdg" + spec.summary = "Provides an implementation of the XDG Base Directory Specification." + spec.license = "Hippocratic-2.1" + + spec.metadata = { + "bug_tracker_uri" => "https://github.com/bkuhlmann/xdg/issues", + "changelog_uri" => "https://www.alchemists.io/projects/xdg/versions", + "documentation_uri" => "https://www.alchemists.io/projects/xdg", + "label" => "XDG", + "rubygems_mfa_required" => "true", + "source_code_uri" => "https://github.com/bkuhlmann/xdg" + } + + spec.signing_key = Gem.default_key_path + spec.cert_chain = [Gem.default_cert_path] + + spec.required_ruby_version = "~> 3.1" + + spec.files = Dir["*.gemspec", "lib/**/*"] + spec.extra_rdoc_files = Dir["README*", "LICENSE*"] +end
