+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 27679 + echo '1.68.2 70c246ce3' 1.68.2 70c246ce3 + date Thu Mar 21 17:21:41 CET 2019 + uptime 17:21:41 up 96 days, 7:51, 0 users, load average: 4.76, 4.87, 5.46 + head=git@github.com:yegor256/rumble.git + ff=default + image=yegor256/rultor + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.5.1 + vars=('--env=head=git@github.com:yegor256/rumble.git' '--env=tag=0.5.1' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/rumble.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.5.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''export GEM_HOME=~/.ruby'\'' '\'';'\'' '\''export GEM_PATH=$GEM_HOME:$GEM_PATH'\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/1\.0\.snapshot/${tag}/g" lib/rumble/version.rb'\'' '\'';'\'' '\''git add lib/rumble/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build rumble.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/rumble.git'\''' ';' 'export '\''tag=0.5.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'export GEM_HOME=~/.ruby' ';' 'export GEM_PATH=$GEM_HOME:$GEM_PATH' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd' ';' 'bundle install' ';' 'rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/rumble/version.rb' ';' 'git add lib/rumble/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build rumble.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';') + directory= + container=yegor256_rumble_12 + 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/rumble.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/rumble.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/rumble.git'\''' ';' 'export '\''tag=0.5.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'export GEM_HOME=~/.ruby' ';' 'export GEM_PATH=$GEM_HOME:$GEM_PATH' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd' ';' 'bundle install' ';' rake ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/rumble/version.rb' ';' 'git add lib/rumble/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build rumble.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' + sensitive=() + rm -rf .gpg + '[' -z 0.5.1 ']' + [[ 0.5.1 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.5.1"' tag name is valid: "0.5.1" + cd repo ++ git tag -l 0.5.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=5.46 ++ echo 5.46 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 5.46, low enough to run a new Docker container' load average is 5.46, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor + docker pull yegor256/rultor Using default tag: latest latest: Pulling from yegor256/rultor Digest: sha256:89ad567752735f414ef0f6408fd08b5aeed93259147b0dfe2df279054c27a472 Status: Image is up to date for yegor256/rultor:latest + docker ps --filter=status=exited + grep --quiet '\syegor256_rumble_12\s*$' + ls -al . total 720 drwx--x--x 3 rultor rultor 4096 Mar 21 17:21 . drwxrwxrwt 14 root root 684032 Mar 21 17:21 .. -rw-rw-r-- 1 rultor rultor 444 Mar 21 17:21 end.sh -rwxrwxr-x 1 rultor rultor 338 Mar 21 17:21 entry.sh -rw-rw-r-- 1 rultor rultor 6 Mar 21 17:21 pid drwxrwxr-x 8 rultor rultor 4096 Mar 21 17:21 repo -rw-rw-r-- 1 rultor rultor 56 Mar 21 17:21 rubygems.yml -rwxrwxr-x 1 rultor rultor 5899 Mar 21 17:21 run.sh -rw-rw-r-- 1 rultor rultor 98 Mar 21 17:21 s3cfg -rw-rw-r-- 1 rultor rultor 635 Mar 21 17:21 script.sh -rw-rw-r-- 1 rultor rultor 4116 Mar 21 17:21 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-WFQR:/main --env=head=git@github.com:yegor256/rumble.git --env=tag=0.5.1 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/rumble.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.5.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''export GEM_HOME=~/.ruby'\'' '\'';'\'' '\''export GEM_PATH=$GEM_HOME:$GEM_PATH'\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/1\.0\.snapshot/${tag}/g" lib/rumble/version.rb'\'' '\'';'\'' '\''git add lib/rumble/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build rumble.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-WFQR/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_rumble_12 yegor256/rultor /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 + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.composer /root/.gem /root/.gnupg /root/.m2 /root/.profile /root/texmf /root/.wget-hsts /home/r + cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./rubygems.yml ./run.sh ./s3cfg ./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: change /dev/pts/0 mode failed: Operation not permitted + 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/rumble.git + head=git@github.com:yegor256/rumble.git + export tag=0.5.1 + tag=0.5.1 + export head_branch=master + head_branch=master + export author=yegor256 + author=yegor256 + export GEM_HOME=/home/r/.ruby + GEM_HOME=/home/r/.ruby + export GEM_PATH=/home/r/.ruby:/usr/local/rvm/gems/ruby-2.6.0:/usr/local/rvm/gems/ruby-2.6.0@global + GEM_PATH=/home/r/.ruby:/usr/local/rvm/gems/ruby-2.6.0:/usr/local/rvm/gems/ruby-2.6.0@global + sudo -i apt-get -y update Get:1ohttp://ppa.launchpad.net/git-core/ppa/ubuntu trusty InRelease [20.8 kB] Hit:2ohttp://ppa.launchpad.net/webupd8team/java/ubuntubtrustyoInRelease.88.162) Get:3ohttp://security.ubuntu.com/ubuntu1xenial-securityWInReleaser[109dkB]]1[Co Ign:4 http://ppa.launchpad.net/natecarlson/maven3/ubuntu precise InRelease Get:5 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease [23.8 kB] Get:6 https://deb.nodesource.com/node_6.x xenial InRelease [4634 B] Get:7ohttp://ppa.launchpad.net/ondrej/php/ubuntuhxenialuInRelease9[23.9.kB]162) Get:8ohttp://ppa.launchpad.net/git-core/ppa/ubuntuvtrusty/mainmamd641Packages2[3505 B] Hit:9 http://ppa.launchpad.net/natecarlson/maven3/ubuntunprecise(Release88.162) Get:10Ihttp://ppa.launchpad.net/git-core/ppa/ubuntu.xenial/main(amd649Packages][3530 B] Get:11lhttp://ppa.launchpad.net/ondrej/php/ubuntuixenial/mainoamd64.Packages6[70.0 kB] Get:13nhttp://security.ubuntu.com/ubuntu.xenial-security/maintamd64oPackagest[801 kB] Get:14nhttp://apt.postgresql.org/pub/repos/apt8xenial-pgdgPInRelease6[51.38kB]k Hit:15nhttp://archive.ubuntu.com/ubuntu1xenial8InRelease3 Packages 434 kB/801 k Get:16 http://archive.ubuntu.com/ubuntu xenial-updates InReleaseB[109]kB] Get:17 http://security.ubuntu.com/ubuntuixenial-security/universeRamd64ePackages [546 kB] Get:18ihttp://security.ubuntu.com/ubuntuoxenial-security/multiverseaamd644Packages [6117 B] Get:19 http://archive.ubuntu.com/ubuntuexenial-backportsaInRelease9[107ekB]7[14 Get:20ihttp://archive.ubuntu.com/ubuntufxenial-updates/maingamd64hPackagesk[1196 kB] Get:210http://apt.postgresql.org/pub/repos/aptfxenial-pgdg/mainWamd64gPackagesd[200 kB] Get:22ohttp://archive.ubuntu.com/ubuntusxenial-updates/restricted%amd64 Packages [13.1 kB] Get:230http://archive.ubuntu.com/ubuntusxenial-updates/universe amd64 Packages [954 kB] Get:24ahttp://archive.ubuntu.com/ubuntusxenial-updates/multiverse amd64 Packages [19.1 kB] Fetchedo4262gkBeins4sr(1021]kB/s)ackages 979 B/19.1 kB 5%] Reading package lists... Done W: http://ppa.launchpad.net/natecarlson/maven3/ubuntu/dists/precise/Release.gpg: Signature by key 1F6F5A1396D75B0DB6FECE5AB70731143DD9F856 uses weak digest algorithm (SHA1) + sudo -i gem install pdd Fetching rainbow-3.0.0.gem Fetching mini_portile2-2.3.0.gem Fetching pdd-0.20.4.gem Fetching nokogiri-1.8.2.gem Fetching slop-4.6.1.gem Successfully installed mini_portile2-2.3.0 Building native extensions. This could take a while... Successfully installed nokogiri-1.8.2 Successfully installed rainbow-3.0.0 Successfully installed slop-4.6.1 Successfully installed pdd-0.20.4 Parsing documentation for mini_portile2-2.3.0 Installing ri documentation for mini_portile2-2.3.0 Parsing documentation for nokogiri-1.8.2 Installing ri documentation for nokogiri-1.8.2 Parsing documentation for rainbow-3.0.0 Installing ri documentation for rainbow-3.0.0 Parsing documentation for slop-4.6.1 Installing ri documentation for slop-4.6.1 Parsing documentation for pdd-0.20.4 Installing ri documentation for pdd-0.20.4 Done installing documentation for mini_portile2, nokogiri, rainbow, slop, pdd after 14 seconds 5 gems installed + bundle install Fetching gem metadata from https://rubygems.org/........... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... 32mFetching rake 12.0.00m 32mInstalling rake 12.0.00m 32mFetching concurrent-ruby 1.1.50m 32mInstalling concurrent-ruby 1.1.50m 32mFetching i18n 1.6.00m 32mInstalling i18n 1.6.00m 32mFetching minitest 5.5.00m 32mInstalling minitest 5.5.00m 32mFetching thread_safe 0.3.60m 32mInstalling thread_safe 0.3.60m 32mFetching tzinfo 1.2.50m 32mInstalling tzinfo 1.2.50m 32mFetching activesupport 5.2.2.10m 32mInstalling activesupport 5.2.2.10m 32mFetching builder 3.2.30m 32mInstalling builder 3.2.30m 32mFetching erubi 1.8.00m 32mInstalling erubi 1.8.00m 32mFetching mini_portile2 2.4.00m 32mInstalling mini_portile2 2.4.00m 32mFetching nokogiri 1.10.10m 32mInstalling nokogiri 1.10.1 with native extensions0m 32mFetching rails-dom-testing 2.0.30m 32mInstalling rails-dom-testing 2.0.30m 32mFetching crass 1.0.40m 32mInstalling crass 1.0.40m 32mFetching loofah 2.2.30m 32mInstalling loofah 2.2.30m 32mFetching rails-html-sanitizer 1.0.40m 32mInstalling rails-html-sanitizer 1.0.40m 32mFetching actionview 5.2.2.10m 32mInstalling actionview 5.2.2.10m 32mFetching rack 2.0.60m 32mInstalling rack 2.0.60m GemWrappers: Can not wrap missing file: rackup 32mFetching rack-test 1.1.00m 32mInstalling rack-test 1.1.00m 32mFetching actionpack 5.2.2.10m 32mInstalling actionpack 5.2.2.10m 32mFetching ast 2.4.00m 32mInstalling ast 2.4.00m Using bundler 1.17.2 32mFetching json 1.8.60m 32mInstalling json 1.8.6 with native extensions0m 32mFetching docile 1.3.10m 32mInstalling docile 1.3.10m 32mFetching simplecov-html 0.10.20m 32mInstalling simplecov-html 0.10.20m 32mFetching simplecov 0.16.10m 32mInstalling simplecov 0.16.10m 32mFetching url 0.3.20m 32mInstalling url 0.3.20m 32mFetching codecov 0.1.100m 32mInstalling codecov 0.1.100m 32mFetching diff-lcs 1.30m 32mInstalling diff-lcs 1.30m GemWrappers: Can not wrap missing file: htmldiff GemWrappers: Can not wrap missing file: ldiff 32mFetching multi_json 1.13.10m 32mInstalling multi_json 1.13.10m 32mFetching gherkin 2.12.20m 32mInstalling gherkin 2.12.2 with native extensions0m 32mFetching multi_test 0.1.20m 32mInstalling multi_test 0.1.20m 32mFetching cucumber 1.3.170m 32mInstalling cucumber 1.3.170m GemWrappers: Can not wrap missing file: cucumber 32mFetching jaro_winkler 1.5.20m 32mInstalling jaro_winkler 1.5.2 with native extensions0m 32mFetching liquid 4.0.10m 32mInstalling liquid 4.0.10m 32mFetching mini_mime 1.0.10m 32mInstalling mini_mime 1.0.10m 32mFetching mail 2.7.10m 32mInstalling mail 2.7.10m 32mFetching method_source 0.9.20m 32mInstalling method_source 0.9.20m 32mFetching proxifier 1.0.30m 32mInstalling proxifier 1.0.30m GemWrappers: Can not wrap missing file: pirb GemWrappers: Can not wrap missing file: pruby 32mFetching net-smtp-proxy 2.0.00m 32mInstalling net-smtp-proxy 2.0.00m 32mFetching parallel 1.14.00m 32mInstalling parallel 1.14.00m 32mFetching parser 2.6.2.00m 32mInstalling parser 2.6.2.00m GemWrappers: Can not wrap missing file: ruby-parse GemWrappers: Can not wrap missing file: ruby-rewrite 32mFetching powerpack 0.1.20m 32mInstalling powerpack 0.1.20m 32mFetching thor 0.20.30m 32mInstalling thor 0.20.30m GemWrappers: Can not wrap missing file: thor 32mFetching railties 5.2.2.10m 32mInstalling railties 5.2.2.10m GemWrappers: Can not wrap missing file: rails Using rainbow 3.0.0 32mFetching rdoc 4.2.00m 32mInstalling rdoc 4.2.00m 32mFetching redcarpet 3.4.00m 32mInstalling redcarpet 3.4.0 with native extensions0m GemWrappers: Can not wrap missing file: redcarpet 32mFetching rspec-support 3.1.20m 32mInstalling rspec-support 3.1.20m 32mFetching rspec-core 3.1.70m 32mInstalling rspec-core 3.1.70m GemWrappers: Can not wrap missing file: rspec 32mFetching rspec-expectations 3.1.20m 32mInstalling rspec-expectations 3.1.20m 32mFetching rspec-mocks 3.1.30m 32mInstalling rspec-mocks 3.1.30m 32mFetching rspec-rails 3.1.00m 32mInstalling rspec-rails 3.1.00m 32mFetching ruby-progressbar 1.10.00m 32mInstalling ruby-progressbar 1.10.00m 32mFetching unicode-display_width 1.4.10m 32mInstalling unicode-display_width 1.4.10m 32mFetching rubocop 0.61.00m 32mInstalling rubocop 0.61.00m GemWrappers: Can not wrap missing file: rubocop 32mFetching rubocop-rspec 1.31.00m 32mInstalling rubocop-rspec 1.31.00m 32mFetching slop 4.6.20m 32mInstalling slop 4.6.20m 32mFetching uuidtools 2.1.50m 32mInstalling uuidtools 2.1.50m Using rumble 1.0.snapshot from source at `.` GemWrappers: Can not wrap missing file: rumble 32mBundle complete! 9 Gemfile dependencies, 59 gems now installed.0m 32mUse `bundle info [gemname]` to see where a bundled gem is installed.0m 32mPost-install message from i18n:0m HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 32mPost-install message from rdoc:0m Depending on your version of ruby, you may need to install ruby rdoc/ri data: <= 1.8.6 : unsupported = 1.8.7 : gem install rdoc-data; rdoc-data --install = 1.9.1 : gem install rdoc-data; rdoc-data --install >= 1.9.2 : nothing to do! Yay! + rake /home/r/.ruby/gems/minitest-5.5.0/lib/minitest/assertions.rb:413: warning: mismatched indentations at 'ensure' with 'begin' at 404 /home/r/.ruby/gems/minitest-5.5.0/lib/minitest/assertions.rb:452: warning: mismatched indentations at 'ensure' with 'begin' at 437 /home/r/.ruby/gems/uuidtools-2.1.5/lib/uuidtools.rb:530: warning: assigned but unused variable - os_class /home/r/.ruby/gems/redcarpet-3.4.0/lib/redcarpet/compat.rb:1: warning: /home/r/.ruby/gems/redcarpet-3.4.0/lib/redcarpet/compat.rb:1: warning: loading in progress, circular require considered harmful - /home/r/.ruby/gems/redcarpet-3.4.0/lib/redcarpet.rb from /home/r/.ruby/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:4:in `<main>' from /home/r/.ruby/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:4:in `select' from /home/r/.ruby/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:15:in `block in <main>' from /home/r/.ruby/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:15:in `require' from /home/r/repo/test/test__helper.rb:33:in `<top (required)>' from /home/r/repo/test/test__helper.rb:33:in `require_relative' from /home/r/repo/lib/rumble.rb:27:in `<top (required)>' from /home/r/repo/lib/rumble.rb:27:in `require' from /home/r/.ruby/gems/redcarpet-3.4.0/lib/redcarpet.rb:2:in `<top (required)>' from /home/r/.ruby/gems/redcarpet-3.4.0/lib/redcarpet.rb:2:in `require' from /home/r/.ruby/gems/redcarpet-3.4.0/lib/redcarpet/compat.rb:1:in `<top (required)>' from /home/r/.ruby/gems/redcarpet-3.4.0/lib/redcarpet/compat.rb:1:in `require' Run options: --seed 51468 # Running: Sending 1 email(s) as Yegor Bugayenko <yegor256@gmail.com> Sending to test@yegor256.com test@yegor256.com <test@yegor256.com>... /home/r/repo/lib/rumble.rb:87: warning: instance variable @options not initialized /home/r/repo/lib/rumble.rb:89: warning: instance variable @options not initialized /home/r/.ruby/gems/mail-2.7.1/lib/mail/parsers/content_type_parser.rb:939: warning: statement not reached /home/r/.ruby/gems/mail-2.7.1/lib/mail/parsers/content_type_parser.rb:963: warning: statement not reached /home/r/.ruby/gems/mail-2.7.1/lib/mail/parsers/content_type_parser.rb:709: warning: assigned but unused variable - testEof 32mdone0m #1 Processed 1 emails 32m.0m Finished in 0.153581s, 6.5112 runs/s, 0.0000 assertions/s. 1 runs, 0 assertions, 0 failures, 0 errors, 0 skips Coverage report generated for Unit Tests to /home/r/repo/coverage. 61 / 73 LOC (83.56%) covered. /usr/local/rvm/rubies/ruby-2.6.0/bin/ruby -S bundle exec cucumber /home/r/.ruby/gems/cucumber-1.3.17/lib/cucumber/ast/step.rb:80: warning: circular argument reference - name Using the default profile... Feature: Command Line Processing As a newsletter author I want to be able to send a newsletter Scenario: Help can be printed90m # features/cli.feature:40m 32mWhen I run bin/rumble with "32m1m--help0m0m32m"90m # features/step_definitions/steps.rb:520m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:680m0m 32mAnd Stdout contains "32m1m--help0m0m32m"90m # features/step_definitions/steps.rb:580m0m Scenario: Version can be printed90m # features/cli.feature:90m 32mWhen I run bin/rumble with "32m1m--version0m0m32m"90m # features/step_definitions/steps.rb:520m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:680m0m Scenario: Sending test email90m # features/cli.feature:130m 32mGiven I have a "32m1ma.liquid0m0m32m" file with content:90m # features/step_definitions/steps.rb:450m0m 32m """0m 32m Hi, {{ first }}0m 32m How are you?0m 32m0m 32m """0m 32mWhen I run bin/rumble with "32m1m--test=yegor256@gmail.com --subject=test --letter=a.liquid --from=me@example.com --dry --resume=test@example.com0m0m32m"90m # features/step_definitions/steps.rb:520m0m 32mThen Stdout contains "32m1mProcessed 1 email0m0m32m"90m # features/step_definitions/steps.rb:580m0m 32mAnd Exit code is zero90m # features/step_definitions/steps.rb:680m0m 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:880m0m 32mGiven I have a "32m1mexecs.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:450m0m 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/test20190321-23336-174tqde/rumble/lib/rumble/version.rb:28: warning: already initialized constant Rumble::VERSION /home/r/repo/lib/rumble/version.rb:28: warning: previous definition of VERSION was here 32mWhen I run bash with:90m # features/step_definitions/steps.rb:820m0m 32m """0m 32m cd rumble0m 32m gem build rumble.gemspec0m 32m gem specification --ruby rumble-*.gem > ../spec.rb0m 32m cd ..0m 32m ruby execs.rb0m 32m """0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:680m0m 4 scenarios (32m4 passed0m) 13 steps (32m13 passed0m) 0m2.374s Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 61 / 73 LOC (83.56%) covered. Running RuboCop... Inspecting 9 files 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m 9 files inspected, 32mno offenses0m detected grep -q -r '2019' --include '*.rb' --include '*.txt' --include 'Rakefile' . + rm -rf '*.gem' + sed -i 's/1\.0\.snapshot/0.5.1/g' lib/rumble/version.rb + git add lib/rumble/version.rb + git commit -m 'version set to 0.5.1' [__rultor 315a9f6] version set to 0.5.1 1 file changed, 1 insertion(+), 1 deletion(-) + gem build rumble.gemspec Successfully built RubyGem Name: rumble Version: 0.5.1 File: rumble-0.5.1.gem + chmod 0600 ../rubygems.yml + gem push rumble-0.5.1.gem --config-file ../rubygems.yml Pushing gem to https://rubygems.org... Successfully registered gem: rumble (0.5.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.5.1 -m '0.5.1: tagged by rultor.com' + git reset --hard HEAD is now at 315a9f6 version set to 0.5.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 315a9f6). + git push --all origin Everything up-to-date + git push --tags origin To git@github.com:yegor256/rumble.git * [new tag] 0.5.1 -> 0.5.1 container c6b46d1d033d6e92181508513ba5267b94fc0124e1f6335d3da8e26f1edbf182 is dead Thu Mar 21 17:25:48 CET 2019