Sha256: 0847b8c6d376c10830be0ac7543b7b02e5a5be406aaaacfc63159fc65edaa3af

Contents?: true

Size: 1.75 KB

Versions: 1

Compression:

Stored size: 1.75 KB

Contents

$:.push File.expand_path("../lib", __FILE__)

# Maintain your gem's version:
require "conjur-asset-layer-version"

files = if ENV['API_ONLY']
  exclude_dirs = [ "Gemfile", ".project", ".rvmrc", "lib/conjur/asset", "config", "db", "features", "spec", "app" ]
  `git ls-files`.split("\n").select do |f|
    exclude_dirs.find{|d| f.index(d) == 0}.nil?
  end.tap do |files|
    puts "Packaging #{files.join(" ")}"
  end
else
  `git ls-files`.split($/)
end

name, environment_gem = if ENV['API_ONLY']
  [ 
    "conjur-asset-layer-api",
    "conjur-asset-environment-api"
  ]
else
  [
    "conjur-asset-layer",
    "conjur-asset-environment"
  ]
end

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
  s.name        = name
  s.version     = Conjur::Asset::Layer::VERSION
  s.authors     = ["Kevin Gilpin"]
  s.email       = ["kgilpin@gmail.com"]
  s.homepage    = "http://conjur.net"
  s.summary     = "Conjur asset plugin for a deployment layer."

  s.files = files

  s.add_dependency "conjur-api"
  s.add_dependency environment_gem

  s.add_development_dependency "rake"

  unless ENV['API_ONLY']  
    s.add_development_dependency "tzinfo"
    s.add_development_dependency "authable"
    s.add_development_dependency "rails-api"
    s.add_development_dependency "talentbox-sequel-rails"
    s.add_development_dependency "pg"
    s.add_development_dependency "pg_random_id"
    s.add_development_dependency "sequel-attribute_callbacks"
    s.add_development_dependency "rspec-rails"
    s.add_development_dependency "cucumber-rails"
    s.add_development_dependency "spork"
    s.add_development_dependency "simplecov"
    s.add_development_dependency "webmock"
    s.add_development_dependency "json_spec"
    s.add_development_dependency "ci_reporter"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
conjur-asset-layer-api-0.3.1 conjur-asset-layer.gemspec