Linted gemfile and gemspec

This commit is contained in:
Saf 2020-08-30 11:04:22 -07:00
parent afb78e4c0d
commit 40dd755c55
2 changed files with 17 additions and 14 deletions

View File

@ -2,5 +2,3 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in n65.gemspec
gemspec
Gem 'mintest'

View File

@ -1,23 +1,28 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
# frozen-string-literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'n65/version'
Gem::Specification.new do |spec|
spec.name = "n65"
spec.name = 'n65'
spec.version = N65::VERSION
spec.authors = ["Safiire"]
spec.email = ["safiire@irkenkitties.com"]
spec.summary = %q{An NES assembler for the 6502 microprocessor written in Ruby}
spec.description = %q{An NES assembler for the 6502 microprocessor written in Ruby}
spec.homepage = "http://github.com/safiire/n65"
spec.license = "GPL2"
spec.authors = ['Safiire']
spec.email = ['safiire@irkenkitties.com']
spec.summary = 'An NES assembler for the 6502 microprocessor'
spec.description = 'An NES assembler for the 6502 microprocessor'
spec.homepage = 'http://github.com/safiire/n65'
spec.license = 'GPL2'
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.require_paths = ['lib']
spec.add_development_dependency "bundler", "~> 1.7"
spec.add_development_dependency "rake", "~> 10.0"
spec.required_ruby_version = '>= 2.4.0'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'minitest'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rubocop'
end