1
0
mirror of https://github.com/safiire/n65.git synced 2024-06-11 07:29:27 +00:00

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 # Specify your gem's dependencies in n65.gemspec
gemspec gemspec
Gem 'mintest'

View File

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