-
Notifications
You must be signed in to change notification settings - Fork 20
/
puppet-library.gemspec
71 lines (64 loc) · 2.91 KB
/
puppet-library.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# -*- encoding: utf-8 -*-
# Puppet Library
# Copyright (C) 2014 drrb
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'puppet_library/version'
Gem::Specification.new do |spec|
spec.name = "puppet-library"
spec.version = PuppetLibrary::VERSION
spec.authors = ["drrb"]
spec.email = ["[email protected]"]
spec.description = "A private Puppet forge"
spec.summary = <<-EOF
Puppet Library is a private Puppet module server that's compatible with librarian-puppet.
EOF
spec.homepage = "https://github.com/drrb/puppet-library"
spec.license = "GPL-3"
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_dependency "sinatra"
spec.add_dependency "json"
spec.add_dependency "haml"
spec.add_dependency "docile", ">= 1.0.0"
spec.add_dependency "open4"
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "coveralls"
spec.add_development_dependency "rest-client", "~> 1.6.0"
spec.add_development_dependency "gitsu"
spec.add_development_dependency "librarian-puppet", "0.9.10" # 0.9.12 breaks on Ruby 1.8.7
spec.add_development_dependency "mime-types", "< 2"
spec.add_development_dependency "pry", "0.9.12.6"
spec.add_development_dependency "puppet", "~> 3.3.0"
spec.add_development_dependency "rack-test"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec", "~> 3.0.0"
spec.add_development_dependency "simplecov"
# Guard has dependencies that don't work with Ruby < 1.9
unless RUBY_VERSION.start_with? "1.8"
spec.add_development_dependency "guard"
spec.add_development_dependency "guard-rspec"
spec.add_development_dependency "terminal-notifier-guard"
# Capybara needs Nokogiri, which needs 1.9+
spec.add_development_dependency "capybara"
spec.add_development_dependency "nokogiri" # Rubygems 1.8 fails to resolve this on Ruby 2.0.0
spec.add_development_dependency "cucumber"
spec.add_development_dependency "selenium-webdriver"
spec.add_development_dependency "poltergeist"
end
end