+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 1240
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Thu May 23 09:34:33 UTC 2024
+ uptime
09:34:33 up 0 min, 0 users, load average: 1.46, 0.40, 0.14
+ ff=default
+ image=yegor256/rultor-image:1.22.0
+ rebase=false
+ head_branch=master
+ pull_title='Update dependency rubocop to v1.64.0'
+ author=yegor256
+ directory=
+ head=git@github.com:yegor256/texsc.git
+ pull_id=46
+ fork=git@github.com:yegor256/texsc.git
+ fork_branch=renovate/rubocop-1.x
+ squash=false
+ vars=('--env=head=git@github.com:yegor256/texsc.git' '--env=pull_id=46' '--env=fork=git@github.com:yegor256/texsc.git' '--env=fork_branch=renovate/rubocop-1.x' '--env=head_branch=master' '--env=pull_title=Update dependency rubocop to v1.64.0' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/texsc.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=46'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/texsc.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/rubocop-1.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency rubocop to v1.64.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt install -y aspell'\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' )')
+ scripts=('export '\''head=git@github.com:yegor256/texsc.git'\''' ';' 'export '\''pull_id=46'\''' ';' 'export '\''fork=git@github.com:yegor256/texsc.git'\''' ';' 'export '\''fork_branch=renovate/rubocop-1.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency rubocop to v1.64.0'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt install -y aspell' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';')
+ container=yegor256_texsc_46
+ as_root=false
+ hostname
ip-172-31-20-28
+ pwd
/tmp/rultor-KQPZ
+ git --version
git version 2.34.1
+ docker --version
Docker version 25.0.3, build 4debf41
+ mkdir -p /home/ubuntu/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/ubuntu/.ssh/config
+ git clone git@github.com:yegor256/texsc.git repo
Cloning into 'repo'...
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
+ 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 '\''pull_id=46'\''' ';' 'export '\''fork=git@github.com:yegor256/texsc.git'\''' ';' 'export '\''fork_branch=renovate/rubocop-1.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency rubocop to v1.64.0'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt install -y aspell' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';'
+ sensitive=()
+ rm -rf .gnupg
+ cd repo
+ git remote add fork git@github.com:yegor256/texsc.git
+ git remote update
Fetching origin
Fetching fork
From github.com:yegor256/texsc
* [new branch] master -> fork/master
* [new branch] renovate/rubocop-1.x -> fork/renovate/rubocop-1.x
+ args=
+ '[' default == default ']'
+ args=' --ff'
+ '[' default == no ']'
+ '[' default == only ']'
+ export BRANCH=__rultor
+ BRANCH=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
+ git checkout -B __rultor fork/renovate/rubocop-1.x
Switched to a new branch '__rultor'
Branch '__rultor' set up to track remote branch 'renovate/rubocop-1.x' from 'fork'.
+ git checkout -B master origin/master
Switched to and reset branch 'master'
Branch 'master' set up to track remote branch 'master' from 'origin'.
Your branch is up to date with 'origin/master'.
+ '[' false == true ']'
+ '[' false == true ']'
+ git merge --ff __rultor
Updating 62ce6cd..56511bb
Fast-forward
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
+ docker_when_possible
+ true
++ tail -n 1
++ sed 's/ /\n/g'
++ uptime
+ load=0.15
++ bc
++ echo 0.15 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.15, low enough to run a new Docker container'
load average is 0.15, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor-image:1.22.0
+ docker pull yegor256/rultor-image:1.22.0
1.22.0: Pulling from yegor256/rultor-image
Digest: sha256:0e360fba8fb992c4c6cb495ddefdf5ecbc0f3edb887dd12deefd4af4b2a13272
Status: Image is up to date for yegor256/rultor-image:1.22.0
docker.io/yegor256/rultor-image:1.22.0
+ grep --quiet '\syegor256_texsc_46\s*$'
+ docker ps --filter=status=exited
+ ls -al .
total 48
drwx------ 3 ubuntu ubuntu 4096 May 23 09:34 .
drwxrwxrwt 12 root root 4096 May 23 09:34 ..
-rwxrwxr-x 1 ubuntu ubuntu 556 May 23 09:34 end.sh
-rwxrwxr-x 1 ubuntu ubuntu 490 May 23 09:34 entry.sh
-rw-rw-r-- 1 ubuntu ubuntu 5 May 23 09:34 pid
drwxrwxr-x 6 ubuntu ubuntu 4096 May 23 09:34 repo
-rw-rw-r-- 1 ubuntu ubuntu 81 May 23 09:34 rubygems.yml
-rwxrwxr-x 1 ubuntu ubuntu 6040 May 23 09:34 run.sh
-rw-rw-r-- 1 ubuntu ubuntu 583 May 23 09:34 script.sh
-rw-rw-r-- 1 ubuntu ubuntu 5107 May 23 09:34 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-KQPZ:/main --env=head=git@github.com:yegor256/texsc.git --env=pull_id=46 --env=fork=git@github.com:yegor256/texsc.git --env=fork_branch=renovate/rubocop-1.x --env=head_branch=master '--env=pull_title=Update dependency rubocop to v1.64.0' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/texsc.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=46'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/texsc.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/rubocop-1.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency rubocop to v1.64.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt install -y aspell'\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' )' --hostname=docker --privileged --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-KQPZ/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_texsc_46 yegor256/rultor-image:1.22.0 /main/entry.sh
WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded.
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
++ awk -F : '$3 > 100 { print $1 }'
++ cat /etc/group
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G nogroup r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-journal r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-network r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-resolve r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G messagebus r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-timesync r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G _ssh r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G rvm r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G ssl-cert r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G postgres r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G r r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cargo /root/.config /root/.gem /root/.gemrc /root/.launchpadlib /root/.m2 /root/.npm /root/.profile /root/.rustup /root/.rvmrc /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
+ cat /home/r/script.sh
#!/bin/bash
set -e
set -o pipefail
if [ -e /home/r/.profile ]; then source /home/r/.profile; fi
shopt -s expand_aliases
alias 'sudo=sudo -i'
export HOME=/home/r
cd "${HOME}/repo"
export 'head=git@github.com:yegor256/texsc.git' ; export 'pull_id=46' ; export 'fork=git@github.com:yegor256/texsc.git' ; export 'fork_branch=renovate/rubocop-1.x' ; export 'head_branch=master' ; export 'pull_title=Update dependency rubocop to v1.64.0' ; export 'author=yegor256' ; sudo apt install -y aspell ; pdd -f /dev/null ; bundle install --no-color "--gemfile=$(pwd)/Gemfile" ; bundle exec rake ;
+ su --login r --command /home/r/script.sh
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
aspell is already the newest version (0.60.8-4build1).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Found 7 lines in /home/r/repo/.pdd
My version is 0.23.1
Ruby version is 3.2.2 at x86_64-linux
Reading from root dir .
Excluding target/**/*
Excluding coverage/**/*
/usr/local/rvm/gems/ruby-3.2.2/gems/pdd-0.23.1/lib/pdd/sources.rb:90: warning: undefining the allocator of T_DATA class FileMagic
/home/r/repo/logo.svg is a binary file (3826 bytes)
/home/r/repo/renovate.json is a binary file (107 bytes)
Reading .0pdd.yml ...
Reading .gitattributes ...
Reading .github/workflows/codecov.yml ...
Reading .github/workflows/rake.yml ...
Reading .gitignore ...
Reading .pdd ...
Reading .rubocop.yml ...
Reading .rultor.yml ...
Reading .simplecov ...
Reading Gemfile ...
Reading LICENSE.txt ...
Reading README.md ...
Reading Rakefile ...
Reading bin/texsc ...
Reading cucumber.yml ...
Reading features/cli.feature ...
Reading features/gem_package.feature ...
Reading features/step_definitions/steps.rb ...
Reading features/support/env.rb ...
Reading texsc.gemspec ...
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Fetching rake 13.2.1
Installing rake 13.2.1
Fetching ast 2.4.2
Installing ast 2.4.2
Fetching backtrace 0.4.0
Installing backtrace 0.4.0
Fetching bigdecimal 3.1.8
Installing bigdecimal 3.1.8 with native extensions
Fetching builder 3.2.4
Installing builder 3.2.4
Using bundler 2.4.10
Fetching cucumber-ci-environment 10.0.1
Installing cucumber-ci-environment 10.0.1
Fetching cucumber-messages 22.0.0
Installing cucumber-messages 22.0.0
Fetching cucumber-gherkin 27.0.0
Installing cucumber-gherkin 27.0.0
Fetching cucumber-tag-expressions 6.1.0
Installing cucumber-tag-expressions 6.1.0
Fetching cucumber-core 13.0.2
Installing cucumber-core 13.0.2
Fetching cucumber-cucumber-expressions 17.1.0
Installing cucumber-cucumber-expressions 17.1.0
Fetching cucumber-html-formatter 21.3.1
Installing cucumber-html-formatter 21.3.1
Fetching diff-lcs 1.5.1
Installing diff-lcs 1.5.1
Fetching mini_mime 1.1.5
Installing mini_mime 1.1.5
Fetching multi_test 1.1.0
Installing multi_test 1.1.0
Fetching ffi 1.16.3
Installing ffi 1.16.3 with native extensions
Fetching sys-uname 1.2.3
Installing sys-uname 1.2.3
Fetching cucumber 9.2.0
Installing cucumber 9.2.0
Fetching docile 1.4.0
Installing docile 1.4.0
Fetching json 2.7.2
Installing json 2.7.2 with native extensions
Fetching language_server-protocol 3.17.0.3
Installing language_server-protocol 3.17.0.3
Fetching loog 0.5.1
Installing loog 0.5.1
Fetching parallel 1.24.0
Installing parallel 1.24.0
Fetching racc 1.8.0
Installing racc 1.8.0 with native extensions
Fetching parser 3.3.1.0
Installing parser 3.3.1.0
Using rainbow 3.1.1
Fetching regexp_parser 2.9.2
Installing regexp_parser 2.9.2
Fetching strscan 3.1.0
Installing strscan 3.1.0 with native extensions
Fetching rexml 3.2.8
Installing rexml 3.2.8
Fetching rubocop-ast 1.31.3
Installing rubocop-ast 1.31.3
Fetching ruby-progressbar 1.13.0
Installing ruby-progressbar 1.13.0
Fetching unicode-display_width 2.5.0
Installing unicode-display_width 2.5.0
Fetching rubocop 1.64.0
Installing rubocop 1.64.0
Fetching rubocop-capybara 2.20.0
Installing rubocop-capybara 2.20.0
Fetching rubocop-factory_bot 2.25.1
Installing rubocop-factory_bot 2.25.1
Fetching rubocop-rspec_rails 2.28.3
Installing rubocop-rspec_rails 2.28.3
Fetching rubocop-rspec 2.29.2
Installing rubocop-rspec 2.29.2
Fetching simplecov-html 0.12.3
Installing simplecov-html 0.12.3
Fetching simplecov_json_formatter 0.1.4
Installing simplecov_json_formatter 0.1.4
Fetching simplecov 0.22.0
Installing simplecov 0.22.0
Using slop 4.10.1
Using texsc 0.0.0 from source at `.` and installing its executables
Bundle complete! 6 Gemfile dependencies, 43 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
/usr/local/rvm/rubies/ruby-3.2.2/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 printed 90m# features/cli.feature:40m
32mWhen I run bin/texsc with "32m1m--help0m0m32m"90m # features/step_definitions/steps.rb:430m0m
32mThen Exit code is zero90m # features/step_definitions/steps.rb:570m0m
32mAnd Stdout contains "32m1m--help0m0m32m"90m # features/step_definitions/steps.rb:490m0m
Scenario: Good LaTeX can be spell checked 90m# 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 "32m1m0m0m32m"90m # features/step_definitions/steps.rb:430m0m
32mThen Exit code is zero90m # features/step_definitions/steps.rb:570m0m
32mAnd Stdout contains "32m1mNo spelling errors found in 1 file(s)0m0m32m"90m # features/step_definitions/steps.rb:490m0m
Scenario: Bad LaTeX can be spell checked 90m# 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:430m0m
32mThen Exit code is not zero90m # features/step_definitions/steps.rb:610m0m
32mAnd Stdout contains "32m1m& friiend 0m0m32m"90m # features/step_definitions/steps.rb:490m0m
Scenario: Bad LaTeX with PWS can be spell checked 90m# 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:430m0m
32mThen Exit code is zero90m # features/step_definitions/steps.rb:570m0m
Scenario: Bad LaTeX with broken PWS can be spell checked 90m# 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:430m0m
32mThen Exit code is not zero90m # features/step_definitions/steps.rb:610m0m
32mAnd Stdout contains "32m1mis not in the proper format0m0m32m"90m # features/step_definitions/steps.rb:490m0m
Scenario: Bad LaTeX with --ignore can be spell checked 90m# 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:430m0m
32mThen Exit code is zero90m # features/step_definitions/steps.rb:570m0m
Scenario: Bad LaTeX with complex --ignore can be spell checked 90m# 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:430m0m
32mThen Exit code is zero90m # features/step_definitions/steps.rb:570m0m
Scenario: Bad LaTeX with complex --ignore can be spell checked 90m# 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:430m0m
32mThen Exit code is zero90m # features/step_definitions/steps.rb:570m0m
Scenario: Bad LaTeX with complex --ignore can be spell checked 90m# 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:430m0m
32mThen Exit code is zero90m # features/step_definitions/steps.rb:570m0m
Scenario: Bad LaTeX with too short words can be spell checked 90m# 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:430m0m
32mThen Exit code is zero90m # features/step_definitions/steps.rb:570m0m
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:770m0m
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:710m0m
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:570m0m
11 scenarios (32m11 passed0m)
39 steps (32m39 passed0m)
0m5.761s
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 to /home/r/repo/coverage. 0 / 0 LOC (100.0%) covered.
Running RuboCop...
.rubocop.yml: Metrics/LineLength has the wrong namespace - replace it with Layout/LineLength
Inspecting 7 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m
7 files inspected, 32mno offenses0m detected
grep -q -r '2024' --include '*.rb' --include '*.txt' --include 'Rakefile' .
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R ubuntu repo
+ cd repo
+ git push origin master
To github.com:yegor256/texsc.git
62ce6cd..56511bb master -> master
container 12db48efcad19ba3b40cc899b4bbdb621a605bf2ec7ba631b52e0af5fa4f8714 is dead
Thu May 23 09:40:47 UTC 2024