Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-ast for openSUSE:Factory checked in at 2021-04-12 12:37:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-ast (Old) and /work/SRC/openSUSE:Factory/.rubygem-ast.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-ast" Mon Apr 12 12:37:09 2021 rev:3 rq:884403 version:2.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-ast/rubygem-ast.changes 2020-09-01 20:11:51.572715337 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-ast.new.2401/rubygem-ast.changes 2021-04-12 12:40:01.201554489 +0200 @@ -1,0 +2,7 @@ +Sun Apr 11 06:44:19 UTC 2021 - Manuel Schnitzer <[email protected]> + +- updated to version 2.4.2 + + * no changelog found + +------------------------------------------------------------------- Old: ---- ast-2.4.1.gem New: ---- ast-2.4.2.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-ast.spec ++++++ --- /var/tmp/diff_new_pack.ItG6Fv/_old 2021-04-12 12:40:01.749555126 +0200 +++ /var/tmp/diff_new_pack.ItG6Fv/_new 2021-04-12 12:40:01.753555131 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-ast # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,26 +16,28 @@ # -%define mod_name ast -%define mod_full_name %{mod_name}-%{version} # # 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-ast -Version: 2.4.1 +Version: 2.4.2 Release: 0 -Summary: A library for working with Abstract Syntax Trees -License: MIT -Group: Development/Languages/Ruby -URL: https://whitequark.github.io/ast/ -Source: https://rubygems.org/gems/%{mod_full_name}.gem -Source1: gem2rpm.yml +%define mod_name ast +%define mod_full_name %{mod_name}-%{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{rubygem gem2rpm} BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 +URL: https://whitequark.github.io/ast/ +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +Summary: A library for working with Abstract Syntax Trees +License: MIT +Group: Development/Languages/Ruby %description A library for working with Abstract Syntax Trees. ++++++ ast-2.4.1.gem -> ast-2.4.2.gem ++++++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/ast/node.rb new/lib/ast/node.rb --- old/lib/ast/node.rb 2020-06-10 19:23:54.000000000 +0200 +++ new/lib/ast/node.rb 2021-01-23 19:56:44.000000000 +0100 @@ -229,9 +229,9 @@ def to_ast self end - + # Converts `self` to an Array where the first element is the type as a Symbol, - # and subsequent elements are the same representation of its children. + # and subsequent elements are the same representation of its children. # # @return [Array<Symbol, [...Array]>] def to_sexp_array @@ -246,6 +246,14 @@ [type, *children_sexp_arrs] end + # Enables matching for Node, where type is the first element + # and the children are remaining items. + # + # @return [Array] + def deconstruct + [type, *children] + end + protected # Returns `@type` with all underscores replaced by dashes. This allows diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2020-06-10 19:23:54.000000000 +0200 +++ new/metadata 2021-01-23 19:56:44.000000000 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: ast version: !ruby/object:Gem::Version - version: 2.4.1 + version: 2.4.2 platform: ruby authors: - whitequark -autorequire: +autorequire: bindir: bin cert_chain: [] -date: 2020-06-10 00:00:00.000000000 Z +date: 2021-01-23 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rake @@ -126,7 +126,7 @@ licenses: - MIT metadata: {} -post_install_message: +post_install_message: rdoc_options: [] require_paths: - lib @@ -141,8 +141,8 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.1.2 -signing_key: +rubygems_version: 3.2.3 +signing_key: specification_version: 4 summary: A library for working with Abstract Syntax Trees. test_files: []
