Skip to content

Commit

Permalink
Move dev deps to gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysonvirissimo committed Apr 28, 2024
1 parent 666f8d5 commit 1b49e5c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 0 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,3 @@ source "https://rubygems.org"

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

gem "i18n"
gem "rake", "~> 12.0"
gem "rspec", "~> 3.0"
gem "builder", group: [:development, :test]
gem "standard", group: [:development, :test]
1 change: 0 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ PLATFORMS

DEPENDENCIES
builder
i18n
medieval_latina!
rake (~> 12.0)
rspec (~> 3.0)
Expand Down
3 changes: 3 additions & 0 deletions lib/medieval_latina/lexicon_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ def call

private

# A lexicon name can have up to 20 characters.
# Valid characters: a-z, A-Z, and 0-9.

def write_file(content, index)
File.write("lexicons/MedivalLatinaLexicon#{index}.pls", content)
end
Expand Down
4 changes: 4 additions & 0 deletions medieval_latina.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,8 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency "i18n"
spec.add_development_dependency "rake", "~> 12.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "builder"
spec.add_development_dependency "standard"
end

0 comments on commit 1b49e5c

Please sign in to comment.