-
Notifications
You must be signed in to change notification settings - Fork 7
/
drawers.gemspec
44 lines (34 loc) · 1.42 KB
/
drawers.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- encoding: utf-8 -*-
# frozen_string_literal: true
# allows bundler to use the gemspec for dependencies
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'drawers/version'
Gem::Specification.new do |s|
s.name = 'drawers'
s.version = Drawers::VERSION
s.platform = Gem::Platform::RUBY
s.license = 'MIT'
s.authors = ['L. Preston Sego III']
s.email = '[email protected]'
s.homepage = 'https://github.com/NullVoxPopuli/drawers'
s.summary = "Drawers-#{Drawers::VERSION}"
s.description = 'Group related classes together. No more silos.'
s.files = Dir['CHANGELOG.md', 'LICENSE', 'README.md', 'lib/**/*']
s.require_path = 'lib'
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.required_ruby_version = '>= 2.0'
s.add_runtime_dependency 'activesupport', ['> 4.1', '< 6.0']
# Quality Control
s.add_development_dependency 'rubocop'
s.add_development_dependency 'rspec'
# Debugging
s.add_development_dependency 'awesome_print'
s.add_development_dependency 'pry-byebug'
# for testing a gem with a rails app (controller specs)
# https://codingdaily.wordpress.com/2011/01/14/test-a-gem-with-the-rails-3-stack/
s.add_development_dependency 'bundler'
s.add_development_dependency 'factory_girl'
s.add_development_dependency 'factory_girl_rails'
s.add_development_dependency 'rspec-rails'
end