Skip to content

Commit

Permalink
Use Gemfile instead of Gem::Specification#add_development_dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Oct 19, 2023
1 parent 5826e12 commit ed49920
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

# Specify your gem's dependencies in ostruct.gemspec
gemspec

group :development do
gem "bundler"
gem "rake"
gem "test-unit"
end
4 changes: 0 additions & 4 deletions ostruct.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,4 @@ Gem::Specification.new do |spec|

spec.files = [".gitignore", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/ostruct.rb", "ostruct.gemspec"]
spec.require_paths = ["lib"]

spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
spec.add_development_dependency "test-unit"
end

0 comments on commit ed49920

Please sign in to comment.