Skip to content

Commit

Permalink
Fix: specify dev dependencies only in Gemfile (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
JorgeGarciaxyz authored Oct 20, 2023
1 parent c4368e5 commit 9d83d13
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ source "https://rubygems.org"
# Specify your gem's dependencies in slither.gemspec
gemspec

gem "bundler"
gem "pry"
gem "rake", "~> 13.0"

gem "rspec", "~> 3.0"

gem "rubocop", "~> 1.21"
gem "rubocop-rspec", "~> 2.22.0", require: false
3 changes: 2 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ GEM
parallel (1.22.1)
parser (3.2.0.0)
ast (~> 2.4.1)
pry (0.14.1)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
rainbow (3.1.1)
Expand Down Expand Up @@ -61,6 +61,7 @@ PLATFORMS
ruby

DEPENDENCIES
bundler
pry
rake (~> 13.0)
rspec (~> 3.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/slither/column.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'date'
require "date"

module Slither
class ParserError < RuntimeError; end
Expand Down
7 changes: 2 additions & 5 deletions slither.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
spec.license = "MIT"
spec.required_ruby_version = ">= 3.0.0"

spec.homepage = "https://github.com/JorgeGarciaxyz/slither"
spec.homepage = "https://github.com/ryanwood/slither"

# 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 @@ -23,10 +23,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

# Uncomment to register a new dependency of your gem
spec.add_development_dependency "pry"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "rubocop", "2.6"
spec.metadata["rubygems_mfa_required"] = "true"

# 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 9d83d13

Please sign in to comment.