Skip to content

Commit

Permalink
Move the development dependencies specifications into .gemspec
Browse files Browse the repository at this point in the history
This allows broader eccosystem to benefit from the dependencies, such as
rubygems.org will properly report, that there is some library using
"test-unit-ruby-core".
  • Loading branch information
voxik committed Aug 4, 2023
1 parent f83eeda commit 495c327
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 1 addition & 6 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
source "https://rubygems.org"

group :development do
gem "rake", "13.0.6"
gem "rake-compiler", "1.2.3"
gem "test-unit", "3.6.1"
gem "test-unit-ruby-core", "1.0.1"
end
gemspec
3 changes: 3 additions & 0 deletions racc.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,8 @@ DESC
s.extensions = ["ext/racc/cparse/extconf.rb"]
end

s.add_development_dependency("rake")
s.add_development_dependency("rake-compiler", ">= 0.4.1")
s.add_development_dependency("test-unit")
s.add_development_dependency("test-unit-ruby-core")
end

0 comments on commit 495c327

Please sign in to comment.