Skip to content

Commit

Permalink
build: update gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoGabriel55 committed Aug 17, 2024
1 parent cda86c5 commit 5994693
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 16 deletions.
6 changes: 0 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,4 @@ source "https://rubygems.org"
# Specify your gem's dependencies in sinatra-scaffold.gemspec
gemspec

gem "rake", "~> 13.0"

gem "rspec", "~> 3.0"

gem "standard", "~> 1.3"

gem "thor", "~> 1.3"
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ PATH
remote: .
specs:
sinatra-scaffold (0.1.0)
thor (~> 1.3)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -76,7 +77,6 @@ DEPENDENCIES
rspec (~> 3.0)
sinatra-scaffold!
standard (~> 1.3)
thor (~> 1.3)

BUNDLED WITH
2.5.17
2 changes: 1 addition & 1 deletion lib/sinatra_scaffold/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def app
RUBY

File.write("#{app_name}/README.md", <<~RUBY)
# #{app_name}
# #{app_name}
My Sinatra application
Expand Down
20 changes: 12 additions & 8 deletions sinatra-scaffold.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,28 @@ Gem::Specification.new do |spec|
spec.email = ["joaoGabriel55"]

spec.summary = "Scaffold for Sinatra applications"
spec.description = "Scaffold for Sinatra applications"
spec.description = "Ruby gem to make more easy the getting start of web app development with Sinatra gem"
spec.homepage = "https://github.com/joaoGabriel55/sinatra-scaffold"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.0.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"] = "https://github.com/joaoGabriel55/sinatra-scaffold"
spec.metadata["changelog_uri"] = "https://github.com/joaoGabriel55/sinatra-scaffold/blob/main/CHANGELOG.md"
if spec.respond_to?(:metadata)
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
end

spec.files = Dir["*.md", "bin/*", "lib/**/*.rb"]
spec.executables = ["sinatra-scaffold"]
spec.require_paths = ["lib"]

# Uncomment to register a new dependency of your gem
# spec.add_runtime_dependency 'thor', '~> 1.3'
# spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency "standard", "~> 1.3"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 1.3"
spec.add_dependency "thor", "~> 1.3"

# 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 5994693

Please sign in to comment.