ruby-changes:60642
From: Nobuyoshi <ko1@a...>
Date: Fri, 3 Apr 2020 10:50:15 +0900 (JST)
Subject: [ruby-changes:60642] 668c97b72c (master): [sync_default_gems.rb] Ignore files under .github directory
https://git.ruby-lang.org/ruby.git/commit/?id=668c97b72c From 668c97b72c8aeead20978d287073b5526887f709 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 1 Apr 2020 18:38:23 +0900 Subject: [sync_default_gems.rb] Ignore files under .github directory [ci skip] diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 6072a82..56f3fc0 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -326,7 +326,7 @@ def sync_default_gems(gem) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L326 end end -IGNORE_FILE_PATTERN = /(\.travis.yml|appveyor\.yml|azure\-pipelines\.yml|\.gitignore|Gemfile|README\.md|History\.txt|Rakefile|CODE_OF_CONDUCT\.md)/ +IGNORE_FILE_PATTERN = /\A(?:\.travis.yml|appveyor\.yml|azure\-pipelines\.yml|\.git(?:ignore|hub)|Gemfile|README\.md|History\.txt|Rakefile|CODE_OF_CONDUCT\.md)/ def sync_default_gems_with_commits(gem, range) puts "Sync #{$repositories[gem.to_sym]} with commit history." -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/