qfill.gemspec in qfill-0.0.4 vs qfill.gemspec in qfill-0.1.0
- old
+ new
@@ -1,17 +1,18 @@
-# -*- encoding: 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 'qfill/version'
Gem::Specification.new do |gem|
- gem.name = "qfill"
+ gem.name = 'qfill'
gem.version = Qfill::VERSION
- gem.authors = ["Peter Boling"]
- gem.email = ["peter.boling@gmail.com"]
- gem.description = %q{Advanced Queue Transformation}
- gem.summary = %q{You have a set of arrays that need to be turned into a different set of arrays
+ gem.authors = ['Peter Boling']
+ gem.email = ['peter.boling@gmail.com']
+ gem.description = 'Advanced Queue Transformation'
+ gem.summary = 'You have a set of arrays that need to be turned into a different set of arrays
according to a potentially non-uniform set of rules.
Now you can easily turn this:
source_a # => [1,2,3,4]
@@ -22,15 +23,16 @@
result_a # => [1,2]
result_b # => [3,5,7,9]
result_c # => [4,6,8]
by specifying filters for handling each transformation.
-}
- gem.homepage = ""
+'
+ gem.homepage = 'https://github.com/pboling/qfill'
- gem.files = `git ls-files`.split($/)
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
+ gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
- gem.require_paths = ["lib"]
+ gem.require_paths = ['lib']
- gem.add_development_dependency 'rspec'
+ gem.add_development_dependency 'rake', '~> 13'
+ gem.add_development_dependency 'rspec', '~> 3'
end