power_stencil.gemspec 2.18 KB
Newer Older
Laurent B's avatar
Laurent B committed
1 2 3 4 5 6 7 8
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'power_stencil/version'

Gem::Specification.new do |spec|
  spec.name          = 'power_stencil'
  spec.version       = PowerStencil::VERSION
Laurent B's avatar
Laurent B committed
9 10
  spec.authors       = ['Laurent Briais']
  spec.email         = ['[email protected]']
Laurent B's avatar
Laurent B committed
11

Laurent Briais's avatar
Laurent Briais committed
12 13
  spec.summary       = %q{PowerStencil is the Swiss-army knife templating workflow for developers and ops.}
  spec.description   = %q{PowerStencil is the Swiss-army knife templating workflow for developers and ops.}
Laurent B's avatar
Laurent B committed
14
  spec.homepage      = 'https://powerstencil.brizone.org/'
Laurent B's avatar
Laurent B committed
15 16 17 18 19 20 21 22 23
  spec.license       = 'MIT'

  spec.files         = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(test|spec|features)/})
  end
  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

Laurent B's avatar
minor  
Laurent B committed
24
  spec.add_development_dependency 'bundler', '~> 2.0'
Laurent B's avatar
Laurent B committed
25 26
  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rspec', '~> 3.0'
Laurent B's avatar
Laurent B committed
27

28
  spec.add_dependency 'climatic', '~> 0.2.34'
Laurent B's avatar
Laurent B committed
29
  spec.add_dependency 'dir_glob_ignore', '~> 0.3'
Laurent Briais's avatar
Laurent Briais committed
30
  spec.add_dependency 'universe_compiler', '~> 0.5.5'
Laurent B's avatar
Laurent B committed
31
  spec.add_dependency 'pry'
Laurent B's avatar
Laurent B committed
32
  spec.add_dependency 'git' , '~> 1.5.0'
Laurent Briais's avatar
Laurent Briais committed
33
  spec.add_dependency 'haml', '~> 5.1.2'
Laurent Briais's avatar
Laurent Briais committed
34

Laurent B's avatar
Laurent B committed
35 36
  source_code_uri = 'https://gitlab.com/tools4devops/power_stencil'

Laurent B's avatar
Minor  
Laurent B committed
37
  spec.metadata = {
Laurent B's avatar
Laurent B committed
38 39 40 41
      'bug_tracker_uri'       => "#{source_code_uri}/issues",
      'documentation_uri'     => "#{source_code_uri}/blob/master/README.md",
      'source_code_uri'       => source_code_uri,
      'homepage_uri'          => spec.homepage
Laurent B's avatar
Laurent B committed
42 43
  }

Laurent Briais's avatar
Laurent Briais committed
44 45 46 47 48 49 50
  spec.post_install_message = %Q{
Thank you for installing PowerStencil #{PowerStencil::VERSION} !
From the command line you can run `power_stencil --help`
If your shell is not completing the command:
  If you use rbenv: `rbenv rehash`
  If you use zsh  : `rehash`

Laurent B's avatar
Laurent B committed
51
Official Website          : #{spec.homepage}
Laurent B's avatar
Laurent B committed
52 53
Full documentation here   : #{spec.metadata['source_code_uri']}/blob/master/README.md
Feel free to report issues: #{spec.metadata['source_code_uri']}/issues
54 55 56

Type 'power_stencil adm --zsh-completion' to install auto-completion for zsh.

Laurent Briais's avatar
Laurent Briais committed
57
  }
Laurent B's avatar
Laurent B committed
58
end