Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rubocop from 1.57.2 to 1.58.0 #548

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 4, 2023

Bumps rubocop from 1.57.2 to 1.58.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.58

New features

Bug fixes

  • #12372: Fix a false negative for Lint/Debugger when used within method arguments a begin...end block. (@​koic)
  • #12378: Fix a false negative for Style/Semicolon when a semicolon at the beginning of a lambda block. (@​koic)
  • #12146: Fix a false positive for Lint/FloatComparison when comparing against zero. (@​earlopain)
  • #12404: Fix a false positive for Layout/RescueEnsureAlignment when aligned rescue in do-end numbered block in a method. (@​koic)
  • #12374: Fix a false positive for Layout/SpaceBeforeSemicolon when a space between an opening lambda brace and a semicolon. (@​koic)
  • #12326: Fix an error for Style/RedundantDoubleSplatHashBraces when method call for parenthesized no hash double double splat. (@​koic)
  • #12361: Fix an incorrect autocorrect for Naming/BlockForwarding and Style/ArgumentsForwarding when autocorrection conflicts for anonymous arguments. (@​koic)
  • #12324: Fix an error for Layout/RescueEnsureAlignment when using rescue in do...end block assigned to object attribute. (@​koic)
  • #12322: Fix an error for Style/CombinableLoops when looping over the same data for the third consecutive time or more. (@​koic)
  • #12366: Fix a false negative for Layout/ExtraSpacing when a file has exactly two comments. (@​eugeneius)
  • #12373: Fix a false negative for Lint/SymbolConversion when using string interpolation. (@​earlopain)
  • #12402: Fix false negatives for Style/RedundantLineContinuation when redundant line continuations for a block are used, especially without parentheses around first argument. (@​koic)
  • #12311: Fix false negatives for Style/RedundantParentheses when parentheses around logical operator keywords in method definition. (@​koic)
  • #12394: Fix false negatives for Style/RedundantReturn when lambda (->) ending with return. (@​koic)
  • #12377: Fix false positives for Lint/Void when a collection literal that includes non-literal elements in a method definition. (@​koic)
  • #12407: Fix an incorrect autocorrect for Style/MapToHash with Layout/SingleLineBlockChain. (@​koic)
  • #12409: Fix an incorrect autocorrect for Lint/SafeNavigationChain when ordinary method chain exists after safe navigation leading dot method call. (@​koic)
  • #12363: Fix incorrect rendering of HTML character entities in HTMLFormatter formatter. (@​koic)
  • #12424: Make Style/HashEachMethods aware of safe navigation operator. (@​koic)
  • #12413: Make Style/InverseMethods aware of safe navigation operator. (@​koic)
  • #12408: Make Style/MapToHash aware of safe navigation operator. (@​koic)

Changes

  • #12328: Make Style/AutoResourceCleanup aware of Tempfile.open. (@​koic)
  • #12412: Enhance Lint/RedundantSafeNavigation to handle conversion methods with defaults. (@​fatkodima)
  • #12410: Enhance Lint/SelfAssignment to check attribute assignment and key assignment. (@​fatkodima)
  • #12370: Make Style/HashEachMethods aware of unused block value. (@​koic)
  • #12380: Make Style/RedundantParentheses aware of lambda or proc. (@​koic)
  • #12421: Make Style/SelfAssignment aware of %, ^, <<, and >> operators. (@​koic)
  • #12305: Require rubocop-ast version 1.30 or greater. (@​sambostock)
  • #12337: Supports EnforcedStyleForRationalLiterals option for Layout/SpaceAroundOperators. (@​koic)
  • #12296: Support RedundantRestArgumentNames, RedundantKeywordRestArgumentNames, and RedundantBlockArgumentNames options for Style/ArgumentsForwarding. (@​koic)
Changelog

Sourced from rubocop's changelog.

1.58.0 (2023-12-01)

New features

Bug fixes

  • #12372: Fix a false negative for Lint/Debugger when used within method arguments a begin...end block. ([@​koic][])
  • #12378: Fix a false negative for Style/Semicolon when a semicolon at the beginning of a lambda block. ([@​koic][])
  • #12146: Fix a false positive for Lint/FloatComparison when comparing against zero. ([@​earlopain][])
  • #12404: Fix a false positive for Layout/RescueEnsureAlignment when aligned rescue in do-end numbered block in a method. ([@​koic][])
  • #12374: Fix a false positive for Layout/SpaceBeforeSemicolon when a space between an opening lambda brace and a semicolon. ([@​koic][])
  • #12326: Fix an error for Style/RedundantDoubleSplatHashBraces when method call for parenthesized no hash double double splat. ([@​koic][])
  • #12361: Fix an incorrect autocorrect for Naming/BlockForwarding and Style/ArgumentsForwarding when autocorrection conflicts for anonymous arguments. ([@​koic][])
  • #12324: Fix an error for Layout/RescueEnsureAlignment when using rescue in do...end block assigned to object attribute. ([@​koic][])
  • #12322: Fix an error for Style/CombinableLoops when looping over the same data for the third consecutive time or more. ([@​koic][])
  • #12366: Fix a false negative for Layout/ExtraSpacing when a file has exactly two comments. ([@​eugeneius][])
  • #12373: Fix a false negative for Lint/SymbolConversion when using string interpolation. ([@​earlopain][])
  • #12402: Fix false negatives for Style/RedundantLineContinuation when redundant line continuations for a block are used, especially without parentheses around first argument. ([@​koic][])
  • #12311: Fix false negatives for Style/RedundantParentheses when parentheses around logical operator keywords in method definition. ([@​koic][])
  • #12394: Fix false negatives for Style/RedundantReturn when lambda (->) ending with return. ([@​koic][])
  • #12377: Fix false positives for Lint/Void when a collection literal that includes non-literal elements in a method definition. ([@​koic][])
  • #12407: Fix an incorrect autocorrect for Style/MapToHash with Layout/SingleLineBlockChain. ([@​koic][])
  • #12409: Fix an incorrect autocorrect for Lint/SafeNavigationChain when ordinary method chain exists after safe navigation leading dot method call. ([@​koic][])
  • #12363: Fix incorrect rendering of HTML character entities in HTMLFormatter formatter. ([@​koic][])
  • #12424: Make Style/HashEachMethods aware of safe navigation operator. ([@​koic][])
  • #12413: Make Style/InverseMethods aware of safe navigation operator. ([@​koic][])
  • #12408: Make Style/MapToHash aware of safe navigation operator. ([@​koic][])

Changes

  • #12328: Make Style/AutoResourceCleanup aware of Tempfile.open. ([@​koic][])
  • #12412: Enhance Lint/RedundantSafeNavigation to handle conversion methods with defaults. ([@​fatkodima][])
  • #12410: Enhance Lint/SelfAssignment to check attribute assignment and key assignment. ([@​fatkodima][])
  • #12370: Make Style/HashEachMethods aware of unused block value. ([@​koic][])
  • #12380: Make Style/RedundantParentheses aware of lambda or proc. ([@​koic][])
  • #12421: Make Style/SelfAssignment aware of %, ^, <<, and >> operators. ([@​koic][])
  • #12305: Require rubocop-ast version 1.30 or greater. ([@​sambostock][])
  • #12337: Supports EnforcedStyleForRationalLiterals option for Layout/SpaceAroundOperators. ([@​koic][])
  • #12296: Support RedundantRestArgumentNames, RedundantKeywordRestArgumentNames, and RedundantBlockArgumentNames options for Style/ArgumentsForwarding. ([@​koic][])
