f38
Mamoru TASAKA 5 years ago
parent 3c54a6862b
commit 693cff7f95

1
.gitignore vendored

@ -10,3 +10,4 @@
/aruba-0.14.7.gem
/aruba-0.14.8.gem
/aruba-0.14.9.gem
/aruba-0.14.11.gem

@ -3,8 +3,8 @@
Summary: CLI Steps for Cucumber, hand-crafted for you in Aruba
Name: rubygem-%{gem_name}
Version: 0.14.9
Release: 2%{?dist}
Version: 0.14.11
Release: 1%{?dist}
# aruba itself is MIT
# icons in templates/images are CC-BY
# jquery.js itself is MIT or GPLv2
@ -93,19 +93,15 @@ sed -i features/support/env.rb \
sed -i fixtures/cli-app/spec/spec_helper.rb \
-e "\@\$LOAD_PATH@s|\.\./\.\./lib|$(pwd)/lib|"
# zsh?? I don't use it. Just use echo -e
sed -i features/steps/command/shell.feature \
-e 's|zsh|bash|' \
-e '\@echo.*Hello.*c@s|echo|echo -e|'
# /usr/bin/python is reporting deprecation warning :/
# No need to modify @requires-python (in run_commands.feature and hooks.rb)
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
@ -116,10 +112,10 @@ sed -i Rakefile \
%{nil}
# Adjust test cases referring to $HOME.
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)/|"
# Make the Aruba always awailable.
@ -146,6 +142,9 @@ popd
%{gem_instdir}/templates/
%changelog
* Sat Aug 17 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.11-1
- 0.14.11
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

@ -1 +1 @@
SHA512 (aruba-0.14.9.gem) = a8d66080b16a38dc1ebc00507b5778c5e94081592577a0cd52503ccbbfeb27948266f13d19811d55a571f8601f240969a4a9c0cf731466d53624f08f1134fc89
SHA512 (aruba-0.14.11.gem) = 4026733c5872f675fa011660320bde76f5170888ee9330d7548adbaa90fc480fe5127a752a621dfe9d0330557744839492d8755ea3f0f4e8321ee99a940af3b4

Loading…
Cancel
Save