rultor.com logo This build log was produced by rultor.com for yegor256/xcop#32
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 13831
+ echo '1.70.6 5bcc93e7c'
1.70.6 5bcc93e7c
+ date
Mon Jun 13 20:23:14 CEST 2022
+ uptime
 20:23:14 up 1 day, 10:16,  0 users,  load average: 2.49, 1.06, 0.52
+ head=git@github.com:yegor256/xcop.git
+ ff=default
+ image=yegor256/rultor-image
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.7.1
+ vars=('--env=head=git@github.com:yegor256/xcop.git' '--env=tag=0.7.1' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.7.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb'\'' '\'';'\'' '\''git add lib/xcop/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build xcop.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256')
+ scripts=('export '\''head=git@github.com:yegor256/xcop.git'\''' ';' 'export '\''tag=0.7.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb' ';' 'git add lib/xcop/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build xcop.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';')
+ directory=
+ container=yegor256_xcop_32
+ as_root=false
+ git --version
git version 2.35.1
+ docker --version
Docker version 20.10.12, build e91ed57
+ mkdir -p /home/rultor/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/rultor/.ssh/config
+ git clone git@github.com:yegor256/xcop.git repo
Cloning into 'repo'...
+ cd repo
+ git config user.email me@rultor.com
+ git config user.name rultor
+ '[' -z 'export '\''head=git@github.com:yegor256/xcop.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/xcop.git'\''' ';' 'export '\''tag=0.7.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb' ';' 'git add lib/xcop/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build xcop.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';'
+ sensitive=()
+ rm -rf .gpg
+ '[' -z 0.7.1 ']'
+ [[ 0.7.1 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.7.1"'
tag name is valid: "0.7.1"
+ cd repo
++ git tag -l 0.7.1
+ '[' ']'
+ export BRANCH_NAME=__rultor
+ BRANCH_NAME=__rultor
++ git show-branch __rultor
++ wc -l
+ '[' 0 -gt 0 ']'
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=0.53
++ echo 0.53 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.53, low enough to run a new Docker container'
load average is 0.53, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor-image
+ docker pull yegor256/rultor-image
Using default tag: latest
latest: Pulling from yegor256/rultor-image
Digest: sha256:95ddd906a107bbd2cd79487d0f8ee48acaa4ca54a4a4f1deb5702273ac20fa9d
Status: Image is up to date for yegor256/rultor-image:latest
docker.io/yegor256/rultor-image:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_xcop_32\s*$'
+ ls -al .
total 1316
drwx--x--x  3 rultor rultor    4096 Jun 13 20:23 .
drwxrwxrwt 11 root   root   1302528 Jun 13 20:23 ..
-rw-rw-r--  1 rultor rultor     444 Jun 13 20:23 end.sh
-rwxrwxr-x  1 rultor rultor     363 Jun 13 20:23 entry.sh
-rw-rw-r--  1 rultor rultor       6 Jun 13 20:23 pid
drwxrwxr-x  8 rultor rultor    4096 Jun 13 20:23 repo
-rw-rw-r--  1 rultor rultor      56 Jun 13 20:23 rubygems.yml
-rwxrwxr-x  1 rultor rultor    5790 Jun 13 20:23 run.sh
-rw-rw-r--  1 rultor rultor     582 Jun 13 20:23 script.sh
-rw-rw-r--  1 rultor rultor    4036 Jun 13 20:23 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-cisO:/main --env=head=git@github.com:yegor256/xcop.git --env=tag=0.7.1 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.7.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb'\'' '\'';'\'' '\''git add lib/xcop/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build xcop.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-cisO/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_xcop_32 yegor256/rultor-image /main/entry.sh
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cache /root/.config /root/.gem /root/.gnupg /root/.m2 /root/.npm /root/.profile /root/texmf /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./rubygems.yml ./run.sh ./script.sh ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ su --login r --command /home/r/script.sh
+ set -e
+ set -o pipefail
+ shopt -s expand_aliases
+ alias 'sudo=sudo -i'
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ export head=git@github.com:yegor256/xcop.git
+ head=git@github.com:yegor256/xcop.git
+ export tag=0.7.1
+ tag=0.7.1
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ pdd -f /dev/null
Found 7 lines in /home/r/repo/.pdd
My version is 0.20.8
Ruby version is 2.7.0 at x86_64-linux
Reading from root dir .
38;5;214mExcluding0m target/**/*
38;5;214mExcluding0m coverage/**/*
Reading features/gem_package.feature ...
Reading features/cli.feature ...
Reading features/rake.feature ...
Reading features/step_definitions/steps.rb ...
Reading features/support/env.rb ...
Reading bin/xcop ...
Reading .gitignore ...
Reading README.md ...
Reading .gitattributes ...
Reading .rultor.yml ...
Reading .simplecov ...
Reading LICENSE.txt ...
Reading .github/ISSUE_TEMPLATE.md ...
Reading .github/PULL_REQUEST_TEMPLATE.md ...
Reading .github/workflows/rake.yml ...
Reading Gemfile ...
Reading logo.svg ...
Reading xcop.gemspec ...
Reading .0pdd.yml ...
Reading test/test__helper.rb ...
Reading test/test_rake_task.rb ...
Reading test/test_document.rb ...
Reading lib/xcop/rake_task.rb ...
Reading lib/xcop/cli.rb ...
Reading lib/xcop/version.rb ...
Reading lib/xcop/document.rb ...
Reading .pdd ...
Reading .rubocop.yml ...
Reading cucumber.yml ...
Reading Rakefile ...
++ pwd
+ sudo -i bundle install --no-color --gemfile=/home/r/repo/Gemfile
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
fatal: unsafe repository ('/home/r/repo' is owned by someone else)
To add an exception for this directory, call:

        git config --global --add safe.directory /home/r/repo
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Fetching rake 13.0.6
Installing rake 13.0.6
Using bundler 2.3.13
Fetching docile 1.4.0
Fetching simplecov-html 0.12.3
Fetching builder 3.2.4
Fetching simplecov_json_formatter 0.1.4
Fetching cucumber-ci-environment 9.0.4
Fetching cucumber-messages 18.0.0
Fetching cucumber-tag-expressions 4.1.0
Fetching cucumber-cucumber-expressions 15.2.0
Fetching diff-lcs 1.5.0
Fetching mime-types-data 3.2022.0105
Fetching multi_test 1.1.0
Fetching ast 2.4.2
Installing docile 1.4.0
Installing simplecov_json_formatter 0.1.4
Installing cucumber-tag-expressions 4.1.0
Installing multi_test 1.1.0
Installing cucumber-ci-environment 9.0.4
Installing ast 2.4.2
Installing cucumber-cucumber-expressions 15.2.0
Installing mime-types-data 3.2022.0105
Installing cucumber-messages 18.0.0
Installing diff-lcs 1.5.0
Installing builder 3.2.4
Installing simplecov-html 0.12.3
Fetching ffi 1.15.5
Installing ffi 1.15.5 with native extensions
Using differ 0.1.2
Fetching minitest 5.15.0
Fetching racc 1.6.0
Installing minitest 5.15.0
Fetching parallel 1.22.1
Installing racc 1.6.0 with native extensions
Installing parallel 1.22.1
Fetching stringio 3.0.2
Installing stringio 3.0.2 with native extensions
Using rainbow 3.1.1
Fetching regexp_parser 2.5.0
Fetching rexml 3.2.5
Fetching ruby-progressbar 1.11.0
Fetching unicode-display_width 2.1.0
Using slop 4.9.2
Fetching cucumber-gherkin 23.0.1
Fetching cucumber-html-formatter 19.2.0
Fetching parser 3.1.2.0
Fetching simplecov 0.21.2
Fetching mime-types 3.4.1
Installing cucumber-gherkin 23.0.1
Installing regexp_parser 2.5.0
Installing simplecov 0.21.2
Installing mime-types 3.4.1
Installing ruby-progressbar 1.11.0
Installing unicode-display_width 2.1.0
Installing rexml 3.2.5
Installing parser 3.1.2.0
Installing cucumber-html-formatter 19.2.0
Fetching cucumber-core 11.0.0
Fetching codecov 0.6.0
Installing codecov 0.6.0
Installing cucumber-core 11.0.0
Fetching rubocop-ast 1.18.0
Using nokogiri 1.13.6 (x86_64-linux)
Using xcop 0.0.0 from source at `.`
Installing rubocop-ast 1.18.0
Fetching rubocop 1.30.1
Installing rubocop 1.30.1
Fetching rubocop-rspec 2.11.1
Installing rubocop-rspec 2.11.1
Fetching psych 4.0.4
Installing psych 4.0.4 with native extensions
Fetching sys-uname 1.2.2
Installing sys-uname 1.2.2
Fetching cucumber 8.0.0
Installing cucumber 8.0.0
Fetching rdoc 6.4.0
Installing rdoc 6.4.0
Bundle complete! 8 Gemfile dependencies, 42 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
+ bundle exec rake
Run options: --seed 6298

# Running:

.Running xcop...
Inspecting 1 file...
/usr/local/rvm/gems/ruby-2.7.0/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
31m<z><a><b></b></a>\n
\n
</z>0m32m<?xml version="1.0"?>\n
<z>\n
  <a>\n
    <b/>\n
  </a>\n
</z>\n0m
Invalid XML formatting in broken.xml
.../usr/local/rvm/gems/ruby-2.7.0/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
./usr/local/rvm/gems/ruby-2.7.0/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
...

Finished in 0.008856s, 903.3650 runs/s, 903.3650 assertions/s.

8 runs, 8 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for Unit Tests to /home/r/repo/coverage. 82 / 91 LOC (90.11%) covered.
/usr/local/rvm/rubies/ruby-2.7.0/bin/ruby -S bundle exec cucumber
Using the default profile...
Feature: Command Line Processing
  As an author of XML I want to be able to
  call XCOP as a command line tool

  Scenario: Help can be printed   90m# features/cli.feature:50m
    32mWhen I run bin/xcop with "32m1m-h0m0m32m"90m # features/step_definitions/steps.rb:470m0m
    32mThen Exit code is zero90m        # features/step_definitions/steps.rb:610m0m
    32mAnd Stdout contains "32m1m--help0m0m32m"90m  # features/step_definitions/steps.rb:530m0m

  Scenario: Version can be printed       90m# features/cli.feature:100m
    32mWhen I run bin/xcop with "32m1m--version0m0m32m"90m # features/step_definitions/steps.rb:470m0m
    32mThen Exit code is zero90m               # features/step_definitions/steps.rb:610m0m

  Scenario: Validating correct XML file          90m# features/cli.feature:140m
    32mGiven I have a "32m1mtest.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      <?xml version="1.0"?>0m
32m      <hello>Hello, world!</hello>0m
32m0m
32m      """0m
    32mWhen I run bin/xcop with "32m1mtest.xml0m0m32m"90m          # features/step_definitions/steps.rb:470m0m
    32mThen Stdout contains "32m1mtest.xml looks good0m0m32m"90m   # features/step_definitions/steps.rb:530m0m
    32mAnd Exit code is zero90m                        # features/step_definitions/steps.rb:610m0m

  Scenario: Validating correct XML file with license                  90m# features/cli.feature:250m
    32mGiven I have a "32m1mlicensed.xml0m0m32m" file with content:90m                  # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      <?xml version="1.0"?>0m
32m      <!--0m
32m      This is the license,0m
32m      which is very very strict!0m
32m      -->0m
32m      <hello>Hello, world!</hello>0m
32m0m
32m      """0m
    32mAnd I have a "32m1mLICENSE0m0m32m" file with content:90m                         # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      This is the license,0m
32m      which is very very strict!0m
32m      """0m
    32mWhen I run bin/xcop with "32m1m--quiet --license LICENSE licensed.xml0m0m32m"90m # features/step_definitions/steps.rb:470m0m
    32mThen Stdout is empty90m                                              # features/step_definitions/steps.rb:570m0m
    32mAnd Exit code is zero90m                                             # features/step_definitions/steps.rb:610m0m

  Scenario: Validating incorrect XML file       90m# features/cli.feature:450m
    32mGiven I have a "32m1mabc.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      <a><b>something</b>0m
32m      </a>0m
32m      """0m
/usr/local/rvm/gems/ruby-2.7.0/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
    32mWhen I run bin/xcop with "32m1mabc.xml0m0m32m"90m          # features/step_definitions/steps.rb:470m0m
    32mThen Exit code is not zero90m                  # features/step_definitions/steps.rb:650m0m

  Scenario: Validating correct XML file with broken license   90m# features/cli.feature:540m
    32mGiven I have a "32m1mlicensed.xml0m0m32m" file with content:90m          # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      <?xml version="1.0"?>0m
32m      <!--0m
32m      This is the wrong license!0m
32m      -->0m
32m      <hello>Hello, world!</hello>0m
32m0m
32m      """0m
    32mAnd I have a "32m1mLICENSE0m0m32m" file with content:90m                 # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      This is the right license.0m
32m      """0m
/usr/local/rvm/gems/ruby-2.7.0/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
    32mWhen I run bin/xcop with "32m1m--license LICENSE licensed.xml0m0m32m"90m # features/step_definitions/steps.rb:470m0m
    32mAnd Stdout contains "32m1mBroken license0m0m32m"90m                      # features/step_definitions/steps.rb:530m0m
    32mAnd Exit code is not zero90m                                 # features/step_definitions/steps.rb:650m0m

  Scenario: Fixing incorrect XML file              90m# features/cli.feature:720m
    32mGiven I have a "32m1mbroken.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:420m0m
32m      &quot;&quot;&quot;0m
32m      &lt;a&gt;&lt;b&gt;something&lt;/b&gt;0m
32m      &lt;/a&gt;0m
32m      &quot;&quot;&quot;0m
    32mWhen I run bin/xcop with &quot;32m1m--fix broken.xml0m0m32m&quot;90m    # features/step_definitions/steps.rb:470m0m
    32mThen Exit code is zero90m                         # features/step_definitions/steps.rb:610m0m
    32mThen I run bin/xcop with &quot;32m1mbroken.xml0m0m32m&quot;90m          # features/step_definitions/steps.rb:470m0m
    32mThen Exit code is zero90m                         # features/step_definitions/steps.rb:610m0m

Feature: Gem Package
  As a source code writer I want to be able to
  package the Gem into .gem file

  Scenario: Gem can be packaged                  90m# features/gem_package.feature:50m
    32mGiven It is Unix90m                             # features/step_definitions/steps.rb:810m0m
    32mGiven I have a "32m1mexecs.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      #!/usr/bin/env ruby0m
32m      require 'rubygems'0m
32m      spec = Gem::Specification::load('./spec.rb')0m
32m      if spec.executables.empty?0m
32m        fail 'no executables: ' + File.read('./spec.rb')0m
32m      end0m
32m      """0m
/tmp/test20220613-642-eh33wy/xcop/lib/xcop/version.rb:26: warning: already initialized constant Xcop::VERSION
/home/r/repo/lib/xcop/version.rb:26: warning: previous definition of VERSION was here
    32mWhen I run bash with:90m                        # features/step_definitions/steps.rb:750m0m
32m      """0m
32m      cd xcop0m
32m      gem build xcop.gemspec0m
32m      gem specification --ruby xcop-*.gem > ../spec.rb0m
32m      cd ..0m
32m      ruby execs.rb0m
32m      """0m
    32mThen Exit code is zero90m                       # features/step_definitions/steps.rb:610m0m

Feature: Rake tasks
  As a source code writer I want to be able to
  run Xcop from Rakefile

  Scenario: Xcop can be used in Rakefile       90m# features/rake.feature:50m
    32mGiven It is Unix90m                           # features/step_definitions/steps.rb:810m0m
    32mAnd I have a "32m1mRakefile0m0m32m" file with content:90m # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      require 'xcop/rake_task'0m
32m      Xcop::RakeTask.new(:xcop) do |task|0m
32m        task.includes = ['good.xml']0m
32m      end0m
32m      """0m
    32mAnd I have a "32m1mgood.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      <?xml version="1.0"?>0m
32m      <hello>Hello, world!</hello>0m
32m0m
32m      """0m
    32mWhen I run bash with "32m1mrake xcop0m0m32m"90m           # features/step_definitions/steps.rb:690m0m
    32mThen Exit code is zero90m                     # features/step_definitions/steps.rb:610m0m

9 scenarios (32m9 passed0m)
36 steps (32m36 passed0m)
0m3.527s
1m32m┌──────────────────────────────────────────────────────────────────────────────┐0m0m
1m32m│0m0m Share your Cucumber Report with your team at 4m1m36mhttps://reports.cucumber.io0m0m0m     1m32m│0m0m
1m32m│0m0m                                                                              1m32m│0m0m
1m32m│0m0m Command line option:    36m--publish0m                                            1m32m│0m0m
1m32m│0m0m Environment variable:   36mCUCUMBER_PUBLISH_ENABLED0m=36mtrue0m                        1m32m│0m0m
1m32m│0m0m cucumber.yml:           36mdefault: --publish0m                                   1m32m│0m0m
1m32m│0m0m                                                                              1m32m│0m0m
1m32m│0m0m More information at 4m1m36mhttps://cucumber.io/docs/cucumber/environment-variables/0m0m0m 1m32m│0m0m
1m32m│0m0m                                                                              1m32m│0m0m
1m32m│0m0m To disable this message, specify 1mCUCUMBER_PUBLISH_QUIET=true0m or use the      1m32m│0m0m
1m32m│0m0m 1m--publish-quiet0m option. You can also add this to your 1mcucumber.yml:0m          1m32m│0m0m
1m32m│0m0m 1mdefault: --publish-quiet0m                                                     1m32m│0m0m
1m32m└──────────────────────────────────────────────────────────────────────────────┘0m0m
Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 82 / 91 LOC (90.11%) covered.
Running RuboCop...
Inspecting 13 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

13 files inspected, 32mno offenses0m detected
grep -q -r '2017-2022'     --include '*.rb'     --include '*.txt'     --include 'Rakefile'     .
+ rm -rf '*.gem'
+ sed -i 's/0\.0\.0/0.7.1/g' lib/xcop/version.rb
+ git add lib/xcop/version.rb
+ git commit -m 'version set to 0.7.1'
[__rultor fdddffa] version set to 0.7.1
 1 file changed, 1 insertion(+), 1 deletion(-)
+ gem build xcop.gemspec
  Successfully built RubyGem
  Name: xcop
  Version: 0.7.1
  File: xcop-0.7.1.gem
+ chmod 0600 ../rubygems.yml
+ gem push xcop-0.7.1.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Successfully registered gem: xcop (0.7.1)
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag 0.7.1 -m '0.7.1: tagged by rultor.com'
+ git reset --hard
HEAD is now at fdddffa version set to 0.7.1
+ git clean -fd
+ git checkout master
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
+ git branch -D __rultor
Deleted branch __rultor (was fdddffa).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To github.com:yegor256/xcop.git
 * [new tag]         0.7.1 -> 0.7.1
container 7f838d1dcd66e61abe67660f97db539e24ff5f186ef041b9822ba474774390c4 is dead
Mon Jun 13 20:24:41 CEST 2022