Skip to content

Commit

Permalink
Fill in what I know about the gemspec for now
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspth committed Apr 19, 2022
1 parent 7ffbdfe commit d9b2b01
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions activerecord-associated_object.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,19 @@
require_relative "lib/activerecord/associated_object/version"

Gem::Specification.new do |spec|
spec.name = "activerecord-associated_object"
spec.name = "activerecord-associated_object"
spec.version = Activerecord::AssociatedObject::VERSION
spec.authors = ["Kasper Timm Hansen"]
spec.email = ["kaspth@gmail.com"]
spec.email = ["hey@kaspth.com"]

spec.summary = "TODO: Write a short summary, because RubyGems requires one."
spec.description = "TODO: Write a longer description or delete this line."
spec.homepage = "TODO: Put your gem's website or public repo URL here."
spec.license = "MIT"
spec.required_ruby_version = ">= 2.6.0"
spec.summary = "Associate a PORO to an Active Record"
spec.homepage = "https://github.com/kaspth/activerecord-associated_object"
spec.license = "MIT"
spec.required_ruby_version = ">= 2.7.0"

spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"

spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"

# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
Expand All @@ -32,7 +29,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

# Uncomment to register a new dependency of your gem
# spec.add_dependency "example-gem", "~> 1.0"
spec.add_dependency "activerecord", ">= 6.1"

# For more information and examples about making a new gem, check out our
# guide at: https://bundler.io/guides/creating_gem.html
Expand Down

0 comments on commit d9b2b01

Please sign in to comment.