Commits
  • f27164b Cut 1.58
  • 73b0876 Update Changelog
  • 19daa1c Add new Lint/LiteralAssignmentInCondition cop
  • c8d2d77 [Fix #12424] Make Style/HashEachMethods aware of safe navigation operator
  • 3db23fa Merge pull request #12422 from fatkodima/optimize-tests
  • 7f0a589 Optimize rspec tests
  • 4753e92 Merge pull request #12421 from koic/make_style_self_assignment_aware_of_some_...
  • 2f9a2d2 Make Style/SelfAssignment aware of some operators
  • a31a37c Merge pull request #12387 from Earlopain/fix-zero-method-for-float-comparison
  • 7a66f24 [Fix #12146] Fix a false positive for Lint/FloatComparison
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Dec 4, 2023
Copy link

github-actions bot commented Dec 4, 2023

gem compare json 2.6.3 2.7.0

Compared versions: ["2.6.3", "2.7.0"]
  DIFFERENT date:
    2.6.3: 2022-12-05 00:00:00 UTC
    2.7.0: 2023-12-01 00:00:00 UTC
  DIFFERENT homepage:
    2.6.3: http://flori.github.com/json
    2.7.0: https://flori.github.io/json
  DIFFERENT metadata:
    2.6.3: {"bug_tracker_uri"=>"https://github.com/flori/json/issues", "changelog_uri"=>"https://github.com/flori/json/blob/master/CHANGES.md", "documentation_uri"=>"http://flori.github.io/json/doc/index.html", "homepage_uri"=>"http://flori.github.io/json/", "source_code_uri"=>"https://github.com/flori/json", "wiki_uri"=>"https://github.com/flori/json/wiki"}
    2.7.0: {"bug_tracker_uri"=>"https://github.com/flori/json/issues", "changelog_uri"=>"https://github.com/flori/json/blob/master/CHANGES.md", "documentation_uri"=>"https://flori.github.io/json/doc/index.html", "homepage_uri"=>"https://flori.github.io/json", "source_code_uri"=>"https://github.com/flori/json", "wiki_uri"=>"https://github.com/flori/json/wiki"}
  DIFFERENT require_paths:
    2.6.3: ["/opt/hostedtoolcache/Ruby/3.2.2/x64/lib/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/json-2.6.3", "lib"]
    2.7.0: ["/opt/hostedtoolcache/Ruby/3.2.2/x64/lib/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/json-2.7.0", "lib"]
  DIFFERENT rubygems_version:
    2.6.3: 3.4.0.dev
    2.7.0: 3.5.0.dev
  DIFFERENT version:
    2.6.3: 2.6.3
    2.7.0: 2.7.0
  DIFFERENT files:
    2.6.3->2.7.0:
      * Changed:
            CHANGES.md +39/-0
            README.md +4/-4
            VERSION +1/-1
            ext/json/ext/generator/generator.c +84/-19
            ext/json/ext/generator/generator.h +8/-5
            ext/json/ext/parser/parser.c +1831/-2967
            ext/json/ext/parser/parser.rl +79/-94
            json.gemspec +3/-3
            lib/json.rb +9/-0
            lib/json/add/bigdecimal.rb +5/-2
            lib/json/add/range.rb +22/-7
            lib/json/common.rb +11/-27
            lib/json/pure/generator.rb +62/-28
            lib/json/version.rb +1/-1
  DIFFERENT extra_rdoc_files:
    2.6.3->2.7.0:
      * Changed:
            README.md +4/-4

Copy link

github-actions bot commented Dec 4, 2023

gem compare --diff json 2.6.3 2.7.0

Diff too large (219905 chars)

Copy link

github-actions bot commented Dec 4, 2023

gem compare racc 1.7.1 1.7.3

Compared versions: ["1.7.1", "1.7.3"]
  DIFFERENT date:
    1.7.1: 2023-06-14 00:00:00 UTC
    1.7.3: 2023-11-04 00:00:00 UTC
  DIFFERENT require_paths:
    1.7.1: ["/opt/hostedtoolcache/Ruby/3.2.2/x64/lib/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.1", "lib"]
    1.7.3: ["/opt/hostedtoolcache/Ruby/3.2.2/x64/lib/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.3", "lib"]
  DIFFERENT rubygems_version:
    1.7.1: 3.5.0.dev
    1.7.3: 3.4.10
  DIFFERENT version:
    1.7.1: 1.7.1
    1.7.3: 1.7.3
  DIFFERENT files:
    1.7.1->1.7.3:
      * Deleted:
            doc/en/NEWS.en.rdoc
            doc/ja/NEWS.ja.rdoc
            ext/racc/MANIFEST
      * Changed:
            README.ja.rdoc +0/-28
            README.rdoc +7/-26
            TODO +1/-1
            bin/racc +6/-0
            doc/en/grammar.en.rdoc +1/-1
            doc/en/grammar2.en.rdoc +1/-1
            doc/ja/command.ja.html +5/-0
            doc/ja/grammar.ja.rdoc +1/-1
            doc/ja/parser.ja.rdoc +1/-1
            ext/racc/cparse/cparse.c +26/-47
            ext/racc/cparse/extconf.rb +3/-4
            lib/racc/info.rb +2/-1
            lib/racc/parser-text.rb +5/-15
            lib/racc/parser.rb +5/-3
            lib/racc/parserfilegenerator.rb +3/-0
  DIFFERENT extra_rdoc_files:
    1.7.1->1.7.3:
      * Changed:
            README.ja.rdoc +0/-28
            README.rdoc +7/-26

Copy link

github-actions bot commented Dec 4, 2023

gem compare --diff racc 1.7.1 1.7.3

Compared versions: ["1.7.1", "1.7.3"]
  DIFFERENT files:
    1.7.1->1.7.3:
      * Deleted:
            doc/en/NEWS.en.rdoc
            doc/ja/NEWS.ja.rdoc
            ext/racc/MANIFEST
      * Changed:
        README.ja.rdoc
                --- /tmp/d20231204-2066-kr3xy1/racc-1.7.1/README.ja.rdoc	2023-12-04 03:53:44.349937585 +0000
                +++ /tmp/d20231204-2066-kr3xy1/racc-1.7.3/README.ja.rdoc	2023-12-04 03:53:44.353937612 +0000
                @@ -28,28 +27,0 @@
                -  setup.rb インストル:
                -
                -  パッケージのトップディレクトリで次のように入力してください。
                -  ($ は通常ユーザ、# はルートのプロンプトです)
                -
                -      $ ruby setup.rb config
                -      $ ruby setup.rb setup
                -     ($ su)
                -      # ruby setup.rb install
                -
                -  これで通常のパスに Racc がインストールされます。自分の好き
                -  なディレクトリにインストールしたいときは、setup.rb config 
                -  各種オプションをつけて実行してください。オプションのリストは
                -
                -      $ ruby setup.rb --help
                -
                -  で見られます。
                -
                -
                -  コンパイラがない場合
                -  --------------------
                -
                -  config を以下のようにすれば、拡張モジュールなしで
                -  インストールできます。
                -
                -      $ ruby setup.rb config --without-ext
                -
                -
        README.rdoc
                --- /tmp/d20231204-2066-kr3xy1/racc-1.7.1/README.rdoc	2023-12-04 03:53:44.349937585 +0000
                +++ /tmp/d20231204-2066-kr3xy1/racc-1.7.3/README.rdoc	2023-12-04 03:53:44.353937612 +0000
                @@ -20,26 +19,0 @@
                -  setup.rb install:
                -
                -  Type this in the top directory of the extracted archive:
                -
                -    $ ruby setup.rb config
                -    $ ruby setup.rb setup
                -   ($ su)
                -    # ruby setup.rb install
                -
                -  You can install Racc into your favorite directory by giving
                -  options to setup.rb. e.g.
                -
                -    $ ruby setup.rb config --prefix=/usr
                -
                -  For details, try "ruby setup.rb --help".
                -
                -
                -  If you don't have C Compiler
                -  ----------------------------
                -
                -  You can install Racc without C compilers. Type following
                -  command in config phase.
                -
                -    $ ruby setup.rb config --without-ext
                -
                -
                @@ -59,0 +34,7 @@
                +== Release flow
                +
                +* Update VERSION number of these files
                +  * <code>RACC_VERSION</code> in "ext/racc/com/headius/racc/Cparse.java"
                +  * <code>VERSION</code> in "lib/racc/info.rb"
                +* Release as a gem by <code>rake release</code> with CRuby and JRuby because Racc gem provides 2 packages
                +* Create new release on {GitHub}[https://github.com/ruby/racc/releases]
        TODO
                --- /tmp/d20231204-2066-kr3xy1/racc-1.7.1/TODO	2023-12-04 03:53:44.349937585 +0000
                +++ /tmp/d20231204-2066-kr3xy1/racc-1.7.3/TODO	2023-12-04 03:53:44.353937612 +0000
                @@ -4 +4 @@
                -* output Ruby extention library?
                +* output Ruby extension library?
        bin/racc
                --- /tmp/d20231204-2066-kr3xy1/racc-1.7.1/bin/racc	2023-12-04 03:53:44.349937585 +0000
                +++ /tmp/d20231204-2066-kr3xy1/racc-1.7.3/bin/racc	2023-12-04 03:53:44.353937612 +0000
                @@ -21,0 +22 @@
                +  frozen_strings = false
                @@ -59,0 +61,3 @@
                +  parser.on('-F', '--frozen', "Add frozen_string_literals: true.") {
                +    frozen_strings = true
                +  }
                @@ -152,0 +157 @@
                +    params.filename = File.basename(input)
                @@ -164,0 +170 @@
                +    params.frozen_strings = frozen_strings
        doc/en/grammar.en.rdoc
                --- /tmp/d20231204-2066-kr3xy1/racc-1.7.1/doc/en/grammar.en.rdoc	2023-12-04 03:53:44.349937585 +0000
                +++ /tmp/d20231204-2066-kr3xy1/racc-1.7.3/doc/en/grammar.en.rdoc	2023-12-04 03:53:44.353937612 +0000
                @@ -134 +133,0 @@
                -rule
                @@ -135,0 +135 @@
                +rule
        doc/en/grammar2.en.rdoc
                --- /tmp/d20231204-2066-kr3xy1/racc-1.7.1/doc/en/grammar2.en.rdoc	2023-12-04 03:53:44.349937585 +0000
                +++ /tmp/d20231204-2066-kr3xy1/racc-1.7.3/doc/en/grammar2.en.rdoc	2023-12-04 03:53:44.353937612 +0000
                @@ -130 +129,0 @@
                -  rule
                @@ -131,0 +131 @@
                +  rule
        doc/ja/command.ja.html
                --- /tmp/d20231204-2066-kr3xy1/racc-1.7.1/doc/ja/command.ja.html	2023-12-04 03:53:44.349937585 +0000
                +++ /tmp/d20231204-2066-kr3xy1/racc-1.7.3/doc/ja/command.ja.html	2023-12-04 03:53:44.353937612 +0000
                @@ -8,0 +9 @@
                +     [-F] [--frozen]
                @@ -51,0 +53,4 @@
                +</dd>
                +<dt>-F, --frozen
                +<dd>
                +Add frozen_string_literals: true.
        doc/ja/grammar.ja.rdoc
                --- /tmp/d20231204-2066-kr3xy1/racc-1.7.1/doc/ja/grammar.ja.rdoc	2023-12-04 03:53:44.349937585 +0000
                +++ /tmp/d20231204-2066-kr3xy1/racc-1.7.3/doc/ja/grammar.ja.rdoc	2023-12-04 03:53:44.357937639 +0000
                @@ -176 +176 @@
                -  left     MULTI DEVIDE
                +  left     MULTI DIVIDE
        doc/ja/parser.ja.rdoc
                --- /tmp/d20231204-2066-kr3xy1/racc-1.7.1/doc/ja/parser.ja.rdoc	2023-12-04 03:53:44.349937585 +0000
                +++ /tmp/d20231204-2066-kr3xy1/racc-1.7.3/doc/ja/parser.ja.rdoc	2023-12-04 03:53:44.357937639 +0000
                @@ -99 +99 @@
                -    error_token はパースエラーを起こした記号の内部表現 (整数) です。
                +    error_token_id はパースエラーを起こした記号の内部表現 (整数) です。
        ext/racc/cparse/cparse.c
                --- /tmp/d20231204-2066-kr3xy1/racc-1.7.1/ext/racc/cparse/cparse.c	2023-12-04 03:53:44.349937585 +0000
                +++ /tmp/d20231204-2066-kr3xy1/racc-1.7.3/ext/racc/cparse/cparse.c	2023-12-04 03:53:44.357937639 +0000
                @@ -25 +25 @@
                -#define RACC_VERSION "1.7.1"
                +#define RACC_VERSION STRINGIZE(RACC_INFO_VERSION)
                @@ -73,6 +73,2 @@
                -#ifndef HAVE_RB_ARY_SUBSEQ
                -#  define rb_ary_subseq(ary, beg, len) rb_ary_new4(len, RARRAY_PTR(ary) + beg)
                -#endif
                -
                -static ID value_to_id _((VALUE v));
                -static inline long num_to_long _((VALUE n));
                +static ID value_to_id(VALUE v);
                +static inline long num_to_long(VALUE n);
                @@ -102,2 +98,2 @@
                -static VALUE get_stack_tail _((VALUE stack, long len));
                -static void cut_stack_tail _((VALUE stack, long len));
                +static VALUE get_stack_tail(VALUE stack, long len);
                +static void cut_stack_tail(VALUE stack, long len);
                @@ -192,21 +188,21 @@
                -static VALUE racc_cparse _((VALUE parser, VALUE arg, VALUE sysdebug));
                -static VALUE racc_yyparse _((VALUE parser, VALUE lexer, VALUE lexmid,
                -                             VALUE arg, VALUE sysdebug));
                -
                -static void call_lexer _((struct cparse_params *v));
                -static VALUE lexer_i _((RB_BLOCK_CALL_FUNC_ARGLIST(block_args, data)));
                -
                -static VALUE assert_array _((VALUE a));
                -static long assert_integer _((VALUE n));
                -static VALUE assert_hash _((VALUE h));
                -static VALUE initialize_params _((VALUE vparams, VALUE parser, VALUE arg,
                -                                 VALUE lexer, VALUE lexmid));
                -static void cparse_params_mark _((void *ptr));
                -static size_t cparse_params_memsize _((const void *ptr));
                -
                -static void parse_main _((struct cparse_params *v,
                -                         VALUE tok, VALUE val, int resume));
                -static void extract_user_token _((struct cparse_params *v,
                -                                  VALUE block_args, VALUE *tok, VALUE *val));
                -static void shift _((struct cparse_params* v, long act, VALUE tok, VALUE val));
                -static int reduce _((struct cparse_params* v, long act));
                +static VALUE racc_cparse(VALUE parser, VALUE arg, VALUE sysdebug);
                +static VALUE racc_yyparse(VALUE parser, VALUE lexer, VALUE lexmid,
                +			  VALUE arg, VALUE sysdebug);
                +
                +static void call_lexer(struct cparse_params *v);
                +static VALUE lexer_i(RB_BLOCK_CALL_FUNC_ARGLIST(block_args, data));
                +
                +static VALUE assert_array(VALUE a);
                +static long assert_integer(VALUE n);
                +static VALUE assert_hash(VALUE h);
                +static VALUE initialize_params(VALUE vparams, VALUE parser, VALUE arg,
                +			       VALUE lexer, VALUE lexmid);
                +static void cparse_params_mark(void *ptr);
                +static size_t cparse_params_memsize(const void *ptr);
                +
                +static void parse_main(struct cparse_params *v,
                +		       VALUE tok, VALUE val, int resume);
                +static void extract_user_token(struct cparse_params *v,
                +			       VALUE block_args, VALUE *tok, VALUE *val);
                +static void shift(struct cparse_params* v, long act, VALUE tok, VALUE val);
                +static int reduce(struct cparse_params* v, long act);
                @@ -281 +276,0 @@
                -#ifdef HAVE_RB_BLOCK_CALL
                @@ -287,16 +281,0 @@
                -#else
                -static VALUE
                -lexer_iter(VALUE data)
                -{
                -    struct cparse_params *v = rb_check_typeddata(data, &cparse_params_type);
                -
                -    rb_funcall(v->lexer, v->lexmid, 0);
                -    return Qnil;
                -}
                -
                -static void
                -call_lexer(struct cparse_params *v)
                -{
                -    rb_iterate(lexer_iter, v->value_v, lexer_i, v->value_v);
                -}
                -#endif
        ext/racc/cparse/extconf.rb
                --- /tmp/d20231204-2066-kr3xy1/racc-1.7.1/ext/racc/cparse/extconf.rb	2023-12-04 03:53:44.349937585 +0000
                +++ /tmp/d20231204-2066-kr3xy1/racc-1.7.3/ext/racc/cparse/extconf.rb	2023-12-04 03:53:44.357937639 +0000
                @@ -1 +1 @@
                -# frozen_string_literal: false
                +# frozen_string_literal: true
                @@ -4,0 +5 @@
                +require_relative '../../../lib/racc/info'
                @@ -6,3 +7 @@
                -have_func('rb_block_call')
                -have_func('rb_ary_subseq')
                -
                +$defs << "-D""RACC_INFO_VERSION=#{Racc::VERSION}"
        lib/racc/info.rb
                --- /tmp/d20231204-2066-kr3xy1/racc-1.7.1/lib/racc/info.rb	2023-12-04 03:53:44.353937612 +0000
                +++ /tmp/d20231204-2066-kr3xy1/racc-1.7.3/lib/racc/info.rb	2023-12-04 03:53:44.357937639 +0000
                @@ -0,0 +1 @@
                +# frozen_string_literal: true
                @@ -14 +15 @@
                -  VERSION   = '1.7.1'
                +  VERSION   = '1.7.3'
        lib/racc/parser-text.rb
                --- /tmp/d20231204-2066-kr3xy1/racc-1.7.1/lib/racc/parser-text.rb	2023-12-04 03:53:44.353937612 +0000
                +++ /tmp/d20231204-2066-kr3xy1/racc-1.7.3/lib/racc/parser-text.rb	2023-12-04 03:53:44.357937639 +0000
                @@ -3 +2,0 @@
                -# frozen_string_literal: false
                @@ -17,11 +15,0 @@
                -#--
                -#
                -#
                -#
                -# Copyright (c) 1999-2006 Minero Aoki
                -#
                -# This program is free software.
                -# You can distribute/modify this program under the same terms of ruby.
                -# see the file "COPYING".
                -#
                -#++
                @@ -30 +18 @@
                -  VERSION   = '1.7.1'
                +  VERSION   = '1.7.3'
                @@ -79 +67 @@
                -#   add debug code to parser class. To display debuggin information,
                +#   add debug code to parser class. To display debugging information,
                @@ -82,0 +71,2 @@
                +# [-F, --frozen]
                +#   Output parser which declares frozen_string_literals: true
                @@ -561 +551 @@
                -      raise ParseError, sprintf("\nparse error on value %s (%s)",
                +      raise ParseError, sprintf("parse error on value %s (%s)",
        lib/racc/parser.rb
                --- /tmp/d20231204-2066-kr3xy1/racc-1.7.1/lib/racc/parser.rb	2023-12-04 03:53:44.353937612 +0000
                +++ /tmp/d20231204-2066-kr3xy1/racc-1.7.3/lib/racc/parser.rb	2023-12-04 03:53:44.357937639 +0000
                @@ -1 +1 @@
                -# frozen_string_literal: false
                +# frozen_string_literal: true
                @@ -56 +56 @@
                -#   add debug code to parser class. To display debuggin information,
                +#   add debug code to parser class. To display debugging information,
                @@ -59,0 +60,2 @@
                +# [-F, --frozen]
                +#   Output parser which declares frozen_string_literals: true
                @@ -538 +540 @@
                -      raise ParseError, sprintf("\nparse error on value %s (%s)",
                +      raise ParseError, sprintf("parse error on value %s (%s)",
        lib/racc/parserfilegenerator.rb
                --- /tmp/d20231204-2066-kr3xy1/racc-1.7.1/lib/racc/parserfilegenerator.rb	2023-12-04 03:53:44.353937612 +0000
                +++ /tmp/d20231204-2066-kr3xy1/racc-1.7.3/lib/racc/parserfilegenerator.rb	2023-12-04 03:53:44.357937639 +0000
                @@ -47,0 +48 @@
                +      bool_attr :frozen_strings
                @@ -66,0 +68 @@
                +        self.frozen_strings = false
                @@ -124,0 +127 @@
                +      line %q[# frozen_string_literal: true] if @params.frozen_strings?

Copy link

github-actions bot commented Dec 4, 2023

gem compare rubocop 1.57.2 1.58.0

Compared versions: ["1.57.2", "1.58.0"]
  DIFFERENT date:
    1.57.2: 2023-10-26 00:00:00 UTC
    1.58.0: 2023-12-01 00:00:00 UTC
  DIFFERENT metadata:
    1.57.2: {"homepage_uri"=>"https://rubocop.org/", "changelog_uri"=>"https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md", "source_code_uri"=>"https://github.com/rubocop/rubocop/", "documentation_uri"=>"https://docs.rubocop.org/rubocop/1.57/", "bug_tracker_uri"=>"https://github.com/rubocop/rubocop/issues", "rubygems_mfa_required"=>"true"}
    1.58.0: {"homepage_uri"=>"https://rubocop.org/", "changelog_uri"=>"https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md", "source_code_uri"=>"https://github.com/rubocop/rubocop/", "documentation_uri"=>"https://docs.rubocop.org/rubocop/1.58/", "bug_tracker_uri"=>"https://github.com/rubocop/rubocop/issues", "rubygems_mfa_required"=>"true"}
  DIFFERENT rubygems_version:
    1.57.2: 3.4.6
    1.58.0: 3.4.22
  DIFFERENT version:
    1.57.2: 1.57.2
    1.58.0: 1.58.0
  DIFFERENT files:
    1.57.2->1.58.0:
      * Added:
            lib/rubocop/cop/internal_affairs/node_first_or_last_argument.rb +53/-0
            lib/rubocop/cop/lint/literal_assignment_in_condition.rb +64/-0
            lib/rubocop/cop/style/array_first_last.rb +64/-0
            lib/rubocop/cop/style/super_with_args_parentheses.rb +35/-0
      * Changed:
            README.md +2/-2
            config/default.yml +37/-2
            lib/rubocop.rb +3/-0
            lib/rubocop/config_obsoletion.rb +11/-8
            lib/rubocop/cop/bundler/gem_comment.rb +2/-2
            lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb +2/-2
            lib/rubocop/cop/internal_affairs.rb +1/-0
            lib/rubocop/cop/internal_affairs/method_name_equal.rb +19/-20
            lib/rubocop/cop/internal_affairs/node_matcher_directive.rb +2/-2
            lib/rubocop/cop/layout/argument_alignment.rb +1/-1
            lib/rubocop/cop/layout/extra_spacing.rb +4/-10
            lib/rubocop/cop/layout/first_array_element_indentation.rb +6/-6
            lib/rubocop/cop/layout/first_parameter_indentation.rb +1/-1
            lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb +2/-2
            lib/rubocop/cop/layout/rescue_ensure_alignment.rb +4/-4
            lib/rubocop/cop/layout/single_line_block_chain.rb +4/-0
            lib/rubocop/cop/layout/space_around_operators.rb +50/-20
            lib/rubocop/cop/lint/assignment_in_condition.rb +4/-4
            lib/rubocop/cop/lint/debugger.rb +2/-1
            lib/rubocop/cop/lint/duplicate_methods.rb +1/-1
            lib/rubocop/cop/lint/erb_new_arguments.rb +3/-3
            lib/rubocop/cop/lint/float_comparison.rb +10/-0
            lib/rubocop/cop/lint/non_deterministic_require_order.rb +3/-5
            lib/rubocop/cop/lint/redundant_safe_navigation.rb +43/-0
            lib/rubocop/cop/lint/safe_navigation_chain.rb +3/-4
            lib/rubocop/cop/lint/self_assignment.rb +37/-0
            lib/rubocop/cop/lint/symbol_conversion.rb +7/-2
            lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb +1/-1
            lib/rubocop/cop/lint/useless_access_modifier.rb +2/-2
            lib/rubocop/cop/lint/void.rb +14/-1
            lib/rubocop/cop/mixin/check_line_breakable.rb +1/-1
            lib/rubocop/cop/mixin/preceding_following_alignment.rb +1/-1
            lib/rubocop/cop/mixin/space_before_punctuation.rb +1/-1
            lib/rubocop/cop/naming/block_forwarding.rb +2/-2
            lib/rubocop/cop/naming/memoized_instance_variable_name.rb +1/-1
            lib/rubocop/cop/style/access_modifier_declarations.rb +2/-2
            lib/rubocop/cop/style/accessor_grouping.rb +1/-1
            lib/rubocop/cop/style/arguments_forwarding.rb +68/-6
            lib/rubocop/cop/style/auto_resource_cleanup.rb +21/-14
            lib/rubocop/cop/style/bisected_attr_accessor.rb +2/-2
            lib/rubocop/cop/style/case_like_if.rb +4/-4
            lib/rubocop/cop/style/combinable_loops.rb +2/-7
            lib/rubocop/cop/style/conditional_assignment.rb +1/-1
            lib/rubocop/cop/style/empty_literal.rb +1/-1
            lib/rubocop/cop/style/eval_with_location.rb +3/-3
            lib/rubocop/cop/style/explicit_block_argument.rb +2/-2
            lib/rubocop/cop/style/hash_each_methods.rb +58/-10
            lib/rubocop/cop/style/inverse_methods.rb +6/-5
            lib/rubocop/cop/style/map_to_hash.rb +9/-4
            lib/rubocop/cop/style/method_call_with_args_parentheses.rb +1/-1
            lib/rubocop/cop/style/method_def_parentheses.rb +1/-1
            lib/rubocop/cop/style/missing_respond_to_missing.rb +2/-2
            lib/rubocop/cop/style/redundant_argument.rb +2/-2
            lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb +3/-3
            lib/rubocop/cop/style/redundant_line_continuation.rb +2/-0
            lib/rubocop/cop/style/redundant_parentheses.rb +11/-3
            lib/rubocop/cop/style/redundant_return.rb +1/-1
            lib/rubocop/cop/style/redundant_sort.rb +1/-1
            lib/rubocop/cop/style/redundant_string_escape.rb +1/-1
            lib/rubocop/cop/style/select_by_regexp.rb +1/-1
            lib/rubocop/cop/style/self_assignment.rb +1/-1
            lib/rubocop/cop/style/semicolon.rb +8/-0
            lib/rubocop/cop/style/slicing_with_range.rb +1/-1
            lib/rubocop/formatter/html_formatter.rb +1/-2
            lib/rubocop/result_cache.rb +0/-1
            lib/rubocop/runner.rb +1/-1
            lib/rubocop/version.rb +1/-1
  DIFFERENT extra_rdoc_files:
    1.57.2->1.58.0:
      * Changed:
            README.md +2/-2
  DIFFERENT runtime dependencies:
    1.57.2->1.58.0:
      * Updated:
            rubocop-ast from: [">= 1.28.1", "< 2.0"] to: [">= 1.30.0", "< 2.0"]

Copy link

github-actions bot commented Dec 4, 2023

gem compare --diff rubocop 1.57.2 1.58.0

Diff too large (83378 chars)

@dependabot dependabot bot force-pushed the dependabot/bundler/rubocop-1.58.0 branch from 5683129 to 615a1ff Compare December 8, 2023 22:36
@dentarg
Copy link
Member

dentarg commented Dec 8, 2023

@dependabort recreate

@dependabot dependabot bot force-pushed the dependabot/bundler/rubocop-1.58.0 branch from 615a1ff to 488108c Compare December 8, 2023 22:38
@dentarg
Copy link
Member

dentarg commented Dec 8, 2023

@dependabot recreate

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.57.2 to 1.58.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.57.2...v1.58.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/bundler/rubocop-1.58.0 branch from 488108c to c63a48b Compare December 8, 2023 23:23
@dentarg dentarg closed this Dec 8, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 8, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dentarg dentarg reopened this Dec 8, 2023
@dentarg
Copy link
Member

dentarg commented Dec 8, 2023

@dependabot close

@dependabot dependabot bot closed this Dec 8, 2023
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-1.58.0 branch December 8, 2023 23:35
@dentarg
Copy link
Member

dentarg commented Dec 8, 2023

@dependabot reopen

@dependabot dependabot bot reopened this Dec 8, 2023
@dependabot dependabot bot restored the dependabot/bundler/rubocop-1.58.0 branch December 8, 2023 23:35
Copy link

github-actions bot commented Dec 8, 2023

gem compare json 2.6.3 2.7.1

Compared versions: ["2.6.3", "2.7.1"]
  DIFFERENT date:
    2.6.3: 2022-12-05 00:00:00 UTC
    2.7.1: 2023-12-05 00:00:00 UTC
  DIFFERENT homepage:
    2.6.3: http://flori.github.com/json
    2.7.1: https://flori.github.io/json
  DIFFERENT metadata:
    2.6.3: {"bug_tracker_uri"=>"https://github.com/flori/json/issues", "changelog_uri"=>"https://github.com/flori/json/blob/master/CHANGES.md", "documentation_uri"=>"http://flori.github.io/json/doc/index.html", "homepage_uri"=>"http://flori.github.io/json/", "source_code_uri"=>"https://github.com/flori/json", "wiki_uri"=>"https://github.com/flori/json/wiki"}
    2.7.1: {"bug_tracker_uri"=>"https://github.com/flori/json/issues", "changelog_uri"=>"https://github.com/flori/json/blob/master/CHANGES.md", "documentation_uri"=>"https://flori.github.io/json/doc/index.html", "homepage_uri"=>"https://flori.github.io/json", "source_code_uri"=>"https://github.com/flori/json", "wiki_uri"=>"https://github.com/flori/json/wiki"}
  DIFFERENT require_paths:
    2.6.3: ["/opt/hostedtoolcache/Ruby/3.2.2/x64/lib/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/json-2.6.3", "lib"]
    2.7.1: ["/opt/hostedtoolcache/Ruby/3.2.2/x64/lib/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/json-2.7.1", "lib"]
  DIFFERENT rubygems_version:
    2.6.3: 3.4.0.dev
    2.7.1: 3.5.0.dev
  DIFFERENT version:
    2.6.3: 2.6.3
    2.7.1: 2.7.1
  DIFFERENT files:
    2.6.3->2.7.1:
      * Deleted:
            VERSION
      * Changed:
            CHANGES.md +46/-0
            README.md +4/-4
            ext/json/ext/generator/generator.c +84/-19
            ext/json/ext/generator/generator.h +8/-5
            ext/json/ext/parser/parser.c +1831/-2967
            ext/json/ext/parser/parser.rl +79/-94
            json.gemspec +7/-6
            lib/json.rb +9/-0
            lib/json/add/bigdecimal.rb +37/-8
            lib/json/add/complex.rb +28/-5
            lib/json/add/date.rb +26/-6
            lib/json/add/date_time.rb +25/-8
            lib/json/add/exception.rb +24/-6
            lib/json/add/ostruct.rb +26/-6
            lib/json/add/range.rb +32/-7
            lib/json/add/rational.rb +27/-5
            lib/json/add/regexp.rb +25/-7
            lib/json/add/set.rb +25/-6
            lib/json/add/struct.rb +28/-6
            lib/json/add/symbol.rb +27/-4
            lib/json/add/time.rb +26/-5
            lib/json/common.rb +27/-33
            lib/json/pure/generator.rb +62/-28
            lib/json/version.rb +1/-1
  DIFFERENT extra_rdoc_files:
    2.6.3->2.7.1:
      * Changed:
            README.md +4/-4

Copy link

github-actions bot commented Dec 8, 2023

gem compare --diff json 2.6.3 2.7.1

Diff too large (246999 chars)

Copy link

github-actions bot commented Dec 8, 2023

gem compare racc 1.7.1 1.7.3

Compared versions: ["1.7.1", "1.7.3"]
  DIFFERENT date:
    1.7.1: 2023-06-14 00:00:00 UTC
    1.7.3: 2023-11-04 00:00:00 UTC
  DIFFERENT require_paths:
    1.7.1: ["/opt/hostedtoolcache/Ruby/3.2.2/x64/lib/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.1", "lib"]
    1.7.3: ["/opt/hostedtoolcache/Ruby/3.2.2/x64/lib/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.3", "lib"]
  DIFFERENT rubygems_version:
    1.7.1: 3.5.0.dev
    1.7.3: 3.4.10
  DIFFERENT version:
    1.7.1: 1.7.1
    1.7.3: 1.7.3
  DIFFERENT files:
    1.7.1->1.7.3:
      * Deleted:
            doc/en/NEWS.en.rdoc
            doc/ja/NEWS.ja.rdoc
            ext/racc/MANIFEST
      * Changed:
            README.ja.rdoc +0/-28
            README.rdoc +7/-26
            TODO +1/-1
            bin/racc +6/-0
            doc/en/grammar.en.rdoc +1/-1
            doc/en/grammar2.en.rdoc +1/-1
            doc/ja/command.ja.html +5/-0
            doc/ja/grammar.ja.rdoc +1/-1
            doc/ja/parser.ja.rdoc +1/-1
            ext/racc/cparse/cparse.c +26/-47
            ext/racc/cparse/extconf.rb +3/-4
            lib/racc/info.rb +2/-1
            lib/racc/parser-text.rb +5/-15
            lib/racc/parser.rb +5/-3
            lib/racc/parserfilegenerator.rb +3/-0
  DIFFERENT extra_rdoc_files:
    1.7.1->1.7.3:
      * Changed:
            README.ja.rdoc +0/-28
            README.rdoc +7/-26

Copy link

github-actions bot commented Dec 8, 2023

gem compare --diff racc 1.7.1 1.7.3

Compared versions: ["1.7.1", "1.7.3"]
  DIFFERENT files:
    1.7.1->1.7.3:
      * Deleted:
            doc/en/NEWS.en.rdoc
            doc/ja/NEWS.ja.rdoc
            ext/racc/MANIFEST
      * Changed:
        README.ja.rdoc
                --- /tmp/d20231208-2048-qcbgtn/racc-1.7.1/README.ja.rdoc	2023-12-08 23:35:56.720874325 +0000
                +++ /tmp/d20231208-2048-qcbgtn/racc-1.7.3/README.ja.rdoc	2023-12-08 23:35:56.728874433 +0000
                @@ -28,28 +27,0 @@
                -  setup.rb インストル:
                -
                -  パッケージのトップディレクトリで次のように入力してください。
                -  ($ は通常ユーザ、# はルートのプロンプトです)
                -
                -      $ ruby setup.rb config
                -      $ ruby setup.rb setup
                -     ($ su)
                -      # ruby setup.rb install
                -
                -  これで通常のパスに Racc がインストールされます。自分の好き
                -  なディレクトリにインストールしたいときは、setup.rb config 
                -  各種オプションをつけて実行してください。オプションのリストは
                -
                -      $ ruby setup.rb --help
                -
                -  で見られます。
                -
                -
                -  コンパイラがない場合
                -  --------------------
                -
                -  config を以下のようにすれば、拡張モジュールなしで
                -  インストールできます。
                -
                -      $ ruby setup.rb config --without-ext
                -
                -
        README.rdoc
                --- /tmp/d20231208-2048-qcbgtn/racc-1.7.1/README.rdoc	2023-12-08 23:35:56.720874325 +0000
                +++ /tmp/d20231208-2048-qcbgtn/racc-1.7.3/README.rdoc	2023-12-08 23:35:56.728874433 +0000
                @@ -20,26 +19,0 @@
                -  setup.rb install:
                -
                -  Type this in the top directory of the extracted archive:
                -
                -    $ ruby setup.rb config
                -    $ ruby setup.rb setup
                -   ($ su)
                -    # ruby setup.rb install
                -
                -  You can install Racc into your favorite directory by giving
                -  options to setup.rb. e.g.
                -
                -    $ ruby setup.rb config --prefix=/usr
                -
                -  For details, try "ruby setup.rb --help".
                -
                -
                -  If you don't have C Compiler
                -  ----------------------------
                -
                -  You can install Racc without C compilers. Type following
                -  command in config phase.
                -
                -    $ ruby setup.rb config --without-ext
                -
                -
                @@ -59,0 +34,7 @@
                +== Release flow
                +
                +* Update VERSION number of these files
                +  * <code>RACC_VERSION</code> in "ext/racc/com/headius/racc/Cparse.java"
                +  * <code>VERSION</code> in "lib/racc/info.rb"
                +* Release as a gem by <code>rake release</code> with CRuby and JRuby because Racc gem provides 2 packages
                +* Create new release on {GitHub}[https://github.com/ruby/racc/releases]
        TODO
                --- /tmp/d20231208-2048-qcbgtn/racc-1.7.1/TODO	2023-12-08 23:35:56.720874325 +0000
                +++ /tmp/d20231208-2048-qcbgtn/racc-1.7.3/TODO	2023-12-08 23:35:56.728874433 +0000
                @@ -4 +4 @@
                -* output Ruby extention library?
                +* output Ruby extension library?
        bin/racc
                --- /tmp/d20231208-2048-qcbgtn/racc-1.7.1/bin/racc	2023-12-08 23:35:56.720874325 +0000
                +++ /tmp/d20231208-2048-qcbgtn/racc-1.7.3/bin/racc	2023-12-08 23:35:56.728874433 +0000
                @@ -21,0 +22 @@
                +  frozen_strings = false
                @@ -59,0 +61,3 @@
                +  parser.on('-F', '--frozen', "Add frozen_string_literals: true.") {
                +    frozen_strings = true
                +  }
                @@ -152,0 +157 @@
                +    params.filename = File.basename(input)
                @@ -164,0 +170 @@
                +    params.frozen_strings = frozen_strings
        doc/en/grammar.en.rdoc
                --- /tmp/d20231208-2048-qcbgtn/racc-1.7.1/doc/en/grammar.en.rdoc	2023-12-08 23:35:56.724874379 +0000
                +++ /tmp/d20231208-2048-qcbgtn/racc-1.7.3/doc/en/grammar.en.rdoc	2023-12-08 23:35:56.728874433 +0000
                @@ -134 +133,0 @@
                -rule
                @@ -135,0 +135 @@
                +rule
        doc/en/grammar2.en.rdoc
                --- /tmp/d20231208-2048-qcbgtn/racc-1.7.1/doc/en/grammar2.en.rdoc	2023-12-08 23:35:56.724874379 +0000
                +++ /tmp/d20231208-2048-qcbgtn/racc-1.7.3/doc/en/grammar2.en.rdoc	2023-12-08 23:35:56.728874433 +0000
                @@ -130 +129,0 @@
                -  rule
                @@ -131,0 +131 @@
                +  rule
        doc/ja/command.ja.html
                --- /tmp/d20231208-2048-qcbgtn/racc-1.7.1/doc/ja/command.ja.html	2023-12-08 23:35:56.724874379 +0000
                +++ /tmp/d20231208-2048-qcbgtn/racc-1.7.3/doc/ja/command.ja.html	2023-12-08 23:35:56.728874433 +0000
                @@ -8,0 +9 @@
                +     [-F] [--frozen]
                @@ -51,0 +53,4 @@
                +</dd>
                +<dt>-F, --frozen
                +<dd>
                +Add frozen_string_literals: true.
        doc/ja/grammar.ja.rdoc
                --- /tmp/d20231208-2048-qcbgtn/racc-1.7.1/doc/ja/grammar.ja.rdoc	2023-12-08 23:35:56.724874379 +0000
                +++ /tmp/d20231208-2048-qcbgtn/racc-1.7.3/doc/ja/grammar.ja.rdoc	2023-12-08 23:35:56.728874433 +0000
                @@ -176 +176 @@
                -  left     MULTI DEVIDE
                +  left     MULTI DIVIDE
        doc/ja/parser.ja.rdoc
                --- /tmp/d20231208-2048-qcbgtn/racc-1.7.1/doc/ja/parser.ja.rdoc	2023-12-08 23:35:56.724874379 +0000
                +++ /tmp/d20231208-2048-qcbgtn/racc-1.7.3/doc/ja/parser.ja.rdoc	2023-12-08 23:35:56.728874433 +0000
                @@ -99 +99 @@
                -    error_token はパースエラーを起こした記号の内部表現 (整数) です。
                +    error_token_id はパースエラーを起こした記号の内部表現 (整数) です。
        ext/racc/cparse/cparse.c
                --- /tmp/d20231208-2048-qcbgtn/racc-1.7.1/ext/racc/cparse/cparse.c	2023-12-08 23:35:56.724874379 +0000
                +++ /tmp/d20231208-2048-qcbgtn/racc-1.7.3/ext/racc/cparse/cparse.c	2023-12-08 23:35:56.728874433 +0000
                @@ -25 +25 @@
                -#define RACC_VERSION "1.7.1"
                +#define RACC_VERSION STRINGIZE(RACC_INFO_VERSION)
                @@ -73,6 +73,2 @@
                -#ifndef HAVE_RB_ARY_SUBSEQ
                -#  define rb_ary_subseq(ary, beg, len) rb_ary_new4(len, RARRAY_PTR(ary) + beg)
                -#endif
                -
                -static ID value_to_id _((VALUE v));
                -static inline long num_to_long _((VALUE n));
                +static ID value_to_id(VALUE v);
                +static inline long num_to_long(VALUE n);
                @@ -102,2 +98,2 @@
                -static VALUE get_stack_tail _((VALUE stack, long len));
                -static void cut_stack_tail _((VALUE stack, long len));
                +static VALUE get_stack_tail(VALUE stack, long len);
                +static void cut_stack_tail(VALUE stack, long len);
                @@ -192,21 +188,21 @@
                -static VALUE racc_cparse _((VALUE parser, VALUE arg, VALUE sysdebug));
                -static VALUE racc_yyparse _((VALUE parser, VALUE lexer, VALUE lexmid,
                -                             VALUE arg, VALUE sysdebug));
                -
                -static void call_lexer _((struct cparse_params *v));
                -static VALUE lexer_i _((RB_BLOCK_CALL_FUNC_ARGLIST(block_args, data)));
                -
                -static VALUE assert_array _((VALUE a));
                -static long assert_integer _((VALUE n));
                -static VALUE assert_hash _((VALUE h));
                -static VALUE initialize_params _((VALUE vparams, VALUE parser, VALUE arg,
                -                                 VALUE lexer, VALUE lexmid));
                -static void cparse_params_mark _((void *ptr));
                -static size_t cparse_params_memsize _((const void *ptr));
                -
                -static void parse_main _((struct cparse_params *v,
                -                         VALUE tok, VALUE val, int resume));
                -static void extract_user_token _((struct cparse_params *v,
                -                                  VALUE block_args, VALUE *tok, VALUE *val));
                -static void shift _((struct cparse_params* v, long act, VALUE tok, VALUE val));
                -static int reduce _((struct cparse_params* v, long act));
                +static VALUE racc_cparse(VALUE parser, VALUE arg, VALUE sysdebug);
                +static VALUE racc_yyparse(VALUE parser, VALUE lexer, VALUE lexmid,
                +			  VALUE arg, VALUE sysdebug);
                +
                +static void call_lexer(struct cparse_params *v);
                +static VALUE lexer_i(RB_BLOCK_CALL_FUNC_ARGLIST(block_args, data));
                +
                +static VALUE assert_array(VALUE a);
                +static long assert_integer(VALUE n);
                +static VALUE assert_hash(VALUE h);
                +static VALUE initialize_params(VALUE vparams, VALUE parser, VALUE arg,
                +			       VALUE lexer, VALUE lexmid);
                +static void cparse_params_mark(void *ptr);
                +static size_t cparse_params_memsize(const void *ptr);
                +
                +static void parse_main(struct cparse_params *v,
                +		       VALUE tok, VALUE val, int resume);
                +static void extract_user_token(struct cparse_params *v,
                +			       VALUE block_args, VALUE *tok, VALUE *val);
                +static void shift(struct cparse_params* v, long act, VALUE tok, VALUE val);
                +static int reduce(struct cparse_params* v, long act);
                @@ -281 +276,0 @@
                -#ifdef HAVE_RB_BLOCK_CALL
                @@ -287,16 +281,0 @@
                -#else
                -static VALUE
                -lexer_iter(VALUE data)
                -{
                -    struct cparse_params *v = rb_check_typeddata(data, &cparse_params_type);
                -
                -    rb_funcall(v->lexer, v->lexmid, 0);
                -    return Qnil;
                -}
                -
                -static void
                -call_lexer(struct cparse_params *v)
                -{
                -    rb_iterate(lexer_iter, v->value_v, lexer_i, v->value_v);
                -}
                -#endif
        ext/racc/cparse/extconf.rb
                --- /tmp/d20231208-2048-qcbgtn/racc-1.7.1/ext/racc/cparse/extconf.rb	2023-12-08 23:35:56.724874379 +0000
                +++ /tmp/d20231208-2048-qcbgtn/racc-1.7.3/ext/racc/cparse/extconf.rb	2023-12-08 23:35:56.728874433 +0000
                @@ -1 +1 @@
                -# frozen_string_literal: false
                +# frozen_string_literal: true
                @@ -4,0 +5 @@
                +require_relative '../../../lib/racc/info'
                @@ -6,3 +7 @@
                -have_func('rb_block_call')
                -have_func('rb_ary_subseq')
                -
                +$defs << "-D""RACC_INFO_VERSION=#{Racc::VERSION}"
        lib/racc/info.rb
                --- /tmp/d20231208-2048-qcbgtn/racc-1.7.1/lib/racc/info.rb	2023-12-08 23:35:56.724874379 +0000
                +++ /tmp/d20231208-2048-qcbgtn/racc-1.7.3/lib/racc/info.rb	2023-12-08 23:35:56.732874486 +0000
                @@ -0,0 +1 @@
                +# frozen_string_literal: true
                @@ -14 +15 @@
                -  VERSION   = '1.7.1'
                +  VERSION   = '1.7.3'
        lib/racc/parser-text.rb
                --- /tmp/d20231208-2048-qcbgtn/racc-1.7.1/lib/racc/parser-text.rb	2023-12-08 23:35:56.724874379 +0000
                +++ /tmp/d20231208-2048-qcbgtn/racc-1.7.3/lib/racc/parser-text.rb	2023-12-08 23:35:56.732874486 +0000
                @@ -3 +2,0 @@
                -# frozen_string_literal: false
                @@ -17,11 +15,0 @@
                -#--
                -#
                -#
                -#
                -# Copyright (c) 1999-2006 Minero Aoki
                -#
                -# This program is free software.
                -# You can distribute/modify this program under the same terms of ruby.
                -# see the file "COPYING".
                -#
                -#++
                @@ -30 +18 @@
                -  VERSION   = '1.7.1'
                +  VERSION   = '1.7.3'
                @@ -79 +67 @@
                -#   add debug code to parser class. To display debuggin information,
                +#   add debug code to parser class. To display debugging information,
                @@ -82,0 +71,2 @@
                +# [-F, --frozen]
                +#   Output parser which declares frozen_string_literals: true
                @@ -561 +551 @@
                -      raise ParseError, sprintf("\nparse error on value %s (%s)",
                +      raise ParseError, sprintf("parse error on value %s (%s)",
        lib/racc/parser.rb
                --- /tmp/d20231208-2048-qcbgtn/racc-1.7.1/lib/racc/parser.rb	2023-12-08 23:35:56.724874379 +0000
                +++ /tmp/d20231208-2048-qcbgtn/racc-1.7.3/lib/racc/parser.rb	2023-12-08 23:35:56.732874486 +0000
                @@ -1 +1 @@
                -# frozen_string_literal: false
                +# frozen_string_literal: true
                @@ -56 +56 @@
                -#   add debug code to parser class. To display debuggin information,
                +#   add debug code to parser class. To display debugging information,
                @@ -59,0 +60,2 @@
                +# [-F, --frozen]
                +#   Output parser which declares frozen_string_literals: true
                @@ -538 +540 @@
                -      raise ParseError, sprintf("\nparse error on value %s (%s)",
                +      raise ParseError, sprintf("parse error on value %s (%s)",
        lib/racc/parserfilegenerator.rb
                --- /tmp/d20231208-2048-qcbgtn/racc-1.7.1/lib/racc/parserfilegenerator.rb	2023-12-08 23:35:56.728874433 +0000
                +++ /tmp/d20231208-2048-qcbgtn/racc-1.7.3/lib/racc/parserfilegenerator.rb	2023-12-08 23:35:56.732874486 +0000
                @@ -47,0 +48 @@
                +      bool_attr :frozen_strings
                @@ -66,0 +68 @@
                +        self.frozen_strings = false
                @@ -124,0 +127 @@
                +      line %q[# frozen_string_literal: true] if @params.frozen_strings?

Copy link

github-actions bot commented Dec 8, 2023

gem compare regexp_parser 2.8.2 2.8.3

Compared versions: ["2.8.2", "2.8.3"]
  DIFFERENT date:
    2.8.2: 2023-10-10 00:00:00 UTC
    2.8.3: 2023-12-04 00:00:00 UTC
  DIFFERENT version:
    2.8.2: 2.8.2
    2.8.3: 2.8.3
  DIFFERENT files:
    2.8.2->2.8.3:
      * Changed:
            lib/regexp_parser/scanner.rb +6/-5
            lib/regexp_parser/scanner/scanner.rl +6/-5
            lib/regexp_parser/version.rb +1/-1

Copy link

github-actions bot commented Dec 8, 2023

gem compare --diff regexp_parser 2.8.2 2.8.3

Compared versions: ["2.8.2", "2.8.3"]
  DIFFERENT files:
    2.8.2->2.8.3:
      * Changed:
        lib/regexp_parser/scanner.rb
                --- /tmp/d20231208-2197-db6k2i/regexp_parser-2.8.2/lib/regexp_parser/scanner.rb	2023-12-08 23:36:03.088960047 +0000
                +++ /tmp/d20231208-2197-db6k2i/regexp_parser-2.8.3/lib/regexp_parser/scanner.rb	2023-12-08 23:36:03.100960212 +0000
                @@ -1572,0 +1573 @@
                +      text =~ /[^0]/ or raise ValidationError.for(:backref, 'condition', 'invalid ref ID')
                @@ -1753 +1754 @@
                -      when /^\\k(.)[1-9]\d*['>]$/
                +      when /^\\k(.)0*[1-9]\d*['>]$/
                @@ -1755 +1756 @@
                -      when /^\\k(.)-[1-9]\d*['>]$/
                +      when /^\\k(.)-0*[1-9]\d*['>]$/
                @@ -1759 +1760 @@
                -      when /^\\k(.)-?[1-9]\d*[+\-]\d+['>]$/
                +      when /^\\k(.)-?0*[1-9]\d*[+\-]\d+['>]$/
                @@ -1773 +1774 @@
                -      when /^\\g(.)\d+['>]$/
                +      when /^\\g(.)(?:0|0*[1-9]\d*)['>]$/
                @@ -1775 +1776 @@
                -      when /^\\g(.)[+-]\d+/
                +      when /^\\g(.)[+-]0*[1-9]\d*/
        lib/regexp_parser/scanner/scanner.rl
                --- /tmp/d20231208-2197-db6k2i/regexp_parser-2.8.2/lib/regexp_parser/scanner/scanner.rl	2023-12-08 23:36:03.088960047 +0000
                +++ /tmp/d20231208-2197-db6k2i/regexp_parser-2.8.3/lib/regexp_parser/scanner/scanner.rl	2023-12-08 23:36:03.100960212 +0000
                @@ -366,0 +367 @@
                +      text =~ /[^0]/ or raise ValidationError.for(:backref, 'condition', 'invalid ref ID')
                @@ -544 +545 @@
                -      when /^\\k(.)[1-9]\d*['>]$/
                +      when /^\\k(.)0*[1-9]\d*['>]$/
                @@ -546 +547 @@
                -      when /^\\k(.)-[1-9]\d*['>]$/
                +      when /^\\k(.)-0*[1-9]\d*['>]$/
                @@ -550 +551 @@
                -      when /^\\k(.)-?[1-9]\d*[+\-]\d+['>]$/
                +      when /^\\k(.)-?0*[1-9]\d*[+\-]\d+['>]$/
                @@ -563 +564 @@
                -      when /^\\g(.)\d+['>]$/
                +      when /^\\g(.)(?:0|0*[1-9]\d*)['>]$/
                @@ -565 +566 @@
                -      when /^\\g(.)[+-]\d+/
                +      when /^\\g(.)[+-]0*[1-9]\d*/
        lib/regexp_parser/version.rb
                --- /tmp/d20231208-2197-db6k2i/regexp_parser-2.8.2/lib/regexp_parser/version.rb	2023-12-08 23:36:03.092960102 +0000
                +++ /tmp/d20231208-2197-db6k2i/regexp_parser-2.8.3/lib/regexp_parser/version.rb	2023-12-08 23:36:03.104960267 +0000
                @@ -3 +3 @@
                -    VERSION = '2.8.2'
                +    VERSION = '2.8.3'

Copy link

github-actions bot commented Dec 8, 2023

gem compare rubocop 1.57.2 1.58.0

Compared versions: ["1.57.2", "1.58.0"]
  DIFFERENT date:
    1.57.2: 2023-10-26 00:00:00 UTC
    1.58.0: 2023-12-01 00:00:00 UTC
  DIFFERENT metadata:
    1.57.2: {"homepage_uri"=>"https://rubocop.org/", "changelog_uri"=>"https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md", "source_code_uri"=>"https://github.com/rubocop/rubocop/", "documentation_uri"=>"https://docs.rubocop.org/rubocop/1.57/", "bug_tracker_uri"=>"https://github.com/rubocop/rubocop/issues", "rubygems_mfa_required"=>"true"}
    1.58.0: {"homepage_uri"=>"https://rubocop.org/", "changelog_uri"=>"https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md", "source_code_uri"=>"https://github.com/rubocop/rubocop/", "documentation_uri"=>"https://docs.rubocop.org/rubocop/1.58/", "bug_tracker_uri"=>"https://github.com/rubocop/rubocop/issues", "rubygems_mfa_required"=>"true"}
  DIFFERENT rubygems_version:
    1.57.2: 3.4.6
    1.58.0: 3.4.22
  DIFFERENT version:
    1.57.2: 1.57.2
    1.58.0: 1.58.0
  DIFFERENT files:
    1.57.2->1.58.0:
      * Added:
            lib/rubocop/cop/internal_affairs/node_first_or_last_argument.rb +53/-0
            lib/rubocop/cop/lint/literal_assignment_in_condition.rb +64/-0
            lib/rubocop/cop/style/array_first_last.rb +64/-0
            lib/rubocop/cop/style/super_with_args_parentheses.rb +35/-0
      * Changed:
            README.md +2/-2
            config/default.yml +37/-2
            lib/rubocop.rb +3/-0
            lib/rubocop/config_obsoletion.rb +11/-8
            lib/rubocop/cop/bundler/gem_comment.rb +2/-2
            lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb +2/-2
            lib/rubocop/cop/internal_affairs.rb +1/-0
            lib/rubocop/cop/internal_affairs/method_name_equal.rb +19/-20
            lib/rubocop/cop/internal_affairs/node_matcher_directive.rb +2/-2
            lib/rubocop/cop/layout/argument_alignment.rb +1/-1
            lib/rubocop/cop/layout/extra_spacing.rb +4/-10
            lib/rubocop/cop/layout/first_array_element_indentation.rb +6/-6
            lib/rubocop/cop/layout/first_parameter_indentation.rb +1/-1
            lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb +2/-2
            lib/rubocop/cop/layout/rescue_ensure_alignment.rb +4/-4
            lib/rubocop/cop/layout/single_line_block_chain.rb +4/-0
            lib/rubocop/cop/layout/space_around_operators.rb +50/-20
            lib/rubocop/cop/lint/assignment_in_condition.rb +4/-4
            lib/rubocop/cop/lint/debugger.rb +2/-1
            lib/rubocop/cop/lint/duplicate_methods.rb +1/-1
            lib/rubocop/cop/lint/erb_new_arguments.rb +3/-3
            lib/rubocop/cop/lint/float_comparison.rb +10/-0
            lib/rubocop/cop/lint/non_deterministic_require_order.rb +3/-5
            lib/rubocop/cop/lint/redundant_safe_navigation.rb +43/-0
            lib/rubocop/cop/lint/safe_navigation_chain.rb +3/-4
            lib/rubocop/cop/lint/self_assignment.rb +37/-0
            lib/rubocop/cop/lint/symbol_conversion.rb +7/-2
            lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb +1/-1
            lib/rubocop/cop/lint/useless_access_modifier.rb +2/-2
            lib/rubocop/cop/lint/void.rb +14/-1
            lib/rubocop/cop/mixin/check_line_breakable.rb +1/-1
            lib/rubocop/cop/mixin/preceding_following_alignment.rb +1/-1
            lib/rubocop/cop/mixin/space_before_punctuation.rb +1/-1
            lib/rubocop/cop/naming/block_forwarding.rb +2/-2
            lib/rubocop/cop/naming/memoized_instance_variable_name.rb +1/-1
            lib/rubocop/cop/style/access_modifier_declarations.rb +2/-2
            lib/rubocop/cop/style/accessor_grouping.rb +1/-1
            lib/rubocop/cop/style/arguments_forwarding.rb +68/-6
            lib/rubocop/cop/style/auto_resource_cleanup.rb +21/-14
            lib/rubocop/cop/style/bisected_attr_accessor.rb +2/-2
            lib/rubocop/cop/style/case_like_if.rb +4/-4
            lib/rubocop/cop/style/combinable_loops.rb +2/-7
            lib/rubocop/cop/style/conditional_assignment.rb +1/-1
            lib/rubocop/cop/style/empty_literal.rb +1/-1
            lib/rubocop/cop/style/eval_with_location.rb +3/-3
            lib/rubocop/cop/style/explicit_block_argument.rb +2/-2
            lib/rubocop/cop/style/hash_each_methods.rb +58/-10
            lib/rubocop/cop/style/inverse_methods.rb +6/-5
            lib/rubocop/cop/style/map_to_hash.rb +9/-4
            lib/rubocop/cop/style/method_call_with_args_parentheses.rb +1/-1
            lib/rubocop/cop/style/method_def_parentheses.rb +1/-1
            lib/rubocop/cop/style/missing_respond_to_missing.rb +2/-2
            lib/rubocop/cop/style/redundant_argument.rb +2/-2
            lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb +3/-3
            lib/rubocop/cop/style/redundant_line_continuation.rb +2/-0
            lib/rubocop/cop/style/redundant_parentheses.rb +11/-3
            lib/rubocop/cop/style/redundant_return.rb +1/-1
            lib/rubocop/cop/style/redundant_sort.rb +1/-1
            lib/rubocop/cop/style/redundant_string_escape.rb +1/-1
            lib/rubocop/cop/style/select_by_regexp.rb +1/-1
            lib/rubocop/cop/style/self_assignment.rb +1/-1
            lib/rubocop/cop/style/semicolon.rb +8/-0
            lib/rubocop/cop/style/slicing_with_range.rb +1/-1
            lib/rubocop/formatter/html_formatter.rb +1/-2
            lib/rubocop/result_cache.rb +0/-1
            lib/rubocop/runner.rb +1/-1
            lib/rubocop/version.rb +1/-1
  DIFFERENT extra_rdoc_files:
    1.57.2->1.58.0:
      * Changed:
            README.md +2/-2
  DIFFERENT runtime dependencies:
    1.57.2->1.58.0:
      * Updated:
            rubocop-ast from: [">= 1.28.1", "< 2.0"] to: [">= 1.30.0", "< 2.0"]

Copy link

github-actions bot commented Dec 8, 2023

gem compare --diff rubocop 1.57.2 1.58.0

Diff too large (83377 chars)

@dentarg dentarg merged commit ba425dd into main Dec 8, 2023
11 checks passed
@dentarg dentarg deleted the dependabot/bundler/rubocop-1.58.0 branch December 8, 2023 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant