Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
31da5e34d7
!4 Upgrade version to 1.6.1
From: @cherry530 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-11-22 03:41:40 +00:00
cherry530
fc806cf752 Upgrade version to 1.6.1
Signed-off-by: cherry530 <707078654@qq.com>
2023-11-22 11:03:40 +08:00
openeuler-ci-bot
1f338043a8 !3 rubygem-minitest-reporters delete -S git from %autosetup, and delete BuildRequires git
From: @chenyanpanHW
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
2021-08-11 09:32:50 +00:00
chenyanpanHW
2bf90e9e28
delete -S git from %autosetup, and delete BuildRequires git 2021-07-30 23:32:37 +08:00
openeuler-ci-bot
1df5ce1bf0 !2 delete spec_prep_plus.sh file
Merge pull request !2 from lyn/master
2020-09-08 16:59:02 +08:00
lyn1001
8d81bb9729 delete spec_prep_plus.sh file 2020-09-08 16:11:26 +08:00
lyn1001
0f832ccdd3 delete spec_prep_plus.sh file 2020-09-08 16:08:50 +08:00
openeuler-ci-bot
74dc7bed8f !1 Package init
Merge pull request !1 from lyn/master
2020-08-24 14:15:01 +08:00
lyn1001
ca2bb28a27 package init 2020-08-24 09:47:30 +08:00
lyn1001
47f2394ce8 package init 2020-08-21 14:35:34 +08:00
4 changed files with 118 additions and 0 deletions

View File

@ -0,0 +1,36 @@
diff --git a/Rakefile b/Rakefile
index df9276b..8a309c6 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,6 +1,5 @@
require "bundler/gem_tasks"
require "rake/testtask"
-require 'rubocop/rake_task'
task :default => :test
Rake::TestTask.new do |t|
@@ -59,12 +58,3 @@ task :reset_statistics do
puts "The mean time reporter statistics have been reset."
exit 0
end
-
-desc 'Run RuboCop on the lib directory'
-RuboCop::RakeTask.new(:rubocop) do |task|
- task.patterns = ['lib/**/*.rb']
- # only show the files with failures
- task.formatters = ['clang']
- # don't abort rake on failure
- task.fail_on_error = false
-end
diff --git a/minitest-reporters.gemspec b/minitest-reporters.gemspec
index 535215d..f36cda6 100644
--- a/minitest-reporters.gemspec
+++ b/minitest-reporters.gemspec
@@ -22,7 +22,6 @@ Gem::Specification.new do |s|
s.add_development_dependency 'maruku'
s.add_development_dependency 'rake'
- s.add_development_dependency 'rubocop'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")

Binary file not shown.

View File

@ -0,0 +1,77 @@
%global gem_name minitest-reporters
Name: rubygem-%{gem_name}
Version: 1.6.1
Release: 1
Summary: Create customizable Minitest output formats
License: MIT
URL: https://github.com/CapnKernul/minitest-reporters
Source0: https://rubygems.org/gems/minitest-reporters-%{version}.gem
Patch0: 00-disable-rubocop-tests.patch
BuildRequires: ruby(release) rubygems-devel ruby >= 1.9.3
BuildRequires: rubygem(ansi) rubygem(builder) rubygem(bundler) rubygem(maruku)
BuildRequires: rubygem(minitest) rubygem(rake) rubygem(ruby-progressbar)
BuildArch: noarch
%description
Death to haphazard monkey-patching! Extend Minitest through simple hooks.
%package help
Summary: Documentation for %{name}
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
%description help
Documentation for %{name}.
%prep
%autosetup -n %{gem_name}-%{version} -p1
%build
gem build ../%{gem_name}-%{version}.gemspec
%gem_install
%install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/
%check
pushd .%{gem_instdir}
ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' || :
popd
%files
%license %{gem_instdir}/LICENSE
%dir %{gem_instdir}
%{gem_instdir}/.ruby-gemset
%{gem_instdir}/assets
%exclude %{gem_instdir}/appveyor.yml
%exclude %{gem_instdir}/.gitignore
%exclude %{gem_instdir}/.rubocop.yml
%exclude %{gem_instdir}/.yardopts
%exclude %{gem_instdir}/.github/workflows/ci.yml
%exclude %{gem_instdir}/.rubocop_todo.yml
%exclude %{gem_instdir}/minitest-reporters.gemspec
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
%files help
%doc %{gem_docdir}
%doc %{gem_instdir}/CHANGELOG.md
%doc %{gem_instdir}/README.md
%{gem_instdir}/Gemfile
%{gem_instdir}/Rakefile
%{gem_instdir}/test
%changelog
* Wed Nov 22 2023 xu_ping <707078654@qq.com> - 1.6.1-1
- Upgrade version to 1.6.1
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.3.8-3
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Tue Sep 8 2020 yanan li <liyanan032@huawei.com> - 1.3.8-2
- delete spec_prep_plus.sh file
* Mon Aug 24 2020 liyanan <liyanan32@huawei.com> - 1.3.8-1
- package init

View File

@ -0,0 +1,5 @@
git_url: https://github.com/CapnKernul/minitest-reporters.git
version_control: github
src_repo: CapnKernul/minitest-reporters
tag_prefix: "^v"
seperator: "."