Skip to content

Commit

Permalink
Fix gemspec dev dependencies (#90)
Browse files Browse the repository at this point in the history
* Fix gemspec dev dependencies

* Cleanup gemfile
  • Loading branch information
Kevin Formsma committed Apr 21, 2021
1 parent c595f34 commit 4c6e96a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .rubocop.yml
@@ -1,5 +1,7 @@
---
AllCops:
Exclude:
- 'spec/**/*'
TargetRubyVersion: 2.5
# Not going to use a Rails gem for this, disable until
# Ruby 2.3+
Expand Down
5 changes: 0 additions & 5 deletions Gemfile
@@ -1,8 +1,3 @@
source 'https://rubygems.org'

gemspec

group :test do
gem 'rspec'
gem 'simplecov'
end
6 changes: 4 additions & 2 deletions Gemfile.lock
Expand Up @@ -18,6 +18,7 @@ GEM
ast (~> 2.4.0)
psych (3.1.0)
rainbow (3.0.0)
rake (13.0.3)
rspec (3.9.0)
rspec-core (~> 3.9.0)
rspec-expectations (~> 3.9.0)
Expand Down Expand Up @@ -52,9 +53,10 @@ PLATFORMS

DEPENDENCIES
cfn-model!
rspec
rake
rspec (~> 3.4)
rubocop
simplecov
simplecov (~> 0.11)

BUNDLED WITH
2.2.3
9 changes: 5 additions & 4 deletions cfn-model.gemspec
@@ -1,5 +1,3 @@
require 'rake'

Gem::Specification.new do |s|
s.name = 'cfn-model'
s.license = 'MIT'
Expand All @@ -16,13 +14,16 @@ Gem::Specification.new do |s|
'homepage_uri' => s.homepage,
'source_code_uri' => "#{s.homepage}/tree/v#{s.version}",
}
s.files = FileList[ 'lib/**/*.rb', 'lib/**/*.yml', 'lib/**/*.erb']
s.files = Dir.glob([ 'lib/**/*.rb', 'lib/**/*.yml', 'lib/**/*.erb'])

s.require_paths << 'lib'

s.required_ruby_version = '>= 2.5.0'

s.add_development_dependency 'rubocop'
s.add_development_dependency('rake')
s.add_development_dependency('rspec', '~> 3.4')
s.add_development_dependency('rubocop')
s.add_development_dependency('simplecov', '~> 0.11')

s.add_runtime_dependency('kwalify', '0.7.2')
s.add_runtime_dependency('psych', '~> 3')
Expand Down

0 comments on commit 4c6e96a

Please sign in to comment.