[AUTOPATCHER-CORE] Upgrade rubygem-mocha to 2.1.0 azl3.0 (#7952)

Co-authored-by: rikenm1 <rmaharjan@microsoft.com>
This commit is contained in:
CBL-Mariner-Bot 2024-02-23 11:18:27 -08:00 коммит произвёл GitHub
Родитель 3c9e607a32
Коммит 3ec797cca1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
4 изменённых файлов: 11 добавлений и 29 удалений

Просмотреть файл

@ -1,20 +0,0 @@
diff -ruN a/mocha.gemspec b/mocha.gemspec
--- a/mocha.gemspec 2021-06-25 06:50:55.000000000 -0700
+++ b/mocha.gemspec 2022-04-21 16:39:36.331306234 -0700
@@ -40,16 +40,8 @@
s.add_development_dependency 'rake'
end
- s.add_development_dependency('introspection', '~> 0.0.1')
if RUBY_VERSION >= '2.2.0'
# No test libraries in standard library
s.add_development_dependency('minitest')
end
- if RUBY_VERSION >= '2.2.0'
- s.add_development_dependency('rubocop', '<= 0.58.2')
- end
- if ENV['MOCHA_GENERATE_DOCS']
- s.add_development_dependency('redcarpet')
- s.add_development_dependency('yard')
- end
end

Просмотреть файл

@ -1,5 +1,5 @@
{
"Signatures": {
"mocha-1.13.0.tar.gz": "a64343339f987b5bfd98eb23a21c0d0ff55c561eb66fd4892340fd6ce023b5f0"
}
}
"Signatures": {
"mocha-2.1.0.tar.gz": "c654fcf8df41a60fe25ee374bc8cc052d40f44419a0a001bc054483c76075ac8"
}
}

Просмотреть файл

@ -1,15 +1,14 @@
%global gem_name mocha
Summary: Mocking and stubbing library
Name: rubygem-mocha
Version: 1.13.0
Release: 4%{?dist}
Version: 2.1.0
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Azure Linux
Group: Development/Languages
URL: https://mocha.jamesmead.org/
Source0: https://github.com/freerange/mocha/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
Patch0: remove-missing-devdeps.patch
BuildRequires: git
BuildRequires: ruby
Provides: rubygem(mocha) = %{version}-%{release}
@ -38,6 +37,9 @@ cp COPYING.md %{buildroot}%{gem_instdir}/
%{gemdir}
%changelog
* Tue Feb 20 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 2.1.0-1
- Auto-upgrade to 2.1.0 - azl3.0
* Thu Apr 21 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.13.0-4
- Cleanup

Просмотреть файл

@ -26245,8 +26245,8 @@
"type": "other",
"other": {
"name": "rubygem-mocha",
"version": "1.13.0",
"downloadUrl": "https://github.com/freerange/mocha/archive/refs/tags/v1.13.0.tar.gz"
"version": "2.1.0",
"downloadUrl": "https://github.com/freerange/mocha/archive/refs/tags/v2.1.0.tar.gz"
}
}
},