Sha256: 959da93765881a530f7ca3ca5de7dc8d8823656f2cd1ec2c8c31ccf5f170caaf

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

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

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  'yard',           '~> 0.7.0'
end

Version data entries

2 entries across 2 versions & 1 rubygems

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