Sha256: 6dec8468f3073f8083c405093a415fda62e87eac9cd42d23d0bb174c9166a597

Contents?: true

Size: 1.56 KB

Versions: 3

Compression:

Stored size: 1.56 KB

Contents

#!/usr/bin/env gem1.9 build
# encoding: utf-8

Dir[File.join(File.dirname(__FILE__), "vendor", "*")].each do |path|
  if File.directory?(path) && Dir["#{path}/*"].empty?
    warn "Dependency #{File.basename(path)} in vendor seems to be empty. Run git submodule init && git submodule update to checkout it."
  elsif File.directory?(path) && File.directory?(File.join(path, "lib"))
    $:.unshift File.join(path, "lib")
  end
end

# NOTE: we can't use require_relative because when we run gem build, it use eval for executing this file
$:.unshift File.join(File.dirname(__FILE__), "lib")
require "pupu"

Gem::Specification.new do |s|
  s.name = "pupu"
  s.version = Pupu::VERSION
  s.authors = ["Jakub Šťastný aka Botanicus"]
  s.homepage = "http://github.com/botanicus/pupu"
  s.summary = "Framework-agnostic package system for media files"
  s.description = "Pupu is a plugin system for media like mootools plugins, icon sets etc. It knows dependencies and it has CLI interface, so it's really easy to bundle such pupus into your app."
  s.cert_chain = nil
  s.email = ["knava.bestvinensis", "gmail.com"].join("@")

  # files
  s.files = Dir.glob("**/*") - Dir.glob("pkg/*")
  s.executables = ["pupu"]
  s.default_executable = "pupu"
  s.require_paths = ["lib"]

  # Ruby version
  s.required_ruby_version = ::Gem::Requirement.new(">= 1.9.1")

  # runtime dependencies
  s.add_dependency "media-path"

  # development dependencies
  # use gem install pupu --development if you want to install them
  s.add_development_dependency "simple-templater"

  # RubyForge
  s.rubyforge_project = "pupu"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pupu-0.0.2.pre pupu.gemspec
pupu-0.0.2 pupu.gemspec
pupu-0.0.1 pupu.gemspec