Sha256: d94e3ac20220f05a70110e4111b59fc3817408434c766a64cdc1419201f35c7c

Contents?: true

Size: 1.06 KB

Versions: 8

Compression:

Stored size: 1.06 KB

Contents

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

platform = Gem::Platform::CURRENT
needs_ffi = true

if RUBY_PLATFORM =~ /java/
  needs_ffi = false
elsif 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'
  end

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
libnotify-0.5.3-universal-rubinius-1.2 libnotify.gemspec
libnotify-0.5.3-universal-java-1.6 libnotify.gemspec
libnotify-0.5.3-x86-linux libnotify.gemspec
libnotify-0.5.2-universal-rubinius-1.2 libnotify.gemspec
libnotify-0.5.2-universal-java-1.6 libnotify.gemspec
libnotify-0.5.2-x86-linux libnotify.gemspec
libnotify-0.5.1-x86-linux libnotify.gemspec
libnotify-0.5.1-universal-rubinius-1.2 libnotify.gemspec