diff --git a/Gemfile b/Gemfile index 0aba4e8..ca124a6 100644 --- a/Gemfile +++ b/Gemfile @@ -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' @@ -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 diff --git a/vero.gemspec b/vero.gemspec index 6bb7cf4..bb75903 100644 --- a/vero.gemspec +++ b/vero.gemspec @@ -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 = 'support@getvero.com' - 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 = ['support@getvero.com'] - 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