Skip to content

Commit

Permalink
Merge pull request #95 from ruby/improve-ci
Browse files Browse the repository at this point in the history
Improve CI and gemspec
  • Loading branch information
hsbt authored Oct 20, 2023
2 parents 9dacd2c + ac911ea commit 66ca410
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 1,213 deletions.
9 changes: 7 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

gemspec

group :development do
gem "bundler"
gem "rake"
gem "test-unit"
gem "test-unit-ruby-core"
end
7 changes: 0 additions & 7 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,4 @@ task "gh-pages" => :rdoc do
FileUtils.cp_r Dir.glob("/tmp/html/*"), "."
end

task :sync_tool do
require 'fileutils'
FileUtils.cp "../ruby/tool/lib/core_assertions.rb", "./test/lib"
FileUtils.cp "../ruby/tool/lib/envutil.rb", "./test/lib"
FileUtils.cp "../ruby/tool/lib/find_executable.rb", "./test/lib"
end

task :default => :test
6 changes: 1 addition & 5 deletions logger.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,5 @@ Gem::Specification.new do |spec|
spec.files = Dir.glob("lib/**/*.rb") + ["logger.gemspec"]
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.3.0"

spec.add_development_dependency "bundler", ">= 0"
spec.add_development_dependency "rake", ">= 12.3.3"
spec.add_development_dependency "test-unit"
spec.required_ruby_version = ">= 2.5.0"
end
Loading

0 comments on commit 66ca410

Please sign in to comment.