upgrade 0.14.14
This commit is contained in:
parent
8e553ec67e
commit
4b6c7de7a8
BIN
aruba-0.14.14.gem
Normal file
BIN
aruba-0.14.14.gem
Normal file
Binary file not shown.
BIN
aruba-0.14.9.gem
BIN
aruba-0.14.9.gem
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
%global gem_name aruba
|
||||
Summary: CLI Steps for Cucumber, hand-crafted for you in Aruba
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 0.14.9
|
||||
Version: 0.14.14
|
||||
Release: 1
|
||||
License: MIT
|
||||
URL: https://github.com/cucumber/aruba
|
||||
@ -9,7 +9,7 @@ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release) rubygems-devel ruby rubygem(cucumber) >= 1.3.19
|
||||
BuildRequires: rubygem(childprocess) >= 0.5.6 rubygem(ffi) >= 1.9.10 rubygem(minitest)
|
||||
BuildRequires: rubygem(pry) rubygem(rspec) >= 3 rubygem(contracts) >= 0.9
|
||||
BuildRequires: rubygem(thor) >= 0.19 /usr/bin/python3
|
||||
BuildRequires: rubygem(thor) >= 0.19 /usr/bin/python3 ruby(irb)
|
||||
BuildArch: noarch
|
||||
%description
|
||||
Aruba is Cucumber extension for Command line applications written
|
||||
@ -62,28 +62,27 @@ sed -i features/support/env.rb \
|
||||
> features/support/simplecov_setup.rb
|
||||
sed -i fixtures/cli-app/spec/spec_helper.rb \
|
||||
-e "\@\$LOAD_PATH@s|\.\./\.\./lib|$(pwd)/lib|"
|
||||
sed -i features/steps/command/shell.feature \
|
||||
-e 's|zsh|bash|' \
|
||||
-e '\@echo.*Hello.*c@s|echo|echo -e|'
|
||||
if ! grep -q python3 features/steps/command/shell.feature
|
||||
then
|
||||
sed -i features/steps/command/shell.feature -e 's|python|python3|'
|
||||
sed -i features/steps/command/shell.feature -e "s|python'|python3'|"
|
||||
sed -i features/03_testing_frameworks/cucumber/steps/command/run_commands_which_require_a_shell.feature \
|
||||
-e 's|python|python3|'
|
||||
sed -i lib/aruba/generators/script_file.rb \
|
||||
-e '\@interpreter@s|A-Z|A-Z0-9|'
|
||||
sed -i features/getting_started/run_commands.feature \
|
||||
sed -i features/01_getting_started_with_aruba/run_commands.feature \
|
||||
-e '\@[^-]python@s|python|python3|'
|
||||
fi
|
||||
mv features/04_aruba_api/filesystem/report_disk_usage.feature{,.skip}
|
||||
sed -i Rakefile \
|
||||
-e '\@[Bb]undler@d' \
|
||||
-e 's|bundle exec ||' \
|
||||
%{nil}
|
||||
sed -i features/api/core/expand_path.feature -e "s|/home/\[\^/\]+|$(echo $HOME)|"
|
||||
sed -i features/configuration/home_directory.feature \
|
||||
sed -i features/04_aruba_api/core/expand_path.feature -e "s|/home/\[\^/\]+|$(echo $HOME)|"
|
||||
sed -i features/02_configure_aruba/home_directory.feature \
|
||||
-e "\@Scenario: Default value@,\@Scenario@s|/home/|$(echo $HOME)|"
|
||||
sed -i features/configuration/home_directory.feature \
|
||||
sed -i features/02_configure_aruba/home_directory.feature \
|
||||
-e "\@Set to aruba's working directory@,\@Scenario@s|/home/|$(echo $HOME)/|"
|
||||
RUBYOPT=-I$(pwd)/lib cucumber
|
||||
mv features/04_aruba_api/filesystem/report_disk_usage.feature{.skip,}
|
||||
popd
|
||||
|
||||
%files
|
||||
@ -105,5 +104,8 @@ popd
|
||||
%{gem_instdir}/templates/
|
||||
|
||||
%changelog
|
||||
* Tue Mar 29 liyanan <liyanan32@huawei.com> - 0.14.14-1
|
||||
- update to 0.14.14
|
||||
|
||||
* Wed Aug 19 2020 shenleizhao <shenleizhao@huawei.com> - 0.14.9-1
|
||||
- package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user