-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
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 |
|
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 |
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? |
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"] |
|
5683129
to
615a1ff
Compare
@dependabort recreate |
615a1ff
to
488108c
Compare
@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]>
488108c
to
c63a48b
Compare
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 If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
@dependabot close |
@dependabot reopen |
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 |
|
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 |
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? |
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 |
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' |
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"] |
|
Bumps rubocop from 1.57.2 to 1.58.0.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
Commits
f27164b
Cut 1.5873b0876
Update Changelog19daa1c
Add newLint/LiteralAssignmentInCondition
copc8d2d77
[Fix #12424] MakeStyle/HashEachMethods
aware of safe navigation operator3db23fa
Merge pull request #12422 from fatkodima/optimize-tests7f0a589
Optimize rspec tests4753e92
Merge pull request #12421 from koic/make_style_self_assignment_aware_of_some_...2f9a2d2
MakeStyle/SelfAssignment
aware of some operatorsa31a37c
Merge pull request #12387 from Earlopain/fix-zero-method-for-float-comparison7a66f24
[Fix #12146] Fix a false positive forLint/FloatComparison
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)