+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 2150 + echo '1.69.1 839260fab' 1.69.1 839260fab + date Sun Aug 30 16:51:35 CEST 2020 + uptime 16:51:35 up 318 days, 13:00, 0 users, load average: 5.32, 5.41, 5.25 + head=git@github.com:yegor256/texsc.git + ff=default + image=yegor256/rultor-image + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.4.0 + vars=('--env=head=git@github.com:yegor256/texsc.git' '--env=tag=0.4.0' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/texsc.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.4.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt install -y aspell'\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" bin/texsc'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" texsc.gemspec'\'' '\'';'\'' '\''git add bin/texsc'\'' '\'';'\'' '\''git add texsc.gemspec'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build texsc.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/texsc.git'\''' ';' 'export '\''tag=0.4.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt install -y aspell' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';' 'sed -i "s/0\.0\.0/${tag}/g" bin/texsc' ';' 'sed -i "s/0\.0\.0/${tag}/g" texsc.gemspec' ';' 'git add bin/texsc' ';' 'git add texsc.gemspec' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build texsc.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';') + directory= + container=yegor256_texsc_7 + as_root=false + 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/texsc.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/texsc.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/texsc.git'\''' ';' 'export '\''tag=0.4.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt install -y aspell' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';' 'sed -i "s/0\.0\.0/${tag}/g" bin/texsc' ';' 'sed -i "s/0\.0\.0/${tag}/g" texsc.gemspec' ';' 'git add bin/texsc' ';' 'git add texsc.gemspec' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build texsc.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' + sensitive=() + rm -rf .gpg + '[' -z 0.4.0 ']' + [[ 0.4.0 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.4.0"' tag name is valid: "0.4.0" + cd repo ++ git tag -l 0.4.0 + '[' ']' + 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=5.25 ++ echo 5.25 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 5.25, low enough to run a new Docker container' load average is 5.25, 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 5bed26d33875: Pulling fs layer f11b29a9c730: Pulling fs layer 930bda195c84: Pulling fs layer 78bf9a5ad49e: Pulling fs layer bd92b3300a5c: Pulling fs layer a4e411970f61: Pulling fs layer cd3950cd7df2: Pulling fs layer 8f530b1cfb92: Pulling fs layer 812074e49c42: Pulling fs layer 3a5f1edc3977: Pulling fs layer bee1a1b6364d: Pulling fs layer f6bfd9b2cfd9: Pulling fs layer f150775b93f0: Pulling fs layer 2fa35ef3e60f: Pulling fs layer 7697dc9f50cb: Pulling fs layer baab9a0785c0: Pulling fs layer 63f489a107a7: Pulling fs layer 8a395104028e: Pulling fs layer 49f7433ed3e1: Pulling fs layer 27b75b92e685: Pulling fs layer 49573aff720b: Pulling fs layer 6c7a6acc15a7: Pulling fs layer 2fcd87bfa5db: Pulling fs layer 0549ec9ec8ed: Pulling fs layer 70bdcfc588ca: Pulling fs layer 3b367e0aa6a5: Pulling fs layer 310891b65deb: Pulling fs layer bd92b3300a5c: Waiting a4e411970f61: Waiting cd3950cd7df2: Waiting 8f530b1cfb92: Waiting 812074e49c42: Waiting 3a5f1edc3977: Waiting bee1a1b6364d: Waiting f6bfd9b2cfd9: Waiting 27b75b92e685: Waiting 49573aff720b: Waiting f150775b93f0: Waiting 2fa35ef3e60f: Waiting 6c7a6acc15a7: Waiting 7697dc9f50cb: Waiting 2fcd87bfa5db: Waiting baab9a0785c0: Waiting 0549ec9ec8ed: Waiting 70bdcfc588ca: Waiting 63f489a107a7: Waiting 3b367e0aa6a5: Waiting 8a395104028e: Waiting 310891b65deb: Waiting 49f7433ed3e1: Waiting 78bf9a5ad49e: Waiting f11b29a9c730: Download complete 930bda195c84: Verifying Checksum 930bda195c84: Download complete 78bf9a5ad49e: Verifying Checksum 78bf9a5ad49e: Download complete bd92b3300a5c: Download complete a4e411970f61: Verifying Checksum a4e411970f61: Download complete 5bed26d33875: Verifying Checksum 5bed26d33875: Download complete cd3950cd7df2: Verifying Checksum cd3950cd7df2: Download complete 5bed26d33875: Pull complete f11b29a9c730: Pull complete 930bda195c84: Pull complete 78bf9a5ad49e: Pull complete bd92b3300a5c: Pull complete a4e411970f61: Pull complete cd3950cd7df2: Pull complete 812074e49c42: Verifying Checksum 812074e49c42: Download complete 3a5f1edc3977: Verifying Checksum 3a5f1edc3977: Download complete bee1a1b6364d: Verifying Checksum bee1a1b6364d: Download complete f150775b93f0: Verifying Checksum f150775b93f0: Download complete 2fa35ef3e60f: Verifying Checksum 2fa35ef3e60f: Download complete 7697dc9f50cb: Verifying Checksum 7697dc9f50cb: Download complete 8f530b1cfb92: Download complete 8f530b1cfb92: Pull complete 812074e49c42: Pull complete 3a5f1edc3977: Pull complete bee1a1b6364d: Pull complete f6bfd9b2cfd9: Verifying Checksum f6bfd9b2cfd9: Download complete 8a395104028e: Verifying Checksum 8a395104028e: Download complete f6bfd9b2cfd9: Pull complete f150775b93f0: Pull complete 2fa35ef3e60f: Pull complete 7697dc9f50cb: Pull complete 49f7433ed3e1: Verifying Checksum 49f7433ed3e1: Download complete 63f489a107a7: Verifying Checksum 63f489a107a7: Download complete 27b75b92e685: Verifying Checksum 27b75b92e685: Download complete 49573aff720b: Verifying Checksum 49573aff720b: Download complete 6c7a6acc15a7: Verifying Checksum 6c7a6acc15a7: Download complete 0549ec9ec8ed: Verifying Checksum 0549ec9ec8ed: Download complete 70bdcfc588ca: Verifying Checksum 70bdcfc588ca: Download complete 2fcd87bfa5db: Verifying Checksum 2fcd87bfa5db: Download complete 310891b65deb: Verifying Checksum 310891b65deb: Download complete baab9a0785c0: Verifying Checksum baab9a0785c0: Download complete 3b367e0aa6a5: Verifying Checksum 3b367e0aa6a5: Download complete baab9a0785c0: Pull complete 63f489a107a7: Pull complete 8a395104028e: Pull complete 49f7433ed3e1: Pull complete 27b75b92e685: Pull complete 49573aff720b: Pull complete 6c7a6acc15a7: Pull complete 2fcd87bfa5db: Pull complete 0549ec9ec8ed: Pull complete 70bdcfc588ca: Pull complete 3b367e0aa6a5: Pull complete 310891b65deb: Pull complete Digest: sha256:9e0007d3c1f97c64052760bdfa4d74366099fc980adbe1cc58bbffbb92ca628a Status: Downloaded newer image for yegor256/rultor-image:latest + grep --quiet '\syegor256_texsc_7\s*$' + docker ps --filter=status=exited + ls -al . total 716 drwx--x--x 3 rultor rultor 4096 Aug 30 16:51 . drwxrwxrwt 284 root root 684032 Aug 30 16:54 .. -rw-rw-r-- 1 rultor rultor 444 Aug 30 16:52 end.sh -rwxrwxr-x 1 rultor rultor 363 Aug 30 16:51 entry.sh -rw-rw-r-- 1 rultor rultor 5 Aug 30 16:51 pid drwxrwxr-x 5 rultor rultor 4096 Aug 30 16:51 repo -rw-rw-r-- 1 rultor rultor 56 Aug 30 16:51 rubygems.yml -rwxrwxr-x 1 rultor rultor 5928 Aug 30 16:51 run.sh -rw-rw-r-- 1 rultor rultor 646 Aug 30 16:51 script.sh -rw-rw-r-- 1 rultor rultor 7930 Aug 30 16:54 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-gx3C:/main --env=head=git@github.com:yegor256/texsc.git --env=tag=0.4.0 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/texsc.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.4.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt install -y aspell'\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" bin/texsc'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" texsc.gemspec'\'' '\'';'\'' '\''git add bin/texsc'\'' '\'';'\'' '\''git add texsc.gemspec'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build texsc.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-gx3C/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_texsc_7 yegor256/rultor-image /main/entry.sh WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. + 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/.composer /root/.gem /root/.gnupg /root/.m2 /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 mesg: cannot open /dev/pts/0: Permission denied + 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/texsc.git + head=git@github.com:yegor256/texsc.git + export tag=0.4.0 + tag=0.4.0 + export head_branch=master + head_branch=master + export author=yegor256 + author=yegor256 + sudo -i apt install -y aspell Reading package lists... Done Building dependency tree... 50% Reading state information... Done The following additional packages will be installed: aspell-en dictionaries-common emacsen-common libaspell15 Suggested packages: aspell-doc spellutils wordlist The following NEW packages will be installed: aspell aspell-en dictionaries-common emacsen-common libaspell15 0 upgraded, 5 newly installed, 0 to remove and 12 not upgraded. Need to get 898 kB of archives. After this operation, 3,906 kB of additional disk space will be used. Get:1ohttp://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libaspell15 amd64 0.60.7~20110707-4ubuntu0.1 [309 kB] Get:2Whttp://archive.ubuntu.com/ubuntu3bionic/main amd64 emacsen-common all 2.0.8 [17.6 kB] Get:3Whttp://archive.ubuntu.com/ubuntu3bionic/main amd64 dictionaries-common all 1.27.2 [186 kB] Get:4Whttp://archive.ubuntu.com/ubuntu bionic-updates/main amd64 aspell amd64 0.60.7~20110707-4ubuntu0.1 [87.6 kB] Get:5Whttp://archive.ubuntu.com/ubuntu bionic/main amd64 aspell-en all 2017.08.24-0-0.1 [298 kB] Fetchedo898nkB0in30s7(3,8578kB/s)%]0m33m debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libaspell15:amd64. (Reading database ... 97741 files and directories currently installed.) Preparing to unpack .../libaspell15_0.60.7~20110707-4ubuntu0.1_amd64.deb ... Unpacking libaspell15:amd64 (0.60.7~20110707-4ubuntu0.1) ... Selecting previously unselected package emacsen-common. Preparing to unpack .../emacsen-common_2.0.8_all.deb ... Unpacking emacsen-common (2.0.8) ... Selecting previously unselected package dictionaries-common. Preparing to unpack .../dictionaries-common_1.27.2_all.deb ... Adding 'diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common' Unpacking dictionaries-common (1.27.2) ... Selecting previously unselected package aspell. Preparing to unpack .../aspell_0.60.7~20110707-4ubuntu0.1_amd64.deb ... Unpacking aspell (0.60.7~20110707-4ubuntu0.1) ... Selecting previously unselected package aspell-en. Preparing to unpack .../aspell-en_2017.08.24-0-0.1_all.deb ... Unpacking aspell-en (2017.08.24-0-0.1) ... Setting up libaspell15:amd64 (0.60.7~20110707-4ubuntu0.1) ... Setting up emacsen-common (2.0.8) ... Setting up dictionaries-common (1.27.2) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline Setting up aspell (0.60.7~20110707-4ubuntu0.1) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline Setting up aspell-en (2017.08.24-0-0.1) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for dictionaries-common (1.27.2) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline aspell-autobuildhash: processing: en [en-common]. aspell-autobuildhash: processing: en [en-variant_0]. aspell-autobuildhash: processing: en [en-variant_1]. aspell-autobuildhash: processing: en [en-variant_2]. aspell-autobuildhash: processing: en [en-w_accents-only]. aspell-autobuildhash: processing: en [en-wo_accents-only]. aspell-autobuildhash: processing: en [en_AU-variant_0]. aspell-autobuildhash: processing: en [en_AU-variant_1]. aspell-autobuildhash: processing: en [en_AU-w_accents-only]. aspell-autobuildhash: processing: en [en_AU-wo_accents-only]. aspell-autobuildhash: processing: en [en_CA-variant_0]. aspell-autobuildhash: processing: en [en_CA-variant_1]. aspell-autobuildhash: processing: en [en_CA-w_accents-only]. aspell-autobuildhash: processing: en [en_CA-wo_accents-only]. aspell-autobuildhash: processing: en [en_GB-ise-w_accents-only]. aspell-autobuildhash: processing: en [en_GB-ise-wo_accents-only]. aspell-autobuildhash: processing: en [en_GB-ize-w_accents-only]. aspell-autobuildhash: processing: en [en_GB-ize-wo_accents-only]. aspell-autobuildhash: processing: en [en_GB-variant_0]. aspell-autobuildhash: processing: en [en_GB-variant_1]. aspell-autobuildhash: processing: en [en_US-w_accents-only]. aspell-autobuildhash: processing: en [en_US-wo_accents-only]. + pdd -f /dev/null Found 7 lines in /home/r/repo/.pdd My version is 0.20.5 Ruby version is 2.6.0 at x86_64-linux Reading . Excluding target/**/* Excluding coverage/**/* 20 file(s) found, 171 excluded Reading .simplecov... Reading Rakefile... Reading Gemfile... Reading .0pdd.yml... Reading cucumber.yml... Reading .travis.yml... Reading LICENSE.txt... Reading .pdd... Reading texsc.gemspec... Reading .rultor.yml... Reading README.md... Reading .rubocop.yml... Reading .gitignore... Reading features/cli.feature... Reading features/support/env.rb... Reading features/gem_package.feature... Reading features/step_definitions/steps.rb... Reading bin/texsc... Reading logo.svg... Reading .gitattributes... ++ 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. Fetching gem metadata from https://rubygems.org/......... Resolving dependencies... Fetching rake 12.0.0 Installing rake 12.0.0 Fetching ast 2.4.1 Installing ast 2.4.1 Fetching backtrace 0.3.0 Installing backtrace 0.3.0 Fetching builder 3.2.4 Installing builder 3.2.4 Using bundler 2.1.4 Fetching json 2.3.1 Installing json 2.3.1 with native extensions Fetching docile 1.3.2 Installing docile 1.3.2 Fetching simplecov-html 0.12.2 Installing simplecov-html 0.12.2 Fetching simplecov 0.19.0 Installing simplecov 0.19.0 Fetching codecov 0.2.8 Installing codecov 0.2.8 Fetching diff-lcs 1.4.4 Installing diff-lcs 1.4.4 Fetching multi_json 1.15.0 Installing multi_json 1.15.0 Fetching gherkin 2.12.2 Installing gherkin 2.12.2 with native extensions Fetching multi_test 0.1.2 Installing multi_test 0.1.2 Fetching cucumber 1.3.20 Installing cucumber 1.3.20 Fetching jaro_winkler 1.5.4 Installing jaro_winkler 1.5.4 with native extensions Fetching loog 0.2.1 Installing loog 0.2.1 Fetching parallel 1.19.2 Installing parallel 1.19.2 Fetching parser 2.7.1.4 Installing parser 2.7.1.4 Fetching powerpack 0.1.2 Installing powerpack 0.1.2 Using rainbow 3.0.0 Fetching ruby-progressbar 1.10.1 Installing ruby-progressbar 1.10.1 Fetching unicode-display_width 1.4.1 Installing unicode-display_width 1.4.1 Fetching rubocop 0.61.0 Installing rubocop 0.61.0 Fetching rubocop-rspec 1.31.0 Installing rubocop-rspec 1.31.0 Fetching slop 4.8.2 Installing slop 4.8.2 Using texsc 0.0.0 from source at `.` Bundle complete! 6 Gemfile dependencies, 27 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. + bundle exec rake /usr/local/rvm/rubies/ruby-2.6.0/bin/ruby -S bundle exec cucumber Using the default profile... Feature: Command Line Processing As a author of LaTeX document I want to check spelling Scenario: Help can be printed90m # features/cli.feature:40m 32mWhen I run bin/texsc with "32m1m--help0m0m32m"90m # features/step_definitions/steps.rb:450m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:590m0m 32mAnd Stdout contains "32m1m--help0m0m32m"90m # features/step_definitions/steps.rb:510m0m Scenario: Good LaTeX can be spell checked90m # features/cli.feature:90m 32mGiven I have a "32m1marticle.tex0m0m32m" file with content:90m # features/step_definitions/steps.rb:380m0m 32m """0m 32m \documentclass{article}0m 32m \begin{document}0m 32m How are you, my dear friend?0m 32m \end{document}0m 32m """0m 32mWhen I run bin/texsc with "32m1marticle.tex0m0m32m"90m # features/step_definitions/steps.rb:450m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:590m0m 32mAnd Stdout contains "32m1mNo spelling errors found in 1 file(s)0m0m32m"90m # features/step_definitions/steps.rb:510m0m Scenario: Bad LaTeX can be spell checked90m # features/cli.feature:210m 32mGiven I have a "32m1marticle.tex0m0m32m" file with content:90m # features/step_definitions/steps.rb:380m0m 32m """0m 32m \documentclass{article}0m 32m \begin{document}0m 32m How are you, my dear friiend?0m 32m \end{document}0m 32m """0m 32mWhen I run bin/texsc with "32m1m--verbose article.tex0m0m32m"90m # features/step_definitions/steps.rb:450m0m 32mThen Exit code is not zero90m # features/step_definitions/steps.rb:630m0m 32mAnd Stdout contains "32m1m& friiend 0m0m32m"90m # features/step_definitions/steps.rb:510m0m Scenario: Bad LaTeX with PWS can be spell checked90m # features/cli.feature:330m 32mGiven I have a "32m1marticle.tex0m0m32m" file with content:90m # features/step_definitions/steps.rb:380m0m 32m """0m 32m \documentclass{article}0m 32m \begin{document}0m 32m How are you, my dear friiend?0m 32m \end{document}0m 32m """0m 32mAnd I have a "32m1maspell.en.pws0m0m32m" file with content:90m # features/step_definitions/steps.rb:380m0m 32m """0m 32m personal_ws-1.1 en 1 utf-80m 32m hello0m 32m friiend0m 32m """0m 32mWhen I run bin/texsc with "32m1m--pws aspell.en.pws article.tex0m0m32m"90m # features/step_definitions/steps.rb:450m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:590m0m Scenario: Bad LaTeX with broken PWS can be spell checked90m # features/cli.feature:500m 32mGiven I have a "32m1marticle.tex0m0m32m" file with content:90m # features/step_definitions/steps.rb:380m0m 32m """0m 32m \documentclass{article}0m 32m \begin{document}0m 32m How are you, my dear friiend?0m 32m \end{document}0m 32m """0m 32mAnd I have a "32m1maspell.en.pws0m0m32m" file with content:90m # features/step_definitions/steps.rb:380m0m 32m """0m 32m friiend0m 32m """0m 32mWhen I run bin/texsc with "32m1m--pws aspell.en.pws article.tex0m0m32m"90m # features/step_definitions/steps.rb:450m0m 32mThen Exit code is not zero90m # features/step_definitions/steps.rb:630m0m 32mAnd Stdout contains "32m1mis not in the proper format0m0m32m"90m # features/step_definitions/steps.rb:510m0m Scenario: Bad LaTeX with --ignore can be spell checked90m # features/cli.feature:660m 32mGiven I have a "32m1marticle.tex0m0m32m" file with content:90m # features/step_definitions/steps.rb:380m0m 32m """0m 32m \documentclass{article}0m 32m \begin{document}0m 32m How are you, my dear \nospell{friiend}?0m 32m \end{document}0m 32m """0m 32mWhen I run bin/texsc with "32m1m--ignore nospell article.tex0m0m32m"90m # features/step_definitions/steps.rb:450m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:590m0m Scenario: Bad LaTeX with complex --ignore can be spell checked90m # features/cli.feature:770m 32mGiven I have a "32m1marticle.tex0m0m32m" file with content:90m # features/step_definitions/steps.rb:380m0m 32m """0m 32m \documentclass{article}0m 32m \begin{document}0m 32m How are you, my dear \nospell[friiend]{friiend}{friiend}?0m 32m \end{document}0m 32m """0m 32mWhen I run bin/texsc with "32m1m--ignore nospell:opp article.tex0m0m32m"90m # features/step_definitions/steps.rb:450m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:590m0m Scenario: Bad LaTeX with complex --ignore can be spell checked90m # features/cli.feature:880m 32mGiven I have a "32m1marticle.tex0m0m32m" file with content:90m # features/step_definitions/steps.rb:380m0m 32m """0m 32m \documentclass{article}0m 32m \begin{document}0m 32m How are you, \begin{nospell}{test}friiend\end{nospell}?0m 32m \end{document}0m 32m """0m 32mWhen I run bin/texsc with "32m1m--ignore nospell:p article.tex0m0m32m"90m # features/step_definitions/steps.rb:450m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:590m0m Scenario: Bad LaTeX with complex --ignore can be spell checked90m # features/cli.feature:990m 32mGiven I have a "32m1marticle.tex0m0m32m" file with content:90m # features/step_definitions/steps.rb:380m0m 32m """0m 32m \documentclass{article}0m 32m \begin{document}0m 32m How are you, \begin{Nospell*}{test}friiend\end{Nospell*}?0m 32m \end{document}0m 32m """0m 32mWhen I run bin/texsc with "32m1m--ignore Nospell*:p article.tex0m0m32m"90m # features/step_definitions/steps.rb:450m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:590m0m Scenario: Bad LaTeX with too short words can be spell checked90m # features/cli.feature:1100m 32mGiven I have a "32m1marticle.tex0m0m32m" file with content:90m # features/step_definitions/steps.rb:380m0m 32m """0m 32m \documentclass{article}0m 32m \begin{document}0m 32m How are you, my dear ZZZZ?0m 32m \end{document}0m 32m """0m 32mWhen I run bin/texsc with "32m1m--min-word-length=4 article.tex0m0m32m"90m # features/step_definitions/steps.rb:450m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:590m0m Feature: Gem Package As a source code writer I want to be able to package the Gem into .gem file Scenario: Gem can be packaged90m # features/gem_package.feature:50m 32mGiven It is Unix90m # features/step_definitions/steps.rb:790m0m 32mGiven I have a "32m1mexecs.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:380m0m 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 32mWhen I run bash with:90m # features/step_definitions/steps.rb:730m0m 32m """0m 32m cd texsc0m 32m gem build texsc.gemspec0m 32m gem specification --ruby texsc-*.gem > ../spec.rb0m 32m cd ..0m 32m ruby execs.rb0m 32m """0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:590m0m 11 scenarios (32m11 passed0m) 39 steps (32m39 passed0m) 0m3.709s Coverage report generated for Cucumber Features to /home/r/repo/coverage. 0 / 0 LOC (100.0%) covered. Running RuboCop... Inspecting 6 files 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m 6 files inspected, 32mno offenses0m detected grep -q -r '2020' --include '*.rb' --include '*.txt' --include 'Rakefile' . + sed -i 's/0\.0\.0/0.4.0/g' bin/texsc + sed -i 's/0\.0\.0/0.4.0/g' texsc.gemspec + git add bin/texsc + git add texsc.gemspec + git commit -m 'version set to 0.4.0' [__rultor 25b0fff] version set to 0.4.0 2 files changed, 2 insertions(+), 2 deletions(-) + gem build texsc.gemspec Successfully built RubyGem Name: texsc Version: 0.4.0 File: texsc-0.4.0.gem + chmod 0600 ../rubygems.yml + gem push texsc-0.4.0.gem --config-file ../rubygems.yml Pushing gem to https://rubygems.org... Successfully registered gem: texsc (0.4.0) + 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.4.0 -m '0.4.0: tagged by rultor.com' + git reset --hard HEAD is now at 25b0fff version set to 0.4.0 + 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 25b0fff). + git push --all origin Everything up-to-date + git push --tags origin To git@github.com:yegor256/texsc.git * [new tag] 0.4.0 -> 0.4.0 container 8f539753cd1c2d0d271dbf8441b833810bd0b2b1dda80b513e818f6162aaef0c is dead Sun Aug 30 16:56:46 CEST 2020