-
Notifications
You must be signed in to change notification settings - Fork 2
/
strong_versions.gemspec
40 lines (33 loc) · 1.52 KB
/
strong_versions.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'strong_versions/version'
Gem::Specification.new do |spec|
spec.name = 'strong_versions'
spec.version = StrongVersions::VERSION
spec.authors = ['Bob Farrell']
spec.email = ['oss@bob.frl']
spec.summary = 'Enforce strict versioning on your Gemfile'
spec.description = 'Ensure your gems are appropriately versioned'
spec.homepage = 'https://github.com/bobf/strong_versions'
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
end
spec.bindir = 'bin'
spec.executables = %w[strong_versions]
spec.require_paths = ['lib']
# Rails 4 is locked to I18n ~> 0.7 so, unfortunately, until we are ready to
# stop supporting Rails 4 we need to support I18n 0.x and 1.x. At some point,
# I will do a release that is locked to '~> 1.0' and Rails 4 users can use
# an older version of the gem but we are not quite there yet.
spec.add_runtime_dependency 'i18n', '>= 0.5'
spec.add_dependency 'paint', '~> 2.0'
spec.add_development_dependency 'bundler', '~> 1.16'
spec.add_development_dependency 'devpack', '~> 0.1.1'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'rspec-its', '~> 1.2'
spec.add_development_dependency 'rubocop', '~> 0.87.1'
end