forked from ManageIQ/polisher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpolisher.gemspec
42 lines (36 loc) · 1.57 KB
/
polisher.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
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'polisher/version'
PKG_FILES =
Dir.glob('{lib,spec}/**/*.rb') +
Dir.glob('spec/data/*') +
['LICENSE', 'Rakefile', 'README.md']
Gem::Specification.new do |s|
# Dynamically create the authors information {name => e-mail}
authors_hash = Hash[`git log --no-merges --reverse --format='%an,%ae'`.split("\n").uniq.collect {|i| i.split(",")}]
s.author = authors_hash.keys
s.email = authors_hash.values
s.summary = %q{Ruby Project Post-Publishing Processor}
s.description = %q{General API and utility scripts to manipulate and query ruby gems and projects after being published}
s.homepage = %q{https://github.com/ManageIQ/polisher}
s.licenses = ["MIT"]
s.name = 'polisher'
s.version = Polisher::VERSION
s.files = PKG_FILES
s.executables = ['binary_gem_resolver.rb', 'gem_dependency_checker.rb',
'git_gem_updater.rb', 'ruby_rpm_spec_updater.rb']
s.require_paths = ['lib']
s.add_dependency('colored')
s.add_dependency('activesupport')
s.add_development_dependency('rspec', '~> 2.0')
s.add_development_dependency('coveralls')
s.add_development_dependency('json')
s.add_development_dependency('curb')
s.add_development_dependency('i18n')
s.add_development_dependency('bundler')
s.add_development_dependency('pkgwat')
s.add_development_dependency('awesome_spawn')
s.add_development_dependency('gem2rpm')
s.add_development_dependency('versionomy')
end