Sha256: fc39dc7940102951decc77c2ca95a8dc3892d417456ca511fa413f91b73c2d0d

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "libnotify/version"

platform = Gem::Platform::RUBY
needs_ffi = true

if defined?(RUBY_ENGINE) && RUBY_ENGINE =~ /rbx/
  needs_ffi = false
  platform = Gem::Platform::new ['universal', 'rubinius', '1.2']
end

Gem::Specification.new do |s|
  s.name        = "libnotify"
  s.version     = Libnotify::VERSION
  s.platform    = platform
  s.authors     = ["Peter Suschlik"]
  s.email       = ["peter-libnotify@suschlik.de"]
  s.homepage    = "http://rubygems.org/gems/libnotify"
  s.summary     = %q{Ruby bindings for libnotify using FFI}

  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  s.require_paths = ["lib"]

  if needs_ffi
    s.add_runtime_dependency    'ffi',          '~> 1.0.0'
  end

  s.add_development_dependency  'minitest'
  s.add_development_dependency  'minitest-libnotify'
  s.add_development_dependency  'yard',           '~> 0.7.0'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
libnotify-0.7.3-universal-rubinius-1.2 libnotify.gemspec
libnotify-0.7.3 libnotify.gemspec