# frozen_string_literal: true # Copyright 2018 Eduard Thamm # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'hounds/core/version' Gem::Specification.new do |spec| spec.name = 'hounds-core' spec.version = Hounds::Core::VERSION spec.authors = ['Eduard Thamm'] spec.email = ['eduard.thamm@thammit.at'] spec.license = 'Apache License 2.0' spec.summary = 'Hounds templating and instanciation' spec.homepage = 'https://gitlab.com/the-hounds/hounds-core' # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. spec.files = Dir.chdir(File.expand_path(__dir__)) do `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } end spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_development_dependency 'bundler', '~> 1.16' spec.add_development_dependency 'guard' spec.add_development_dependency 'guard-bundler' spec.add_development_dependency 'guard-rspec' spec.add_development_dependency 'pry' spec.add_development_dependency 'pry-byebug' spec.add_development_dependency 'pry-stack_explorer' spec.add_development_dependency 'rake', '~> 12' spec.add_development_dependency 'rspec', '~> 3.0' spec.add_development_dependency 'rubocop', '~> 0.55' spec.add_development_dependency 'simplecov', '~> 0.15' spec.add_development_dependency 'yard' end