Compare commits
No commits in common. "31da5e34d7cfe9ee1be1456ef2a5d966fbba9c65" and "6564def5be741111e2fa22cb4f1b5338f335807d" have entirely different histories.
31da5e34d7
...
6564def5be
@ -1,36 +0,0 @@
|
|||||||
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.
@ -1,77 +0,0 @@
|
|||||||
%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
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
git_url: https://github.com/CapnKernul/minitest-reporters.git
|
|
||||||
version_control: github
|
|
||||||
src_repo: CapnKernul/minitest-reporters
|
|
||||||
tag_prefix: "^v"
|
|
||||||
seperator: "."
|
|
||||||
Loading…
x
Reference in New Issue
Block a user