Skip to content

Commit

Permalink
improve: Updated gemspec (#75)
Browse files Browse the repository at this point in the history
General cleanup of the Gemfile and gemspec.
  • Loading branch information
jylamont authored Apr 18, 2024
1 parent 306d7a9 commit 7d357cc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 22 deletions.
9 changes: 6 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ source 'http://rubygems.org'

gemspec

group :development, :test do
group :development do
gem 'rubocop'

gem 'delayed_job', '~> 3.0.0'
gem 'delayed_job_active_record'
gem 'rails', '~> 3.0'
Expand All @@ -13,5 +15,6 @@ group :development, :test do
gem 'sucker_punch', '~> 2.1.2'
end

gem 'rspec', group: :test
gem 'rubocop', group: :development
group :test do
gem 'rspec'
end
36 changes: 17 additions & 19 deletions vero.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,24 @@
$LOAD_PATH.push('lib')
require 'vero/version'

Gem::Specification.new do |s|
s.name = 'vero'
s.version = Vero::VERSION.dup
s.date = Time.now.strftime('%Y-%m-%d')
s.summary = 'Ruby gem for Vero'
s.email = '[email protected]'
s.homepage = 'http://www.getvero.com/'
s.authors = ['James Lamont']
Gem::Specification.new do |spec|
spec.name = 'vero'
spec.version = Vero::VERSION.dup
spec.date = Time.now.strftime('%Y-%m-%d')
spec.authors = ['James Lamont']
spec.email = ['[email protected]']

s.add_runtime_dependency 'json'
s.add_runtime_dependency 'rest-client'
spec.summary = 'Ruby gem for Vero'
spec.description = 'Ruby gem for Vero'
spec.homepage = 'http://www.getvero.com/'

s.files = Dir['**/*']
s.test_files = Dir['test/**/*'] + Dir['spec/**/*']
s.executables = Dir['bin/*'].map { |f| File.basename(f) }
s.require_paths = ['lib']
spec.files = Dir['**/*']
spec.test_files = Dir['test/**/*'] + Dir['spec/**/*']
spec.executables = Dir['bin/*'].map { |f| File.basename(f) }
spec.require_paths = ['lib']

## Make sure you can build the gem on older versions of RubyGems too:
s.rubygems_version = '1.8.23'
s.required_ruby_version = '>= 2.4.0'
s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
s.specification_version = 3 if s.respond_to? :specification_version
spec.required_ruby_version = '>= 2.6.6'

spec.add_runtime_dependency 'json'
spec.add_runtime_dependency 'rest-client'
end

0 comments on commit 7d357cc

Please sign in to comment.