Skip to content

Commit 869cf6f

Browse files
Merge pull request #26 from hebron-george/gemspec_hygiene
2 parents 7fb7e6b + c6374ab commit 869cf6f

3 files changed

Lines changed: 8 additions & 12 deletions

File tree

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
open_fda_api (0.0.13)
4+
open_fda_api (0.1.0)
55
faraday (~> 2.0)
66

77
GEM

lib/open_fda_api/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module OpenFdaApi
4-
VERSION = "0.0.13"
4+
VERSION = "0.1.0"
55
end

open_fda_api.gemspec

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,23 @@ Gem::Specification.new do |spec|
99
spec.email = ["hebrontgeorge@gmail.com"]
1010

1111
spec.summary = "Ruby wrapper for the openFDA API: https://open.fda.gov/apis/"
12+
spec.description = "A Ruby gem for interacting with the openFDA API, providing access to drugs, " \
13+
"devices, food, tobacco, animal & veterinary, and other FDA datasets."
1214
spec.homepage = "https://github.com/hebron-george/open_fda_api"
1315
spec.license = "MIT"
1416
spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0")
1517

16-
spec.metadata["homepage_uri"] = spec.homepage
17-
spec.metadata["source_code_uri"] = spec.homepage
18-
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
18+
spec.metadata["homepage_uri"] = spec.homepage
19+
spec.metadata["source_code_uri"] = spec.homepage
20+
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
21+
spec.metadata["rubygems_mfa_required"] = "true"
1922

20-
# Specify which files should be added to the gem when it is released.
21-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
2223
spec.files = Dir.chdir(File.expand_path(__dir__)) do
2324
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
2425
end
2526
spec.bindir = "exe"
2627
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
2728
spec.require_paths = ["lib"]
2829

29-
# Uncomment to register a new dependency of your gem
3030
spec.add_dependency "faraday", "~> 2.0"
31-
32-
# For more information and examples about making a new gem, checkout our
33-
# guide at: https://bundler.io/guides/creating_gem.html
34-
spec.metadata["rubygems_mfa_required"] = "true"
3531
end

0 commit comments

Comments
 (0)