-
Notifications
You must be signed in to change notification settings - Fork 12
/
nugrant.gemspec
32 lines (27 loc) · 1.3 KB
/
nugrant.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
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'nugrant/version'
Gem::Specification.new do |gem|
gem.name = "nugrant"
gem.version = Nugrant::VERSION
gem.authors = ["Matthieu Vachon"]
gem.email = ["[email protected]"]
gem.homepage = "https://github.com/maoueh/nugrant"
gem.summary = "Library to handle user specific parameters from various location."
gem.description = <<-EOF
Nugrant is a library to easily handle parameters that need to be
injected into an application via different sources (system, user,
project, defaults).
Nugrant can also be directly used as a Vagrant plugin. By activating
this gem with Vagrant, it will be possible to define user specific
parameters that will be injected directly into the Vagrantfile. This
is useful if you need to share a Vagrantfile to multiple developers
but would like to customize some parameters for each user differently.
EOF
gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test/lib)/})
gem.require_paths = ["lib"]
gem.add_dependency "multi_json", "~> 1.8"
end