Skip to content

Commit 5e710e0

Browse files
committed
+ Reverting any changes made to gemspec file and README.md
1 parent 27d179a commit 5e710e0

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

generator/cybersource_ruby_sdk_gen.bat

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,17 @@ powershell -Command "(Get-Content ..\lib\cybersource_rest_client\api\search_tran
2929
REM to change accept type header
3030
powershell -Command "(Get-Content ..\lib\cybersource_rest_client\api\secure_file_share_api.rb) | ForEach-Object { $_ -replace 'select_header_content_type\(\[''application/json;charset=utf-8', 'select_header_content_type([''*/*' } | Set-Content ..\lib\cybersource_rest_client\api\secure_file_share_api.rb"
3131

32+
REM to rename long file name
33+
34+
del ..\lib\cybersource_rest_client\models\ptsv2payments_merchant_initiated_transaction.rb
35+
del ..\lib\cybersource_rest_client\models\tmsv1instrumentidentifiers_merchant_initiated_transaction.rb
36+
del ..\docs\Ptsv2paymentsMerchantInitiatedTransaction.md
37+
del ..\docs\Tmsv1instrumentidentifiersMerchantInitiatedTransaction.md
38+
del ..\spec\models\ptsv2payments_merchant_initiated_transaction_spec.rb
39+
del ..\spec\models\tmsv1instrumentidentifiers_merchant_initiated_transaction_spec.rb
40+
3241
powershell -Command " rename-item -Path ..\lib\cybersource_rest_client\models\ptsv2payments_processing_information_authorization_options_initiator_merchant_initiated_transaction.rb -newname ptsv2payments_merchant_initiated_transaction.rb"
3342

34-
REM to rename long file name
3543
powershell -Command " rename-item -Path ..\lib\cybersource_rest_client\models\tmsv1instrumentidentifiers_processing_information_authorization_options_initiator_merchant_initiated_transaction.rb -newname tmsv1instrumentidentifiers_merchant_initiated_transaction.rb"
3644

3745
powershell -Command " rename-item -Path ..\docs\Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md -newname Ptsv2paymentsMerchantInitiatedTransaction.md"
@@ -50,5 +58,9 @@ powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEach-O
5058
cd ..\lib\cybersource_rest_client\api
5159
powershell -Command "&{$configFiles = Get-ChildItem . *.rb -rec; foreach ($file in $configFiles){ (Get-Content $file.PSPath) | Foreach-Object { $_ -replace 'local_var_path = ''/', 'local_var_path = '''} | Set-Content $file.PSPath }}"
5260

61+
cd %~dp0\..
62+
63+
git checkout README.md
64+
git checkout cybersource_rest_client.gemspec
5365

5466
pause

0 commit comments

Comments
 (0)